本文へスキップ
Skillpedia
一般的なプログラミング48k · #6065

unslop

できること

Unslopは、AIが生成した文章から、AI特有の文章パターンを取り除くツールです。公開前の最後の仕上げとして使い、文章をより自然に整えます。

使う場面

  • ✓公開する文章が完成し、最終的な整理をしたいとき。
  • ✓コマンドラインでパソコンを操作していて、文章の品質を自動的に確認したいとき。
  • ✓公開前に内容をチェックする仕組みを作りたいとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/unslop/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/unslop/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“次の文章からAI特有の書き方のパターンを取り除いてください:[ここに文章を貼り付け]”

毎週5つの新しいスキル。1分で読めます。

仕組み

文章をunslopツールに送ると、処理された整えた文章が返されます。「ロボットっぽい書き方」の目印を取り除くフィルターのようなものです。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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 --deterministic in CI and automation to ensure reproducible output
  • ✅ Run on the final draft, not intermediate iterations
  • ✅ Combine with the avoid-ai-writing skill 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 pipx or uv for standalone CLI installation

Security & Safety Notes

  • unslop reads from stdin and writes to stdout — no file system side effects by default
  • --deterministic mode is local and does not make LLM API calls
  • Default LLM mode may use ANTHROPIC_API_KEY or the Claude CLI; use --deterministic for sensitive local files and CI gates
  • Safe to run in CI pipelines and commit hooks when pinned to deterministic mode
よくある質問

「AI特有の文章パターン」とは何ですか?

「注意すべき点として」や「この場合において」のように、AIが頻繁に使う言い回しや文の構造のことです。unslopはこうした繰り返しを取り除こうとします。

どんな文章にも使えますか?

人間が書いた文章やAIが書いた散文を対象に設計されています。プログラムのコード、構造化データ、JSONには向いていません。

インストールは必要ですか?

はい、必要です。「pipx install unslop」のようなコマンドを使って、パソコンにツールをインストールしてください。

詳細

作者による元の説明

Post-process AI-generated text through the unslop CLI to strip AI writing patterns before publishing

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#6065
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル