unslop
Skill này làm gì
Unslop là công cụ làm sạch văn bản do AI tạo ra, loại bỏ các mẫu viết AI thường gặp. Nó đóng vai trò bước cuối cùng để làm văn bản tự nhiên hơn trước khi bạn xuất bản.
Khi nào nên dùng
- ✓Khi bạn có văn bản sẵn sàng xuất bản và muốn một lượt làm sạch cuối cùng.
- ✓Khi bạn dùng máy tính qua dòng lệnh và muốn tự động đảm bảo chất lượng văn bản.
- ✓Khi xây dựng hệ thống kiểm tra nội dung trước khi nội dung được đăng công khai.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/unslop/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Làm sạch văn bản này để loại bỏ các mẫu viết kiểu AI: [dán văn bản vào đây]”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Bạn gửi văn bản đến công cụ unslop, công cụ xử lý và trả về bản đã làm sạch. Nó giống như áp dụng một bộ lọc để loại bỏ các dấu hiệu “văn phong robot”.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
“Mẫu viết AI” là gì?
Đây là các cụm từ hoặc cấu trúc mà AI hay dùng, như “cần lưu ý rằng” hoặc “trong tình huống này”. Unslop cố loại bỏ những lặp lại này.
Unslop có dùng được trên mọi văn bản không?
Nó được thiết kế cho văn bản viết (văn xuôi) do người hoặc AI tạo ra, không dành cho code lập trình, dữ liệu có cấu trúc hay JSON.
Tôi có cần cài đặt gì không?
Có, bạn cần cài công cụ trên máy tính bằng các lệnh như “pipx install unslop”.
Chi tiết
Mô tả gốc của tác giả
Post-process AI-generated text through the unslop CLI to strip AI writing patterns before publishing
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #6065
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.