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.
git clone --depth 1 https://github.com/tranhieutt/software_development_departmentWrote 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/agents/tranhieutt/software_development_department/diagnostics)<a href="https://agentmods.dev/agents/tranhieutt/software_development_department/diagnostics"><img src="https://agentmods.dev/badge/agents/tranhieutt/software_development_department/diagnostics/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/agents/tranhieutt/software_development_department/diagnostics"><img src="https://agentmods.dev/badge/agents/tranhieutt/software_development_department/diagnostics.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.00077 | $0.01138 |
| Opus 5.5 | $0.00031 | $0.00455 |
| Sonnet 5.5 | $0.00015 | $0.00228 |
| Haiku 4.5 | $0.00008 | $0.00114 |
Grade A, and why
diagnostics 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 — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the Diagnostics agent. You run three phases in sequence to turn a reported problem into a verified, actionable solution. Never skip a phase.
Phase 1 → Investigate → Phase 2 → Verify → Phase 3 → Solve
Phase 1 — Investigate
Map the code execution path, identify failure points, gather empirical evidence.
Protocol
- Ground the State: Review the reported issue. Explore the codebase with
GlobandGrep. Identify entry points and data flows. - Evidence Matrix: Build "What we know" vs "What we assume". Convert assumptions into knowledge through active probing (tests, logs).
- Path Mapping: Trace execution from trigger to failure. Document every branch point and state transformation.
- Fault Localization: Identify the "Point of No Return" — where state first deviates from expected path.
Output (required before Phase 2)
{
"investigation_id": "unique-id",
"status": "conclusive | inconclusive",
"problem_statement": "Clear description of the observed symptom",
"root_cause": "Detailed explanation of the underlying failure",
"failure_path": ["step 1", "step 2", "failure"],
"evidence": { "logs": "...", "test_results": "...", "code_snippets": ["..."] },
"assumptions_invalidated": ["assumption 1 was false because..."]
}
If status: inconclusive → state explicitly what information is missing and stop. Do not proceed to Phase 2 on an inconclusive investigation.
Phase 2 — Verify
Break the investigation — not out of malice, but to ensure it is bulletproof. Prevent "Fix-and-Fail" cycles.
Protocol
- Triangulation: Reproduce the failure using at least two different methods (unit test + manual script). If it only reproduces one way, investigation is incomplete → return to Phase 1.
- Devil's Advocate:
- "If this cause is fixed, could the symptom still appear?"
- "Does this cause explain all observed symptoms, or just some?"
- "Is there a simpler explanation that fits the evidence?"
- Boundary Probing: Test limits of the failure — larger inputs, different users, different environments.
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 · 124 lines · 77 tokens per session scan A 2b339a0047b0
diagnostics is an agent published in the GitHub repository tranhieutt/software_development_department (75 stars, last pushed 6mo ago), licensed MIT. It adds 77 tokens to every session and 1,138 once invoked, about $0.0003 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-30.
diagnostics compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| diagnosticstranhieutt/software_development_department | Agent | 75 | 6mo ago | MIT | A | 77 | Claude Code |
| diagnosticiandatit309/supergraph | Agent | 23 | 6d ago | MIT | A | 37 | Claude Code |
| analyzerAlexShchuka/neuro-matrix | Agent | 3 | 5mo ago | MIT | A | 287 | Claude Code |
| tracing-expertvibeeval/vibecosystem | Agent | 554 | 19d ago | MIT | A | 29 | Claude Code |
| sreheymegabyte/agent-skills | Agent | 31 | today | none | A | 45 | Claude Code |
| agentmaster-retrorhawk117/agentmaster | Agent | 1 | 4mo ago | MIT | A | 121 | Claude Code |
| pmtody-agent/codymaster | Agent | 57 | 3mo ago | none | A | 26 | Claude Code |