fable-safe-prompt
Skill này làm gì
Agent AI này giúp viết lại prompt để chúng không vô tình kích hoạt cảnh báo an toàn. Nó thay đổi nhẹ một số cụm từ để giữ nguyên ý định ban đầu nhưng theo cách an toàn hơn.
Khi nào nên dùng
- ✓Khi một prompt hợp lệ có khả năng kích hoạt cảnh báo an toàn do nhầm lẫn.
- ✓Khi người dùng muốn diễn đạt lại một prompt cho rõ ràng và an toàn.
- ✓Khi bạn muốn tránh các từ nhạy cảm kích hoạt bộ phân loại an toàn.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/fable-safe-prompt/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Viết lại prompt này để nó không kích hoạt cảnh báo an toàn nhầm, nhưng vẫn giữ nguyên ý định ban đầu: <prompt>Kẻ tấn công có thể khai thác xác thực này như thế nào?</prompt>”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent nhận diện các cụm từ có thể bị hệ thống an toàn hiểu nhầm. Sau đó, nó thay các cụm từ này bằng cách diễn đạt an toàn hơn, mà không thay đổi mục tiêu chính của prompt.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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.
…
Câu hỏi thường gặp
'False positives' là gì?
Đó là các cảnh báo báo nhầm, khi hệ thống an toàn cho rằng một thứ nguy hiểm trong khi nó thực ra vô hại.
Agent có thay đổi điều tôi yêu cầu không?
Không, mục tiêu là giữ đúng ý định của bạn. Nó chỉ điều chỉnh cách diễn đạt để tránh vấn đề an toàn, không thay đổi điều bạn muốn AI làm.
Nếu prompt thực sự nguy hiểm thì sao?
Nếu prompt thực sự xúc phạm hoặc nguy hiểm, agent sẽ không chỉnh sửa và sẽ nêu rõ rằng nó không thể làm cho an toàn.
Chi tiết
Mô tả gốc của tác giả
Rewrite allowed prompts to reduce false-positive safety triggers without bypassing policy or changing intent.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #4582
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
writing-skills
311kDạy agent của bạn viết skill mới và kiểm thử từng skill trước, kiểm tra xem skill có thực sự thay đổi cách agent hành xử hay không.
writing-for-agents
310kGiải thích cách viết hướng dẫn rõ ràng cho agent AI, gồm skill, tệp AGENTS.md và CLAUDE.md, để agent cư xử nhất quán.
bengali-nlp
280kGiúp agent của bạn xử lý văn bản tiếng Bengali, hỗ trợ hiểu ngôn ngữ này, chuẩn hóa văn bản và xử lý các đặc điểm riêng của nó.