harness-stocktake

harness-stocktake is a skill for Claude Code from shimo4228/claude-harness. It costs 33 tokens per session (6,332 once invoked), scanned A, original, MIT.

A process for reviewing an entire coding-agent setup in one report and applying the approved changes on a separate branch. The setup can be the user's shared configuration or one stored inside a project repository.

In plain words
What is it for?
Use it to assess the setup's skills, rules, and hooks, approve or override findings, apply the changes, and receive a final report before merging them.
Why use it?
It gathers related audits into one decision instead of making the author approve many separate changes. It also leaves unresolved items pending rather than guessing.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Good fit Use it to assess the setup's skills, rules, and hooks, approve or override findings, apply the changes, and receive a final report before merging them.

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

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-stocktake

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/shimo4228/claude-harness/harness-stocktake"><img src="https://agentmods.dev/badge/skills/shimo4228/claude-harness/harness-stocktake.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,332 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.00033 $0.06332
Opus 5.5 $0.00013 $0.02533
Sonnet 5.5 $0.00007 $0.01266
Haiku 4.5 $0.00003 $0.00633

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

Security

Grade A, and why

harness-stocktake 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 22d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/__init__.py, scripts/isolated-dry-run.sh, scripts/render_report.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/harness-stocktake/SKILL.md · 376 lines

How it starts

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

harness-stocktake — one report, one approval, one merge

Runs every stocktake over a harness (~/.claude, or a repository's .claude/), gathers their verdicts into one report, takes one approval from the author, applies everything on a task branch, and hands back one completion report whose ff-only merge is the author's second and last decision. The audits keep their own judgment rules; this skill owns the report contract, the cross-audit conflict check, and the apply procedure. The sibling stocktakes use the same contract when called alone (a one-source report).

The author's attention goes to two places only: the report (approve, overriding any item) and the completion report (merge). Everything between them runs to the end without asking. An item that cannot be settled without the author goes to 未決 (pending) in the completion report.

Modes ($ARGUMENTS)

Argument Behavior
none / all Collect from every source below, publish the report, wait for approval
<source> One source only (what a sibling stocktake uses when called alone)
--project <repo> Audit the harness inside a repository instead of ~/.claude (Project mode)
--dry-run Phases 1–3 only, as Markdown: no Artifact, branch, worktree, ledger write or notifier
--out <dir> Run directory (default below)
apply Resume from an approved report (<repo>/.notes/stocktake/latest.json names it)
--unattended Stop after publishing and send the closing lines to a notifier (the scheduled monthly run)

--project, --dry-run and --out combine with each other and with a <source>.

Roots

Every path this skill and its sources name starts at one of two roots:

  • <harness> — where skills, rules, agents, hooks and settings live: ~/.claude, or <repo>/.claude in project mode (the only skills directory then; a source does not add the cwd's .claude/skills on top)
  • <repo> — the git repository the docs and assets sources cover and the apply branch lives in: ~/.claude, or the --project path

Read the full file on GitHub · 376 lines

Files

What ships with it

7 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. 22d ago Changed · +6 lines 3219e4580014
  2. 29d ago First seen · 370 lines · 33 tokens per session scan A c06d442f828d

Subscribe to this mod's changes

harness-stocktake is a skill published in the GitHub repository shimo4228/claude-harness (4 stars, last pushed 7d ago), licensed MIT. It adds 33 tokens to every session and 6,332 once invoked, about $0.0001 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-11-01.

Related

harness-stocktake compared with skills from other repositories

harness-stocktake next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
harness-stocktakeshimo4228/claude-harnessSkill47d agoMITA33Claude Code
agent-adoption-triageshimo4228/agent-adoption-triageSkill21mo agoMITA143Claude Code
git-commitadongwanai/learn-workbuddySkill5631mo agoMITA0Claude Code, Codex
pi-triagesky-valley/piSkill94yesterdayMITA57Claude Code
pi-parity-reviewsky-valley/piSkill94yesterdayMITA54Claude Code
zodanivar/zod-skillSkill24yesterdayMITA217Claude Code, Codex
trailhead-chartToRvaLDz/trailheadSkill37yesterdayMITA138Claude Code