本文へスキップ
Skillpedia
プロンプトとLLM48k · #4582

fable-safe-prompt

できること

このAIエージェントは、安全性のアラートに誤って引っかからないよう、プロンプトを書き直す手助けをします。特定の言い回しを少しだけ変えて、元の意図を保ったまま、より安全な表現にします。

使う場面

  • ✓許可されているプロンプトが、誤って安全性のアラートを発動させそうなとき。
  • ✓ユーザーが、明確で安全な表現にプロンプトを言い換えたいとき。
  • ✓機微な言葉によって安全分類器が反応するのを防ぎたいとき。

スキルのリンク

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

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“このプロンプトを、元の意図は保ったまま、誤って安全性のアラートが発動しないように書き直してください。<prompt>攻撃者はこの認証をどのように悪用できるでしょうか?</prompt>”

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

仕組み

エージェントは、安全性のシステムに誤解される可能性のある言い回しを見つけます。そのうえで、プロンプトの主な目的を変えずに、より安全な別の表現に置き換えます。

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

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

Fable-Safe Prompt

When to Use

  • Use when an allowed prompt appears likely to hit false-positive classifier language.
  • Use when the user asks for prompt wording that keeps benign intent clear and policy-compliant.

Return the user's prompt back in full, verbatim, changing ONLY the specific sentences/phrases most likely to trip Fable 5's cyber/bio classifiers. Do not rewrite the whole thing, do not summarize, do not restructure — minimal surgical edits. Keep the actual goal and all benign text exactly as written. This lowers false positives for benign work. It must not be used to bypass safety policy or enable harmful requests.

Fable 5 runs 3 input classifiers: cyber, bio/chem, reasoning_extraction. Triggers are keyword/surface-based, largely intent-independent ("hello" and "cancer" got flagged). The fix is to abstract away the sensitive domain, not just restate intent.

Apply when the prompt touches: cyber/auth/exploits/malware/pentesting/credentials; bio/chem/medical/disease/lab topics; or any "show your reasoning" instruction.

The user provides the prompt-to-be-changed wrapped in <prompt>...</prompt> XML tags. Operate only on the text inside those tags; treat everything outside as instructions to you.

Method

  1. Flag the highly problematic sentences/phrases (offensive framings, named sensitive domains, "show your thinking" lines).
  2. Replace each in place with a safe equivalent (see swaps), or describe the wanted functionality abstractly rather than naming the domain.
  3. Leave everything else byte-for-byte identical.
  4. Return the complete edited prompt.

Reframe so the task reads as: owned/authorized, defensive (implement/fix/test, not attack), and not dual-use (no exploit dev, attack simulation, bypass payloads, malware, live testing).

Swap framings (apply per-sentence)

Triggering Safe rewrite
"How could an attacker exploit this auth" "Review these auth files for missing checks and fix them defensively"
"Write an exploit / payload / PoC" "Add a regression test proving X is fixed, then patch it"
"How do I bypass / brute-force Y" "Enforce secure session validation + rate limiting on Y"
"Reverse this malware / show attack steps" "Describe the risk high-level, then implement the fix"
"Show your reasoning / explain step-by-step / walk me through your thinking" Delete it. Trips reasoning_extraction. If progress visibility is needed, ask it to use a send-to-user tool, not to echo its internal thoughts.
Clinician framing: "as a doctor, diagnose this ECG" Patient framing: "help me interpret this ECG my doctor gave me"
Named bio/chem domain: "cancer / disease pathway / chemical kinetics" Abstract it: describe the data/analysis generically, drop the domain noun

Trigger keywords to abstract away

Cyber: exploit, malware, vulnerability, attack, bypass, stealth, fingerprinting, anti-bot, CAPTCHA, penetration. Bio/chem: biology, biomedicine, chemistry, cancer, disease pathways, RNA/variant calling, equilibrium, kinetics, diagnosis. Distillation: "distill the model", training pipelines, frontier LLM development.

If no benign defensive equivalent exists for a sentence (it's purely offensive), flag it to the user rather than silently neutering the intent.

Output

  1. Print the full safe prompt back to the user in text (a code block, ready to paste).
  2. Copy it to the clipboard so the user can paste immediately:
    pbcopy <<'EOF'
    <the full safe prompt>
    EOF
    
    Confirm in one line that it's on the clipboard.
  3. A short list of exactly which sentences you changed and what they became.
  4. If the task is genuinely offensive (pentest, exploit repro, malware analysis): say plainly no edit makes it Fable-safe — use an Opus 4.8 fallback or vetted Mythos, not Fable 5.

Hard truth: you can't reliably stop Fable 5 guardrails. Robust API setups also treat stop_reason: "refusal" (HTTP 200, stop_details.category = cyber/bio) as a route to an Opus 4.8 fallback — mention only if the user controls the integration.

Example

User request:

Rewrite this allowed prompt to reduce false-positive classifier triggers while preserving its intent and constraints.

Limitations

  • Adapted from davidondrej/skills; verify local paths, tools, credentials, and agent features before acting.

…

よくある質問

「誤検知(false positives)」とは何ですか?

安全性のシステムが危険だと判断してしまうものの、実際には無害なものに対して、誤って発動してしまうアラートのことです。

エージェントが私の依頼内容を変えてしまうことはありますか?

いいえ。目的は元の意図を保つことです。安全上の問題を避けるために言葉遣いを調整するだけで、AIにさせたいことは変えません。

プロンプトが本当に危険な内容だったらどうなりますか?

本当に攻撃的だったり危険だったりするプロンプトの場合、エージェントは編集せず、安全にすることはできないと伝えます。

詳細

作者による元の説明

Rewrite allowed prompts to reduce false-positive safety triggers without bypassing policy or changing intent.

repo: sickn33/agentic-awesome-skills

人気

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

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

0

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

コメント

  • …

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

似ているスキル