/faircopy
open source · part of Omni Aura

Clean Copy.

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.

Try it

Type or paste prose. Default and NLP rules run in your browser with no network call.

0 errors 0 warnings Click a highlight to inspect it.

Click a highlighted span to inspect it. Click an issue to jump back to the exact range.

Default rules. Optional NLP rules.

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.

NLP pack

  • No filter phrases like I think, basically, or in order to
  • Flag passive voice so the actor stays visible

Add @faircopy/rules-nlp when you want semantic checks in the browser or CLI. The pack stays separate so the default install stays lean.

How it works

CLI and libraries

Install what you need. The core engine, default rules, NLP rules, and adapters install separately so your projects stay lean.

Framework adapters

@faircopy/astro, @faircopy/react, and @faircopy/solid parse JSX or Astro components, extract strings and prose attributes, and report exact locations with source maps.

Claude Code plugin

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.

Browser-safe NLP

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.

Custom rules welcome

Every built-in rule is a pure function that returns diagnostics. Add your own without touching plugin internals.

Built for the patterns agents repeat

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.

Get started

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.

All packages live at version 1.1.1. Open source under MIT. Provenance verified. Regex rules stay fast. NLP rules stay optional.