unslop
Post-process AI-generated text through the unslop CLI to strip AI writing patterns before publishing
- License 许可
- MIT
- 最近更新
- 2026-05-26
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- unslop
- risk
- safe
- tags
- [ "writing", "content-quality", "ai-writing", "text-processing", "cli", "publishing" ]
- tools
- [ "claude-code", "cursor", "gemini-cli", "codex-cli", "antigravity" ]
- author
- MohamedAbdallah-14
- source
- community
- license
- MIT
- category
- writing
- date_added
- 2026-04-25
- description
- Post-process AI-generated text through the unslop CLI to strip AI writing patterns before publishing
- source_repo
- MohamedAbdallah-14/unslop
- source_type
- community
- license_source
- https://github.com/MohamedAbdallah-14/unslop/blob/main/LICENSE
03 SKILL.md 正文
unslop — Strip AI Writing Patterns via CLI
Overview
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.
When to Use This Skill
- When you have AI-generated text ready to publish and want a final cleanup pass
- When working in a shell pipeline where text quality needs to be enforced automatically
- When writing commit hooks or CI steps that validate content before it ships
- When you need reproducible text normalization across multiple runs
Setup
Install once:
pipx install unslop
# or
uv tool install unslop
Verify:
unslop --version
How It Works
Step 1: Pipe Text Through unslop
Standard cleanup (may vary slightly between runs):
echo "This leverages cutting-edge AI to deliver robust solutions." | unslop --stdin
Deterministic cleanup (same input → same output every run):
echo "This leverages cutting-edge AI to deliver robust solutions." | unslop --stdin --deterministic
Step 2: Use in Shell Pipelines
Pipe the output of any command through unslop:
cat draft.md | unslop --stdin --deterministic > clean.md
Or chain with other tools:
cat draft.md | unslop --stdin --deterministic | pbcopy # macOS: copy clean text to clipboard
Step 3: Integrate into Commit Hooks or CI
Add 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
fi
Examples
Example 1: Clean a Draft Document
cat blog-post-draft.md | unslop --stdin --deterministic > blog-post-final.md
Example 2: Inline Cleanup During Writing
# Write content, pipe through unslop, write result back
cat README.md | unslop --stdin > README.clean.md && mv README.clean.md README.md
Example 3: Validate Before Submitting a PR
# 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
Best Practices
- ✅ Use
--deterministicin CI and automation to ensure reproducible output - ✅ Run on the final draft, not intermediate iterations
- ✅ Combine with the
avoid-ai-writingskill for both generation-time guidance and post-processing - ❌ Don't run on code files — unslop targets prose, not source code
- ❌ Don't skip review after unslop: automated cleanup can occasionally change meaning; read the output
Limitations
- Processes prose only — not code, JSON, or structured data
- Does not catch factual errors or substantive writing issues
- Some replacements may not fit every context; review the output before publishing
- Requires Python tooling such as
pipxoruvfor standalone CLI installation
Security & Safety Notes
- unslop reads from stdin and writes to stdout — no file system side effects by default
--deterministicmode is local and does not make LLM API calls- Default LLM mode may use
ANTHROPIC_API_KEYor the Claude CLI; use--deterministicfor sensitive local files and CI gates - Safe to run in CI pipelines and commit hooks when pinned to deterministic mode
04 同仓库更多 Skills
zustand-store-ts
Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state/action separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.
zustand-store-creator
Zustand Store Creator - Auto-activating skill for Frontend Development. Triggers on: zustand store creator, zustand store creator Part of the Frontend Development skill category.
zero-trust-config-helper
Zero Trust Config Helper - Auto-activating skill for Security Advanced. Triggers on: zero trust config helper, zero trust config helper Part of the Security Advanced skill category.
zapier-integration-helper
Zapier Integration Helper - Auto-activating skill for Business Automation. Triggers on: zapier integration helper, zapier integration helper Part of the Business Automation skill category.
zai-cli
Execute z.AI CLI providing vision, search, reader, and GitHub exploration via CLI and MCP. Use when user needs image/video analysis, OCR, UI-to-code conversion, error diagnosis, real-time web search, web page to markdown extraction, or GitHub code exploration. Trigger with phrases like "analyze this image", "search the web for", "read this page", "explore this repo", or "use zai". Requires Z_AI_API_KEY.
yt-research
Research competitor YouTube channels, niches, and trending topics for your content strategy. Use this skill whenever the user says "research channels", "analyze competitors", "find trending topics", "niche analysis", "competitive research", "what are other creators doing", "scrape YouTube channels", or wants to understand the competitive landscape for a specific tool or topic area. Use when working with yt research. Trigger with 'yt', 'research'.