/mthines-agent-skills:telemetry-verify --env <local|preview> --from <ISO> --to <ISO> [--host <host>] [--driver playwright|chrome] [--brief <plan.md>] [--out <findings.jsonl>] [--pr <url|n>] [--no-comment]from mthines-agent-skills
Reads closed traffic windows from a previous verification run, traces acceptance criteria from web events through backend traces to database, and surfaces errors behind green UIs, slow paths, and missing signals. Posts findings to a PR verify report.
Ships in mthines-agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The browser proves what the user saw; this skill proves what the services saw while they saw it.
It reads closed time windows of traffic someone else produced and returns one TELEMETRY block.
It never produces traffic, never edits code, and never widens the window to find something.
Skill("telemetry-verify", "--env <local|preview> (--windows <probes.jsonl> | --from <ISO-8601 UTC> --to <ISO-8601 UTC>) [--host <preview host>] [--driver playwright|chrome] [--brief <plan.md path>] [--out <findings.jsonl path>] [--pr <url|number>] [--no-comment]")
Callers run it in a sub-agent, so query results stay out of their context, and pass --no-comment, because they post the receipt in their own region:
Agent(subagent_type="general-purpose", prompt="Run Skill(\"telemetry-verify\", \"<args> --no-comment\") and return only its TELEMETRY block")
Use general as the sub-agent type on OpenCode and Dash0 Agent0.
| Argument | Meaning |
|---|---|
--env | The environment in .agents/aw/environments.yml the traffic ran against |
--from, --to | The traffic window, recorded by the caller immediately before and after it |
--windows | A probes.jsonl whose lines carry id, window_start, window_end, and optional log_offsets: read them all in one pass, from the first start to the last end, and attribute each record to the window that contains it |
--host | The preview host; filters web events to this run's pages |
--driver | The browser driver; chrome is the user's own browser, so sessions cannot be isolated |
--brief | plan.md; its telemetry: acceptance criteria become expectations. Default .agent/{branch}/plan.md when it exists, else the telemetry: and api: lines of the PR's intent region (--pr; written by aw-verify) |
--out | Append findings to this file in the aw-verify skill's findings record shape |
--pr | The PR whose verify comment gets the telemetry region; default the current branch's PR (gh pr view --json url) |
--no-comment | Post nothing; every calling skill passes it |
Resolve .agents/aw/telemetry.yml and environments.yml plus the personal overlay (~/.agents/aw/config.yml → repos.<owner>/<name>), as the aw-verify skill's rules/config.md defines.
Take the first row that applies; each prints its line and returns verdict: null, except the row that falls back to the logs backend:
| Condition | pipe: line |
|---|---|
No .agents/aw/environments.yml | skipped (no .agents/aw config — run /aw-verify setup) |
backend: none | skipped (telemetry.backend: none) |
backend: dash0-mcp, no connected tool ends in getSpans or getWebEvents, and the brief has no telemetry: criterion | skipped (no Dash0 MCP server connected) |
The same, and the brief has a telemetry: criterion | Do not skip: fall back to the logs backend |
The window holds only browser traffic and the app ships no web SDK (no telemetry.yml → web block, no @dash0/sdk-web dependency) | skipped (no web SDK in this app) |
With --windows, --from is the first window_start and --to the last window_end.
If now < --to + ingest_wait_seconds, sleep the difference.
Query from = --from − 30 s and to = --to + 30 s, the same on every retry.
✗ Wrong — 0 events → widen to the last 15 minutes → judge what came back (someone else's traffic)
✓ Right — 0 events → wait 30 s → re-query the same window, at most 4 attempts
Prove the backend can see the window before reading any absence as good news.
Every component that served traffic in the window, and the web SDK when browser traffic ran, must have left at least one record.
A component that served requests and left nothing is missing-signal; zero records everywhere after the retries is pipe: inconclusive (no records in window), never clean.
A signal the environment does not export (for example logs that go only to stdout) is not-exported (<signal>), not missing-signal; read it from the process log under the window's log_offsets.
Collect them per rules/expectations.md:
telemetry: acceptance criterion in the brief, refused when it is by-construction.Spend queries in this order and stop as soon as every expectation and AC has a verdict; about 12 calls covers a run:
telemetry: criterion and per new signal.getTraceDetails only for an AC whose window had an error, or whose path you cannot otherwise confirm.Read only the backend file and rules/receipt.md § Output; the other rule files are for disputes.
Run the backend file's queries for steps 2–4 of rules/receipt.md: journeys, errors, performance.
backend | File | Sees |
|---|---|---|
dash0-mcp | rules/dash0-mcp.md | Spans, logs, metrics, and web events in a Dash0 dataset |
logs | rules/logs.md | Service logs the stack driver captured, plus browser console and network evidence |
A configured backend that is unreachable is pipe: skipped (<reason>) unless the brief has a telemetry: criterion; never swap backends silently.
A telemetry: acceptance criterion is a promise, so an unreachable backend is a reason to look another way, not to stop.
Run the logs backend (rules/logs.md) over the same windows (service logs under log_offsets, the browser console, and the network requests the browser sent), name the swap on the pipe: line, and grade each criterion from that evidence:
| Result | Grade |
|---|---|
| The event, span name, or log line the criterion names shows up in that evidence | confirms, with pipe: logs (fallback — dash0-mcp unreachable) |
| The evidence shows it absent where the path runs | contradicts |
| The signal only exists in the backend (a server span, a database child) | ambiguous, and the criterion is ⏭️ not verified on target (needs <backend>), naming the one thing that would settle it |
✗ pipe: skipped (no Dash0 MCP server connected) # AC-3 [telemetry:notification.saved] left ungraded
✓ pipe: logs (fallback — dash0-mcp unreachable) # AC-3 confirms: web event notification.saved fired once per save
Print exactly the block in rules/receipt.md § Output, and append findings to --out when given.
telemetry regionRun on its own (no --no-comment), post the receipt as the telemetry region of the PR's one verify report (the description on your own PR, else a comment), per the aw-verify skill's rules/pr-comment.md (its § When to post gate, and its script):
node "${CLAUDE_SKILL_DIR}/../aw-verify/scripts/verify-comment.mjs" --pr <pr-url> --section telemetry --file .agent/<branch>/telemetry-verify/comment-telemetry.md
Region body, in the aw-verify skill's rules/pr-comment.md § Layout shape, a ### headline because it may sit under an aggregate region:
### <✅ Telemetry confirms | ❌ Telemetry contradicts | ⚠️ Telemetry is ambiguous | ⏭️ Telemetry not graded> — <what the services recorded, in the user's words>
<One sentence: which journeys were recorded end to end.> <under a ✅ with nothing open: **Nothing needs your attention.**>
<the attention section, per the `aw-verify` skill's `rules/pr-comment.md` § Attention line: `#### Why not ✅` under ⚠️, ❌, and ⏭️ (`#### Needs you` under a ✅ with an open critical/high finding), then one `- **<what the user would notice>** (<tag>) → <next step>` bullet per `contradicts` journey (`failed check`), ambiguous journey and what would settle it (`ambiguous`), or reason it was not graded and the fix (`not graded`), then each open critical/high finding; omitted under a ✅ with nothing open>
<sub>`<head-sha7>` · <env> · window <from> → <to> · updated {{UPDATED}}</sub>
#### What I checked
<details><summary>✅ <b>Save a view</b> → traced from the click to the database</summary>
click "Save" → POST /api/views 201 (84 ms) → views-service PUT (21 ms) → postgres INSERT (4 ms). [trace 4bf92f35](<Dash0 link>)
<sub>Proves AC-2</sub>
</details>
<details><summary>Details</summary>
**Run details**
**telemetry-verify** · head `<head-sha>` · `<env>` · window <from> → <to> · backend <backend and scope>
- pipe: <the pipe line>
- verdict: <confirms | contradicts | ambiguous | null>
| ID | Kind | Severity | What happened | Evidence |
| --- | --- | --- | --- | --- |
</details>
Row glyphs: confirms ✅, contradicts ❌, ambiguous ⚠️, null ⏭️.
One row per journey, <what the user did> → <what the services recorded>; a contradicts row comes first and is <details open>, every other row is closed.
Evidence is a link from the backend's URL tool (generateDash0Url) or a trace ID; never a log file path.
Print comment: <comment-url> (region telemetry), or the not posted (<reason>) / failed (<reason>) line.
telemetry region.rules/. Datasets, services, and thresholds come from .agents/aw/.skipped (<reason>) line printed.TELEMETRY block printed exactly; findings appended when --out was given.telemetry region posted, or a comment: not posted (<reason>) line.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (mthines/agent-skills) — no native marketplace selected
npx claudepluginhub p/mthines-mthines-agent-skills54 skills in this plugin
/ai-engineeringReviews and guides LLM/AI application engineering — prompts, caching, RAG, agent loops and tools, resilience, model migration, evals, prompt-injection defence, and observability. Invoke with /ai-engineering for "review my prompt", "set up RAG", or "write evals".
/animationsAuthors performant CSS-first web animations and picks the right feedback for an interaction — transitions, View Transitions, scroll-driven motion, Motion for React, reduced motion, and perceived performance. Triggers on "animate this", "hover effect", "feel faster", "skeleton loader", "/animations".
/animations-nativeAuthors performant React Native / Expo animations and gestures with Reanimated and react-native-gesture-handler on the UI thread; web animations go to `animations`. Triggers on "reanimated", "react native animation", "gesture handler", "swipe gesture", "/animations-native".
Other plugins' skills for the same job