मुख्य सामग्री पर जाएँ
Skillpedia
प्रॉम्प्ट और LLM48k · #4582

fable-safe-prompt

यह क्या करती है

यह AI एजेंट प्रॉम्प्ट को इस तरह दोबारा लिखने में मदद करता है कि वे गलती से सेफ़्टी अलार्म न बजाएं। यह कुछ खास शब्दों में छोटे बदलाव करता है, ताकि मूल मकसद बना रहे, लेकिन लिखने का तरीका ज़्यादा सुरक्षित हो।

कब इस्तेमाल करें

  • ✓जब कोई सही प्रॉम्प्ट गलती से सेफ़्टी अलार्म ट्रिगर करता लगे।
  • ✓जब यूज़र चाहता हो कि प्रॉम्प्ट साफ़ और सुरक्षित तरीके से लिखा जाए।
  • ✓संवेदनशील शब्दों को सेफ़्टी क्लासिफ़ायर ट्रिगर करने से रोकने के लिए।

Skill का लिंक

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 में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/fable-safe-prompt/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“इस प्रॉम्प्ट को दोबारा लिखो ताकि यह गलती से सेफ़्टी अलार्म ट्रिगर न करे, लेकिन इसका मूल मकसद वही रहे: <prompt>How could an attacker exploit this authentication?</prompt>”

हर हफ़्ते 5 नई skills, 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.

…

अक्सर पूछे जाने वाले सवाल

'फ़ॉल्स पॉज़िटिव' क्या होता है?

ये गलत अलार्म होते हैं, जैसे जब सेफ़्टी सिस्टम को लगे कि कोई चीज़ खतरनाक है, जबकि वह असल में हानिरहित हो।

क्या एजेंट मेरी माँगी गई चीज़ बदल देगा?

नहीं, मकसद वही रहता है। यह सिर्फ़ शब्दों को सेफ़्टी समस्याओं से बचाने के लिए बदलता है, 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
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

00-andruia-consultant

48k

आपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।

AI और एजेंटएजेंट

007

48k

आपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।

कोडिंगसिक्योरिटी

10-andruia-skill-smith

48k

आपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।

AI और एजेंटएजेंट

20-andruia-niche-intelligence

48k

आपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।

लेखन और डॉक्यूमेंटरिसर्च

मिलती-जुलती skills