ai-agents-diagnostics-toolkit

ai-agents-diagnostics-toolkit is a skill for Claude Code from rjmurillo/ai-agents. It costs 109 tokens per session (2,961 once invoked), scanned B, original, MIT.

A toolkit for measuring repository health with scripts that report things such as skill size, description limits, missing references, drift signals, coverage pins, and evaluation results. It distinguishes measurements from gates, which are checks that block progress.

In plain words
What is it for?
Use it to measure skill budgets, inspect drift and scan results, check coverage-related values, or run the evaluation harness without changing the measured files.
Why use it?
It replaces guesswork with repeatable numbers and helps you interpret whether a change differs from the repository's normal baseline.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT variable. Also seen: reads .claude/ paths; mentions AGENTS.md.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the project-toolkit plugin — 125 skills, 25 commands, 33 agents, 5 hooks shipped together

Good fit Use it to measure skill budgets, inspect drift and scan results, check coverage-related values, or run the evaluation harness without changing the measured files.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add rjmurillo/ai-agents
Claude Code
/plugin install project-toolkit

Made for: Claude Code.

Or install project-toolkit, the plugin that ships this one along with the rest of its 125 skills, 25 commands, 33 agents, 5 hooks.

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 ai-agents-diagnostics-toolkit

README.md
[![agentmods](https://agentmods.dev/badge/skills/rjmurillo/ai-agents/ai-agents-diagnostics-toolkit/github.svg)](https://agentmods.dev/skills/rjmurillo/ai-agents/ai-agents-diagnostics-toolkit)
Your own site
<a href="https://agentmods.dev/skills/rjmurillo/ai-agents/ai-agents-diagnostics-toolkit"><img src="https://agentmods.dev/badge/skills/rjmurillo/ai-agents/ai-agents-diagnostics-toolkit/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 ai-agents-diagnostics-toolkit

Your own site · 80×15
<a href="https://agentmods.dev/skills/rjmurillo/ai-agents/ai-agents-diagnostics-toolkit"><img src="https://agentmods.dev/badge/skills/rjmurillo/ai-agents/ai-agents-diagnostics-toolkit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,961 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.00109 $0.02961
Opus 5.5 $0.00044 $0.01184
Sonnet 5.5 $0.00022 $0.00592
Haiku 4.5 $0.00011 $0.00296

Measured 6d ago against content hash a12c56948d46, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

ai-agents-diagnostics-toolkit 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 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.

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

| Push guards and guard-maturity classifier removed under ADR-084 | `ls .claude/hooks/PreToolUse/` (no `push_guard_base.py` or `invoke_*_guard.py` should be present) and `ls -d .claude/skills/guard-maturity` (expect "No
.claude/skills/ai-agents-diagnostics-toolkit/SKILL.md · 128 lines

How it starts

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

ai-agents Diagnostics Toolkit

Measure instead of eyeball. Every instrument below leaves the trees it measures unchanged, turning a vague worry ("are skills getting bloated?", "did generation drift?") into a number you can compare against a baseline; build_all.py --check's one exception, a gitignored audit file outside those trees, is covered below. The Instrument Index gives you, per instrument, the question it answers and the exact command; references/instrument-guides.md gives the healthy and unhealthy reading, the current repo baseline (as of 2026-07-29), and the trap that has already cost someone time.

Vocabulary, defined once: an "instrument" is a script whose output you read, not a gate you must pass. A "drift gate" is a CI check that fails when a generated tree stops matching its canonical source. A "baseline" is the number the instrument reports on a clean checkout of main; you measure your delta against it.

Triggers

  • measure this
  • read the drift signal
  • check skill budgets
  • interpret this scan output

Instrument Index

Instrument Question it answers Command (from repo root)
Description budget How much standing context do skill descriptions cost? uv run python ./scripts/skill_description_budget.py
Skill size Which SKILL.md files exceed the 300-warn / 500-block line limits? uv run python ./scripts/validation/skill_size.py
Orphan refs Do specs, evals, and manifests reference entities that no longer exist? python3 "${COPILOT_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-.claude}}/skills/orphan-ref-validator/scripts/scan.py"
Golden principles Where does the repo violate GP-001..GP-005 mechanical rules? python3 "${COPILOT_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-.claude}}/skills/golden-principles/scripts/scan_principles.py"
Agent drift Do generated agent files match their templates? uv run python build/generate_agents.py --validate
Mirror drift Do the 7 generated mirror trees match .claude/ canonical sources? uv run python build/scripts/build_all.py --check
Lib drift Do the lib plugin trees match scripts/ canonical modules? uv run python build/scripts/build_all.py --check
Coverage Is changed code actually exercised by tests? uv run pytest <tests> --cov=<module> --cov-branch
Eval A/B Did a prompt or agent change alter behavior, measurably? uv run python ./scripts/eval/eval-prompt-change.py --scenarios <file> --dry-run
Commit count Advisory-only signal, not a cap (ADR-099) git rev-list --count HEAD ^origin/main

Read the full file on GitHub · 128 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed · +1 lines a12c56948d46
  2. 17d ago Changed 86b9b16039b7
  3. 20d ago Changed 8b5ab4c2a1df
  4. 22d ago Changed · +6 lines 6a578e4cf476
  5. 1mo ago Changed 64014542b0ad
  6. 1mo ago First seen · 121 lines · 109 tokens per session scan B d4e6dfbc8611

Subscribe to this mod's changes

ai-agents-diagnostics-toolkit is a skill published in the GitHub repository rjmurillo/ai-agents (48 stars, last pushed today), licensed MIT. It adds 109 tokens to every session and 2,961 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.