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 EZotoff/ez-omo-config --skill register-retry-errorgit clone --depth 1 https://github.com/EZotoff/ez-omo-configWrote 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/ezotoff/ez-omo-config/register-retry-error)<a href="https://agentmods.dev/skills/ezotoff/ez-omo-config/register-retry-error"><img src="https://agentmods.dev/badge/skills/ezotoff/ez-omo-config/register-retry-error/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/ezotoff/ez-omo-config/register-retry-error"><img src="https://agentmods.dev/badge/skills/ezotoff/ez-omo-config/register-retry-error.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.00028 | $0.01785 |
| Opus 5 | $0.00014 | $0.00892 |
| Sonnet 5 | $0.00006 | $0.00357 |
| Haiku 4.5 | $0.00003 | $0.00178 |
Grade A, and why
register-retry-error 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 10d 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 — 223 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Register Retry Error — Skill for Error Pattern Registration
Triggers: /register-retry-error, register retry error, add retry pattern
WORKFLOW
1. Accept Parameters
When invoked with /register-retry-error, request or receive:
- pattern (required): The error message pattern to match (regex string)
- description (required): Human-readable explanation of the error
- max_retries (optional): Number of retries after initial attempt (default: 3)
- backoff_ms (optional): Array of delay times in milliseconds (default: [1000, 6000, 36000])
- retry_after_tool_execution (optional): Whether to retry even after tool execution (default: false)
- added_by (optional): Your identifier or "operator" (default: "operator")
2. Validate Regex Pattern
Before proceeding, validate the provided pattern:
try {
new RegExp(pattern)
} catch (e) {
throw new Error(`Invalid regex pattern: ${e.message}`)
}
MUST: Reject invalid patterns immediately with clear error message.
3. Generate Kebab-Case ID
Create a unique id from the description:
- Convert to lowercase
- Replace spaces and underscores with hyphens
- Remove special characters (keep only alphanumeric and hyphens)
- Limit to ~50 characters
- Ensure it matches the pattern:
^[a-z0-9]([a-z0-9-]*[a-z0-9])?$
Example:
- "Network timeout on SSE stream" → "network-timeout-on-sse-stream"
- "Provider Rate Limited" → "provider-rate-limited"
4. Check for Duplicates
Read the current registry file: ~/.config/opencode/retry-errors.json
MUST verify:
- No existing entry has the same
id(duplicate key) - No existing entry has the same
patternstring (duplicate pattern)
If duplicates found, reject with reason: "Entry with id '{id}' already exists" or "Pattern already registered"
What ships with it
1 file 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.
- 10d ago First seen · 223 lines · 28 tokens per session scan A 1ea4af550734
register-retry-error is a skill published in the GitHub repository EZotoff/ez-omo-config (5 stars, last pushed 5d ago), licensed MIT. It adds 28 tokens to every session and 1,785 once invoked, about $0.0001 per session on Opus 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.
Other skills, from other repositories
trace
Evidence-driven tracing lane that orchestrates competing tracer hypotheses in Claude built-in team mode.
ai-slop-cleaner
Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode.
omc-review
Evaluate finished work for defects, risk, and simplification before it ships.
debug
Diagnose the current OMC session or repo state using logs, traces, state, and focused reproduction.
verify
Verify that a change really works before you claim completion.
omc-doctor
Diagnose and fix oh-my-claudecode installation issues.