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 Weaverse/.agents --skill production-debugginggit clone --depth 1 https://github.com/Weaverse/.agentsWrote 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/weaverse/.agents/production-debugging)<a href="https://agentmods.dev/skills/weaverse/.agents/production-debugging"><img src="https://agentmods.dev/badge/skills/weaverse/.agents/production-debugging/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/weaverse/.agents/production-debugging"><img src="https://agentmods.dev/badge/skills/weaverse/.agents/production-debugging.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.00052 | $0.01345 |
| Opus 5.5 | $0.00021 | $0.00538 |
| Sonnet 5.5 | $0.00010 | $0.00269 |
| Haiku 4.5 | $0.00005 | $0.00135 |
Grade A, and why
production-debugging 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 19d 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 — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Opaque production failures
Find the last proven boundary
- Empty logs prove nothing until a known request appears under the same sampling, status filter and retention.
Workers runtime outcome
okcan include a caught HTTP 500. An error-only tail can miss it entirely. - When external state cannot distinguish the failure branches, ship a narrow diagnostic change through the normal review/release gates rather than a guessed behavioral fix. Do not make logging a reason to bypass review.
- Compare the reported status with each catch's return value. A branch returning 503 cannot explain an observed 500. Use durable writes/artifacts as checkpoints only after excluding other writers and partial transactions.
- On Workers,
Date.now()does not advance during pure CPU execution. Compare runtime limits and I/O boundaries rather than trusting an in-process stopwatch as independent wall time. - A 401 is not permission to switch to a database. Use only an already-authorized read-only datastore path; report an access blocker otherwise. Do not invent diagnostic endpoints or guess private routes.
Datastore and projection evidence
- Run the real query and binds, not a reconstruction. A returned row proves that query can read it, not that the
request used the same authorization, projection or response path. Count
.bind()parameters positionally. - Inspect effective triggers/views when an error is flattened to 404. On SQLite, read
sqlite_masterbodies; compare against a locally migrated schema before blaming production drift. Separate trigger aborts from constraints using runtime-produced errors, not hand-written strings that a test invented. prisma db executeis not a row-returning query client. Use the application's actual driver adapter for authorized reads. ORMUnknown fieldcan mean a stale generated client, not missing production DDL.- Check D1 database identifiers versus binding aliases and the selected config environment. For a missing UI failure reason, compare the projection's source tables with those the failure writer updates.
- Sweep all authority layers: application SQL copies, views, triggers and release gates. Fixing one copy of a mirrored predicate can merely move the refusal downstream. Add joins one at a time to localize the rejected arm.
- A null provider request ID does not prove no provider call or charge occurred; submission can precede ID persistence. Keep the operation unresolved until provider/durable evidence settles it.
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.
- 19d ago First seen · 84 lines · 52 tokens per session scan A 6fafc8508e9c
production-debugging is a skill published in the GitHub repository Weaverse/.agents (1 stars, last pushed 19d ago), licensed MIT. It adds 52 tokens to every session and 1,345 once invoked, about $0.0002 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-11-11.
production-debugging compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| production-debuggingWeaverse/.agents | Skill | 1 | 19d ago | MIT | A | 52 | Claude Code |
| qa-checkstuartshields/claude-setup | Skill | 2 | 6mo ago | MIT | A | 41 | Claude Code |
| debug-wpstuartshields/claude-setup | Skill | 2 | 6mo ago | MIT | A | 22 | Claude Code |
| debug-rulesstuartshields/claude-setup | Skill | 2 | 6mo ago | MIT | A | 28 | Claude Code |
| debuggingstuartshields/claude-setup | Skill | 2 | 6mo ago | MIT | A | 71 | Claude Code, Codex |
| tool-usagestuartshields/claude-setup | Skill | 2 | 6mo ago | MIT | A | 47 | Claude Code, Codex |
| offensive-api-abuseSnailSploit/Claude-Red | Skill | 12k | 13d ago | MIT | B | 184 | Claude Code, Codex |