fable-safe-prompt

fable-safe-prompt is a skill for Claude Code from attentiondotnet/davidondrej-skills. It costs 118 tokens per session (1,041 once invoked), scanned A, a copy of fable-safe-prompt, MIT.

A prompt-editing guide for rewriting sensitive cybersecurity, authentication, exploit, malware, testing, biology, medical, or reasoning-related wording into safer language while preserving the original goal.

In plain words
What is it for?
Use it to make a supplied prompt safer for a particular model's classifiers without changing unrelated wording.
Why use it?
It reduces the chance that automated safety checks misclassify an otherwise legitimate prompt because of triggering terms or framing.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to make a supplied prompt safer for a particular model's classifiers without changing unrelated wording.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/attentiondotnet/davidondrej-skills/fable-safe-prompt
Install

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.

Any agent
npx skills add attentiondotnet/davidondrej-skills --skill fable-safe-prompt
Clone the repo
git clone --depth 1 https://github.com/attentiondotnet/davidondrej-skills

Made for: Claude Code.

Wrote 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.

agentmods badge for fable-safe-prompt

README.md
[![agentmods](https://agentmods.dev/badge/skills/attentiondotnet/davidondrej-skills/fable-safe-prompt/github.svg)](https://agentmods.dev/skills/attentiondotnet/davidondrej-skills/fable-safe-prompt)
Your own site
<a href="https://agentmods.dev/skills/attentiondotnet/davidondrej-skills/fable-safe-prompt"><img src="https://agentmods.dev/badge/skills/attentiondotnet/davidondrej-skills/fable-safe-prompt/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.

agentmods 80×15 button for fable-safe-prompt

Your own site · 80×15
<a href="https://agentmods.dev/skills/attentiondotnet/davidondrej-skills/fable-safe-prompt"><img src="https://agentmods.dev/badge/skills/attentiondotnet/davidondrej-skills/fable-safe-prompt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,041 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00118 $0.01041
Opus 5 $0.00059 $0.00521
Sonnet 5 $0.00024 $0.00208
Haiku 4.5 $0.00012 $0.00104

Measured 11d ago against content hash 6bc9b25ab01a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

fable-safe-prompt 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 11d 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.

Origin

This is a copy

100% identical to fable-safe-prompt — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/agent-orchestration/fable-safe-prompt/SKILL.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Fable-Safe Prompt

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 — it does not guarantee no trigger.

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

Read the full file on GitHub · 59 lines

Changes

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.

  1. 11d ago First seen · 59 lines · 118 tokens per session scan A 6bc9b25ab01a

Subscribe to this mod's changes

fable-safe-prompt is a skill published in the GitHub repository attentiondotnet/davidondrej-skills (11 stars, last pushed 2mo ago), licensed MIT. It adds 118 tokens to every session and 1,041 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to fable-safe-prompt, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

llm-app-patterns

Production-ready patterns for building LLM applications. Covers RAG pipelines, agent architectures, prompt IDEs, and LLMOps monitoring. Use when designing AI applications, implementing RAG, building agents, or setting up LLM observability.

davila7/claude-code-templates · 54 tokens

prompt-optimization

Improve a prompt on the evaluations workbench through a measured loop. Score the baseline first, then duplicate the target column, form a hypothesis from failing rows, edit the copy's prompt draft, run, compare pass rate and cost, and repeat until the numbers hold. Use when the user asks to optimize or improve a…

langwatch/langwatch · 105 tokens

enhance-prompt

Transforms vague UI ideas into polished, Stitch-optimized prompts. Enhances specificity, adds UI/UX keywords, injects design system context, and structures output for better generation results.

google-labs-code/stitch-skills · 41 tokens

prompt-engineer

Writes, refactors, and evaluates prompts for LLMs — generating optimized prompt templates, structured output schemas, evaluation rubrics, and test suites. Use when designing prompts for new LLM applications, refactoring existing prompts for better accuracy or token efficiency, implementing chain-of-thought or few-shot…

Jeffallan/claude-skills · 93 tokens

seedance-vocab-en

This skill should be used when an English Seedance 2.0 prompt needs clearer production wording, less generic prose, or precise vocabulary for camera, lighting, motion, VFX, audio, and constraints. Route blocked prompts through seedance-filter for context and boundary review.

Emily2040/seedance-2.0 · 61 tokens

ideogram4

Prompting patterns for Ideogram 4 text-to-image — best-in-class in-image text rendering and exact color/layout control via structured JSON captions. Use when generating images that need legible on-image text (title cards, thumbnails, logos, signage, CTAs), precise brand colors, or controlled spatial layout. Triggers…

digitalsamba/claude-code-video-toolkit · 99 tokens