Agent skill · Design & Presentation

Agent Reliability & Safety

Design reliable, safe, and trustworthy agent systems that fail gracefully and operate within bounds. Use when building guardrails, handling edge cases, preventing harmful outputs, monitoring for failures, implementing safety constraints, or designing error recovery. Covers failure modes, constraint systems, oversight mechanisms, and safety validation.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill agent-reliability --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 16 KB
Bundled scripts: none
Path: skills/agent/agent-reliability/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Agent Reliability & Safety Effective agents must be reliable (do what you ask consistently) and safe (don't cause harm, operate within bounds). This skill covers designing and implementing safety systems. ## Safety Considerations ### Agent Failure Categories **Category 1: Hallucination (False Information)** ``` MANIFESTATION: User: "What are the specs for our Product X?" Agent: "Product X has 4GB RAM and weighs 2 lbs" Reality: Product X specs are not in system; agent invented them ``` **Why it happens**: - Agent guesses when data missing - Agent conflates similar things - Agent has incomplete understanding **Mitigation strategies**: - Tool: Provide only verified data - Prompt: "Only cite facts from provided sources" - Verification: Check claims before acting on them - Confidence: Return confidence scores; flag uncertain outputs --- **Category 2: Out-of-Domain Reasoning** ``` MANIFESTATION: User: "What's the best diet for diabetics?" Agent: (Medical advice without disclaimers) Reality: Agent isn't qualified; could cause harm ``` **Why it happens**: - Agent has general knowledge; overestimates applicability - Agent doesn't know its own limitations - No guardrails on domain **Mitiga

What's inside
Steps it walks through
  1. Safety Considerations
  2. Agent Failure Categories
  3. Safety Architecture
  4. Layer 1: Input Validation
  5. Layer 2: Prompt Safety
  6. Layer 3: Tool-Level Constraints
  7. Layer 4: Execution Monitoring
  8. Layer 5: Escalation & Human Review
  9. Reliability Design
  10. Error Recovery Strategy
  11. State Management for Reliability
  12. Testing for Safety
  13. Test Case Types
  14. Safety Test Checklist
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the Agent Reliability & Safety skill do?

Design reliable, safe, and trustworthy agent systems that fail gracefully and operate within bounds. Use when building guardrails, handling edge cases, preventing harmful outputs, monitoring for failures, implementing safety constraints, or designing error recovery. Covers failure modes, constraint systems, oversight mechanisms, and safety validation.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill agent-reliability --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going