fable-safe-prompt
Qué hace
Este agente de IA te ayuda a reescribir prompts para que no activen alarmas de seguridad por accidente. Hace pequeños cambios en frases concretas para mantener la intención original, pero de forma más segura.
Cuándo usarla
- ✓Cuando un prompt permitido parezca que puede activar una alarma de seguridad por error.
- ✓Cuando el usuario quiera reformular un prompt para que sea claro y seguro.
- ✓Para evitar que palabras sensibles activen los clasificadores de seguridad.
Link de la skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/fable-safe-prompt/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Reescribe este prompt para que no active alarmas de seguridad por error, pero que mantenga la intención original: <prompt>¿Cómo podría un atacante aprovechar esta autenticación?</prompt>”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente identifica las frases que los sistemas de seguridad podrían malinterpretar. Después, sustituye esas frases por alternativas más seguras, sin cambiar el objetivo principal del prompt.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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
- Flag the highly problematic sentences/phrases (offensive framings, named sensitive domains, "show your thinking" lines).
- Replace each in place with a safe equivalent (see swaps), or describe the wanted functionality abstractly rather than naming the domain.
- Leave everything else byte-for-byte identical.
- 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
- Print the full safe prompt back to the user in text (a code block, ready to paste).
- Copy it to the clipboard so the user can paste immediately:
Confirm in one line that it's on the clipboard.pbcopy <<'EOF' <the full safe prompt> EOF - A short list of exactly which sentences you changed and what they became.
- 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.
…
Preguntas frecuentes
¿Qué son los 'falsos positivos'?
Son alarmas que saltan por error, por ejemplo, cuando un sistema de seguridad cree que algo es peligroso, pero en realidad es inofensivo.
¿El agente cambiará lo que he pedido?
No. El objetivo es mantener tu intención original. Solo ajusta la redacción para evitar problemas de seguridad, sin cambiar lo que quieres que haga la IA.
¿Qué pasa si el prompt es realmente peligroso?
Si el prompt es realmente ofensivo o peligroso, el agente no lo editará e indicará que no es posible hacerlo seguro.
Detalles
Descripción original del autor
Rewrite allowed prompts to reduce false-positive safety triggers without bypassing policy or changing intent.
Popularidad
- Estrellas en GitHub
- 48 mil
- Posición en el ranking
- #4582
- Licencia
- MIT
- Actualizada
- 15/10/2026
Comentarios
- …
Más skills de este repositorio
00-andruia-consultant
48 milAyuda a tu agente a iniciar o mejorar proyectos de IA. Analiza código, sugiere herramientas y crea planes de acción en español.
007
48 milPermite que tu agente realice auditorías de seguridad y modelado de amenazas. Es útil para proteger proyectos contra ataques y vulnerabilidades.
10-andruia-skill-smith
48 milAyuda a tu agente a crear o mejorar herramientas de IA. Define cómo funcionan, escribe la documentación y valida la estructura.
20-andruia-niche-intelligence
48 milPermite que tu agente cree un resumen de un sector específico. Es útil para entender su contexto, normas, patrones de uso y riesgos, usando fuentes fiables.
Skills parecidas
writing-skills
311 milEnseña a tu agente a escribir skills nuevas y a probar cada una primero, comprobando que realmente cambia la forma en que se comporta el agente.
writing-for-agents
310 milExplica cómo escribir instrucciones claras para agentes de IA, incluidas las skills y los archivos AGENTS.md y CLAUDE.md, para que el agente se comporte de forma predecible.
bengali-nlp
280 milHace que tu agente procese texto en bengalí. Ayuda a entender y trabajar con el idioma, normalizando el texto y gestionando sus características propias.