ru-textovod
БесплатноБез исполняемых скриптовНе проверенChecks Russian text for spelling, punctuation, and grammar via Textovod.com API. Use when user says "проверь текст", "проверь орфографию", "проверь…
Об этом скилле
Russian Text Proofreader (Проверка русского текста)
Important Rules
- Default command is autocorrection (API v2 grammar). Use it unless the user explicitly asks for spelling or punctuation separately.
- Never modify files without user permission. Show the corrected text and ask before applying changes.
- This skill is for proofreading — spelling, punctuation, grammar. For stylistic editing (AI markers, informational style, voice), recommend
ru-editor. - Always use
jq -n --argto build JSON bodies — never interpolate text directly into JSON strings. - Always escape and validate text before sending to API.
Prerequisites — API Key Setup
Three environment variables are required:
| Variable | API | Purpose |
|---|---|---|
TEXTOVOD_USER_ID |
v1 | User ID for spelling/punctuation |
TEXTOVOD_API_KEY |
v1 | API key for spelling/punctuation |
TEXTOVOD_API2_TOKEN |
v2 | Bearer token for autocorrection |
Check Credentials
Before any API call, check that the required env vars are set:
# For autocorrection (API v2)
echo "${TEXTOVOD_API2_TOKEN:+set}"
# For spelling/punctuation (API v1)
echo "${TEXTOVOD_USER_ID:+set} ${TEXTOVOD_API_KEY:+set}"
If Credentials Are Missing
Tell the user which variables are missing and how to set them:
Для работы нужны API-ключи Textovod.com.
Получите ключи на https://textovod.com/api и добавьте в ~/.zshrc:
export TEXTOVOD_USER_ID="your_user_id"
export TEXTOVOD_API_KEY="your_api_key"
export TEXTOVOD_API2_TOKEN="your_api2_token"
Затем перезапустите терминал или выполните: source ~/.zshrc
Alternatively, keys can be set in Claude Code settings (~/.claude/settings.json) under env.
Three Commands
1. Autocorrection (default)
Trigger: «проверь текст», «автокоррекция», «исправь ошибки», or no specific command.
Neural network-based. Fixes grammar, spelling, and punctuation in one pass. Best for general proofreading.
- API: v2 grammar
- Requires:
TEXTOVOD_API2_TOKEN - Max: 35,000 characters
- Reference: references/api-v2-grammar.md
2. Spelling
Trigger: «проверь орфографию», «spelling», «орфография».
Dictionary-based spelling check. Returns individual misspelled words with suggestions.
- API: v1 spelling
- Requires:
TEXTOVOD_USER_ID+TEXTOVOD_API_KEY - Max: 100,000 characters
- Reference: references/api-v1-spelling.md
3. Punctuation
Trigger: «проверь пунктуацию», «punctuation», «пунктуация», «запятые».
Rule-based punctuation check. Returns corrected text with punctuation fixes.
- API: v1 punctuation
- Requires:
TEXTOVOD_USER_ID+TEXTOVOD_API_KEY - Max: 100,000 characters
- Reference: references/api-v1-punctuation.md
Input Handling
Inline Text (primary)
User provides text directly in the message. Extract the text to check.
File Path
User provides a file path. Read the file content, then proceed as with inline text.
TEXT=$(cat "/path/to/file.txt")
JSON Escaping
Always use jq -n --arg to safely embed text into JSON:
JSON_BODY=$(jq -n --arg text "$TEXT" '{text: $text, lang: "ru"}')
Never do {"text": "$TEXT"} — this breaks on quotes, newlines, and special characters.
Character Limit Check
Before sending, verify text length:
CHAR_COUNT=$(echo -n "$TEXT" | wc -c)
# API v2: max 35000
# API v1: max 100000
If text exceeds the limit, inform the user and suggest splitting.
API Workflow
Each API has a different workflow:
Spelling (v1) — Immediate Response
Returns results in the submit response. No polling needed.
JSON_BODY=$(jq -n \
--arg user_id "$TEXTOVOD_USER_ID" \
--arg api_key "$TEXTOVOD_API_KEY" \
--arg text "$TEXT" \
'{user_id: $user_id, api_key: $api_key, text: $text, lang: "ru"}')
RESPONSE=$(curl -s -X POST https://textovod.com/api/spelling/user/add \
-H "Content-Type: application/json" \
-d "$JSON_BODY")
# result is a JSON string — parse with fromjson
echo "$RESPONSE" | jq -r '.result | fromjson | .[] | "\(.offset) \(.length) \(.mes) \(.rep[0])"'
Punctuation (v1) — Submit + Poll with text_id
# Submit
RESPONSE=$(curl -s -X POST https://textovod.com/api/punctuation/user/add \
-H "Content-Type: application/json" -d "$JSON_BODY")
TEXT_ID=$(echo "$RESPONSE" | jq -r '.text_id')
# Poll (separate Bash calls, 3 sec apart, use text_id not id)
POLL_BODY=$(jq -n \
--arg user_id "$TEXTOVOD_USER_ID" \
--arg api_key "$TEXTOVOD_API_KEY" \
--arg text_id "$TEXT_ID" \
'{user_id: $user_id, api_key: $api_key, text_id: $text_id}')
RESULT=$(curl -s -X POST https://textovod.com/api/punctuation/user/status \
-H "Content-Type: application/json" -d "$POLL_BODY")
# status 2 = ready
Autocorrection (v2) — Submit + Poll
Important: Do NOT send id in the request body — the API generates it
Установить ru-textovod в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(curl:*)Bash(jq:*)Bash(echo:*)Вложенные файлы
FAQ
Что делает скилл ru-textovod?
Checks Russian text for spelling, punctuation, and grammar via Textovod.com API. Use when user says "проверь текст", "проверь орфографию", "проверь пунктуацию", "автокоррекция", "исправь ошибки", "/ru-textovod", or after writing/editing Russian text. Three independent commands: autocorrection (default), spelling, punctuation. NOT for stylistic editing (use ru-editor).
Как установить скилл ru-textovod?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ru-textovod запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic