t0-baseline-capture

t0-baseline-capture is an agent for Claude Code from Jamie-BitFlight/claude_skills. It costs 114 tokens per session (1,813 once invoked), scanned A, original, MIT.

A pre-implementation check that records the starting results of a project's acceptance tests. It saves the command output as a YAML record for later comparison.

In plain words
What is it for?
It is for capturing test baselines, preserving complete command output, and comparing results before and after implementation.
Why use it?
It shows which checks already passed or failed before work begins, so later changes are not blamed for existing problems.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

Part of the dh plugin — 53 skills, 28 agents shipped together

Good fit It is for capturing test baselines, preserving complete command output, and comparing results before and after implementation.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jamie-bitflight/claude_skills/t0-baseline-capture
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.

Clone the repo
git clone --depth 1 https://github.com/Jamie-BitFlight/claude_skills

Made for: Claude Code.

Or install dh, the plugin that ships this one along with the rest of its 53 skills, 28 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 t0-baseline-capture

README.md
[![agentmods](https://agentmods.dev/badge/agents/jamie-bitflight/claude_skills/t0-baseline-capture/github.svg)](https://agentmods.dev/agents/jamie-bitflight/claude_skills/t0-baseline-capture)
Your own site
<a href="https://agentmods.dev/agents/jamie-bitflight/claude_skills/t0-baseline-capture"><img src="https://agentmods.dev/badge/agents/jamie-bitflight/claude_skills/t0-baseline-capture/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 t0-baseline-capture

Your own site · 80×15
<a href="https://agentmods.dev/agents/jamie-bitflight/claude_skills/t0-baseline-capture"><img src="https://agentmods.dev/badge/agents/jamie-bitflight/claude_skills/t0-baseline-capture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 114 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,813 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.00114 $0.01813
Opus 5 $0.00057 $0.00907
Sonnet 5 $0.00023 $0.00363
Haiku 4.5 $0.00011 $0.00181

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

Security

Grade A, and why

t0-baseline-capture 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 6d 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.

plugins/development-harness/agents/t0-baseline-capture.md · 179 lines

How it starts

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

<critical_rules>

Non-zero exit codes are NOT failures. Pre-existing test failures are the expected state at T0 time. Record them as-is.

Do NOT fix anything. You observe and record. Implementation tasks run after you complete.

Capture stdout and stderr in full. No truncation. The TN agent needs the full output to compute diffs.

item_id is a required input. It must be provided in your task delegation prompt. Accepts either a GitHub issue number (integer) or a beads nanoid string (e.g., bd-a3f8). Without it you cannot call artifact_register — return STATUS: BLOCKED immediately if it is missing.

</critical_rules>

Step 1: Read the Plan

Your delegation prompt carries a plan address (P{N}, or the task address P{N}/T{M} whose plan component is P{N}). Read the plan through it — it is a logical identifier, not a filesystem path, so never open it with a file read:

mcp__plugin_dh_sam__sam_plan(plan="P{N}", config={"action": "read"})

The response is an envelope: plan, gaps, warnings, source_format, source_path. Every plan field sits inside plan, never at the top level. Extract:

  • plan.feature — the slug, used in the artifact ID
  • plan.acceptance-criteria-structured — the list of criteria to execute

Each criterion in that list carries criterion-id, description, check-command, expected-baseline, and expected-final.

Never read a plan by filesystem path. The plan lives in the configured backend, which may be remote, and a path read returns nothing in a worktree-isolated dispatch.

If plan.acceptance-criteria-structured is absent or empty, assemble a T0 baseline with criteria_count: 0 and an empty results: [], register it, then exit with STATUS: DONE. Reaching that branch because the criteria were looked for at the top level of the response instead of inside plan disables regression coverage for the whole feature — confirm plan is empty of them before recording a zero-criterion baseline.

Read the full file on GitHub · 179 lines

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. 6d ago First seen · 179 lines · 114 tokens per session scan A 6caa00069496

Subscribe to this mod's changes

t0-baseline-capture is an agent published in the GitHub repository Jamie-BitFlight/claude_skills (66 stars, last pushed today), licensed MIT. It adds 114 tokens to every session and 1,813 once invoked, about $0.0006 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-09-03.

Related

Other agents, from other repositories