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.5 | $0.00087 | $0.02956 |
| Sonnet 5.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 2mo 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.
- 2mo 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 (3 stars, last pushed today), licensed MIT. It adds 217 tokens to every session and 7,389 once invoked, about $0.0009 per session on Opus 5.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.
diagnostics-and-tooling compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| diagnostics-and-toolingrichardthe3rd/cambridge-beer-festival-app | Skill | 3 | today | MIT | A | 217 | Claude Code |
| systematic-debuggingopen-metadata/OpenMetadata | Skill | 16k | yesterday | Apache-2.0 | A | 37 | Claude Code |
| log-error-digestzebbern/claude-code-guide | Skill | 4.7k | 3d ago | MIT | A | 71 | Claude Code, Codex |
| cwv-optimizeradobe/skills | Skill | 319 | yesterday | Apache-2.0 | A | 112 | Claude Code |
| ci-fixersipyourdrink-ltd/bernstein | Skill | 1.2k | yesterday | Apache-2.0 | A | 15 | Claude Code, Codex |
| triaging-web-analytics-supportPostHog/posthog | Skill | 41k | yesterday | none | A | 151 | Claude Code, Codex |
| diagnosing-missing-recordingsPostHog/posthog | Skill | 41k | yesterday | none | A | 76 | Claude Code, Codex |