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.
npx skills add majiayu000/claude-skill-registry --skill agent-reliability --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- Safety Considerations
- Agent Failure Categories
- Safety Architecture
- Layer 1: Input Validation
- Layer 2: Prompt Safety
- Layer 3: Tool-Level Constraints
- Layer 4: Execution Monitoring
- Layer 5: Escalation & Human Review
- Reliability Design
- Error Recovery Strategy
- State Management for Reliability
- Testing for Safety
- Test Case Types
- Safety Test Checklist
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.
