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 tellmefrankie/news-engine --skill debug-trailgit clone --depth 1 https://github.com/tellmefrankie/news-engineWrote 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/tellmefrankie/news-engine/debug-trail)<a href="https://agentmods.dev/skills/tellmefrankie/news-engine/debug-trail"><img src="https://agentmods.dev/badge/skills/tellmefrankie/news-engine/debug-trail/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/tellmefrankie/news-engine/debug-trail"><img src="https://agentmods.dev/badge/skills/tellmefrankie/news-engine/debug-trail.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.00000 | $0.00974 |
| Opus 5 | $0.00000 | $0.00487 |
| Sonnet 5 | $0.00000 | $0.00195 |
| Haiku 4.5 | $0.00000 | $0.00097 |
Grade A, and why
debug-trail 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 8d 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 — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Debug Trail
Automatically document your debugging session as you go. When the bug is fixed, you have a complete trail: what you tried, what you learned, what solved it.
The problem
You spend 3 hours debugging. You find the fix. Your manager asks you to write it up. You stare at the blank Confluence page and try to remember what you tried 2 hours ago.
Or worse: the same bug comes back in 3 months and you have to debug it again from scratch.
What it does
At the start of a debugging session, activate this skill. As you work, it tracks:
- Each hypothesis you formed and tested
- Commands run and their output
- Files examined and what you found
- Dead ends (just as important as the solution)
- The actual root cause and fix
At the end: structured bug report, ready to paste anywhere.
Usage
Start of session:
Start debug trail for: TypeScript type error in options/analyzer.ts line 247
Error: Type 'string' is not assignable to type '"rising" | "falling" | "stable"'
During session — the skill tracks your work automatically as you run commands and read files.
End of session:
Close debug trail. Write up the full report.
Example Report Output
# Debug Trail — TS2322 lottery_trend Type Error
Date: 2026-05-13 | Duration: 23 minutes | Status: RESOLVED
## The Bug
File: src/options/weekly-anomaly-report.ts:24
Error: Type 'string' is not assignable to type '"rising" | "falling" | "stable"'
## Root Cause
TypeScript's type narrowing failed on the ternary expression:
const trend = last - first > 20 ? 'rising' : last - first < -20 ? 'falling' : 'stable'
TypeScript inferred `trend` as `string` (widened from string literals).
The TickerWeekly interface expected the literal union type.
## What I Tried
[DEAD END] Tried casting: `trend as 'rising' | 'falling' | 'stable'`
→ Works but is unsafe — type assertion, not type inference
[DEAD END] Tried `as const` on the ternary
→ Syntax error — as const only works on object/array literals
[SOLUTION] Explicit type annotation on the variable:
const trend: 'rising' | 'falling' | 'stable' = ...
→ TypeScript now validates the ternary against the declared type
## Files Changed
- src/options/weekly-anomaly-report.ts:24 — added explicit type annotation
## Lesson Learned
When TypeScript widens string literal ternaries to `string`, add explicit
type annotation rather than casting. The annotation lets TS validate, the
cast just suppresses the error.
## Commands Run
- npx tsc --noEmit (initial discovery)
- npx tsc --noEmit (verification after fix)
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.
- 8d ago First seen · 125 lines · 0 tokens per session scan A a92f51b78dce
debug-trail is a skill published in the GitHub repository tellmefrankie/news-engine (1 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 974 tokens. 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
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.
triage-issues
Triage GitHub issues in the googleapis/mcp-toolbox repo: propose the correct labels (type / priority / product / status), check for duplicates, verify a bug has enough info to act on, and draft a triage comment. Use whenever a maintainer asks you to triage, label, categorize, prioritize, or "look at" an issue (or a…
copilotkit-debug
Use when diagnosing CopilotKit issues -- runtime connectivity failures, agent not responding, streaming errors, tool execution problems, transcription failures, version mismatches, and AG-UI event tracing.
agent-merge-conflict-arbiter
Neutral arbiter for merge conflicts between two agents.
python-debugpy
Debug Python: pdb REPL + debugpy remote (DAP).
sglang-diffusion-benchmark-profile
Use when benchmarking denoise latency or profiling a diffusion bottleneck in SGLang.