Ru Textovod logo

Ru Textovod

Community
miolamio
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).

Overview

Publishermiolamio
Repositoryclaude-skills
Skill nameru-textovod
Stars
35
Forks
2
Bundled files
5
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 5 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by miolamio on GitHub. Read the source before you install it.

Installation

Install the Ru Textovod AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/miolamio/claude-skills/tree/main/ru-textovod
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/miolamio/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/ru-textovod .claude/skills/ru-textovod
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ru Textovod in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ru Textovod on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ru Textovod is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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 --arg to 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:

VariableAPIPurpose
TEXTOVOD_USER_IDv1User ID for spelling/punctuation
TEXTOVOD_API_KEYv1API key for spelling/punctuation
TEXTOVOD_API2_TOKENv2Bearer token for autocorrection

Check Credentials

Before any API call, check that the required env vars are set:

bash
# 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.

2. Spelling

Trigger: «проверь орфографию», «spelling», «орфография».

Dictionary-based spelling check. Returns individual misspelled words with suggestions.

3. Punctuation

Trigger: «проверь пунктуацию», «punctuation», «пунктуация», «запятые».

Rule-based punctuation check. Returns corrected text with punctuation fixes.

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.

bash
TEXT=$(cat "/path/to/file.txt")

JSON Escaping

Always use jq -n --arg to safely embed text into JSON:

bash
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:

bash
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.

bash
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

bash
# 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 its own UUID.

bash
# Submit (no id field!)
JSON_BODY=$(jq -n --arg text "$TEXT" '{text: $text, lang: "ru"}')
RESPONSE=$(curl -s -X POST https://textovod.com/api/v2/text/grammar \
  -H "Authorization: Bearer ${TEXTOVOD_API2_TOKEN}" \
  -H "Content-Type: application/json" -d "$JSON_BODY")
TASK_ID=$(echo "$RESPONSE" | jq -r '.id')

# Poll (separate Bash calls, 3 sec apart)
POLL_BODY=$(jq -n --arg id "$TASK_ID" '{id: $id}')
RESULT=$(curl -s -X POST https://textovod.com/api/v2/text/grammar/result \
  -H "Authorization: Bearer ${TEXTOVOD_API2_TOKEN}" \
  -H "Content-Type: application/json" -d "$POLL_BODY")
# Corrected text: jq -r '.messages[] | select(.role == "assistant") | .content'

Polling: Make each poll as a separate Bash tool call with sleep 3 at the start. Max 15 attempts.

Output Modes

See references/result-formatting.md for full formatting details.

Detailed Mode (default)

Show list of errors + corrected text:

### Найденные ошибки (N)

1. «неправильнoe» -> «правильное» (орфография)
2. «предложение без запятой» -> «предложение, с запятой» (пунктуация)

### Исправленный текст

[corrected text]

Quick Mode

Triggered by: «просто исправь», «без деталей», «только текст»

Исправлено ошибок: N

[corrected text]

Error Handling

ErrorAction
Missing API keysShow setup instructions (see Prerequisites)
Status 30 (insufficient balance)Tell user: «Недостаточно средств на балансе Textovod. Пополните на https://textovod.com»
Timeout (15 polls without result)Tell user: «Сервис не ответил за 45 секунд. Попробуйте позже или с текстом покороче.»
Rate limit (429)Wait 5 seconds, retry once
Text too longShow limit and suggest splitting
Empty textTell user: «Нет текста для проверки.»
Network errorShow error and suggest retrying

Integration with Other Skills

  • After checking — if text has stylistic issues (AI markers, bureaucratese, weak verbs), suggest: «Текст грамматически верен. Хотите стилистическую редактуру? Используйте ru-editor.»
  • After ru-editor — suggest: «Хотите проверить орфографию и пунктуацию? Используйте ru-textovod.»
  • After en-ru-translator-adv — suggest proofreading the translation with ru-textovod.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Ru Textovod AI skill do?

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).

Why use Ru Textovod on TypingMind?

Because you install it once and use it with any model. Ru Textovod is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ru Textovod in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/miolamio/claude-skills/tree/main/ru-textovod. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Ru Textovod?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ru Textovod?

As many as you like. As long as a model supports skills, you can use Ru Textovod with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ru Textovod AI skill free?

It is published on GitHub by miolamio. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇