diagnosing-bugs

diagnosing-bugs is a skill for Claude Code, Codex from maurigre/mgr-method. It costs 74 tokens per session (2,804 once invoked), scanned A, original, no licence file.

A structured method for finding the root cause of difficult bugs and slowdowns. It requires reproducing the problem and showing a failing result before forming a theory.

In plain words
What is it for?
Use it to reproduce software bugs, investigate performance regressions, test hypotheses against observed behavior, and identify the underlying cause.
Why use it?
It prevents debugging from becoming guesswork based on untested explanations. It focuses the work on identifying the cause and stops before making a larger fix.

Skill for Claude CodeCodex

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 skills/maurigre/mgr-method/diagnosing-bugs
Any agent
npx skills add maurigre/mgr-method --skill diagnosing-bugs
Clone the repo
git clone --depth 1 https://github.com/maurigre/mgr-method

Made for: Claude Code, Codex.

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 diagnosing-bugs

README.md
[![agentmods](https://agentmods.dev/badge/skills/maurigre/mgr-method/diagnosing-bugs.svg)](https://agentmods.dev/skills/maurigre/mgr-method/diagnosing-bugs)
Your own site
<a href="https://agentmods.dev/skills/maurigre/mgr-method/diagnosing-bugs"><img src="https://agentmods.dev/badge/skills/maurigre/mgr-method/diagnosing-bugs.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,804 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin unknown 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.00074 $0.02804
Opus 5 $0.00037 $0.01402
Sonnet 5 $0.00015 $0.00561
Haiku 4.5 $0.00007 $0.00280

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

Security

Grade A, and why

diagnosing-bugs 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 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

2. **A curl / HTTP script** against a running server.
skills/diagnosing-bugs/SKILL.md · 247 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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 · 247 lines · 74 tokens per session scan A f85746ea8d63

Subscribe to this mod's changes

diagnosing-bugs is a skill published in the GitHub repository maurigre/mgr-method (2 stars, last pushed 5d ago), with no licence file. It adds 74 tokens to every session and 2,804 once invoked, about $0.0004 per session on Opus 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.

Related

Other skills, from other repositories

keep-the-why

Extract and preserve the reasoning code cannot explain - decisions, rejected alternatives, workarounds, incidents, constraints - plus project setup and maintainer interviews. Not for what changed (see Keep a Changelog) - only why.

oliver-zehentleitner/keep-the-why · 50 tokens

pr-review-community-overlay

Use when reviewing a PR to tractorjuice/arc-kit that adds or extends a community jurisdictional overlay (e.g. au-, ca-, uae-, fr-, at-, eu-, future state-level like au-vic-) — produces a structured review with blockers, important issues, minor issues, and positive callouts.

tractorjuice/arc-kit · 76 tokens

release

Cut a new ArcKit release — bump versions in lockstep, regenerate non-Claude formats, validate plugin/marketplace agreement, tag, and push to standalone repos. Use when the user says 'cut a release', 'release ArcKit', 'ship vX.Y.Z', 'bump the version and release', 'do the release flow', 'tag and publish', or 'push the…

tractorjuice/arc-kit · 97 tokens

new-command-docs

This skill should be used when a new ArcKit command has been added and documentation needs updating across the repository. Triggers: update documentation for new command, update command count, add command to README, update DEPENDENCY-MATRIX, update docs/index.html, new command documentation checklist, update all docs…

tractorjuice/arc-kit · 104 tokens

auto-memory

This skill should be used when the user asks to 'set up memory', 'create memory files', 'create MEMORY.md', 'set up topic files', 'improve memory organization', 'what should I remember', 'how to structure memory files', 'MEMORY.md is too long', 'what goes in memory vs topic files', 'memory best practices', or wants to…

tractorjuice/arc-kit · 114 tokens

decision-backfill

Use when auditing an existing codebase, documentation set, plans, RFCs, or git history for architecture decisions that were made but never recorded as ADRs, and when triaging potential records before drafting them.

mbeacom/adrkit · 46 tokens