Lints your agent’s English.Keeps the facts in place.

An offline, evidence-labelled AI-pattern and style linter for agent output, with a fidelity gate on rewrites. It is not an AI detector.

Install in Claude Code

/plugin marketplace add senrecep/yontu/plugin install yontu-english@yontu
  • Offline
  • Python 3.9 and later
  • standard library only
  • MIT license

One file, before and after

  • abc dropped in the rewrite
  • EAI-03 rule the linter reported

Before: notes.md

# Release notes

The new parser serves as the backbone of the build, highlighting its importance for the teamEAI-03. It's important to note that EAI-07the cache is able toEDN-05 skip unchanged files due to the fact thatEDN-02 it hashes each input.

I hope this helps! Let me know if you have any other questions.EAI-09

python3 english/yontu-english/scripts/yontu_english lint notes.md --register docs
notes.md:3:53: info EAI-03 [ai] A trailing "-ing" clause adds a vague comment on significance "highlighting" -> cut the clause or state the concrete fact behind it
notes.md:3:95: info EAI-07 [ai] Didactic aside: "it's important to note" "It's important to note" -> drop the frame and state the point
notes.md:3:133: info EDN-05 [density] "is able to" and "has the ability to" can be "can" "is able to" -> can / could
notes.md:3:165: info EDN-02 [density] "due to the fact that" can be "because" "due to the fact that" -> because
notes.md:5:1: warning EAI-09 [ai] Chatbot reply text left in the document "I hope this helps" -> delete it; it was written to the person who asked, not to the reader
notes.md: 0 errors, 1 warnings, 4 info · docs (argument)

After: notes-new.md

# Release notes

The new parser is the core of the build. The cache skips unchanged files because it hashes each input.

python3 english/yontu-english/scripts/yontu_english lint notes-new.md --register docs
notes-new.md: 0 errors, 0 warnings, 0 info · docs (argument)

Kept: the parser, the cache and the reason it skips files. Dropped: the comment on significance, the aside, two wordy phrases and the chatbot sign-off. The rewrite adds no fact.

Output from yontu-english 0.0.0, run from the repository checkout.

What it checks

There are 23 rules in three layers. Each finding names its rule, its level and its evidence label. Every rule is info or warning; none is an error and none rewrites your text.

  • ai

    EAI-01 … EAI-11

    Chatbot reply text left in a document, stock phrases such as “it’s important to note”, vague attribution, trailing “-ing” comments on significance. At most a warning, and never fixed automatically.

  • style

    EST-01 … EST-07

    Sentence length outside the register’s band, very even or very clipped rhythm, mixed quote styles, emoji at the start of headings.

  • density

    EDN-01 … EDN-05

    Wordy phrases with a shorter equal: “due to the fact that”, “is able to”, “with regard to”.

  • Registers

    --register

    Thresholds follow the register: docs, commit or blog. Pass one with --register, or let the linter detect it; text it cannot place falls back to neutral.

The fidelity gate

A rewrite may remove words, not add facts. compare checks that the new text keeps the numbers, dates, names, negation and modality of the old one, and exits with code 1 when it adds a fact.

notes-new.md

The new parser is the core of the build. The cache skips unchanged files because it hashes each input.

notes-bad.md

The new parser is the core of the build. The cache skips 90% of unchanged files because it hashes each input.

python3 english/yontu-english/scripts/yontu_english compare notes-new.md notes-bad.md
error SD-01 New number: 90%
fidelity: 1 errors, 0 warnings
exit code 1: the agent takes the edit back

Limits

It is not an AI detector. A finding says a pattern is there, not who wrote the text.

It does not check grammar or spelling. Use Harper or LanguageTool for those.

The rules are heuristics. Most stay at info, and they can fire on human text.

Only English sentences are checked. Turkish sentences in the same file are left to yontu.

Install

  • Claude Code plugin

    Brings the skill, the MCP server and the post-edit hook. It does not need pip and can sit next to the yontu plugin.

    /plugin marketplace add senrecep/yontu/plugin install yontu-english@yontu
  • From a clone of the repository

    The CLI runs from the checkout without installing anything.

    git clone https://github.com/senrecep/yontucd yontupython3 english/yontu-english/scripts/yontu_english lint README.md

Without Claude Code, install it from PyPI: pipx install yontu-english.