humancut

Remove AI writing tells, audit drafts for slop, and build scannable HTML pages.
humancut merges the best of three open-source projects into one Pure-Rust CLI and multi-agent skill suite:
- blader/humanizer: editorial craft, severity tiering, voice-sample matching, fact-preservation audit, prompt-injection defense, and multi-agent packaging.
- FeedHive/ai-slop-detector: structured pattern dataset, non-destructive audit mode, social/LinkedIn slop, and cliché metaphors.
- bhubbard/grenade: job-to-form HTML artifact blueprints, strict layout/word budgets, restrained 5-size style kit, regulated/bilingual rules, and Pure-Rust linting.
Before / After
Before (examples/sloppy-prose.md):
Great question! Here is a summary of our Q3 launch. It's not just a feature; it's a whole new way to collaborate. Let's dive into how our team leveraged a robust, seamless, and pivotal architecture to delve into the intricate tapestry of this evolving landscape. ... Despite these challenges, the future looks bright! I hope this helps!
After (examples/clean-prose.md):
Two people can now edit the same doc at once and see each other's changes as they type. Comments stay anchored to the exact sentence they reference, even when the surrounding text changes. The update also cuts median sync latency from 420 ms to 45 ms by switching to incremental CRDT patches. It is free on every plan today.
$ humancut score examples/sloppy-prose.md examples/clean-prose.md
Before: examples/sloppy-prose.md (13/100 — Heavy slop)
After: examples/clean-prose.md (100/100 — Clean)
Score: 13 -> 100 (+87)
Recommended changes: 10 -> 0 (-10)
Strong / Med / Wk: 6/1/3 -> 0/0/0
Words: 88 -> 64 (-24, -27.3%)
Skills
Install
Claude Code
/plugin marketplace add bhubbard/humancut
/plugin install humancut@humancut
Codex, Cursor, Gemini CLI, and other agents
npx skills add bhubbard/humancut --global --agent '*'
pi
pi install git:github.com/bhubbard/humancut
Pure-Rust CLI
# Install from GitHub
cargo install --git https://github.com/bhubbard/humancut
# Or from a local clone
cargo install --path .
Prebuilt binaries for macOS, Linux, and Windows are available on GitHub Releases.
CLI usage
# Lint a single file or recursively walk a directory
humancut lint draft.md
humancut lint docs/
humancut lint --profile social post.md
humancut lint --profile regulated landing.html
humancut lint --format sarif examples/sloppy-dashboard.html
# Safe mechanical auto-fixes (chatbot wrappers, double spaces, curly quotes, etc.)
humancut lint --fix draft.md
# Score a draft (0-100 pattern hygiene, NOT "AI probability %") or compare Before vs After
humancut score examples/sloppy-prose.md
humancut score examples/sloppy-prose.md examples/clean-prose.md
humancut score examples/sloppy-dashboard.html examples/fixed-dashboard.html --format markdown
humancut score draft.md --min-score 90
# Browse the 86 patterns
humancut patterns list --strength strong
humancut patterns show ST-01
# Regenerate README.md, skills/*/SKILL.md, and references/patterns.md from data/
humancut build
# Validate manifests, version sync, word budgets, and zero template drift
humancut validate --check-sync
Scoring rubric
humancut score computes a deterministic 0-100 pattern-hygiene score (it is not an "AI probability %" guess). Starting from 100, it deducts 12 per Strong finding, 6 per Medium finding, and 3 per Weak finding; from the 4th hit of the same pattern ID onward, penalties drop to 3 (Strong), 2 (Medium), and 1 (Weak), floored at 0.
| Score | Grade |
|---|
90-100 | Clean |
75-89 | Minor polish |
50-74 | Needs rewrite |
0-49 | Heavy slop |
Configuration (.humancut.toml)