text-human
FreeNo executable scriptsNot checkedHumanizes code, docs, commits, articles, reddit/chat, javadoc -- strips AI artifacts, fixes unicode, fits register. Use when asked to humanize a file, commit…
by kochetkov-ma★ 41 GitHub starsAbout this skill
Text Humanizer
Humanizes source code and docstrings, technical docs, commits/PRs, articles and reddit/chat: strips validated AI tells, then injects domain style where the flow allows. Never claims to detect AI authorship.
Prompt contract
$ARGUMENTS is one free-form RU/EN prompt; flow keywords may sit anywhere in it. There are no mode
flags: Phase 0 below is this skill's resolution algorithm, and its Flow table carries the EN/RU
keywords and Mutates? per flow.
- Flow: an explicit intent keyword (table below) wins outright, no scoring; unresolved cases fall
through Phase 0's own priority order (keyword -> path/extension -> content sniff). Empty -> no
assumed flow: Phase 0 Step 4's
AskUserQuestion("What to humanize?") is the ONE scoping question -- do not skip it and do not guess a flow. Unanswered or headless -> stop, "nothing to humanize", no edits. - Scope: prose that is not a flow keyword is still input:
customPrompt(Phase 0 Argument parsing) extracts it and both selects/overrides the flow and adds custom rules. Fired by Claude mid-task (Skilltool),argsis the prompt: the path, commit hash or exact text, never a summary of it. - Ask: outcome-changing ambiguity beyond the flow itself -> ONE
AskUserQuestionbefore any work. Phase 0.5's dirty-path gate IS that question whenever it fires, and it outranks the scoping one. Unanswered or headless -> its safest option (Phase 0.5); nothing blocks.
Print once, right after Phase 0 announces Flow: <name> -- <reason>, before Phase 1 touches any
file; SCOPE names the resolved target paths -- for mixed, the resolved block list (labels and plan
values English, INPUT verbatim):
PLAN — brewtools:text-human
INPUT: <arguments verbatim, or "(empty)">
MODE: <resolved flow> — <explicit | matched keyword: X | content-sniff | AskUserQuestion>
SCOPE: <resolved target paths (file/commit/folder/text), custom instructions if any>
DO: <2-5 imperative bullets>
RESULT: <what the user ends up holding>
Two-pass model
- PASS 1 STRIP per
@reference/ai-patterns.md: HIGH tier acts on one instance, MED only on a cluster. Behavior-changing items (hallucinated refs, fake tickets, try/except-everything) change meaning when edited: surface them, never edit. - PASS 2 INJECT per
@reference/human-patterns.md, gated by domain: off for code, API docs, formal contracts. No flow injects typos, errors or fabricated references.
Phase 0 -- Greedy flow detection
Pick exactly one flow, announce Flow: <name> -- <reason>, then load only its flow file and the
pattern sections that file names.
Argument parsing
- First token resolves to an existing path or matches a 7+ hex git hash ->
scope; the rest iscustomPrompt. - Otherwise the whole input is
customPrompt(inline text or intent); detect the flow from it. customPromptrules win over flow defaults on conflict.- No args -> the only allowed
AskUserQuestionhere: "What to humanize?" (commit / file / folder / paste text).
Detection signals (priority order)
- Intent keyword from the Flow table below; javadoc/jsdoc/kdoc/docstring/"api doc" select code's CLEAN-ONLY sub-profile.
- Path: code extension -> code;
.md/.mdx/.rst-> docs (long-form essay/blog content -> article); 7+ hex git hash or folder -> mixed. - Content sniff: short fragmented lines / no caps -> social; prose paragraphs with a thesis -> article; imperative + code blocks -> docs.
Flow -> file
| Flow | EN keywords | RU keywords | Mutates? | Load | Domain |
|---|---|---|---|---|---|
| code | .java/.kt/.py/.ts/... ext, javadoc, jsdoc, kdoc, docstring, "api doc" |
джавадок, апи док | yes (CLEAN-ONLY, inject OFF) | @reference/flows/code.md |
source, comments, docstrings, JavaDoc/JSDoc/KDoc |
| docs | pr, pull request, commit, changelog, readme, docs, guide | коммит, документация, гайд | yes | @reference/flows/docs.md |
README, docs, guides, PR/commit (inject restrained) |
| social | reddit, forum, slack, discord, chat | чат, форум | yes (file) / no (inline text -- prints result) | @reference/flows/social.md |
reddit, forum, slack, discord, chat |
| article | article, blog, essay, post | статья, эссе | yes (file) / no (inline text -- prints result) | @reference/flows/article.md |
formal essay, published blog, long-form |
| mixed | 7+ hex git hash, folder of mixed files | (same -- hash/folder pattern is language-neutral) | yes | @reference/flows/mixed.md |
commit / folder dispatcher -> routes each file to its flow |
Phase 0.5 -- Clean-tree precondition (every flow that writes)
Files are rewritten in place with no backup; git is the only undo. Before the first edit, over the resolved target paths only:
git status --porcelain -- '<resolved path>'
One single-quoted arg per target path.
- Empty -> proceed.
- Non-empty, edits on those paths not already authorized -> ONE
AskUserQuestionlisting them: proceed on them
Install text-human in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
ReadGrepGlobAgentAskUserQuestionBundled files
FAQ
What does the text-human skill do?
Humanizes code, docs, commits, articles, reddit/chat, javadoc -- strips AI artifacts, fixes unicode, fits register. Use when asked to humanize a file, commit or pasted text. Triggers: humanize, ai artifacts, unicode fix, article, reddit, javadoc, очеловечь.
How do I install the text-human skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the text-human skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic