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 soleimanmansouri/debug-bank --skill debug-trajectorygit clone --depth 1 https://github.com/soleimanmansouri/debug-bankWrote 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/soleimanmansouri/debug-bank/debug-trajectory)<a href="https://agentmods.dev/skills/soleimanmansouri/debug-bank/debug-trajectory"><img src="https://agentmods.dev/badge/skills/soleimanmansouri/debug-bank/debug-trajectory/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/soleimanmansouri/debug-bank/debug-trajectory"><img src="https://agentmods.dev/badge/skills/soleimanmansouri/debug-bank/debug-trajectory.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.00037 | $0.00745 |
| Opus 5.5 | $0.00015 | $0.00298 |
| Sonnet 5.5 | $0.00007 | $0.00149 |
| Haiku 4.5 | $0.00004 | $0.00075 |
Grade A, and why
debug-trajectory 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 3mo 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 — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Debug Trajectory Protocol
You are now in debug trajectory mode. Follow this protocol exactly.
Step 1: Pattern Check (DO THIS FIRST)
Before investigating, scan the pattern bank for a matching root cause type.
Read all files in the patterns/ directory (or your project's pattern bank location). For each pattern, check if its symptoms match the current bug.
If a pattern matches:
- State which pattern (e.g., "This matches P08: Config Resolution Chain Gap")
- Read the full pattern file
- Apply the check list
- If the check list confirms, apply the fix strategy directly
- Skip to Step 6 (Fix) — no need for Steps 2-5
If no pattern matches:
- State "No pattern match" and proceed to Step 2
Step 2: Reproduce
Get the exact error. Capture FULL output — never summarize.
- Run the failing operation
- Capture complete logs, stack traces, HTTP responses
- Include 50+ lines of surrounding context
- Record exact reproduction steps
If you can't reproduce, add temporary logging and try again. Do NOT proceed without reproduction.
Step 3: Hypothesize
State 2-3 possible root causes, ranked by likelihood.
For each hypothesis:
- "If [hypothesis] is correct, then [specific test] would show [specific result]"
Step 4: Isolate
Test hypotheses ONE AT A TIME. Binary search.
- Start with the most likely hypothesis
- Disable/enable components to narrow scope
- If 3 hypotheses fail → TRIGGER 3-EXCHANGE RULE (see below)
Step 5: Diagnose
Identify the SINGLE root cause.
- Trace the full call chain: trigger → propagation → symptom
- Check for "root cause behind the root cause"
- Verify this cause explains ALL symptoms
Step 6: Fix
Minimal change addressing the root cause.
- Change as little as possible
- Verify ALL symptoms resolved
- Check for regressions
Step 7: Record
Add trajectory to your domain catalog:
### [Category] Short Title (YYYY-MM-DD)
- **Symptom:** What was observed
- **Root cause:** The actual cause
- **Fix:** What was changed
- **Key insight:** Generalizable lesson
- **Pattern:** P-number or "New"
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.
- 3mo ago First seen · 104 lines · 37 tokens per session scan A 12b128937047
debug-trajectory is a skill published in the GitHub repository soleimanmansouri/debug-bank (1 stars, last pushed 28d ago), licensed MIT. It adds 37 tokens to every session and 745 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-08-31.
debug-trajectory compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| debug-trajectorysoleimanmansouri/debug-bank | Skill | 1 | 28d ago | MIT | A | 37 | Claude Code |
| code-contextinfino-ai/code-context | Skill | 31 | 2mo ago | Apache-2.0 | A | 103 | Claude Code |
| tappaarwitz/tapp | Skill | 4 | yesterday | MIT | A | 136 | Claude Code, Codex |
| fix-issueyu-iskw/coding-agent-fabric | Skill | 1 | 4d ago | Apache-2.0 | A | 31 | Claude Code |
| support-ticket-triagezapier/gtm-cheat-codes | Skill | 367 | 4mo ago | MIT | A | 38 | Claude Code |
| lint-and-fixyu-iskw/coding-agent-fabric | Skill | 1 | 4d ago | Apache-2.0 | A | 45 | Claude Code |
| recoveryBrianNguyen29/x-harness | Skill | 15 | 3mo ago | MIT | A | 4 | Claude Code |