harness

harness is a skill for Claude Code from tozhax/plumbwork. It costs 97 tokens per session (5,867 once invoked), scanned B, original, MIT.

An engineering workflow for planning, executing, and checking software changes with written specifications, task lists, dependency checks, and automated verification gates. It also covers dependency upgrades and long-running work across multiple sessions.

In plain words
What is it for?
Use it to plan features, bug fixes, API or database work, dependency upgrades, architecture decisions, and larger engineering projects.
Why use it?
It reduces missed requirements and unverified changes by turning work into explicit steps with checks before delivery.

Skill for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: mentions subagents; mentions Gemini CLI.

Good fit Use it to plan features, bug fixes, API or database work, dependency upgrades, architecture decisions, and larger engineering projects.

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

Made for: Claude Code.

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 harness

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tozhax/plumbwork/harness"><img src="https://agentmods.dev/badge/skills/tozhax/plumbwork/harness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,867 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00097 $0.05867
Opus 5.5 $0.00039 $0.02347
Sonnet 5.5 $0.00019 $0.01173
Haiku 4.5 $0.00010 $0.00587

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

Security

Grade B, and why

harness scanned grade B with 1 finding 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 2d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

* *Procedure:* Run all Tier 2 gates plus `deep-grill` and an ADR (`~/.gemini/config/skills/harness/references/adr.md`).
skills/harness/SKILL.md · 287 lines

How it starts

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

Harness: Autonomous Software Engineering Scaffolding & Verification Gate

An engineering harness built around Agent = Model + Harness. The model supplies reasoning; the harness enforces execution hygiene, computational sensors, and deterministic gates.


1. The 3-Tier Execution Ladder & Workflow Routing

Classify every task into one operational tier before writing code:

  • Tier 1 (Trivial / Fast Path):
    • Scope: 1-2 files and <20 changed lines (typos, minor CSS or copy updates, localized single-function fixes).
    • Procedure: Skip heavy tasks.md or multi-agent pipelines unless GEMINI.md Critical Exceptions or Rules 9, 11, 13 apply.
    • Gate: Run syntax/type checks and targeted unit tests directly before delivery.
  • Tier 2 (Standard Production - Default Harness Engine):
    • Scope: 1-2 files with >=20 changed lines, or 3-8 files (features, bug fixes, API endpoints, queries, UI components).
    • Plan: Write implementation_plan.md (§4.A) with AC-1..N (§4.E) and track steps in tasks.md.
    • Blast Radius: Map callers via plumb-guard code-map blast-radius <symbol>; escalate >8 files to Tier 3.
    • Auditors (Targeted): Dispatch spec-consistency-auditor on formal specs, ADRs, state machines, or safety cores.
    • Auditors (Boundaries): Dispatch security-boundary-verifier (authz/silent security bypasses) and silent-failure-hunter (general swallowed errors) on auth, crypto, storage, or financial seams.
    • Auditors (Contracts & Scope): Dispatch contract-change-auditor on public schema/API shifts, test-adequacy-auditor on caller/data shifts, and simplicity-auditor on new helpers or > +150 net lines.
  • Tier 3 (High-Volume / Architectural Refactoring):
    • Scope: >8 files, cross-system architectural migrations, schema redesigns, or authentication protocol overhauls.
    • Procedure: Run all Tier 2 gates plus deep-grill and an ADR (~/.gemini/config/skills/harness/references/adr.md).
    • Verification: Run plumb-guard code-map audit-bundle and dispatch the selective Tier-3 matrix: 3 core (test-adequacy-auditor, simplicity-auditor, silent-failure-hunter) plus conditional lenses (contract-change-auditor, security-boundary-verifier, spec-consistency-auditor, meta-auditor).
    • Multi-Window & Opt-In: Use ~/.gemini/config/skills/harness/references/marathon.md, native_swarm (§5.F), or opt-in ~/.gemini/config/templates/procoder.SKILL.template.md.
  • Vertical Slices & Target Verification:
    • Deliver narrow, end-to-end demoable slices within one context window.
    • Verify exact target service, bound port, and database/environment instance before editing or migrating.
  • Specialized Skill Routing by Task Shape:
    • Restructuring: refactoring (~/.gemini/config/skills/refactoring/SKILL.md): pin behavior first; never mix behavior shifts.
    • Performance/size: sweetspot (~/.gemini/config/skills/sweetspot/SKILL.md): measure baseline first; enforce 3-Zone Gate.
    • Multi-window (W1..Wn): ~/.gemini/config/skills/harness/references/marathon.md (/marathon).
    • Dependency bumps: ~/.gemini/config/skills/harness/references/dependency-upgrade.md (/dependency-upgrade).
    • Legacy revival: renew (~/.gemini/config/skills/renew/SKILL.md).
    • Cross-lang Rust ports & FFI: rustify (~/.gemini/config/skills/rustify/SKILL.md).
    • Intra-Rust & greenfield: rust-harden (~/.gemini/config/skills/rust-harden/SKILL.md).
    • Poka-yoke types/states: ~/.gemini/config/skills/harness/references/mistake-proofing.md (/mistake-proofing).
    • Seam-first tests: ~/.gemini/config/skills/harness/references/test-design.md (/test-design).
    • Fixed-timestep games: game-engineering (~/.gemini/config/skills/game-engineering/SKILL.md) + DESIGN.md (MODE: GAME & INTERACTIVE).
    • Audio/video/image pipeline: media-studio (~/.gemini/config/skills/media-studio/SKILL.md).
  • Multi-Skill Orchestration Recipes:

Read the full file on GitHub · 287 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. 2d ago First seen · 287 lines · 97 tokens per session scan B 5aeb7307185d

Subscribe to this mod's changes

harness is a skill published in the GitHub repository tozhax/plumbwork (33 stars, last pushed 2d ago), licensed MIT. It adds 97 tokens to every session and 5,867 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.

Related

harness compared with skills from other repositories

harness next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
harnesstozhax/plumbworkSkill332d agoMITB97Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82kyesterdayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k6d agoMITA21Claude Code