error-codes

error-codes is a skill for Claude Code from Goldziher/ai-rulez. It costs 30 tokens per session (672 once invoked), scanned A, original, MIT.

An Acme API error-code reference that explains known codes and the action for fixing them.

In plain words
What is it for?
Use it to interpret codes such as an invalid session token, missing API key, rate limit, or validation failure.
Why use it?
It avoids searching a separate table when an API response contains an E-code.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to interpret codes such as an invalid session token, missing API key, rate limit, or validation failure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/goldziher/ai-rulez/error-codes
Install

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.

Any agent
npx skills add Goldziher/ai-rulez --skill error-codes
Clone the repo
git clone --depth 1 https://github.com/Goldziher/ai-rulez

Made for: Claude Code.

Wrote 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.

agentmods badge for error-codes

README.md
[![agentmods](https://agentmods.dev/badge/skills/goldziher/ai-rulez/error-codes/github.svg)](https://agentmods.dev/skills/goldziher/ai-rulez/error-codes)
Your own site
<a href="https://agentmods.dev/skills/goldziher/ai-rulez/error-codes"><img src="https://agentmods.dev/badge/skills/goldziher/ai-rulez/error-codes/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.

agentmods 80×15 button for error-codes

Your own site · 80×15
<a href="https://agentmods.dev/skills/goldziher/ai-rulez/error-codes"><img src="https://agentmods.dev/badge/skills/goldziher/ai-rulez/error-codes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 672 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.00672
Opus 5.5 $0.00012 $0.00269
Sonnet 5.5 $0.00006 $0.00134
Haiku 4.5 $0.00003 $0.00067

Measured today against content hash 025bff4779e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

error-codes 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 today.

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.

bench/judge/corpus/units/q09-b/.claude/skills/error-codes/SKILL.md · 59 lines

What it actually says

Error codes

Find the code the user pasted in the table, quote its meaning and give the action.

Code Meaning Action
E1000 Invalid session token Re-authenticate
E1001 Expired session Refresh the session
E1002 Missing API key Add the header
E1003 Rate limit exceeded Retry after the delay
E1004 Payload too large Split the request
E1005 Unsupported media type Send JSON
E1006 Unknown tenant Check the tenant slug
E1007 Tenant suspended Contact support
E1008 Invalid cursor Restart pagination
E1009 Duplicate request Use a new idempotency key
E1010 Validation failed Fix the listed fields
E1011 Unknown field Remove the field
E1012 Resource locked Retry later
E1013 Resource not found Check the identifier
E1014 Conflict on update Fetch and retry
E1015 Upstream timeout Retry with backoff
E1016 Upstream unavailable Retry later
E1017 Quota exceeded Raise the quota
E1018 Invalid signature Recompute the signature
E1019 Clock skew too large Sync the clock
E1020 Bad date range Use ISO dates
E1021 Unsupported locale Use a listed locale
E1022 Webhook disabled Re-enable the webhook
E1023 Webhook URL unreachable Fix the URL
E1024 Export too large Narrow the filter
E1025 Export expired Request a new export
E1026 Import row invalid Fix the row
E1027 Import header missing Add the header row
E1028 Import encoding invalid Use UTF-8
E1029 Report not ready Poll again
E1030 Report failed Retry the report
E1031 Role missing Grant the role
E1032 Scope missing Request the scope
E1033 Password too weak Pick a longer one
E1034 Account locked Wait or reset
E1035 Email unverified Verify the email
E1036 Invalid coupon Check the code
E1037 Coupon expired Use a current coupon
E1038 Card declined Use another card
E1039 Currency mismatch Use the account currency
E1040 Refund exceeds charge Lower the amount
E1041 Charge already refunded No action
E1042 Plan not found Choose a listed plan
E1043 Plan downgrade blocked Cancel add-ons first
E1044 Seat limit reached Buy seats

If the code is not in the table, say so and ask for the full response body.

Changes

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.

  1. today First seen · 59 lines · 30 tokens per session scan A 025bff4779e2

Subscribe to this mod's changes

error-codes is a skill published in the GitHub repository Goldziher/ai-rulez (163 stars, last pushed yesterday), licensed MIT. It adds 30 tokens to every session and 672 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-10-17.

Related

Other skills, from other repositories

printing-press-amend

Amend a published CLI from one of two input sources: (1) dogfood mode mines the active Claude Code session transcript for friction (missing flags, hand- rolled API payloads, silent-null returns); (2) direct-input mode accepts user-supplied asks (rename a command, add commands or feeds, fix a named bug, optionally…

mvanhorn/cli-printing-press · 222 tokens

runtime-admin-api

Call the Mendix M2EE admin API on port 8090 directly — OQL, runtime info, and the rest, with curl examples. Use when querying a running app from a script, or when debugging connectivity to the admin port.

mendixlabs/mxcli · 53 tokens

kirby-debugging-and-tracing

Diagnoses Kirby rendering/runtime issues using MCP runtime rendering, dump traces, and template/snippet/controller indexes. Use when outputs are wrong, errors occur, or tracing execution paths is required.

bnomei/kirby-mcp · 45 tokens

doris-debug-deployment

Use for Doris FE/BE startup failures, port conflicts, prioritynetworks misrouting, metadir corruption, and ADD/DROP BACKEND issues.

apache/doris-skills · 36 tokens

power-automate-expression-syntax

Write, validate, and debug Microsoft Power Automate expressions. Use for Workflow Definition Language expressions in cloud flows, dynamic content, runAfter conditions, null-safe property access, variables, trigger/action outputs, date/string/array functions, and for deciding when Power Fx applies only to desktop-flow…

Wals-pro/claude-power-automate · 72 tokens

power-automate-run-forensics

Diagnose Microsoft Power Automate cloud-flow incidents from run history, failed actions, trigger behavior, connection failures, missing runs, skipped branches, invalid expressions, throttling, retries, and action outputs before changing workflow code. Use with the power-automate CLI runs and run-detail commands for…

Wals-pro/claude-power-automate · 71 tokens