Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add shimo4228/claude-harness --skill prompt-perturbgit clone --depth 1 https://github.com/shimo4228/claude-harnessWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/shimo4228/claude-harness/prompt-perturb)<a href="https://agentmods.dev/skills/shimo4228/claude-harness/prompt-perturb"><img src="https://agentmods.dev/badge/skills/shimo4228/claude-harness/prompt-perturb/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/shimo4228/claude-harness/prompt-perturb"><img src="https://agentmods.dev/badge/skills/shimo4228/claude-harness/prompt-perturb.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00194 | $0.01040 |
| Opus 5 | $0.00097 | $0.00520 |
| Sonnet 5 | $0.00039 | $0.00208 |
| Haiku 4.5 | $0.00019 | $0.00104 |
Grade A, and why
prompt-perturb scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Prompt Perturb — 文脈遮断プロンプト注入
作業が局所解に嵌るのは、生成もレビューも同じ文脈分布から出てくるからである。 この skill は検索者を文脈から遮断することで分布の外からプロンプトを引く。 repo の中から「目的に合うプロンプト」を探すと類似度選択でいつもの手筋が再生産される — だから検索者には目的の一行だけを渡す。遮断が甘いほど効果が消える。
手順
1. 目的を一行に蒸留する(遮断ステップ)
いまの作業の目的を、プロジェクト名・技術スタック・制約・これまでのアプローチを すべて落として一行にする。固有名詞が残っていたら抽象化する (例: 「pdf2anki の Phase 4 機能案出し」→「学習素材の変換ツールの新機能を発想したい」)。
ここで文脈を足したくなるのが最大の罠。合いすぎる候補が返ってきたら遮断失敗のサイン。
2. 乱数種を引き、prompt-forager を起動する
まず bash <この skill のディレクトリ>/scripts/draw.sh を実行する。出力はシステム辞書から
無作為抽出した刺激語で、forager の外部検索の初期位置を散らすための種である
(LLM に「ランダムに」と頼むと自分の分布から選ぶため、抽選はコードが持つ。
ローカルに技法リストやカードデッキは置かない — 閉じた札はそこに収束するため、
選択肢の供給源は常に外部の検索結果とする)。
Agent ツールで prompt-forager を起動し、蒸留した一行 + draw.sh の出力のみを渡す。
会話履歴の要約・補足説明を付けない。
3. 候補を原文のまま提示する
返ってきた 3〜5 候補を要約せず原文のまま提示し、ユーザーに選んでもらう。 「おまかせ」と言われたら、現在のセッションでまだ使っていない認知の向き (逆張り・制約反転・視点交換・アナロジー)に最も遠い候補を選び、選定理由を一行添える。
4. 選ばれたプロンプトを現在の文脈で実行する
ここで初めてプロジェクト文脈と合流する。プロンプトの指示に素直に従い、 早すぎる「現実的には…」の絞り込みで摂動を殺さない — 収束は摂動の後でよい。
使用上の注意
- 1 回の行き詰まりにつき 1 引きまで。連発すると探索が物色に変わる(iteration bound)
- 摂動の成果はすぐ判定しない。異角度プロンプトの価値はその場の出力でなく、 数手先で「あの角度がなければ出なかった」形で現れることが多い
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 53 lines · 194 tokens per session scan A b9810c1d2ba1
prompt-perturb is a skill published in the GitHub repository shimo4228/claude-harness (3 stars, last pushed 6d ago), licensed MIT. It adds 194 tokens to every session and 1,040 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
outlines
Outlines: structured JSON/regex/Pydantic LLM generation.
guidance
Constrain LLM output with grammars; guarantee valid JSON.
instructor
Structured LLM outputs validated with Pydantic.
dspy
DSPy: declarative LM programs, auto-optimize prompts, RAG.
claude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude…
omni-compression
Configure RTK (command output), Caveman (prose), and stacked compression modes. Manage language packs, custom rules, and test prompt compression reducing tokens by 60–90%.