Who it is forA developer who wants an AI agent to clean up a docs folder after a large batch of AI-written pages.
The problemEach finding must be fixed by hand, and some fixes need a judgment about which page owns a fact.
The outcomeA set of doc edits where mechanical findings are fixed and judgment calls are listed with the decision each one needs.
What you need first
- A repository with Markdown project docs
- One install route: cargo, uv or pipx, or npm
- A shell at the repository root
Steps
- Run
seiso checkat the repository root and save the findings. - Run
seiso rule --allto see each rule's status. - For a rule you do not understand, explain it with
seiso rule <rule-name>. (inferred, check the README) - Edit the named files to apply each fix, leaving judgment calls for a human to decide.
- Run
seiso checkagain and confirm the findings are gone or listed as decisions.
Prompt for your agent
In the repository at <repo path>, run `seiso check`, fix the findings the diagnostics give a direct fix for, and run `seiso check` again. Report how many findings remain and list each remaining one as a decision that needs a human. Verify that no fix changed a fact that appears on more than one page without updating the page that owns it.
Caveat. The README says a fix that needs a judgment, such as which of two pages owns a fact, is named as a decision rather than made by Seiso, so an agent still needs a human to settle those.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for scarletkc/seiso and "Have an agent repair Seiso findings in project docs"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer