CLI and libraries
Install what you need. The core engine, rules, and adapters install separately so your projects stay lean.
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. 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.
Install what you need. The core engine, 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.
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 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.
pnpm add -D faircopy
npx faircopy init Add the Claude Code plugin. Point it at your landing pages. The harness runs from that moment forward.