observe-run

observe-run is a skill for Claude Code from mthines/agent-skills. It costs 231 tokens per session (3,432 once invoked), scanned A, original, MIT.

A verification tool that runs a command, reads the telemetry it produced, and compares the observed behaviour with stated expectations. Telemetry is recorded information about what a program did while running, such as calls, retries, errors, and timing.

In plain words
What is it for?
It helps check spans, parent and child operations, duration, error paths, fan-out, attribute cardinality, and ordering immediately after a run.
Why use it?
Ordinary tests can miss runtime behaviour such as unexpected fan-out, swallowed errors, repeated retries, or unbounded metric values.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the mthines-agent-skills plugin — 57 skills, 5 agents shipped together

Good fit It helps check spans, parent and child operations, duration, error paths, fan-out, attribute cardinality, and ordering immediately after a run.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mthines/agent-skills/observe-run
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mthines/agent-skills --skill observe-run
Clone the repo
git clone --depth 1 https://github.com/mthines/agent-skills

Made for: Claude Code.

Or install mthines-agent-skills, the plugin that ships this one along with the rest of its 57 skills, 5 agents.

Wrote 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.

agentmods badge for observe-run

README.md
[![agentmods](https://agentmods.dev/badge/skills/mthines/agent-skills/observe-run/github.svg)](https://agentmods.dev/skills/mthines/agent-skills/observe-run)
Your own site
<a href="https://agentmods.dev/skills/mthines/agent-skills/observe-run"><img src="https://agentmods.dev/badge/skills/mthines/agent-skills/observe-run/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.

agentmods 80×15 button for observe-run

Your own site · 80×15
<a href="https://agentmods.dev/skills/mthines/agent-skills/observe-run"><img src="https://agentmods.dev/badge/skills/mthines/agent-skills/observe-run.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 231 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,432 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00231 $0.03432
Opus 5.5 $0.00092 $0.01373
Sonnet 5.5 $0.00046 $0.00686
Haiku 4.5 $0.00023 $0.00343

Measured 19d ago against content hash 7f27986ea43b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

observe-run 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 19d 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.

skills/quality/observe-run/SKILL.md · 232 lines

How it starts

The opening of the file, as written. The whole thing — 232 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Observe Run

Run a command, then read the telemetry that run just emitted, and grade a stated behavioral claim against it.

A test asserts through a keyhole. A trace of the same execution exposes the whole thing: fan-out that went from 2 calls to 14, a retry that fired 5 times, an error swallowed into a 200, an N+1 query, a user ID landing as unbounded metric cardinality — none of which turns a test red. This skill closes that gap by giving the dev loop a fourth telemetry role this repo did not have: telemetry as verification evidence, read seconds after the run that produced it, rather than telemetry read as coverage, as yesterday's production exposure, or as a post-deploy confirmation.

This SKILL.md is a thin index. Detailed rules live in rules/*.md and load on demand.


Inputs

The inputs are a command plus an expectation set — nothing else.

Skill("observe-run")
  command:      <the command that runs the code under test>      # required
  expectations: <one or more behavioral assertions>              # required; by-construction ones are refused
  rung:         1 | 2                                            # optional; default resolved by rules/rungs.md
  run_id:       <string>                                         # optional; defaults to a generated dev.run.id
  caller:       <invoking skill or agent>                        # logging only

Return value is exactly one verify-behavior receipt, whose final line is [receipt] verdict: <confirms|contradicts|ambiguous|null> — or nothing at all when the self-skip gate below fires.

This skill has zero dependency on any aw artifact. It takes no worktree for granted, reads no plan artifact, and checks no acceptance-criteria ledger. It runs anywhere a command can run.


The self-skip gate

Before doing any work, resolve the repo's committed Observability Profile (<repo>/memory/observability-profile/INDEX.md, written by measurable setup — see skills/quality/measurable/rules/setup-profile.md) and check it names a dev run target (the field measurable setup now asks for — see Integration: measurable).

Read the full file on GitHub · 232 lines

Files

What ships with it

6 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.

Changes

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.

  1. 19d ago Changed 7f27986ea43b
  2. 25d ago Changed · -1 lines · -24 tokens per session 6695850ef8f3
  3. 29d ago Changed · +27 lines 14a3f6187af9
  4. 1mo ago First seen · 206 lines · 255 tokens per session scan A b610d213daa6

Subscribe to this mod's changes

observe-run is a skill published in the GitHub repository mthines/agent-skills (19 stars, last pushed today), licensed MIT. It adds 231 tokens to every session and 3,432 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-09-15.

Related

Other skills, from other repositories

skill-body

Call help() or help("page.click") to print signatures and uncommon options of APIs named below; it prints by itself, so do not wrap it in console.log. For installation or connection problems, read references/install.md in the ego-browser Skill directory.

citrolabs/ego-lite · 0 tokens

ego-browser

When you need a browser, read this Skill by default. Use it to open and operate websites, fill forms, click buttons, take screenshots, extract page data, sign in, and perform other browser automation tasks, as well as web app testing, dogfooding, QA, bug investigation, and app-quality review. ego-browser (ego-lite) is…

citrolabs/ego-lite · 125 tokens

ego-lite-simplify

Find and implement evidence-backed simplifications in the ego-lite repository. Use when reviewing the codebase for dead code, duplicated state or APIs, speculative abstractions, unnecessary compatibility layers, hand-written infrastructure, excessive tests or documentation, or when the user asks to reduce code size or…

citrolabs/ego-lite · 68 tokens

temporal-developer

Develop, debug, and manage Temporal applications across Python, TypeScript, Go, Java, .NET, Ruby, and Rust. Use when the user is building workflows, activities, workers, or background job queues with a Temporal SDK, debugging issues like non-determinism errors, stuck workflows, or activity retries, using Temporal CLI…

temporalio/skill-temporal-developer · 165 tokens

custom-icons

Create or refine custom icon assets as native or traced SVGs and transparent PNG/WebP files. Use when the user asks for a bespoke icon or cohesive icon set, wants an image traced into a clean vector, or needs a detailed or 3D icon with transparency.

JKc66/custom-icons-skill · 57 tokens

geekx-gate

A review framework for deciding whether an engineering idea or technical commitment is necessary, too broad, or premature. It examines the real problem, complexity, evidence, non-goals, and ease of reversal.

geekjourneyx/geekx-skills · 155 tokens