Audits coding-agent components (MCPs, skills, rules, plugins, hooks) by measuring context/attention taxes vs. time saved, using local logs and ablations to decide keep/slim/remove.
Ships in adonis-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Measure whether each coding-agent component saves more loop time than it taxes. Count two taxes: context the agent pays every session, and attention the user pays when a component interrupts them, waits on them, or acts on their files without asking. Use local evidence instead of generic best practices.
OUT_DIR and analysis window before collecting data. Default to 90 days; if less data exists, report the actual window and session count.OUT_DIR. Git write operations are outside this workflow.UNVERIFIED; never blend them into findings.Read references/artifact-contract.md before starting. Read references/metrics-and-decisions.md before calculating ROI or proposing a decision.
headers, env, credentials, cookies, or tokens. Print keys, value types, and lengths instead.tee. If a secret is accidentally displayed, stop repeating it, identify the affected filesystem copies without showing their contents, report their count, and request explicit approval to sanitize or remove them. Until approval, mark the audit blocked on credential residue and recommend server-side rotation.Run the bundled initializer:
python3 <skill-dir>/scripts/init_audit.py --out-dir "$OUT_DIR" --window-days 90
It creates only the audit directory, records the chosen window, and copies helper scripts to $OUT_DIR/scripts/ for reproducibility.
Discover relevant hosts and utilities with version or command-resolution checks. Probe the requested agent CLIs plus jq, python3, and rg. Only inspect --help after a real command or flag fails.
Write 00-capabilities.json. Record wrapper/function provenance without printing function bodies that may contain credentials.
Inventory each host independently and retain its actual status vocabulary.
name + description separately from on-demand body bytes.CLAUDE.md, AGENTS.md, Cursor rules, host-global instructions, commands, agents, hooks, and memory files.These components cost the user's attention rather than the agent's context. Inventory them with the same evidence rules.
UNVERIFIED; propose a log under proposed/, do not add one.launchctl print gui/<uid>/<label>), crontab -l, systemd user timers, and agent-host schedulers. For each, record the schedule, the command, the last exit status and log path, and its mode: acts (changes files, installs, sends, merges) or reports (writes a log or asks). Record whether it can overwrite user state, such as reinstalling a component that has local edits, and whether it offers a dry-run or report-only switch.Write 01-inventory.json as data only, without recommendations.
Discover all candidate session roots, including renamed projects, moved directories, worktrees, and account-specific homes. List candidates by mtime before assigning ownership.
For every JSONL file, inspect its first line before parsing that file:
python3 "$OUT_DIR/scripts/probe_jsonl_schema.py" <discovered-roots...> \
> "$OUT_DIR/raw/jsonl-schema-inventory.json"
Do not reuse an expected schema after one representative file. A parser must validate each file's probed keys and skip or separately handle mismatches. Record every schema deviation.
Calculate M1-M11 exactly as defined in the metrics reference. Pay special attention to exposed tools with zero calls, wrapper calls whose actual MCP name is nested in serialized arguments, and failures hidden behind successful wrapper invocations.
Write 02-metrics.json and 02-metrics.md. Put parsing scripts in $OUT_DIR/scripts/.
Run only experiments supported by the installed CLI version:
OUT_DIR.$OUT_DIR/rewrites/<component>/, never in the live config.Keep prompts, model/account, cwd, and timing boundaries identical. Do not compare asynchronous or configuration-drifted runs as causal A/B. Label blocked experiments and missing API keys UNVERIFIED.
Write 03-experiments.md with sanitized raw output.
When the user requests blind review and at least two independent CLIs are available:
01, 02, and 03 data, never the orchestrator's conclusions or the other reviewer's output.Skip this phase when independence cannot be established; record why.
Build one row per MCP server, skill, command, plugin, hook, or memory component:
| component | resident tokens | window calls | usage rate | error rate | ROI | decision |
Build a second table for attention components (notification senders, decision queues, scheduled automations, toggles):
| component | interruptions/week | action rate | failures in window | mode (acts/reports) | overwrites user state | decision |
Apply the hard thresholds from the metrics reference without softening them. For a Rewrite row, record which variant changes were adopted and the observed behavior difference behind each; applying the text to live config is an approved mutation like any other. If the user wants interactive cleanup, present one component at a time with its numbers and wait for a clear retain/remove/disable decision.
After an approved mutation:
Large runtime copies and dependency caches are audit waste once their evidence is embedded in reports. Before moving or deleting a candidate, report:
Use an exact validated target. Prefer moving one target to Trash over a broad permanent deletion. Never empty the user's whole Trash. If deletion is blocked by policy, report the block rather than bypassing it.
Produce FINAL.md with:
proposed/, never overwriting originals without approval.UNVERIFIED list.Run:
python3 "$OUT_DIR/scripts/finalize_audit.py" --out-dir "$OUT_DIR"
The finalizer refuses to create a manifest when non-runtime artifacts contain likely Authorization/Bearer values. It excludes reproducible runtime/**, writes MANIFEST.sha256, and reports the final artifact count and size.
Completion requires: zero pending user decisions in scope, all approved changes verified, credential residue count zero, core artifacts present, and manifest verification passing.
agents/openai.yaml (opens in a new tab)evals/evals.json (opens in a new tab)evals/fixtures/schema-a.jsonl (opens in a new tab)evals/fixtures/schema-b.jsonl (opens in a new tab)references/artifact-contract.md (opens in a new tab)references/metrics-and-decisions.md (opens in a new tab)scripts/finalize_audit.py (opens in a new tab)scripts/init_audit.py (opens in a new tab)scripts/probe_jsonl_schema.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/adonis-skills:dev-environment-roi-auditfrom adonis-skills
npx claudepluginhub adonis0123/adonis-skills --plugin adonis-skills34 skills in this plugin
/agent-dispatchPick the lightest agent setup for coding, review, drafting or design research: do it yourself, fan out 2-3 workers across local CLIs and accounts (Claude Code, Codex, Grok, Cursor), run a scoped architecture loop, or brief independent researchers; choose a cross-model reviewer and track dispatched work on a Run Board. Use when work may need delegation, or the user asks to dispatch, parallelize, run several agents or accounts, get another AI's review or independent design opinions, or check dispatched work. 中文触发:派活、并行、多开几个 agent、分给多个账号 / codex / grok、找另一个 AI 审、多方意见、派出的任务进行到哪了。Not for trivial edits, a single diff review (agentic-review-handoff) or the session list (sideby sessions); inside another named workflow, only size its workers./agentic-review-handoffValidate review findings, run auto Git review-fix-re-review loop, DecisionConsult, or DDD/cohesion review. Requires Git & review/consult intent./agent-practice-auditScore local coding-agent usage (Claude/Codex/Grok/WorkBuddy/agy) against official docs into HTML report. Triggers: agent 用法体检、实践评分. Never edits config./agent-skill-evaluationUse when comparing or trial-testing agent skills before installing — including GitHub/skills.sh URLs, 测试一下/值不值得装, package screening, and A/B artifact runs./agent-symlink-initInitialize or migrate agent-skill symlinks in any repository for Claude Code, Codex, Cursor, and Antigravity (agy) / Gemini setups. Use when a project needs `.claude/skills` linked to `.agents/skills`, `AGENTS.md` linked to `CLAUDE.md`, checks for `GEMINI.md` or `.agents/skills.json`, migration away from `.ruler`-based AI rules, or removal of legacy `sync-llm-skills` copy/sync setups. Trigger on requests about Claude, Codex, Cursor, or Antigravity (`agy`) / Gemini skill symlinks, AGENTS/CLAUDE/GEMINI rule links, `.claude/skills` setup, replacing copied skill folders with symlinks, or cleaning old ruler/sync automation./architecture-hardening-loopRun bounded architecture scan-triage-fix-review-rescan loop on explicit code scope until no evidence-backed DDD/cohesion fixes remain.Other plugins' skills for the same job