Fast path
- No em dashes
- No actually, truly, really, literally
- No X is Y scaffolding or Without X With X crutches
These rules began as personal feedback. faircopy turns them into enforceable checks that agents must satisfy.
Your agent's copy harness.
faircopy loads your writing standards into Claude Code and other agents. It detects common agent habits and blocks completion until the copy meets your rules.
Run the Stop hook once. Every future generation improves.
Type or paste prose. Default and NLP rules run in your browser with no network call.
Click a highlighted span to inspect it. Click an issue to jump back to the exact range.
These rules began as personal feedback. faircopy turns them into enforceable checks that agents must satisfy.
Add @faircopy/rules-nlp when you want semantic checks in the browser or CLI. The pack stays separate so the default install stays lean.
Install what you need. The core engine, default rules, NLP rules, and adapters install separately so your projects stay lean.
@faircopy/astro, @faircopy/react, and @faircopy/solid parse JSX or Astro components, extract strings and prose attributes, and report exact locations with source maps.
The Stop hook watches every turn. Lint errors halt the response and require the agent to revise its output. Agents learn your standards through repetition.
The optional @faircopy/rules-nlp pack uses lightweight POS tagging to catch filter phrases and passive voice in both the CLI and the in-browser demo.
Every built-in rule is a pure function that returns diagnostics. Add your own without touching plugin internals.
Agents default to certain habits on landing pages. faircopy flags them immediately, from simple regex tells to NLP-backed semantic patterns, and demands cleaner alternatives. The result reads with more authority and requires less human editing.
Same idea as impeccable.style, applied to copy instead of frontend design systems.
npm install -D faircopy @faircopy/rules-nlp
npx faircopy init Add the Claude Code plugin. Point it at your landing pages. The harness runs from that moment forward.