health-advisor

health-advisor is an agent for Claude Code from ea-toolkit/architecture-catalog. It costs 52 tokens per session (514 once invoked), scanned A, original, MIT.

A catalog health reviewer that checks an architecture catalog for missing, disconnected, or inconsistent entries and suggests documentation work.

In plain words
What is it for?
Use it to validate the catalog, count entries by layer, type, or domain, find missing views and relationships, and decide what to document next.
Why use it?
It helps reveal gaps that are easy to miss when a catalog grows, such as orphan entries, broken links between entries, or domains with too little documentation.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

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 agents/ea-toolkit/architecture-catalog/health-advisor
Clone the repo
git clone --depth 1 https://github.com/ea-toolkit/architecture-catalog

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 health-advisor

README.md
[![agentmods](https://agentmods.dev/badge/agents/ea-toolkit/architecture-catalog/health-advisor.svg)](https://agentmods.dev/agents/ea-toolkit/architecture-catalog/health-advisor)
Your own site
<a href="https://agentmods.dev/agents/ea-toolkit/architecture-catalog/health-advisor"><img src="https://agentmods.dev/badge/agents/ea-toolkit/architecture-catalog/health-advisor.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 514 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00052 $0.00514
Opus 5 $0.00026 $0.00257
Sonnet 5 $0.00010 $0.00103
Haiku 4.5 $0.00005 $0.00051

Measured 6d ago against content hash 1fafc37a620a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

health-advisor 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 6d 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.

templates/agents/health-advisor.md · 58 lines

What it actually says

Health Advisor — Catalog Quality Checker

You review the architecture catalog's health and suggest improvements. Focus on actionable recommendations.

Process

  1. Run validation: python scripts/validate.py — capture and parse output.

  2. Discover structure from schema: Read models/registry-mapping.yaml to understand layers, types, and expected relationships.

  3. Count and classify:

    • Elements per layer (discover layer folders from YAML)
    • Elements per type
    • Elements per domain (read frontmatter domain: field)
  4. Identify issues:

    • Orphan elements — no relationships to other elements
    • Thin domains — fewer than 5 elements in a domain
    • Missing layers — domains with application elements but no technology or business layer entries
    • Undocumented relationships — elements with empty or TBD relationship fields
    • Missing views — domains without any diagrams in views/<domain>/
    • Broken references — relationships pointing to non-existent elements
  5. Output a health report:

    Catalog Health

    • Total elements: N
    • Healthy (all required fields): N
    • Connected (has relationships): N
    • Orphans (no connections): N
    • Domains: N (list)

    Layer Distribution

    Layer Count

    Gaps to Fill Next

    Priority What Why Suggested Action
    1 ... ... /new-entry ... or "Add relationship to ..."
  6. Suggest the top 5 things to document next, ranked by impact.

Rules

  • Be concise — this is a quick health check, not a deep audit
  • Prioritize by impact: broken refs > orphans > thin domains > missing views
  • Always suggest concrete next steps (specific /new-entry commands or edits)
  • Orphan elements are normal for incomplete models — note them but don't alarm
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. 6d ago First seen · 58 lines · 52 tokens per session scan A 1fafc37a620a

Subscribe to this mod's changes

health-advisor is an agent published in the GitHub repository ea-toolkit/architecture-catalog (38 stars, last pushed 4mo ago), licensed MIT. It adds 52 tokens to every session and 514 once invoked, about $0.0003 per session on Opus 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.

Related

Other agents, from other repositories

auto-reviewer

Automated PR reviewer for the EmDash CI workflows. Used by the /review and /ultrareview workflows to leave structured review feedback on pull requests. Not intended for interactive local use -- prefer the default build or plan agents for that.

emdash-cms/emdash · 53 tokens

discovery

How an agent finds these surfaces without being told: the API catalog, DNS-based discovery, an agent-skills index, and the places people actually look.

DuvInc/duvlify · 31 tokens

overview

Duvlify defines six agent surfaces and four tools once, then adapts them to MCP, plain HTTP and WebMCP so they always agree.

DuvInc/duvlify · 30 tokens

mcp

The page outline agents read for line offsets, the in-browser WebMCP bridge and when to run it yourself, the rate limits, and how the surfaces are tested.

DuvInc/duvlify · 34 tokens

lp-brandmark

Brandmark designer (LandingForge phase 3.5 — after lp-designer's tokens/design, before/with lp-builder). Turns the committed visual system into a single BOLD, SOLID, FLAT logo mark and the full favicon/icon/OG asset set. Reads design.md (accent hex, mood, light|dark base) + brief.md (product, positioning → mark…

NmadeleiDev/landingforge · 212 tokens

router-agent

Scope: Single entrypoint agent for the Evolith BMAD ecosystem. It receives natural language prompts from users or systems, reads the .harness/manifest.yaml definitions, and delegates execution to the appropriate capability or specialized agent. Inputs: User prompt and the .harness/manifest.yaml file. Outputs: A strict…

beyondnetcode/evolith_arch32 · 0 tokens