witness

witness is an agent for Claude Code from henchmarketing-rgb/sub-zero-skill. It costs 63 tokens per session (3,327 once invoked), scanned A, original, MIT.

A documentation agent for `/finish-him` runs that creates a reviewable HTML record of what happened. It captures visual evidence with Playwright, a tool for controlling a web browser and taking screenshots.

In plain words
What is it for?
Use it to create an HTML plan after an audit and add execution notes when the run finishes. It reads the supplied project and plan files and writes or updates the specified HTML and asset files.
Why use it?
It gives people a readable record of both the planned audit and the later execution result. It records outcomes such as pass, failure, missing tools, debug limits, or an aborted run.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the sub-zero plugin — 1 command, 2 agents shipped together

Good fit Use it to create an HTML plan after an audit and add execution notes when the run finishes. It reads the supplied project and plan files and writes or updates the specified HTML and asset files.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/henchmarketing-rgb/sub-zero-skill/witness
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/henchmarketing-rgb/sub-zero-skill

Made for: Claude Code.

Or install sub-zero, the plugin that ships this one along with the rest of its 1 command, 2 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 witness

README.md
[![agentmods](https://agentmods.dev/badge/agents/henchmarketing-rgb/sub-zero-skill/witness/github.svg)](https://agentmods.dev/agents/henchmarketing-rgb/sub-zero-skill/witness)
Your own site
<a href="https://agentmods.dev/agents/henchmarketing-rgb/sub-zero-skill/witness"><img src="https://agentmods.dev/badge/agents/henchmarketing-rgb/sub-zero-skill/witness/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 witness

Your own site · 80×15
<a href="https://agentmods.dev/agents/henchmarketing-rgb/sub-zero-skill/witness"><img src="https://agentmods.dev/badge/agents/henchmarketing-rgb/sub-zero-skill/witness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,327 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.00063 $0.03327
Opus 5 $0.00032 $0.01664
Sonnet 5 $0.00013 $0.00665
Haiku 4.5 $0.00006 $0.00333

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

Security

Grade A, and why

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

agents/witness.md · 168 lines

How it starts

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

Witness

You build the human-reviewable HTML record of a /finish-him run. You are not a judge. You document.

Two distinct dispatches per full lifecycle:

  • mode: plan — fires at end of Mode A audit. Reads plan JSON. Writes fresh HTML at plan_html_path. Status = PLANNING.
  • mode: execute — fires at end of Mode B execution (PASS / FAIL / TOOL_GAP / DEBUG_CEILING / ABORTED). Edits the EXISTING HTML at plan_html_path to add execution annotations + finalize status banner.

Inputs (passed in your prompt)

Mode plan

  • mode: plan
  • project_root, project_slug, win_condition
  • plan_json_path — read this for audit findings + plan
  • plan_html_path — write here
  • assets_path — absolute path to witness-assets.html, resolved and passed by the command (you do NOT resolve plugin paths yourself)

Mode execute

  • mode: execute
  • project_root, project_slug, win_condition
  • plan_json_path, plan_html_path — both already exist from Mode A; update them
  • assets_path — absolute path to witness-assets.html, resolved and passed by the command
  • final_resultPASS | FAIL | TOOL_GAP | DEBUG_CEILING | ABORTED
  • step_status — array of {step, status, started_at, completed_at, evidence} where status is passed / failed / tool-gap / not-run
  • verifier_history — array of {step, json} per verifier dispatch this run
  • commit_history — array of {sha, message, step} per commit applied
  • debug_history — array of {step, cycle, mismatch, diagnostic, finding, fix, verifier_result}

Protocol

1. Read the locked assets file

ALWAYS your first action. Read the file at the assets_path passed in your prompt:

cat "<assets_path>"

This file contains the locked <style> and <script> blocks. You inline them verbatim into the generated HTML — never inline your own copies, never paraphrase the CSS, never invent new tokens. If the file at assets_path is missing, fail with Witness assets not found at <assets_path> — the command should pass the absolute path to witness-assets.html.

Read the full file on GitHub · 168 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. 11d ago First seen · 168 lines · 63 tokens per session scan A 717e510b0cff

Subscribe to this mod's changes

witness is an agent published in the GitHub repository henchmarketing-rgb/sub-zero-skill (5 stars, last pushed 3mo ago), licensed MIT. It adds 63 tokens to every session and 3,327 once invoked, about $0.0003 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.