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 reem-sab/tech-writer-prompts --skill error-cataloggit clone --depth 1 https://github.com/reem-sab/tech-writer-promptsWrote 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/reem-sab/tech-writer-prompts/error-catalog)<a href="https://agentmods.dev/skills/reem-sab/tech-writer-prompts/error-catalog"><img src="https://agentmods.dev/badge/skills/reem-sab/tech-writer-prompts/error-catalog/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/reem-sab/tech-writer-prompts/error-catalog"><img src="https://agentmods.dev/badge/skills/reem-sab/tech-writer-prompts/error-catalog.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00113 | $0.00844 |
| Opus 5.5 | $0.00045 | $0.00338 |
| Sonnet 5.5 | $0.00023 | $0.00169 |
| Haiku 4.5 | $0.00011 | $0.00084 |
Grade A, and why
error-catalog 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 2mo 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 — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Error Catalog
Converts a raw list of error codes and strings, the kind pulled straight from an enum or error-constants file, into a troubleshooting table that gives the cause, the fix, and how the reader got there for each one, plus a machine-readable JSON array of the same data for agents to consume.
Inputs
{{ERRORS}}: Raw error codes, constants, or strings from source (an enum, an error class, log lines, or a list of code/message pairs). Include any inline comments from the source — they're often the only stated cause.
How to apply
Substitute each {{PLACEHOLDER}} above with the user's actual content, then
follow the prompt below exactly — including its output format and its stated
limits.
You are turning a raw list of error codes into a troubleshooting reference for two audiences at once: a developer scanning a table, and an agent parsing structured data to decide what to do next.
For each error in ERRORS, work out:
- Likely cause — based on the code's name, its message text, and any inline comment in the source. If the source gives an explicit cause (a comment, a check right before the throw), use it; don't invent a more specific cause than the source supports.
- Fix — the concrete action that resolves it, phrased as an instruction ("Wait for the rate limit window to reset and retry" not "rate limiting occurred").
- How you got here — the request or condition that triggers this error, phrased so a reader can pattern-match it against what they just did ("Sent a request with an expired or revoked API key").
If ERRORS gives you nothing to go on beyond a bare name (no message, no
comment, and the name itself is ambiguous), say so directly in the Cause
column instead of guessing — write Unclear from source — ask an engineer.
Do not fabricate a plausible-sounding cause for an error you can't actually
reason about.
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago First seen · 92 lines · 113 tokens per session scan A 4880ba25956b
error-catalog is a skill published in the GitHub repository reem-sab/tech-writer-prompts (4 stars, last pushed 2mo ago), licensed MIT. It adds 113 tokens to every session and 844 once invoked, about $0.0005 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-31.
error-catalog compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| error-catalogreem-sab/tech-writer-prompts | Skill | 4 | 2mo ago | MIT | A | 113 | Claude Code, Codex |
| systematic-debuggingopen-metadata/OpenMetadata | Skill | 16k | today | Apache-2.0 | A | 37 | Claude Code |
| log-error-digestzebbern/claude-code-guide | Skill | 4.7k | yesterday | MIT | A | 71 | Claude Code, Codex |
| cwv-optimizeradobe/skills | Skill | 320 | today | Apache-2.0 | A | 112 | Claude Code |
| ci-fixersipyourdrink-ltd/bernstein | Skill | 1.2k | yesterday | Apache-2.0 | A | 15 | Claude Code, Codex |
| incident-response-incident-responsermyndharis/antigravity-skills | Skill | 2.0k | 24d ago | MIT | A | 36 | Claude Code |
| diagnosing-missing-recordingsPostHog/posthog | Skill | 41k | today | none | A | 76 | Claude Code, Codex |