debug

debug is a command for Claude Code from ArtemioPadilla/agent-triforce. It costs 10 tokens per session (100 once invoked), scanned A, original, MIT.

A debugging command that follows a four-phase investigation: find the cause, compare working examples, test one hypothesis at a time, and then fix and verify the issue.

In plain words
What is it for?
Investigating errors, reproducing bugs, tracing data flow, creating a failing test, applying a root-cause fix, and checking the result.
Why use it?
It discourages guessing at fixes before the cause is understood. This makes debugging more traceable and helps prevent symptoms from being patched instead of the underlying problem.

Command for Claude Code

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.

agentmods
npx agentmods add commands/artemiopadilla/agent-triforce/debug
Clone the repo
git clone --depth 1 https://github.com/ArtemioPadilla/agent-triforce

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 debug

README.md
[![agentmods](https://agentmods.dev/badge/commands/artemiopadilla/agent-triforce/debug.svg)](https://agentmods.dev/commands/artemiopadilla/agent-triforce/debug)
Your own site
<a href="https://agentmods.dev/commands/artemiopadilla/agent-triforce/debug"><img src="https://agentmods.dev/badge/commands/artemiopadilla/agent-triforce/debug.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 100 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00010 $0.00100
Opus 5 $0.00005 $0.00050
Sonnet 5 $0.00002 $0.00020
Haiku 4.5 $0.00001 $0.00010

Measured 5d ago against content hash 98b330a0486c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

debug 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 5d 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.

.claude/commands/debug.md · 14 lines

What it actually says

Debug this issue: $ARGUMENTS

Use the systematic-debugging skill. Follow the 4-phase process:

  1. Root cause investigation (read errors, reproduce, trace data flow)
  2. Pattern analysis (find working examples, compare)
  3. Hypothesis testing (one variable at a time)
  4. Implementation (create failing test, fix root cause, verify)

DO NOT propose fixes before completing Phase 1.

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. 5d ago First seen · 14 lines · 10 tokens per session scan A 98b330a0486c

Subscribe to this mod's changes

debug is a command published in the GitHub repository ArtemioPadilla/agent-triforce (3 stars, last pushed 4mo ago), licensed MIT. It adds 10 tokens to every session and 100 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.

Related

Other commands, from other repositories

doctor

Health check for greatcto. Shows pipeline state, missing artefacts, hook status, last run per agent, and permission-denied tail.

avelikiy/great_cto · 29 tokens

review

12-angle code review + skeptical triage (3-round + arbiter) for security/reliability P0/P1 findings, OR traceability tree. Default: review current branch vs main. --deep: triage ALL P0/P1 angles (not just security). With trace : render REQ → IMPL → TEST tree for impact analysis. Creates or closes gate:code for…

avelikiy/great_cto · 88 tokens

release

Release manager for frontend and mobile. Writes App Store notes, user-facing changelog, flags stale docs and landing copy. Actions: notes | changelog | docs | sync.

avelikiy/great_cto · 34 tokens

ccr

CCR (Compressed Context with Retrieval) — recall the full original of context that greatcto compressed/filtered out, by its short id. The retrieval half of the compression layer.

avelikiy/great_cto · 36 tokens

coding-audit

Medical-coding / revenue-cycle compliance audit. Invokes rcm-reviewer to assess autonomous ICD-10-CM / CPT / HCPCS coding for False Claims Act exposure (upcoding/unbundling), NCCI edits + MUEs, medical necessity (LCD/NCD), modifier discipline, HIPAA minimum-necessary — and force a certified-coder (CPC/CCS) sign-off.

avelikiy/great_cto · 81 tokens

tax-review

Tax-filing compliance check — invokes tax-reviewer to produce TM-tax-{slug}.md with MeF e-file schema, Form 8879, PTIN/Circular 230, and IRC §7216 consent gaps.

avelikiy/great_cto · 45 tokens