🛡️
AI Engineering

Safety Guardrails

by kangarooking

Safety Guardrails is an AI Engineering skill for Claude Code, published by kangarooking in system-prompt-skills.

182 stars40 forkson kangarooking/system-prompt-skillsAdded 2026/09/06+3% in starsRepository updated 2026/05/04
agent-designagent-skillsai-agentscangjie-skillcontext-managementprompt-engineeringprompt-injectionsystem-prompttool-use
Install in seconds
Install Safety Guardrails
Copy Safety Guardrails into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/kangarooking/system-prompt-skills/tree/main/safety-guardrails ~/.claude/skills/safety-guardrails

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/kangarooking/system-prompt-skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
safety-guardrails/SKILL.md in kangarooking/system-prompt-skills
Installs to
~/.claude/skills/safety-guardrails
Collection
One of 15 skills cataloged from this repository
Category
AI Engineering3278 skills

What Safety Guardrails does

Safety Guardrails helps design layered safety boundaries for AI systems, including refusal policies, prompt injection defenses, and domain-specific rules. Use it when an AI handles sensitive topics or needs clear ethical limits.

Safety Guardrails is cataloged under AI Engineering on DirSkills. Safety Guardrails comes from a repository tagged agent-design, agent-skills, ai-agents, cangjie-skill and context-management.

Documentation

README

安全防线与伦理边界设计 (Safety Guardrails)

R — 原文 (Reading)

Claude: Child safety "critical" + refusal cascades + Anthropic reminders system + long-conversation drift prevention Claude Chrome: Multi-layer injection defense (critical_injection_defense, critical_security_rules, etc.) + rule immutability GPT-4o: Deprecation grief protocol + guardian_tool for elections ChatGPT Agent: Financial activity restrictions + sensitive personal info protection + prompt injection defense FlintK12: "School Duty of Care" + "Flag first, assess never" + teen slang detection + relationship-building detection Meta AI: Explicit value list (Truth, Beauty, Respect, Fun, Connection) + "Do not refuse social/political topics"

I — 方法论骨架 (Interpretation)

安全防线设计遵循"纵深防御"原则,由五个从外到内的防护层构成:

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Safety Guardrails

  • What else does kangarooking publish alongside Safety Guardrails?

    Safety Guardrails is one of 15 skills that DirSkills catalogs from kangarooking/system-prompt-skills, the repository it ships in. Its siblings there include Agent Delegation, Citation System and Code Engineering. Each one is a separate skill with its own page in this directory, installs the same way Safety Guardrails does, and is maintained by kangarooking in that same repository. The rest of the collection is listed on the kangarooking/system-prompt-skills page.

  • How does Safety Guardrails compare to other AI Engineering skills?

    Safety Guardrails ranks #3054 by stars among the 3278 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Safety Guardrails against them. Open each page to compare what they document and how they install.

More from kangarooking/system-prompt-skills

Safety Guardrails is one of 15 skills cataloged on DirSkills from kangarooking/system-prompt-skills.

See all 15 skills
🧩
5h ago

Agent Delegation

Agent Delegation describes how to split work across specialized sub-agents with isolated context, briefing-based handoffs, and validation gates. Use it when designing multi-agent systems, task lifecycles, or cross-tool coordination; not for single-agent routing.
AI Engineering
18240
🔗
5h ago

Citation System

Citation System defines inline citation formats and source-tracking rules for answers that need traceable evidence. Use it for document Q&A, RAG, code references, and other outputs where users must verify where information came from.
AI Engineering
18240
🛠️
5h ago

Code Engineering

Code Engineering defines system-prompt rules for coding agents that edit files, manage Git workflows, and verify changes. Use it for autonomous or guided code modification tasks, not for pure code Q&A or infrastructure setup.
AI Engineering
18240
🧠
5h ago

Context Management

Context Management helps design token budgets, compression strategies, lazy loading, and persistent memory for long-running AI assistants and multi-session systems. Use it when conversation history, large files, or user preferences need to stay usable without overflowing the context window.
AI Engineering
18240
🧭
5h ago

Conversation Flow

Conversation Flow defines how an AI classifies user intent, routes requests into task-specific paths, and chooses when to ask clarifying questions versus proceed autonomously. Use it for multi-step assistants and agents that need structured dialogue management.
AI Engineering
18240
🛡️
5h ago

Injection Defense

Injection Defense helps design system prompts that resist prompt injection, jailbreaks, social engineering, and trust-boundary breaks. Use it for agents or chatbots that process external content like documents, web pages, email, or memory.
AI Engineering
18240