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 josephfung/trimkit --skill prod-debuggit clone --depth 1 https://github.com/josephfung/trimkitWrote 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/josephfung/trimkit/prod-debug)<a href="https://agentmods.dev/skills/josephfung/trimkit/prod-debug"><img src="https://agentmods.dev/badge/skills/josephfung/trimkit/prod-debug/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/josephfung/trimkit/prod-debug"><img src="https://agentmods.dev/badge/skills/josephfung/trimkit/prod-debug.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.00048 | $0.01914 |
| Opus 5.5 | $0.00019 | $0.00766 |
| Sonnet 5.5 | $0.00010 | $0.00383 |
| Haiku 4.5 | $0.00005 | $0.00191 |
Grade A, and why
prod-debug scanned grade A with 1 finding 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 1mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- Health check: curl https://<domain>/api/health How it starts
The opening of the file, as written. The whole thing — 202 lines — stays where its author put it; the contents beside it link to each section on GitHub.
prod-debug
Invocation
Two modes:
/prod-debug— load context and enter debugging mode/prod-debug bootstrap— (re)build schema.md and containers.md from source files
On /prod-debug
Step 1: Find project root
Determine the project root — use the current working directory, or if inside a git repo, use git rev-parse --show-toplevel.
Step 2: Check for data directory
Check whether .claude/prod-debug/config.json exists at the project root.
- If missing: tell the user that prod-debug is not set up for this project yet, and suggest running
/prod-debug bootstrapafter creating.claude/prod-debug/config.json. - If present: continue to Step 3.
Step 3: Load context files
Read all three data files using the Read tool:
{project_root}/.claude/prod-debug/schema.md{project_root}/.claude/prod-debug/containers.md{project_root}/.claude/prod-debug/prod-env.md
If any file is missing, note it and proceed with what's available.
Step 4: Check schema staleness
Run:
~/.trimkit/bin/trimkit-prod-debug-staleness {project_root}
It compares the newest migration matching migrations.glob against the prod-debug:last-migration marker in schema.md. It prints nothing (exit 0) when schema.md is current, and a one-line warning (exit 1) when it is stale or has no marker, e.g.:
[prod-debug] schema.md is stale (068_foo.sql vs 085_bar.sql) — run /prod-debug bootstrap.
If it prints a warning, include it verbatim at the top of the Step 5 announcement. If it exits 2 (or any other code), report its stderr verbatim instead: config.json or schema.md is unreadable, and the auto-sync hook is also disabled until that's fixed.
The check reads the local checkout the glob points at. Migrations merged by others don't show up until that checkout is pulled. Don't bootstrap automatically; offer to. If the script is not installed, do the same comparison by hand: newest matching migration filename vs the marker.
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.
- 1mo ago Changed · +23 lines d964d3b81484
- 1mo ago First seen · 179 lines · 48 tokens per session scan A b10a89aef1a3
prod-debug is a skill published in the GitHub repository josephfung/trimkit (3 stars, last pushed 1mo ago), licensed MIT. It adds 48 tokens to every session and 1,914 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
skeptical-triage
Reusable 3-round self-challenge + arbiter pattern for filtering false positives from findings/verdicts. Use when the cost of a false-positive gate block exceeds the cost of 4 extra LLM turns.
anti-patterns
Catalogue of known SDLC anti-patterns that greatcto agents must actively reject when reviewing architecture, plans, code, or post-mortems. Used by architect (pre-impl), pm (planning), senior-dev (impl), l3-support (post-incident).
observability-baseline
Scaffold-time observability so a shipped product is not blind in prod from day one — error capture (Sentry), request-id structured logging, and /healthz + /readyz endpoints. stack-baseline pins Sentry but nothing wires it; this is the wiring. Loaded by app-scaffolder (bake into the scaffold), infra-provisioner (prod…
dynamic-workflow-patterns
Pattern taxonomy, agent role combinations, model routing, unit-of-work sizing, review-findings settling, and resilience discipline for Claude Code dynamic workflows. ALWAYS load this skill before authoring or running any Workflow tool script, and ALWAYS load it when the user mentions "workflow" or "ultracode" in any…
fix
Meta-skill workflow orchestrator for bug investigation and resolution. Routes to debug, implement, test, and commit based on scope.
debug
Debug issues by investigating logs, database state, and git history.