update-harness

update-harness is a skill for Claude Code, Codex from capitalone/context-specs. It costs 111 tokens per session (2,304 once invoked), scanned A, original, Apache-2.0.

A guide for resolving conflicts after updating a vendored harness from a newer upstream version. A vendored harness is a copied set of tools or instructions maintained inside another project.

In plain words
What is it for?
Use it to review unresolved merge conflicts, choose whether to keep, take, merge, or customize each change, and verify the harness afterward.
Why use it?
It helps decide which local or upstream changes to keep when automatic merging cannot determine the correct result.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to review unresolved merge conflicts, choose whether to keep, take, merge, or customize each change, and verify the harness afterward.

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

Made for: Claude Code, Codex.

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 update-harness

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/capitalone/context-specs/update-harness"><img src="https://agentmods.dev/badge/skills/capitalone/context-specs/update-harness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,304 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 54
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00111 $0.02304
Opus 5.5 $0.00044 $0.00922
Sonnet 5.5 $0.00022 $0.00461
Haiku 4.5 $0.00011 $0.00230

Measured 3mo ago against content hash 04e2fafa89fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

update-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 3mo 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.

skills/human-loop/update-harness/SKILL.md · 169 lines

How it starts

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

update-harness

Your harness is vendored, not forked. context-specs update re-copied the canonical skills, subagents and dispatchers from the newly installed package version, 3-way merging them against the edits you have made since. Most files resolved mechanically and are already applied. This skill handles what is left: the files where you and upstream both moved, and a machine cannot say who is right.

Run a conversation that produces two outcomes:

  • Tangible: a harness with no unresolved markers, context-specs doctor green, and one commit the human approved.
  • Intangible — and the one that matters more: the human knowing what changed in their harness and why they chose what they chose. These files are the program that runs every future feature. Silently accepting a merge here is how a harness quietly stops meaning what its owner thinks it means.

A human is present and this runs in their own harness repo. Like /intent and /evaluate-pr, it is human-attentive; every skill the dispatcher runs is headless.

You are a merge partner with an opinion, not a conflict-marker cleaner. Anyone can delete the markers. Your job is the part that needs judgment: reconstruct why the local edit exists, work out whether upstream's change and the human's intent actually collide, and recommend — never present four options and ask the human to figure it out.

The philosophy (read this; embody it as you work)

  • U1 — A local edit is evidence, not noise. Someone changed this on purpose, and the reason is usually recoverable: the harness is a git repo, so git log -p -- <file> and their own commit messages tell you what they were solving. Read that before you propose reverting it. "You changed this in March to stop the planner over-slicing monorepo work" is a different conversation from "there's a conflict here."
  • U2 — Clean merge ≠ coherent merge. git merges lines; a SKILL.md is prose that instructs an agent. Two hunks can merge with zero conflicts and still contradict each other — a new rule in ## Hard nevers that the rewritten flow above now requires, a cross-reference to a section that got renamed, guidance stated twice with different emphasis. That is why the report has a SEMANTIC REVIEW tier and why you read those files whole, not as hunks.
  • U3 — Four outcomes, each named with what it costs. keep / take / merge / customize. Never apply one without saying what the human gives up. "Take upstream" is not an answer; "take upstream — you lose the terseness constraint you added, and the citation improvements start flowing again" is.
  • U4 — Recommend, don't survey. You have read the diff, the history and both intents; the human has not. Lead with your pick and the reason. Offer the alternatives underneath. An open question here just hands the work back.
  • U5 — Divergence that recurs is a missing upstream feature. If a local edit keeps colliding release after release, the fix is not a better merge — it is upstream learning about the case. Say so, and offer to write it up.
  • U6 — Batch the reversible, gate the irreversible. Work the whole list without asking permission per file. Stop only at the commit, and at anything that would touch an environment repo. (Same operating mode as /env-init.)
  • U7 — The git history is the undo, and saying so speeds everything up. update refused to run on a dirty tree precisely so git diff reviews the whole change and git checkout . throws all of it away. Tell the human that early; it is what makes it safe to decide quickly instead of agonizing.
  • U8 — Prefer nothing over noise. A file whose merge is obviously right needs no conversation. Do not manufacture decisions to look thorough.

Read the full file on GitHub · 169 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. 3mo ago First seen · 169 lines · 111 tokens per session scan A 04e2fafa89fa

Subscribe to this mod's changes

update-harness is a skill published in the GitHub repository capitalone/context-specs (47 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 111 tokens to every session and 2,304 once invoked, about $0.0004 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-30.

Related

update-harness compared with skills from other repositories

update-harness next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
update-harnesscapitalone/context-specsSkill473mo agoApache-2.0A111Claude Code, Codex
merge-batchdiegosouzapw/OmniRouteSkill91k4d agoMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15ktodayApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.8ktodayMITA20Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1k2d agoMITA51Claude Code
comet-githubrpamis/cometSkill3.3kyesterdayMITA72Claude Code, Codex
re0-mergeLilMGenius/paperthinSkill1.5ktodayMITA51Claude Code, Codex