Skip to content
Back to skills

Agentmeasure

ASecurity

Check whether agent telemetry preserves measurement semantics. Use when a user asks whether retries inflate counted usage, whether an operation differs from an attempt, whether token metrics double count a subset (reasoning inside output), whether cache hits or cached replays distort counts, or wants conformance tests for agent metrics and observability claims. 中文触发:遥测语义核查、重试计数、用量口径、token 重复计数、Agent 用量指标一致性检验。

  • 218 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 19, 2026
ai-agentspythonbashgit

Works with

  • cli

Security analysis

A100/100

Scanned September 19, 2026

npx -y skills add roy-tong/AgentMeasure --skill agentmeasure --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agentmeasure?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agentmeasure
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/roy-tong-agentmeasure/badge)](https://www.skillsdirectory.com/skills/roy-tong-agentmeasure)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agentmeasure
description: Check whether agent telemetry preserves measurement semantics. Use when a user asks whether retries inflate counted usage, whether an operation differs from an attempt, whether token metrics double count a subset (reasoning inside output), whether cache hits or cached replays distort counts, or wants conformance tests for agent metrics and observability claims. 中文触发:遥测语义核查、重试计数、用量口径、token 重复计数、Agent 用量指标一致性检验。
---

# AgentMeasure — Measurement Conformance

This Skill routes measurement-semantics questions to AgentMeasure's local runners. It does not move telemetry anywhere.

## First success (offline, deterministic)

```bash
git clone https://github.com/roy-tong/AgentMeasure && cd AgentMeasure
python3 conformance/pack/agentmeasure selftest          # Pack fixtures, PASS / FAIL / UNPROVABLE
python3 conformance/pack/agentmeasure conformance \
  --fixture conformance/vectors/external/urusilla-001/agentmeasure_urusilla_fixture_001.events.jsonl
./examples/demo-e2e.sh                                  # 42 calls -> 84 canonical observations, deterministic
python3 conformance/runners/run_metrics.py              # 21/21 vectors PASS
python3 verify_vectors.py                               # receipts / correlation / operation grouping
```

These commands run locally. The Pack reads the caller-supplied FMT-002 fixture;
`selftest` is deliberately separate and only checks repository fixtures. No
network, cloud, or credentials are required.

## What to check, and where

| Question | Runner / artifact |
| --- | --- |
| Do retries inflate counted usage? (one operation vs N attempts) | `conformance/vectors/metric-execution-grain.json` |
| Does a selection rate claim hold at its grain? | `conformance/vectors/metric-selection-rate.json` |
| Do declared operation summaries reconcile against attempt rows? | `conformance/vectors/external/urusilla-001/` |
| Does an operation-grain metric aggregate at the wrong grain? | `conformance/vectors/external/urusilla-002/` |
| Can this trace safely support an operation count at all? | `conformance/evidence/langfuse-demo-traces/` (the 0%-coverage case) |

Verdict vocabulary: `PASS` / `FAIL` / `UNPROVABLE`. Ambiguity is retained in
the reason for an `UNPROVABLE` finding; it is not a fourth public verdict.
Report `UNPROVABLE` as a finding, never as zero.

## Boundaries

- Local by default. Nothing is uploaded; a sanitized sample is shared only with explicit authorization.
- A short sample check is not a full audit and claims no causal effect.
- The Pack CLI and root GitHub Action are shipped on `main`. Until a release
  tag explicitly includes the Pack, pin the Action to the verified immutable
  commit `2cf476d6f7d0fc45401db5a822e1f12de009ac74` rather than a moving branch.
- Provider-side usage questions (who called, how often, production traffic) start with the zero-install check described in the repository README.

Catalog entry: `https://raw.githubusercontent.com/roy-tong/roy-tong/main/agent-tools.json`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…