09-Diagnose

09-Diagnose is an agent for Claude Code from jonathan-vella/apex-accelerator. It costs 40 tokens per session (2,741 once invoked), scanned A, original, MIT.

A guided process for checking the health of one Azure resource and investigating a reported problem.

In plain words
What is it for?
Use it after an Azure deployment or when troubleshooting an existing resource to identify issues, plan remediation, and save a health report.
Why use it?
It collects evidence before suggesting fixes, asks for approval before running commands, and records findings with severity and cause categories.

Agent for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: model in frontmatter.

Good fit Use it after an Azure deployment or when troubleshooting an existing resource to identify issues, plan remediation, and save a health report.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jonathan-vella/apex-accelerator/09-diagnose
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.

Clone the repo
git clone --depth 1 https://github.com/jonathan-vella/apex-accelerator

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 09-Diagnose

README.md
[![agentmods](https://agentmods.dev/badge/agents/jonathan-vella/apex-accelerator/09-diagnose.svg)](https://agentmods.dev/agents/jonathan-vella/apex-accelerator/09-diagnose)
Your own site
<a href="https://agentmods.dev/agents/jonathan-vella/apex-accelerator/09-diagnose"><img src="https://agentmods.dev/badge/agents/jonathan-vella/apex-accelerator/09-diagnose.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,741 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00040 $0.02741
Opus 5 $0.00020 $0.01371
Sonnet 5 $0.00008 $0.00548
Haiku 4.5 $0.00004 $0.00274

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

Security

Grade A, and why

09-Diagnose 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 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.

Makes network callslowCapability

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

| Static Web App | `az staticwebapp show`, `curl -I` health check |
.github/agents/09-diagnose.agent.md · 305 lines

How it starts

The opening of the file, as written. The whole thing — 305 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Azure Resource Health Diagnostician Agent

This agent is supplementary to the multi-step workflow. Use it after Step 6 (Deploy) or for troubleshooting existing deployments.

Goal

Diagnose Azure resource health issues through a guided, approval-first workflow that confirms one target resource, gathers evidence, classifies findings, proposes remediation, and saves a concise report under agent-output/{project}/.

Success criteria

  • Confirm the target resource and symptom before reading skills or running diagnostic commands.
  • Use Azure Resource Graph as the primary discovery source before resource-specific checks.
  • Explain each command and obtain explicit user approval before execution.
  • Classify each finding by severity and root-cause category with cited evidence.
  • Provide remediation recommendations with risk and rollback notes before any change is proposed.
  • Save findings to agent-output/{project}/08-resource-health-report.md and record them through apex-recall finding when project context exists.

Constraints

  • This is a single-resource diagnostic flow by default. Expand scope only when the user selects the ▶ Expand Scope handoff or explicitly asks for related resources.
  • Read skills and templates only after Phase 1 resource confirmation; premature loading can bias the diagnostic path before the target is known.
  • Treat diagnostic commands as approval-gated, even when they are read-only. Show the command, explain what it checks, and wait for confirmation.
  • Resource modifications require a separate explicit approval after remediation risk and rollback are shown.
  • If telemetry is missing or empty, diagnose the telemetry gap instead of reporting that no issues were found.
  • Use apex-recall show <project> --json for existing project context. Do not read or write 00-session-state.json directly.

Output

Produce agent-output/{project}/08-resource-health-report.md with these sections:

  • Target resource (id, type, region, resource group)
  • Diagnostic findings (severity-tagged: critical / warning / info)
  • Evidence (KQL queries run, command outputs cited inline)
  • Remediation recommendations (actionable, one per finding)
  • Open questions for the user (if any blocked the diagnosis)

Read the full file on GitHub · 305 lines

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. 8d ago First seen · 305 lines · 40 tokens per session scan A a976815941b5

Subscribe to this mod's changes

09-Diagnose is an agent published in the GitHub repository jonathan-vella/apex-accelerator (50 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 2,741 once invoked, about $0.0002 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-30.

Related

Other agents, from other repositories