ai-writing-detector
About
This skill detects AI-generated text patterns without rewriting content, using the original Avoid AI Writing rules. It provides deterministic local detection when the host can execute Node.js. The skill accepts incoming requests from the avoid-ai-writing-router for detect-only tasks or audit stages.
Quick Install
Claude Code
Recommendednpx skills add conorbronsdon/avoid-ai-writing -a claude-code/plugin add https://github.com/conorbronsdon/avoid-ai-writinggit clone https://github.com/conorbronsdon/avoid-ai-writing.git ~/.claude/skills/ai-writing-detectorCopy and paste this command in Claude Code to install this skill
Documentation
AI Writing Detector
Run a detect-only review using the original Avoid AI Writing rules. Never rewrite unless the user changes the request.
Authority
The canonical rulebook is ../avoid-ai-writing/SKILL.md. Its cautions about false positives, context, protected material, and authorship claims apply here.
For cross-Skill work, follow ../avoid-ai-writing-router/references/handoff-contract.md and the typed edges in ../avoid-ai-writing-router/references/skill-graph.json.
Connection contract
Incoming
Accept detector work from:
avoid-ai-writing-routerviaROUTEfor detect-only requests, the audit stage of a multi-stage request, or fresh signal collection after another terminal stage returns control to the router.preservation-verifiervia boundedRECHECKonly when convergence or residual auditing was part of the request.
Do not accept a direct handoff from false-positive-reviewer. That Skill is terminal in the graph and must return control to avoid-ai-writing-router when fresh signal collection is needed. This prevents a reviewer-detector cycle.
Carry forward the existing context_mode, protected constraints, pass state, and risk flags. Do not reset them.
Produce
Update the handoff envelope with:
execution_evidence.detector:executedonly if the bundled detector actually ran, otherwisemodel_only.detector_summary.scoreandlabelonly when produced by executed detector code.detector_summary.issue_typesfrom actual findings.- any
consequential_authorship_claimrisk flag observed in the user's request.
Outgoing
FEEDfindings tovoice-preserving-rewriteronly when the user also requested returned-text rewriting.FEEDfindings tofile-edit-in-placeonly when the user explicitly requested mutation of a named file.ESCALATEtofalse-positive-reviewerwhen the user asks what the findings can establish about authorship or another consequential conclusion.- Otherwise stop after the detect-only result.
Detector findings are evidence inputs. They are not mandatory edit instructions and they never authorize a mutation.
AI-engineering evidence lens
Apply the agency-ai-engineer lens encoded in ../avoid-ai-writing-router/references/agency-role-lenses.md:
- keep deterministic output separate from model-only observations,
- preserve the selected context mode through downstream handoffs,
- treat score and label as signals rather than ground truth,
- consider false positives and genre/register effects,
- never convert pattern detection into an authorship classifier claim.
Preferred path
When the current host can execute Node safely:
- Pass the supplied text to
scripts/detect.js. - Use
--context technicalfor code-adjacent or technical prose when appropriate. Otherwise usegeneral. - Report the detector's score, label, issue types, severity, matched text, and suggestions.
- Separate deterministic findings from editorial observations that only exist in the full rulebook.
- Never claim execution unless the command actually ran.
Example:
printf '%s' "$TEXT" | node scripts/detect.js --context general
For a file:
node scripts/detect.js --file path/to/draft.md --context general
If Node or shell execution is unavailable, perform the detect-only workflow from the canonical avoid-ai-writing Skill and explicitly say the deterministic detector was not run.
Stop conditions
Stop here when the request is detect-only. Do not continue into rewrite, file mutation, or interpretation merely because those Skills are available.
A residual RECHECK may run once. Respect the canonical two-pass limit and the graph's loop policy.
Output
Return the overall label and score when executed, detected patterns grouped by severity, a short contextual assessment of clear issues versus plausible false positives, execution status, and no rewritten version unless control has explicitly passed to a rewrite owner.
GitHub Repository
Frequently asked questions
What is the ai-writing-detector skill?
ai-writing-detector is a Claude Skill by conorbronsdon. Skills package instructions and resources that Claude loads on demand, so Claude can perform ai-writing-detector-related tasks without extra prompting.
How do I install ai-writing-detector?
Use the install commands on this page: add ai-writing-detector to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.
What category does ai-writing-detector belong to?
ai-writing-detector is in the Other category, tagged ai.
Is ai-writing-detector free to use?
Yes. ai-writing-detector is listed on AIMCP and free to install.
Related Skills
LlamaGuard is Meta's 7-8B parameter model for moderating LLM inputs and outputs across six safety categories like violence and hate speech. It offers 94-95% accuracy and can be deployed using vLLM, Hugging Face, or Amazon SageMaker. Use this skill to easily integrate content filtering and safety guardrails into your AI applications.
This Claude Skill analyzes sports betting markets including spreads, over/unders, and prop bets by examining historical trends and situational statistics to identify value bets. It provides structured markdown output with actionable recommendations for educational purposes. Developers should use this for sports betting analysis tools while noting it's designed for entertainment/education only.
This Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.
This skill quantizes LLMs to 8-bit or 4-bit precision using bitsandbytes, achieving 50-75% memory reduction with minimal accuracy loss. It's ideal for running larger models on limited GPU memory or accelerating inference, supporting formats like INT8, NF4, and FP4. The skill integrates with HuggingFace Transformers and enables QLoRA training and 8-bit optimizers.
