Recipes

Russian AI-writing detector and humanizer skill for agent workflows

From README links · today

Content & CreativeResearch & Knowledge

Agent skill plus Python detector that strips machine-style Russian from drafts.

What they did

They built a Russian adaptation of the avoid-ai-writing skill for AI agents such as Claude Code, Codex and Cursor. The skill carries a rewritten catalogue of Russian machine-generation tells: bureaucratic канцелярит, calques from English, the «не просто X, а Y» construction, dash connectors, uniform sentence rhythm, and straight quotes where Russian «ёлочки» belong. Alongside the skill they wrote a fresh Python detector, aiw-ru, published on PyPI, which scans Russian text, flags the tells, scores a draft (for example 0/100 on a rewritten ad paragraph), verifies that numbers survived an edit, and shows a ModernBERT probability for the revision. A sub-skill called antiplagiat handles text headed for Antiplagiat or Dumeit: it rewrites the paragraphs highlighted in the system report and estimates the text chunk by chunk in the spirit of that system's AI-detection module. The repo ships CI, prek hooks, releases and Hugging Face model links, and credits Conor Bronsdon's English original for the skill's structure.

How it went

A working, released toolchain: PyPI package, CI badge, versioned releases, prek hooks and a demo GIF showing the detector catching 14 tells in an ad paragraph, scoring the edit, checking number preservation and estimating AI probability. The catalogue is genuinely Russian-specific rather than a translation, and the antiplagiat sub-skill addresses a real local workflow. Polish is high for a solo adaptation, though the detector's judgement is heuristic and the ModernBERT signal is advisory.

Worth knowing

Requires Python 3.12+ and uv; the skill itself must be installed into each agent's skill directory. Detection is pattern-based, so it will flag human bureaucratic writing that predates LLMs, and the AI-probability score is not a verdict. The antiplagiat sub-skill mimics a commercial system's behaviour without access to it, so results will not match an official report. Model downloads from Hugging Face need network access on first run.

Wiring

Install the skill into the agent's skills directory (Claude Code, Codex or Cursor) so the agent loads the Russian tell catalogue as instructions. Install the detector separately with uv or pip: `uv tool install aiw-ru` or `pip install aiw-ru`, Python 3.12+. Run `aiw-ru` on a file or stdin to get flagged tells, a 0-100 score and a ModernBERT probability; the model is pulled from the Hugging Face aiw-ru collection on first use. Wire the detector into prek hooks or CI so commits and pull requests fail or warn on new tells. For Antiplagiat-bound text, invoke the antiplagiat sub-skill with the paragraphs highlighted in the report, let it rewrite them, then re-check with the detector and the number-preservation pass before resubmitting.

Try it yourself

Install the avoid-ai-writing-russian skill and the aiw-ru detector in this repo. Then take the Russian text in docs/ or README and run the detector on it: list every tell it finds with line numbers, rewrite the worst three paragraphs to remove канцелярит, English calques and dash connectors, and re-run the detector plus the number-preservation check to confirm no figures changed. Show me a before/after score for each paragraph.

Source

Tools in this stack

Run this stack

Install the stack into this project. It writes AGENTS.md and the manifest, merges the MCP servers into .mcp.json, and — with --yes — runs the tool installs.

npx runchr install runchr/stack-avoid-ai-writing-and-avoid-ai-writing-russian-and-
No CLI?curl -s https://api.runchr.com/api/recipes/runchr/stack-avoid-ai-writing-and-avoid-ai-writing-russian-and-/manifest
System prompt
You are an agent for stripping machine-style Russian from drafts. Use the avoid-ai-writing-russian skill and the aiw-ru detector to find Russian tells, rewrite the worst passages, and verify that numbers survive the edit, treating detector scores and ModernBERT probabilities as advisory rather than verdicts.

This system prompt was generated from this stack's copy and tools. A person has not reviewed it.

The manifest is also at api.runchr.com/api/recipes/runchr/stack-avoid-ai-writing-and-avoid-ai-writing-russian-and-/manifest.