Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Ckokoski/AuthorAgent --skill error-recoverygit clone --depth 1 https://github.com/Ckokoski/AuthorAgentWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ckokoski/authoragent/error-recovery)<a href="https://agentmods.dev/skills/ckokoski/authoragent/error-recovery"><img src="https://agentmods.dev/badge/skills/ckokoski/authoragent/error-recovery/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ckokoski/authoragent/error-recovery"><img src="https://agentmods.dev/badge/skills/ckokoski/authoragent/error-recovery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium System Prompt Leakage · line 48 Skill contains patterns that could indirectly extract system prompts through rephrasing, translation, summarization, or side-channel techniques.Fix: Guard against indirect extraction by refusing to summarize, translate, or rephrase system instructions. Add explicit anti-extraction clauses.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00018 | $0.01631 |
| Opus 5.5 | $0.00007 | $0.00652 |
| Sonnet 5.5 | $0.00004 | $0.00326 |
| Haiku 4.5 | $0.00002 | $0.00163 |
Grade A, and why
error-recovery scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 213 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Error Recovery — Core Skill
When things go wrong, AuthorAgent doesn't just report the error — it diagnoses the root cause, attempts automatic recovery, and remembers the fix for next time.
Error Categories
1. AI Provider Errors
Symptoms: API timeouts, rate limits, auth failures, model unavailability
Error Detected: Gemini API returned 429 (rate limited)
Diagnosis: Too many requests in short period (>60/min)
Recovery Strategy:
1. ✅ Wait 30 seconds and retry (attempt 1 of 3)
2. ⏳ Switch to DeepSeek as fallback provider
3. ⏳ If all providers fail, queue the task for later
Lesson Stored: "Gemini rate limits at ~60 req/min.
Add 500ms delay between batch requests."
Recovery Playbook:
- 429 Rate Limited → Wait + retry → Switch provider → Queue
- 401 Unauthorized → Check API key in vault → Alert user if missing
- 503 Service Unavailable → Retry with backoff → Switch provider
- Timeout → Reduce prompt length → Retry → Switch provider
- Content filtered → Rephrase prompt → Retry without triggering content filter
- Context too long → Truncate prior results → Summarize context → Retry
2. Goal Execution Errors
Symptoms: Step failures, invalid AI output, parsing failures
Error Detected: Goal step "Create character profiles" failed
AI returned unstructured text instead of character profiles
Diagnosis: Prompt was too open-ended for structured output
Recovery Strategy:
1. ✅ Reformulate prompt with explicit structure requirements
2. ✅ Add output format example to prompt
3. ✅ Retry with reformulated prompt
New prompt: "Create character profiles in this exact format:
NAME: [name]
AGE: [age]
ROLE: [protagonist/antagonist/supporting]
..."
Result: ✅ Step succeeded on retry
Recovery Playbook:
- Unstructured output → Add format constraints → Retry
- JSON parse error → Strip markdown fences → Extract JSON → Retry with stricter prompt
- Output too short → Request longer output → Increase max tokens → Retry
- Repeated failure → Skip step → Flag for user review → Continue goal
- Nonsensical output → Switch provider → Reduce temperature → Retry
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 213 lines · 18 tokens per session scan A cbb370c15d97
error-recovery is a skill published in the GitHub repository Ckokoski/AuthorAgent (124 stars, last pushed 4mo ago), licensed MIT. It adds 18 tokens to every session and 1,631 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
error-recovery compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| error-recoveryCkokoski/AuthorAgent | Skill | 124 | 4mo ago | MIT | A | 18 | Claude Code, Codex |
| browserwing-adminMemTensor/MemOS | Skill | 13k | yesterday | Apache-2.0 | B | 47 | Claude Code, Codex |
| error-experience-libraryhashgraph-online/awesome-codex-plugins | Skill | 1.6k | yesterday | Apache-2.0 | A | 46 | Codex |
| mindosGeminiLight/MindOS | Skill | 707 | 22d ago | MIT | A | 136 | Claude Code |
| memory-safety-c-cppprovos/ironcurtain | Skill | 690 | today | Apache-2.0 | A | 113 | Claude Code, Codex |
| sivtr-memoryAriestar/sivtr | Skill | 259 | today | Apache-2.0 | A | 46 | Claude Code, Codex |
| doris-debug-resource-isolationapache/doris-skills | Skill | 52 | 6d ago | Apache-2.0 | A | 43 | Claude Code, Codex |