harness

harness is a skill for Claude Code from nikitaCodeSave/claude-code-harness. It costs 77 tokens per session (5,299 once invoked), scanned A, original, MIT.

A setup guide for Claude Code, including the project files that control its instructions, commands, agents, skills, and hooks.

In plain words
What is it for?
Use it to create, inspect, simplify, or expand a project's Claude Code configuration.
Why use it?
It helps keep an agent setup small, understandable, and free of outdated or duplicated parts.

Skill for Claude Code

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

Part of the harness plugin — 7 skills, 1 hook shipped together

Good fit Use it to create, inspect, simplify, or expand a project's Claude Code configuration.

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

Made for: Claude Code.

Or install harness, the plugin that ships this one along with the rest of its 7 skills, 1 hook.

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/nikitacodesave/claude-code-harness/harness/github.svg)](https://agentmods.dev/skills/nikitacodesave/claude-code-harness/harness)
Your own site
<a href="https://agentmods.dev/skills/nikitacodesave/claude-code-harness/harness"><img src="https://agentmods.dev/badge/skills/nikitacodesave/claude-code-harness/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/nikitacodesave/claude-code-harness/harness"><img src="https://agentmods.dev/badge/skills/nikitacodesave/claude-code-harness/harness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,299 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.00077 $0.05299
Opus 5.5 $0.00031 $0.02120
Sonnet 5.5 $0.00015 $0.01060
Haiku 4.5 $0.00008 $0.00530

Measured today against content hash 62575a830b0b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

harness 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 today.

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/harness/skills/harness/SKILL.md · 299 lines

How it starts

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

Claude Code harness

One opinion: under a capable model, the least harness that works wins. This skill lays down a short list of things and nothing else:

  1. a short root CLAUDE.md — purpose, commands, boundaries — with the marker that has the plugin's SessionStart hook supply the flow text to every session here;
  2. .claude/settings.json — a deny list for what a permission rule can express, and ask where a change needs the operator;
  3. a CLAUDE.md inside each component that has its own commands, invariants or contracts;
  4. the knowledge layer (GLOSSARY.md, ADRs) and the work-state tracker, through the mattpocock-skills plugin.

No custom agents, hooks, commands or skills in the project; no rulebooks copied into it. The flow lives in the plugin (hooks/flow.md), so a kit update reaches every project without a re-sync; its lines each have a named basis — a measurement, a first-party source, published research or established practice (README, How we work — and why); the multi-component layout follows Claude Code's own loading rules.

Templates: templates/CLAUDE.md, templates/component-CLAUDE.md, templates/settings.json.

1. Read the room — no writes

Read before writing anything: claude --version; how much history there is and who works on it (git log, git shortlog -sn); whether a git remote exists (git remote -v, §5); what sits at the root and under .claude/; every CLAUDE.md and AGENTS.md, and other agents' instruction files (.cursor/rules, .github/copilot-instructions.md); workspace manifests and the per-unit manifests below them (Shape); CI configuration (.github/workflows, .gitlab-ci.yml, .circleci, Jenkinsfile); docs/, README*, CONTRIBUTING*, GLOSSARY* and any ADR or decisions directory; whether mattpocock-skills is installed (claude plugin list).

Classify, and state the classification before writing anything:

  • State. New — no code, no history (greenfield is a state, not a blocker). Existing, no harness — code but no CLAUDE.md / .claude/. Existing harness — either exists.
  • Shape. Multi-component when two or more units build or test on their own: a workspace manifest (pnpm / npm / yarn workspaces, Nx, Turbo, Lerna, Cargo [workspace], go.work, a uv workspace, Bazel, Gradle or Maven multi-module, a .sln with several projects), several manifests under apps/ · packages/ · services/, or a compose file building several services.

Read the full file on GitHub · 299 lines

Files

What ships with it

3 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. today Changed · +1 lines 62575a830b0b
  2. yesterday Changed · +12 lines 7b53fc748548
  3. 3d ago Changed · +5 lines 684c4d6baf97
  4. 4d ago Changed · +11 lines 97823766710f
  5. 1mo ago Changed · -43 tokens per session 0fc168f54a2e
  6. 1mo ago Changed · +46 lines · -104 tokens per session 2077aed3cab2
  7. 2mo ago Changed · +8 lines 05d20a29618f
  8. 3mo ago Changed · +4 lines 4755ff7b6a5b
  9. 3mo ago First seen · 212 lines · 224 tokens per session scan A 78f496dca1f3

Subscribe to this mod's changes

harness is a skill published in the GitHub repository nikitaCodeSave/claude-code-harness (4 stars, last pushed yesterday), licensed MIT. It adds 77 tokens to every session and 5,299 once invoked, about $0.0003 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-08-31.

Related

harness compared with skills from other repositories

harness next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
harnessnikitaCodeSave/claude-code-harnessSkill4yesterdayMITA77Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k6d agoMITA21Claude Code