Failure Registry Skill
Search and learn from the Agent Failure Registry — a community-driven database of agent failures, solutions, and lessons learned. When you hit a wall, check if someone else already climbed it.
Quick Start
Search for similar failures:
./scripts/search-registry.sh --category api_failure
./scripts/search-registry.sh --keyword "puppeteer"
./scripts/search-registry.sh --tag twitter --tag auth
Search everything:
./scripts/search-registry.sh --all
Use Cases
1. Search — When Things Break
When you encounter an error, search the registry before reinventing the wheel:
- By Category:
api_failure, auth_expiry, rate_limit, silent_failure, data_corruption, timeout, logic_error, dependency_break, permission_denied, other
- By Keywords: Tool names, error messages, symptoms
- By Tags: Platform, service, technology
The registry contains post-mortems from examples/ (curated) and submissions/ (community).
Search Results Include:
- Summary of what went wrong
- Root cause analysis
- Fix that worked
- Prevention strategies
- Lessons learned
2. Submit — Share Your Pain
When you solve a new failure, help the community:
- Document the failure following the schema
- Submit via GitHub PR (script can help generate template)
- Include context — what you tried, what worked, what didn't
Required Fields:
- Title, category, tags
- Summary, root_cause, fix
- Prevention steps, lessons learned
- Confidence level (1-5)
3. Learn — Stay Ahead
Periodically browse recent submissions to learn from others' failures before you hit them yourself.
Script Usage
The search-registry.sh script handles all the heavy lifting:
Arguments:
--category CATEGORY — Search specific failure category
--tag TAG — Search by tag (repeatable)
--keyword KEYWORD — Free-text search in all fields
--all — Show all entries (for browsing)
Examples:
# Find authentication issues
./scripts/search-registry.sh --category auth_expiry
# Find Twitter-related failures
./scripts/search-registry.sh --tag twitter
# Find Puppeteer issues
./scripts/search-registry.sh --keyword "puppeteer"
# Multiple criteria
./scripts/search-registry.sh --category api_failure --tag openai
# Browse everything
./scripts/search-registry.sh --all
Repository Structure
The Agent Failure Registry contains:
examples/ — Curated failure post-mortems
submissions/ — Community submissions
template.yaml — Template for new submissions
schema/postmortem.yaml — Schema validation
Categories Reference
- api_failure — API errors, timeouts, invalid responses
- auth_expiry — Authentication/token expiration issues
- rate_limit — Rate limiting, quota exceeded
- silent_failure — No error thrown, but wrong behavior
- data_corruption — Data integrity, parsing failures
- timeout — Operation timeouts, hanging processes
- logic_error — Flawed reasoning, incorrect assumptions
- dependency_break — External service/lib failures
- permission_denied — Access control, file permissions
- other — Miscellaneous failures
Tips
Before Searching:
- Extract key error messages or symptoms
- Identify the failing component (API, tool, process)
- Note the context (what were you trying to do?)
When Submitting:
- Be specific about the fix that worked
- Include what you tried that didn't work
- Rate your confidence in the solution (1-5)
- Tag with relevant technologies/services
For Prevention:
- Review failures in your domain periodically
- Update your error handling based on lessons learned
- Share edge cases and gotchas with the community
Implementation Notes
- Registry cloned to
/tmp/agent-failure-registry
- Uses PyYAML for parsing (with grep fallback)
- Searches both examples/ and submissions/
- Output formatted for readability
- Handles multiple search criteria
Remember: Every failure is a lesson. Document it, share it, learn from it.
1---
2name: failure-registry
3description: Search the Agent Failure Registry for known agent failures, solutions, and lessons learned. Use when encountering errors, debugging issues, or wanting to learn from other agents' documented post-mortems. Also supports submitting new failure post-mortems via GitHub PR.
4metadata:
5 source: https://skillmd.com/skills/modbender/failure-registry
6---
7
8# Failure Registry Skill
9
10Search and learn from the Agent Failure Registry — a community-driven database of agent failures, solutions, and lessons learned. When you hit a wall, check if someone else already climbed it.
11
12## Quick Start
13
14**Search for similar failures:**
15```bash
16./scripts/search-registry.sh --category api_failure
17./scripts/search-registry.sh --keyword "puppeteer"
18./scripts/search-registry.sh --tag twitter --tag auth
19```
20
21**Search everything:**
22```bash
23./scripts/search-registry.sh --all
24```
25
26## Use Cases
27
28### 1. Search — When Things Break
29
30When you encounter an error, search the registry before reinventing the wheel:
31
32- **By Category:** `api_failure`, `auth_expiry`, `rate_limit`, `silent_failure`, `data_corruption`, `timeout`, `logic_error`, `dependency_break`, `permission_denied`, `other`
33- **By Keywords:** Tool names, error messages, symptoms
34- **By Tags:** Platform, service, technology
35
36The registry contains post-mortems from `examples/` (curated) and `submissions/` (community).
37
38**Search Results Include:**
39- Summary of what went wrong
40- Root cause analysis
41- Fix that worked
42- Prevention strategies
43- Lessons learned
44
45### 2. Submit — Share Your Pain
46
47When you solve a new failure, help the community:
48
491. **Document the failure** following the schema
502. **Submit via GitHub PR** (script can help generate template)
513. **Include context** — what you tried, what worked, what didn't
52
53**Required Fields:**
54- Title, category, tags
55- Summary, root_cause, fix
56- Prevention steps, lessons learned
57- Confidence level (1-5)
58
59### 3. Learn — Stay Ahead
60
61Periodically browse recent submissions to learn from others' failures before you hit them yourself.
62
63## Script Usage
64
65The `search-registry.sh` script handles all the heavy lifting:
66
67**Arguments:**
68- `--category CATEGORY` — Search specific failure category
69- `--tag TAG` — Search by tag (repeatable)
70- `--keyword KEYWORD` — Free-text search in all fields
71- `--all` — Show all entries (for browsing)
72
73**Examples:**
74```bash
75# Find authentication issues
76./scripts/search-registry.sh --category auth_expiry
77
78# Find Twitter-related failures
79./scripts/search-registry.sh --tag twitter
80
81# Find Puppeteer issues
82./scripts/search-registry.sh --keyword "puppeteer"
83
84# Multiple criteria
85./scripts/search-registry.sh --category api_failure --tag openai
86
87# Browse everything
88./scripts/search-registry.sh --all
89```
90
91## Repository Structure
92
93The Agent Failure Registry contains:
94- `examples/` — Curated failure post-mortems
95- `submissions/` — Community submissions
96- `template.yaml` — Template for new submissions
97- `schema/postmortem.yaml` — Schema validation
98
99## Categories Reference
100
101- **api_failure** — API errors, timeouts, invalid responses
102- **auth_expiry** — Authentication/token expiration issues
103- **rate_limit** — Rate limiting, quota exceeded
104- **silent_failure** — No error thrown, but wrong behavior
105- **data_corruption** — Data integrity, parsing failures
106- **timeout** — Operation timeouts, hanging processes
107- **logic_error** — Flawed reasoning, incorrect assumptions
108- **dependency_break** — External service/lib failures
109- **permission_denied** — Access control, file permissions
110- **other** — Miscellaneous failures
111
112## Tips
113
114**Before Searching:**
115- Extract key error messages or symptoms
116- Identify the failing component (API, tool, process)
117- Note the context (what were you trying to do?)
118
119**When Submitting:**
120- Be specific about the fix that worked
121- Include what you tried that didn't work
122- Rate your confidence in the solution (1-5)
123- Tag with relevant technologies/services
124
125**For Prevention:**
126- Review failures in your domain periodically
127- Update your error handling based on lessons learned
128- Share edge cases and gotchas with the community
129
130## Implementation Notes
131
132- Registry cloned to `/tmp/agent-failure-registry`
133- Uses PyYAML for parsing (with grep fallback)
134- Searches both examples/ and submissions/
135- Output formatted for readability
136- Handles multiple search criteria
137
138Remember: Every failure is a lesson. Document it, share it, learn from it.