runtime-evidence-and-tracing

runtime-evidence-and-tracing is a skill for Claude Code from yfge/agent-harness-skills. It costs 39 tokens per session (758 once invoked), scanned A, original, MIT.

A guide for connecting observed application behavior to evidence such as logs, metrics, request IDs, run IDs, screenshots, and traces.

In plain words
What is it for?
It is for designing or investigating validation flows, tracing requests and external dependencies, and recording artifacts that distinguish code failures from environment, dependency, or data problems.
Why use it?
It makes runtime testing and diagnosis auditable by showing which execution produced each observation.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agent-harness-skills plugin — 5 skills shipped together

Good fit It is for designing or investigating validation flows, tracing requests and external dependencies, and recording artifacts that distinguish code failures from environment, dependency, or data problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yfge/agent-harness-skills/runtime-evidence-and-tracing
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 yfge/agent-harness-skills --skill runtime-evidence-and-tracing
Clone the repo
git clone --depth 1 https://github.com/yfge/agent-harness-skills

Made for: Claude Code.

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

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 runtime-evidence-and-tracing

README.md
[![agentmods](https://agentmods.dev/badge/skills/yfge/agent-harness-skills/runtime-evidence-and-tracing/github.svg)](https://agentmods.dev/skills/yfge/agent-harness-skills/runtime-evidence-and-tracing)
Your own site
<a href="https://agentmods.dev/skills/yfge/agent-harness-skills/runtime-evidence-and-tracing"><img src="https://agentmods.dev/badge/skills/yfge/agent-harness-skills/runtime-evidence-and-tracing/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 runtime-evidence-and-tracing

Your own site · 80×15
<a href="https://agentmods.dev/skills/yfge/agent-harness-skills/runtime-evidence-and-tracing"><img src="https://agentmods.dev/badge/skills/yfge/agent-harness-skills/runtime-evidence-and-tracing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 758 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.00039 $0.00758
Opus 5 $0.00019 $0.00379
Sonnet 5 $0.00008 $0.00152
Haiku 4.5 $0.00004 $0.00076

Measured 11d ago against content hash 196a32947ede, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

runtime-evidence-and-tracing 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 11d 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/runtime-evidence-and-tracing/SKILL.md · 92 lines

How it starts

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

Runtime Evidence And Tracing

Overview

Make runtime validation auditable by tying observed behavior to runtime evidence through stable IDs and artifacts.

Agents should not only say they tested something; they should leave run IDs, request IDs, logs, screenshots, interaction records, or traces. For shared harness terms, see ../../references/harness-patterns.md; when evidence surfaces are absent, use references/build-when-missing.md. For neutral runtime profiles and redaction policy, see references/runtime-profile-policy.md.

When To Use

  • The user asks to connect, diagnose, or design interactive validation, runtime validation, request IDs, traces, logs, metrics, or artifacts.
  • A production or test-environment issue must be traced from observed behavior to runtime evidence.
  • A flow with external dependencies needs classification as code failure, dependency blocker, environment issue, or data problem.

Inputs Needed

  • Target flow, entry action, command, or interface.
  • Existing logging, request wrapper, headers, and observability endpoints.
  • Artifact directory and run ID naming preference.

Execution Order

  • First: Find the request entrypoint and existing request/log/trace propagation points.
  • Then: Design run IDs, request IDs, artifact bundles, and collection commands.
  • Finally: Output the evidence contract and validation path, including fallback and blocker classification.

Step-by-Step Process

  1. Search request wrappers, service entrypoints, logs, metrics, and trace scripts.
  2. Confirm whether the calling surface can generate or propagate X-Request-ID and X-Harness-Run-ID.
  3. If no evidence contract exists, bootstrap the minimum run artifact contract from references/build-when-missing.md.
  4. Design artifacts/runs/<run_id>/ with manifest, summary, logs, network, screenshots, and trace files.
  5. Define the collection order for the target flow: start, authenticate if needed, operate, wait, read artifacts, and attribute the result.
  6. Define blocker categories: code regression, environment unavailable, external dependency unavailable, data missing, and not evaluable.
  7. Explain how PRs or ledgers should reference artifacts without committing large temporary files.

Read the full file on GitHub · 92 lines

Files

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.

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. 11d ago First seen · 92 lines · 39 tokens per session scan A 196a32947ede

Subscribe to this mod's changes

runtime-evidence-and-tracing is a skill published in the GitHub repository yfge/agent-harness-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 39 tokens to every session and 758 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

deslop

Audit or apply evidence-backed, test-first subtractive cleanup for accumulated agent-created test bloat, verification theater, and defensive or fallback bloat while preserving independent external behavior. Invoke explicitly for semantic simplification, not generic refactoring.

MrZoyo/deslop-GPT · 49 tokens

learning-from-experience

Turns incidents, near misses, bad handoffs, review surprises, escaped bugs, and signals from real use into lasting fixes to your safeguards. Use after something went wrong or nearly did and a future safeguard should change. Do not use during a live incident, which comes first, or to blame someone.

FlyFission/nuclear-grade-context-engineering · 65 tokens

reporting-shared-defects

Routes a defect found in a shared or supplied artifact (a shared prompt, skill, dependency, model, eval, or template) to the downstream teams, agents, and releases that depend on it, not just a local fix. Use when a discovered defect affects others who consume the same artifact. Do not use for a defect local to your…

FlyFission/nuclear-grade-context-engineering · 93 tokens

responding-to-incidents

Runs a live incident the stabilize-first way — name a commander, separate facts from hypotheses, prefer reversible actions, communicate on a cadence, and drive corrective actions to closure. Use when production is broken, data is at risk, or an agent action caused harm. Do not use for routine non-incident work, or as…

FlyFission/nuclear-grade-context-engineering · 80 tokens

add-plugin

Use when installing, disabling, enabling, or troubleshooting a third-party octomux plugin — the manifest row shape, octomux plugins list/disable/enable, reading octomux doctor output, and recovering a broken boot with --safe-mode.

ShreyPaharia/octomux · 53 tokens

create-task

Use when creating an octomux task to dispatch autonomous Claude Code agents for building features, fixing bugs, or any code changes.

ShreyPaharia/octomux · 28 tokens