Post-process AI-generated text through the unslop CLI to strip AI writing patterns before publishing
The canonical home for this skill is unslop in popey/claude-code-skills
unslop is a CLI tool that post-processes text to remove AI writing patterns programmatically. Unlike skills that ask the agent to avoid AI-isms, unslop runs as a deterministic pipeline step: pipe text in, get clean text out. Use it as a final pass before committing docs, publishing posts, or sending any AI-generated content to production.
The --deterministic flag makes output reproducible — same input always produces same output. The --stdin flag reads from stdin, enabling shell pipeline composition.
Install once:
pipx install unslop
# or
uv tool install unslopVerify:
unslop --versionStandard cleanup (may vary slightly between runs):
echo "This leverages cutting-edge AI to deliver robust solutions." | unslop --stdinDeterministic cleanup (same input → same output every run):
echo "This leverages cutting-edge AI to deliver robust solutions." | unslop --stdin --deterministicPipe the output of any command through unslop:
cat draft.md | unslop --stdin --deterministic > clean.mdOr chain with other tools:
cat draft.md | unslop --stdin --deterministic | pbcopy # macOS: copy clean text to clipboardAdd to a pre-commit hook or CI step to enforce quality gates on any generated content before it ships:
# In .git/hooks/pre-commit or a CI script
CONTENT=$(cat docs/changelog.md)
CLEANED=$(echo "$CONTENT" | unslop --stdin --deterministic)
if [ "$CONTENT" != "$CLEANED" ]; then
echo "Changelog contains AI writing patterns. Run: cat docs/changelog.md | unslop --stdin --deterministic > docs/changelog.md"
exit 1
ficat blog-post-draft.md | unslop --stdin --deterministic > blog-post-final.md# Write content, pipe through unslop, write result back
cat README.md | unslop --stdin > README.clean.md && mv README.clean.md README.md# Check if any generated docs need cleanup
for f in docs/*.md; do
ORIGINAL=$(cat "$f")
CLEANED=$(echo "$ORIGINAL" | unslop --stdin --deterministic)
[ "$ORIGINAL" != "$CLEANED" ] && echo "Needs cleanup: $f"
done--deterministic in CI and automation to ensure reproducible outputavoid-ai-writing skill for both generation-time guidance and post-processingpipx or uv for standalone CLI installation--deterministic mode is local and does not make LLM API callsANTHROPIC_API_KEY or the Claude CLI; use --deterministic for sensitive local files and CI gatesa5a6601
Canonical home
since Sep 26, 2026
Also appears in
since Sep 26, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.