Borrowing it
Nothing to install: this file belongs to richardthe3rd/cambridge-beer-festival-app. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/richardthe3rd/cambridge-beer-festival-app/main/.claude/skills/diagnostics-and-tooling/SKILL.mdgit clone --depth 1 https://github.com/richardthe3rd/cambridge-beer-festival-appWrote 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.
[](https://agentmods.dev/skills/richardthe3rd/cambridge-beer-festival-app/diagnostics-and-tooling)<a href="https://agentmods.dev/skills/richardthe3rd/cambridge-beer-festival-app/diagnostics-and-tooling"><img src="https://agentmods.dev/badge/skills/richardthe3rd/cambridge-beer-festival-app/diagnostics-and-tooling/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.
<a href="https://agentmods.dev/skills/richardthe3rd/cambridge-beer-festival-app/diagnostics-and-tooling"><img src="https://agentmods.dev/badge/skills/richardthe3rd/cambridge-beer-festival-app/diagnostics-and-tooling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00217 | $0.07389 |
| Opus 5 | $0.00109 | $0.03694 |
| Sonnet 5 | $0.00043 | $0.01478 |
| Haiku 4.5 | $0.00022 | $0.00739 |
Grade A, and why
diagnostics-and-tooling 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 12d 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.
How it starts
The opening of the file, as written. The whole thing — 582 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagnostics and Tooling
Every fact below was re-verified against the working tree on 2026-07-02 (see Provenance). If a command's output disagrees with what's written here, trust the command — then fix this file.
Theme: run the measurement tool once, read its output carefully, and interpret it correctly. Don't guess at "it's probably fine" or "that looks like the bug" — grep the log, decode the stack, read the coverage line.
1. Test / analyze log workflow
./bin/mise run test [path] and ./bin/mise run analyze [path] are thin
wrappers (mise-tasks/test.sh, mise-tasks/analyze.sh) around flutter test
/ flutter analyze. Both:
- Print a log path FIRST, before running anything:
TEST_LOG=/tmp/test-XXXXXX.logorANALYZE_LOG=/tmp/analyze-XXXXXX.log(mktemp-generated). - Stream output through
teeinto that file, filtering two noise lines (Woah! You appear|superuser privileges— root-user warnings irrelevant here). - Preserve the real exit code via
${PIPESTATUS[0]}(the tee would otherwise mask a non-zeroflutterexit). - Print a ready-to-use grep command at the end:
- test:
grep -n 'FAILED\|ERROR' $TEST_LOG - analyze:
grep -n 'error\|warning' $ANALYZE_LOG
- test:
Run once, grep many times. Do not re-run the whole suite to look for a different string — the log file already has everything.
./bin/mise run test test/domain/services/drink_filter_service_test.dart
# TEST_LOG=/tmp/test-AbCdEf.log
grep -n 'FAILED\|ERROR' /tmp/test-AbCdEf.log
grep -n 'preference_keys' /tmp/test-AbCdEf.log # any other query, same log
Stable paths across multiple runs
Override the mktemp path with the env var so repeated runs land in one place you can diff:
TEST_LOG=/tmp/my-run.log ./bin/mise run test
ANALYZE_LOG=/tmp/my-analyze.log ./bin/mise run analyze lib/screens/
What good/bad output looks like
- test:
flutter testprints one line per test group inMM:SS +N: <name>form, endingAll tests passed!(good) orSome tests failed.withFAILEDmarkers and stack traces above the summary (grep target:FAILED\|ERROR). Verified live:00:02 +2: All tests passed!. - analyze:
Analyzing <paths>...then eitherNo issues found! (ran in N.Ns)(good — verified live againstlib/utils/andlib/constants/), or one line per finding, bullet-separated:info • <message> • <file>:<line>:<col> • <lint_rule_name>(severity isinfo,warning, orerror; since #524 the task runs without--no-fatal-infos, so every severity fails it).
What ships with it
2 files 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.
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.
- 12d ago First seen · 582 lines · 217 tokens per session scan A f998acb34c71
diagnostics-and-tooling is a skill published in the GitHub repository richardthe3rd/cambridge-beer-festival-app (2 stars, last pushed yesterday), licensed MIT. It adds 217 tokens to every session and 7,389 once invoked, about $0.0011 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-31.
Other skills, from other repositories
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.
langsmith-observability
LLM observability platform for tracing, evaluation, and monitoring. Use when debugging LLM applications, evaluating model outputs against datasets, monitoring production systems, or building systematic testing pipelines for AI applications.
experimental-code-coverage-local-debugger
Runs code coverage locally via Universal Test Runner (UTR) or helper scripts, mimicking LUCI trybots. Activate when CQ tryjobs fail or underreport coverage, to test local GN/recipe repairs before uploading, or to debug hermetic crashes.
adversarial-reviewer
Adversarial code review that assumes bugs exist and hunts for them. Use when asked to review code, find bugs, audit for correctness, stress-test a PR, or when someone says "tear this apart" or "what's wrong with this". Give no benefit of the doubt — every line is guilty until proven innocent.
cli-e2e
Write, modify, or debug Docker-based Composio CLI end-to-end tests under ts/e2e-tests/cli, including binary invocation, fixture isolation, output assertions, and package manifests. Use for CLI E2E test suites only; use cli-command for CLI source implementation.
work
Deliver one maintainer-approved EmDash issue, choosing the bug-fix path for a defect and the direct implementation path for an enhancement or task.