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

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.

agentmods
npx agentmods add skills/capitalone/context-specs/update-harness
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00111 $0.02304
Opus 5 $0.00056 $0.01152
Sonnet 5 $0.00022 $0.00461
Haiku 4.5 $0.00011 $0.00230

Measured 5d ago against content hash 04e2fafa89fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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. 5d 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 (41 stars, last pushed 11d ago), licensed Apache-2.0. It adds 111 tokens to every session and 2,304 once invoked, about $0.0006 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-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens