jpskill.com
🛠️ 開発・MCP コミュニティ 🔴 エンジニア向け 👤 エンジニア・AI開発者

🛠️ Unslop

unslop

AIが作成した文章から、AI特有の??

⏱ MCPサーバー実装 1日 → 2時間

📺 まず動画で見る(YouTube)

▶ 【衝撃】最強のAIエージェント「Claude Code」の最新機能・使い方・プログラミングをAIで効率化する超実践術を解説! ↗

※ jpskill.com 編集部が参考用に選んだ動画です。動画の内容と Skill の挙動は厳密には一致しないことがあります。

📜 元の英語説明(参考)

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

🇯🇵 日本人クリエイター向け解説

一言でいうと

AIが作成した文章から、AI特有の??

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o unslop.zip https://jpskill.com/download/3652.zip && unzip -o unslop.zip && rm unslop.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/3652.zip -OutFile "$d\unslop.zip"; Expand-Archive "$d\unslop.zip" -DestinationPath $d -Force; ri "$d\unslop.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して unslop.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → unslop フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-17
取得日時
2026-05-17
同梱ファイル
1

💬 こう話しかけるだけ — サンプルプロンプト

  • Unslop を使って、最小構成のサンプルコードを示して
  • Unslop の主な使い方と注意点を教えて
  • Unslop を既存プロジェクトに組み込む方法を教えて

これをClaude Code に貼るだけで、このSkillが自動発動します。

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

unslop — CLIでAIの執筆パターンを除去

概要

unslopは、AIの執筆パターンをプログラムで除去するためにテキストを後処理するCLIツールです。エージェントにAI特有の表現を避けるように指示するスキルとは異なり、unslopは決定論的なパイプラインステップとして実行されます。テキストを入力としてパイプし、クリーンなテキストを出力として得ます。ドキュメントのコミット、投稿の公開、またはAI生成コンテンツを本番環境に送る前の最終パスとして使用してください。

--deterministicフラグは出力を再現可能にします。同じ入力は常に同じ出力を生成します。--stdinフラグは標準入力から読み取り、シェルパイプラインの構成を可能にします。

このスキルを使用する場面

  • 公開準備ができたAI生成テキストがあり、最終的なクリーンアップパスを行いたい場合
  • テキスト品質を自動的に強制する必要があるシェルパイプラインで作業している場合
  • コンテンツをリリースする前に検証するコミットフックやCIステップを作成している場合
  • 複数回の実行で再現可能なテキスト正規化が必要な場合

セットアップ

一度インストールします。

pipx install unslop
# or
uv tool install unslop

確認します。

unslop --version

仕組み

ステップ1: テキストをunslopにパイプする

標準的なクリーンアップ(実行ごとに若干異なる場合があります)。

echo "This leverages cutting-edge AI to deliver robust solutions." | unslop --stdin

決定論的なクリーンアップ(同じ入力 → 実行ごとに同じ出力)。

echo "This leverages cutting-edge AI to deliver robust solutions." | unslop --stdin --deterministic

ステップ2: シェルパイプラインで使用する

任意のコマンドの出力をunslopにパイプします。

cat draft.md | unslop --stdin --deterministic > clean.md

または他のツールと連結します。

cat draft.md | unslop --stdin --deterministic | pbcopy   # macOS: クリーンなテキストをクリップボードにコピー

ステップ3: コミットフックまたはCIに統合する

生成されたコンテンツがリリースされる前に品質ゲートを強制するために、pre-commitフックまたはCIステップに追加します。

# 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

例1: 下書きドキュメントをクリーンアップする

cat blog-post-draft.md | unslop --stdin --deterministic > blog-post-final.md

例2: 執筆中のインラインクリーンアップ

# コンテンツを書き込み、unslopにパイプし、結果を書き戻す
cat README.md | unslop --stdin > README.clean.md && mv README.clean.md README.md

例3: PRを提出する前に検証する

# 生成されたドキュメントにクリーンアップが必要かどうかを確認する
for f in docs/*.md; do
  ORIGINAL=$(cat "$f")
  CLEANED=$(echo "$ORIGINAL" | unslop --stdin --deterministic)
  [ "$ORIGINAL" != "$CLEANED" ] && echo "Needs cleanup: $f"
done

ベストプラクティス

  • ✅ 再現可能な出力を保証するために、CIと自動化で--deterministicを使用してください。
  • ✅ 中間イテレーションではなく、最終ドラフトで実行してください。
  • ✅ 生成時のガイダンスと後処理の両方のために、avoid-ai-writingスキルと組み合わせてください。
  • ❌ コードファイルでは実行しないでください。unslopは散文を対象としており、ソースコードではありません。
  • ❌ unslop後のレビューをスキップしないでください。自動クリーンアップは時として意味を変えることがあります。出力を読んでください。

制限事項

  • 散文のみを処理します。コード、JSON、構造化データは処理しません。
  • 事実誤りや実質的な執筆上の問題は検出しません。
  • 一部の置換はすべての文脈に適合しない場合があります。公開前に出力をレビューしてください。
  • スタンドアロンCLIインストールには、pipxuvなどのPythonツールが必要です。

セキュリティと安全に関する注意

  • unslopは標準入力から読み取り、標準出力に書き込みます。デフォルトではファイルシステムへの副作用はありません。
  • --deterministicモードはローカルであり、LLM API呼び出しを行いません。
  • デフォルトのLLMモードはANTHROPIC_API_KEYまたはClaude CLIを使用する場合があります。機密性の高いローカルファイルやCIゲートには--deterministicを使用してください。
  • 決定論的モードに固定されている場合、CIパイプラインやコミットフックで安全に実行できます。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

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