Diagnose

Diagnose is a command for Claude Code from Evyasys-Software-Solutions/EvyaGovernance. It costs 81 tokens per session (461 once invoked), scanned B, original, MIT.

A read-only project health-check command that runs 20 checks on the plugin, configuration, documentation, project board, notifications, and Git state.

In plain words
What is it for?
Use it before a demo or after an installation or update to get PASS, WARN, FAIL, or SKIP results with suggested fixes.
Why use it?
It helps find setup problems, stale documentation, inconsistent board data, or repository issues before they disrupt work.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the evyasys plugin — 15 skills, 15 commands shipped together

Good fit Use it before a demo or after an installation or update to get PASS, WARN, FAIL, or SKIP results with suggested fixes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/evyasys-software-solutions/evyagovernance/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/Evyasys-Software-Solutions/EvyaGovernance

Made for: Claude Code.

Or install evyasys, the plugin that ships this one along with the rest of its 15 skills, 15 commands.

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 Diagnose

README.md
[![agentmods](https://agentmods.dev/badge/commands/evyasys-software-solutions/evyagovernance/diagnose/github.svg)](https://agentmods.dev/commands/evyasys-software-solutions/evyagovernance/diagnose)
Your own site
<a href="https://agentmods.dev/commands/evyasys-software-solutions/evyagovernance/diagnose"><img src="https://agentmods.dev/badge/commands/evyasys-software-solutions/evyagovernance/diagnose/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.

agentmods 80×15 button for Diagnose

Your own site · 80×15
<a href="https://agentmods.dev/commands/evyasys-software-solutions/evyagovernance/diagnose"><img src="https://agentmods.dev/badge/commands/evyasys-software-solutions/evyagovernance/diagnose.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 461 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00081 $0.00461
Opus 5 $0.00041 $0.00230
Sonnet 5 $0.00016 $0.00092
Haiku 4.5 $0.00008 $0.00046

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

Security

Grade B, and why

Diagnose scanned grade B 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 9d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

EVYA_AI=$(find "$HOME/.claude/plugins" -maxdepth 6 -type d -name ".ai" 2>/dev/null | grep -i "EvyaGovernance" | head -1); [ -z "$EVYA_AI" ] && EVYA_AI=".ai"; echo "$EVYA_AI"
commands/Diagnose.md · 30 lines

What it actually says

You are running /evyasys:Diagnose.

Step 0 — Load workflow

First — find the plugin's installed workflow directory:

macOS / Linux — run via Bash:

EVYA_AI=$(find "$HOME/.claude/plugins" -maxdepth 6 -type d -name ".ai" 2>/dev/null | grep -i "EvyaGovernance" | head -1); [ -z "$EVYA_AI" ] && EVYA_AI=".ai"; echo "$EVYA_AI"

Windows — run via PowerShell:

$EVYA_AI = (Get-ChildItem "$env:USERPROFILE\.claude\plugins" -Recurse -Directory -Filter ".ai" -ErrorAction SilentlyContinue | Where-Object { $_.FullName -like '*EvyaGovernance*' } | Select-Object -First 1 -ExpandProperty FullName); if (-not $EVYA_AI) { $EVYA_AI = ".ai" }; Write-Output $EVYA_AI

Then load these files from <plugin-ai>/workflows/diagnose/ (fall back to .ai/workflows/diagnose/ if not found at the plugin path):

  1. AGENT.md — the diagnostician role
  2. PROMPT.md — the 20 checks
  3. CHECKLIST.md — the self-review

Follow PROMPT.md exactly. Run every check in parallel where possible. Emit the human-readable report and the structured <!-- EVYADIAGNOSE ... --> tail.

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. 9d ago First seen · 30 lines · 81 tokens per session scan B 15e2130d917a

Subscribe to this mod's changes

Diagnose is a command published in the GitHub repository Evyasys-Software-Solutions/EvyaGovernance (7 stars, last pushed 27d ago), licensed MIT. It adds 81 tokens to every session and 461 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.