/ai-writing:ai-writing-humanizerfrom ai-writing
Humanize a document by removing AI-writing patterns via a multi-agent workflow (analyze → revise → adversarial review → loop-until-clean). Use when the user asks to "humanize", "de-AI", "remove AI tells", or "review for AI writing" on a file.
Ships in ai-writing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill launches a multi-agent Workflow that humanizes a document: it analyzes AI-writing tells across three lenses, rewrites fidelity-first, then runs four adversarial reviewers (fidelity / residual-tells / quality-voice / gap) and loops until clean. It auto-fixes critical/high issues and surfaces medium/low (and anything the fidelity guard blocks) as prioritized tasks.
A full pass dispatches many agents and is token-intensive. Before running, confirm with the user: which file, and whether to proceed.
Resolve the target. Get the file path from the user. If they pasted text instead, write it
to a scratch file first (the engine works on a document). Set
ROOT="${CLAUDE_PLUGIN_ROOT}/skills/ai-writing-humanizer".
Pre-scan (deterministic). Run:
node "$ROOT/workflows/prescan.js" "<file>" "$ROOT/patterns/patterns.json" "$ROOT/config/default.config.json"
Capture stdout as mechanicalFindings (a JSON array).
Assemble args. Read <file> → text; read $ROOT/patterns/patterns.json → patterns;
read $ROOT/prompts/analysis-prompt.md, suggestion-prompt.md, verification-prompt.md →
prompts = { analysis, suggestion, verification }; read $ROOT/config/default.config.json →
config.
Run the engine:
Workflow({
scriptPath: "$ROOT/workflows/humanize.js",
args: { text, patterns, prompts, mechanicalFindings, config }
})
Write the revision. Write the returned revisedText to a sibling <name>.humanized.<ext>
(never overwrite the input). Show the user a diff of <file> → the revision.
Print the on-screen report (no file). Two sections, grouped by priority:
✔ Fixed — counts from fixedByPriority.⚠ Still flagged — the residual findings (span + why), grouped critical/high/medium/low.
Include the fidelity and quality verdicts.Create residual tasks. For each finding in residual, create ONE task-list entry, its
priority = the finding's priority. If residual is empty, create no tasks — say it's clean.
If the Workflow tool is unavailable in this harness, do not fail. Instead run the same phases inline: dispatch the 3 analyze lenses and 4 reviewers as subagents (Agent tool), do the revise step yourself, and apply the same loop-until-clean logic, then produce the same report + tasks.
config/default.config.json (opens in a new tab)examples/before-after-samples.md (opens in a new tab)examples/edge-cases.md (opens in a new tab)examples/example-workflow.md (opens in a new tab)patterns/patterns.json (opens in a new tab)prompts/analysis-prompt.md (opens in a new tab)prompts/suggestion-prompt.md (opens in a new tab)prompts/verification-prompt.md (opens in a new tab)workflows/humanize.js (opens in a new tab)workflows/prescan.js (opens in a new tab)workflows/tests/eval-prescan.test.mjs (opens in a new tab)workflows/tests/harness.mjs (opens in a new tab)workflows/tests/humanize.test.mjs (opens in a new tab)workflows/tests/patterns.test.mjs (opens in a new tab)workflows/tests/prescan.test.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
2 skills in this plugin
npx claudepluginhub cajias/claude-skills --plugin ai-writing