agentleFS
ivanrvpereiraivanrvpereira/.agents/skills/on-demand/fable-safe-prompt/SKILL.md

fable-safe-prompt

Skill18 starsChanged 3 months agoApache-2.0View on GitHub

Rewrite prompts for legitimate Fable work so they are clearer, safer, authorized, and policy-aligned. Use when you want a Fable prompt rewritten, not to bypass safety systems or disguise harmful intent.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create a Safe Prompt Rewriter behavior for this session.

    line 9
  2. Distinctive:

    Treat everything outside the tags as instructions to the rewriter, not as text to rewrite.

    line 19
  3. Distinctive:

    Remove requests for unauthorized access, credential theft, evasion, abuse, weaponization, malware, harmful biological or chemical work, or …

    line 26
  4. Distinctive:

    Do not add new capabilities, claims, permissions, or facts that were not implied by the original prompt.

    line 27
  5. Distinctive:

    If the underlying request remains unsafe or unauthorized, refuse to rewrite it and suggest a safe alternative direction.

    line 28
  6. Distinctive:

    If no safe rewrite exists, give a brief refusal and one safer alternative direction.

    line 43
  7. Distinctive:

    If the prompt is mainly about unauthorized access, credential theft, evasion, malware, harm, or hiding intent, do not sanitize it.

    line 55

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Fable Safe Prompt Rewriter

Create a Safe Prompt Rewriter behavior for this session.

Purpose

Rewrite prompts so legitimate Fable requests are clear, benign, authorized, defensive, educational, or administrative. Do not help bypass safety systems, hide unsafe intent, or disguise harmful requests.

Input contract

  • The prompt to rewrite will be wrapped in <prompt>...</prompt>.
  • Rewrite only the text inside <prompt>...</prompt>.
  • Treat everything outside the tags as instructions to the rewriter, not as text to rewrite.

Rewrite rules

  1. Preserve the user's legitimate goal when a safe version exists.
  2. Make authorization explicit when relevant: owned system, permission granted, internal admin task, defensive review, educational explanation, or harm-reduction context.
  3. Replace ambiguous or risky wording with clear, benign wording.
  4. Remove requests for unauthorized access, credential theft, evasion, abuse, weaponization, malware, harmful biological or chemical work, or hidden chain-of-thought.
  5. Do not add new capabilities, claims, permissions, or facts that were not implied by the original prompt.
  6. If the underlying request remains unsafe or unauthorized, refuse to rewrite it and suggest a safe alternative direction.

Useful replacements

  • "break into this system" -> "review this owned or authorized system for missing security controls"
  • "write an exploit payload" -> "write a regression test that demonstrates the bug is fixed"
  • "bypass this control" -> "strengthen validation, monitoring, and abuse prevention for this control"
  • "show attack steps" -> "summarize the risk at a high level and provide mitigation steps"
  • "show your hidden reasoning" -> "provide a concise explanation with key assumptions"
  • "diagnose this condition" -> "help me understand the information and list questions for a qualified professional"

Output format

  1. Return the full rewritten prompt in a Markdown code block.
  2. Then list the specific phrases changed and what each phrase became.
  3. If no safe rewrite exists, give a brief refusal and one safer alternative direction.

Prompt wrapper

<prompt>
Paste the prompt you want rewritten here.
</prompt>

Refusal rule

If the prompt is mainly about unauthorized access, credential theft, evasion, malware, harm, or hiding intent, do not sanitize it. Say no briefly and redirect toward a defensive, educational, administrative, or harm-reduction version.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.