/harness-ops:changelog <fetch|diff|status|apply> [--ci] [--unattended] [vA..vB|vX|text]from harness-ops
Ingests Claude Code release changelogs into the repo: fetch, diff (impact over a release range), status (read marker), and apply (one PR per owner plugin). Use when a new CC version is released or changelog text is pasted.
Ships in harness-ops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Arguments. <fetch|diff|status|apply> [--ci] [--unattended] [vA..vB|vX|text]. Full form: <action> [--ci] [--unattended] [vA..vB|vX|text]. Actions: fetch (default on passive mention), diff, status, apply (explicit only). --ci applies to apply only. --unattended, anywhere in the arguments, is the caller declaring that nobody is present: take it out before reading the action and the range or text, never read it as either, and under it make no /release-notes suggestion. The bare word unattended is not this flag
bash "${CLAUDE_PLUGIN_ROOT}/skills/changelog/scripts/changelog-status.sh" --no-fetch 2>/dev/null | head -4 || echo "(status script unavailable)"Arguments: $ARGUMENTS
Ingests Claude Code changelog entries and hands their decisions to the repo's stage skills. Covers the arc: read upstream changes → orient on repo impact → research new features → scope with the user → run what fits the session through the marketplace stage skills, one PR per owner plugin → file the rest as work items → native drift. diff reports decisions about components, not a list of items.
Distinct from:
/harness-ops:known-issues. Tracks CC bugs/workarounds. This skill integrates CC feature changes into repo config/docsThree ways to provide changelog content (priority order):
/harness-ops:changelog diff v2.1.257..v2.1.263 covers both ends inclusive; apply v2.1.263 covers that one release/harness-ops:changelog diff (no range) runs from the read marker to the newest published releaseThe read marker, the default range, and the replay cap are defined in
context/read-actions.md and computed by
scripts/changelog-status.sh; every action starts by running it.
On every apply or diff invocation, compare the newest release in the range against the active terminal's CC version. The status script reports both as latest and installed and emits a warn line when the installed version is older:
claude update) or changes may reference features not yet available in your session."One line in the repository's upstream ledger for Claude Code releases (default
docs/upstream/claude-code.md, override HARNESS_OPS_CHANGELOG_LEDGER) records the newest release
the repository has been read against. status reads that line; with no ledger it falls back to the
highest version named in a Conventional Commits subject of the form
chore(<scope>): address Claude Code v<A>..<B> changelog, and it never reads commit bodies, because
a body's "verified against Claude Code v<X>" is a doc's recency stamp, not an apply.
A range wider than ten releases or 300 core items exceeds the replay cap. diff and apply then
stop and recommend a docs-conformance recheck of the components against the current docs, followed
by a marker set at the newest published release: the docs carry the cumulative state, and replaying
items past the cap costs more than it returns.
Parse $ARGUMENTS to extract the action (first token) and remaining arguments.
| Action | Description | Detail |
|---|---|---|
apply | Hand-off: ingest → explore → research → scope gate → stage skills per owner-plugin PR, larger decisions filed as issues → native drift. Consumes the diff working set | See "Action: apply" below |
fetch | Fetch + display changelog for a version or range. Read-only | See "Action: fetch" below |
diff | Resolve the range, apply the cap, emit decision rows by owner surface plus a docs-lag section. Read-only | See "Action: diff" below |
status | The read marker and its source, installed vs newest release, the default range, the cap verdict | See "Action: status" below |
help | Show action table | (inline) |
Routing (model-invocable):
fetch or diff (read-only). Never apply.v2.1.152) or range-only token (v2.1.150..v2.1.152) without explicit apply intent → fetch for that version or range.apply only when user explicitly requests integration (apply, apply changelog, /harness-ops:changelog apply, or unambiguous implement-this-release intent).If action is unknown, show action table.
apply mutates the repo. Run only on explicit user intent per routing above. When the model
detects a new CC release in conversation, default to fetch or diff and offer apply. Do not
auto-start the hand-off.
apply plans, edits and verifies nothing itself. It reads the release, asks the user which decisions
are in scope, and hands each one to the marketplace skill that owns that stage, as Phases 3 and 4 set out.
apply --ciOnly the literal --ci token selects this path, and it needs an explicit release or range. It
replaces every question in Phases 3 to 5 with the evidence rule in
context/ci-mode.md: only a verified, cited correct row confined to one owner
plugin and not security-relevant is committed, on a local branch per owner plugin; every other row
becomes a handoff. It asks nothing, pushes nothing, opens no PR, files nothing and never moves the
read marker. It writes ci-plan.json for the calling workflow, rewriting it as each step finishes so a
stopped run still publishes what it finished, and ends with ci-plan: <path> and
status: <stopped|planned>. Where the phases below say to ask, confirm or file, --ci follows that
file instead.
Resolve the range, check the cap, and check version alignment:
--range <lowest>..<highest> so the cap is judged on the pasted releases and never on the repository's default feed. Pasted text with no version at all skips the cap--range as given--range; the default range from the read marker applies--range. If cap reads exceeded, stop and relay the recommend line; the hand-off does not run past the cap. Relay any warn line per "Version awareness" abovediff saved one for this range and it passes the checks under "Persistence" in context/decisions.md: apply consumes it, resolves no content, and re-fetches only what a recheck trigger names. Otherwise continuereleases line names out of a local copy of the changelog per the fetch route in context/read-actions.md2.1.257-001), summary, category (feature / fix / UI / internal), affected surface (if identifiable). Ids and the working-set directory are defined in context/decisions.mdOrient on repo impact for each changelog item. Run bash "${CLAUDE_SKILL_DIR}/scripts/discover-surfaces.sh" first: its output is the surface list, and context/repo-surfaces.md gives per-class examples and scoped grep patterns:
context/classification-rubric.md into one action lens per owner surface it touches: correct, replace, adopt, note, or skipOutput: decision rows grouped by owner surface, per context/decisions.md. The work fans out by release cluster with no Workflow script; see "Fan-out shape" there.
For rows needing enrichment (correct rows with behavioral changes, adopt rows with unclear scope):
Spawn parallel research subagents. One per feature cluster, each receiving the explorers' questions (use a Claude Code documentation-focused agent type when available)
Instruct each subagent to ground every claim in the page itself (a docs page through bash "${CLAUDE_PLUGIN_ROOT}/scripts/fetch-docs.sh" --cache --out <dir> <slug>, a changelog entry through bash "${CLAUDE_PLUGIN_ROOT}/scripts/fetch-docs.sh" --cache --profile generic --out <dir> <changelog-url>, a GitHub issue by curl) and to return citations with each claim. Treat any uncited subagent claim as unverified and re-verify it against official docs before acting on it. A local verifier then checks the repo-side facts. Before dispatching it, run bash "${CLAUDE_PLUGIN_ROOT}/lib/read-verification.sh" --plugin harness-ops --skill changelog and copy its line into the output (levels). Under light, and off, which acts as light here, dispatch no local verifier, here or in apply's re-check of saved rows, and never check those facts yourself in its place: mark each row it would have checked unverified and write verification: skipped (<level>)
Research targets per item type:
Synthesize research into enriched rows
Present the decision rows to the user via AskUserQuestion or structured markdown:
| # | Owner surface | Lens | Items | Required sentence | Action needed |
|---|---------------|------|-------|-------------------|---------------|
| 1 | <component> | correct | <ids> | <false vs true> | <specific update> |
| 2 | <component> | adopt | <ids> | <problem solved> | <adopt, decline, or defer pending probe> |
The user picks which rows are in scope: "all rows", "just correct", or specific rows by number. A row left out is reported at the end and recorded only when the user declines it, with its reopen condition in the ledger's Declined table.
Then sort each in-scope row by whether it fits this session. A row fits when its edits stay in its owner plugin and one session can plan, make and verify them. A row is too large when it redesigns a component, changes behavior across several plugins, or needs work this session cannot finish and verify. Show the sort with the rows and let the user move a row across.
/planning:plan (if enabled) for the edit plan, /implementation:implement (if enabled)
for the edits and /verification:confirm (if enabled) for the
check. A stage whose plugin is not enabled is not done by
hand here: report the rows that needed it as not executed, naming the plugin to enable. A
replace row is never edited: nominate it into /harness-ops:audit-native-overlap/work-items:track (if enabled), carrying the owner surface, lens, required sentence, item ids and range. That
issue is worked later in its own PR, behind an interview-style human gate before any edit. When
the work-items plugin is not enabled, report the row and file nothing. List the rows to file and
file them only after the user confirms that batch; a row the user does not confirm is reported, not
filed/harness-ops:known-issues. They are never a decision rowCHANGELOG.md
entry. The upstream ledger update is the last PR and references the others. Every commit subject
reads chore(<plugin>): address Claude Code v<A>..<B> changelog, the ledger's taking the
ledger owner's scope. The ledger PR moves the read marker only once every row in the range is
applied in a merged PR, nominated, recorded as declined or deferred, or filed, and stops below the first
release that still has a row outside those states, so no unfinished row drops out of the next
default range. status reports it from the ledger and, until the ledger exists, from that subjectRe-read what Claude Code ships and file what moved. Run the inventory self-check, a full
--binary-only --docs extraction, and overlap detect and self-check, then
scripts/native_drift.py to diff against the previous run's summary and evaluate the overlap
store's recheck triggers. Report surface changes (added, removed, renamed, reclassified),
invocability and marker changes, docs cross-check changes, and new overlap candidates. File one
work item per new candidate, fired trigger, and degraded or broken self-check through
/work-items:track (if enabled), deduped by a native-drift:<kind>:<surface>:<component> key; a self-check
degraded only by a CLI version past the validated build proposes revalidation instead. A repository
with no overlap store is report-only: report, file nothing, keep the baseline. Commands,
the summary's location, items, dedupe and approval: context/native-drift.md.
Its commands write this skill's directory as <skill-dir>, which is ${CLAUDE_SKILL_DIR}; put that
path in place of the placeholder before running one.
When the harness-config plugin is enabled, also run its effort-pin drift check directly, with that plugin's install directory in place of the placeholder:
bash <harness-config plugin root>/skills/audit/scripts/check-effort-pins.sh
Report its lines with the native-drift report. Exit 1 means model-config's effort tables or
per-model defaults moved, or a pin names a level the page does not list: each flagged pin waits on
a person to re-decide it and rebaseline, as the /harness-config:audit (if enabled) effort-pins scope
documents. Exit 3 means the page was unread or reshaped, so the check made no claim; say so.
Without the harness-config plugin, report that the effort-pin check was not run.
Then list the behavior probes the range touches, against the same local copy of the changelog:
python3 "${CLAUDE_PLUGIN_ROOT}/skills/behavior-probes/scripts/probe.py" recheck --changelog <changelog.md> --range <A..B>
Each line names a case, the changelog item id and the tag that matched. Report them with the drift
report. Rerunning them live costs model runs, so offer /harness-ops:behavior-probes live for those
cases and run nothing until the user agrees.
End the run with a report that leads with what waits on the user (rows left out of scope, rows
filed or reported unfiled, stages skipped for a plugin not enabled), then the PRs opened and what each
changed, what /verification:confirm (if enabled) showed, the docs-lag pairs handed off, and the Phase 5 drift
report with the items filed or skipped.
The three read-only actions stop short of any edit. Full steps in context/read-actions.md.
Its fetch command writes this skill's directory as <skill-dir>, which is ${CLAUDE_SKILL_DIR}; put
that path in place of the placeholder before running it.
fetch. Read the raw changelog through the plugin's fetch-changelog.sh, which picks the source and writes the .md to a file; slice releases locally with the plugin's changelog-releases.sh --blocks) and display a version, a range, or the newest release. No edits. End with the /release-notes suggest sentence in Boundary, the built-in /release-notes command belowdiff. Run the status script; stop at an exceeded cap with its recommendation; otherwise Phase 0 (ingest) + Phase 1 (explore) + Phase 2 (research) over the releases in range, stopping before the scope gate. Emits decision rows grouped by owner surface, each with its lens and required sentence, plus a docs-lag section, and saves its working set for apply. Answers "is this range worth an apply?"status. Run the status script and relay: the read marker and its source (ledger line or commit subject, never a commit body), installed vs newest release, the default range, and the cap verdict with its recommendation/release-notes commandBoth surfaces show Claude Code release notes, so "what changed in Claude Code" can mean either.
/release-notes (built-in command): shows release notes in the session. It is reserved for
the person to run; the model does not invoke it. Records:
reference/native-release-notes.md.diff, status), and integrates it (apply).Native suggestions are on unless native_suggestions resolves off: a personal <home>/harness-ops.local.yaml value wins over the team <home>/harness-ops.yaml value (<home> is what bash "${CLAUDE_PLUGIN_ROOT}/lib/resolve-convention-home.sh" prints, docs/conventions on exit 1; on any other exit skip both files, as ${CLAUDE_PLUGIN_ROOT}/scripts/registry-dir.mjs does), which wins over the per-user value ${user_config.native_suggestions} (a literal unexpanded token means unset); with none set they are on. A value other than on or off is named and that layer dropped: a valid higher layer still wins, otherwise on, never a lower layer's value. When off, skip the sentence below and write nothing in its place, not even a note that it was skipped or why.
Routing. At the end of fetch, relay this sentence to the person and do not run /release-notes
yourself: If /release-notes is available in your session (gate basis: not gated in our extraction of Claude Code 2.1.333, though a host may lack it) and native suggestions are on (native_suggestions, Configuration), run it to only read a release's notes yourself. Keep diff, status and apply here.
When the caller passes --unattended, omit the sentence and write
Withheld suggestion (unattended): /release-notes in the output.
Mutation gate. This skill never runs /release-notes; of this skill's actions only apply
edits the repository, on explicit intent.
/harness-ops:audit-native-overlap./work-items:triage./harness-ops:inventory./harness-ops:behavior-probes live.| File | Load when |
|---|---|
context/read-actions.md | Running fetch, diff, or status; the read marker, range, cap, and fetch route are defined there. |
scripts/changelog-status.sh | Every action's first step; --help lists its output lines and flags. Covered by scripts/changelog-status.test.sh. |
context/decisions.md | Writing or reading decision rows, choosing where a decision is recorded (plugin CHANGELOG, audit-native-overlap nomination, ledger, filed issue), fanning out, or saving and reusing the working set. |
context/repo-surfaces.md | Phase 1 explore, after running scripts/discover-surfaces.sh: per-class examples of what an item changes, and scoped grep patterns. |
context/classification-rubric.md | Assigning a lens (correct, replace, adopt, note, skip) to an item, and defending a skip. |
context/ci-mode.md | Running apply --ci: the branch rule, handoff kinds, branches, and the ci-plan.json format. |
context/native-drift.md | Running apply Phase 5: the extraction commands, the previous-run summary, the drift report, and filing its items. |
reference/native-release-notes.md | Describing /release-notes to the person, or rechecking the decisions behind its Boundary section. |
scripts/native_drift.py | Phase 5's summary, diff and trigger evaluation. Covered by scripts/test_native_drift.py. |
context/ci-mode.md (opens in a new tab)context/classification-rubric.md (opens in a new tab)context/decisions.md (opens in a new tab)context/native-drift.md (opens in a new tab)context/read-actions.md (opens in a new tab)context/repo-surfaces.md (opens in a new tab)evals/evals.json (opens in a new tab)evals/fixtures/changelog-current.md (opens in a new tab)evals/fixtures/changelog-repo.md (opens in a new tab)evals/fixtures/changelog-sample.md (opens in a new tab)evals/fixtures/consumer-repo/CLAUDE.md (opens in a new tab)evals/fixtures/git-log-body-mentions.txt (opens in a new tab)evals/fixtures/ledger-marker.md (opens in a new tab)evals/fixtures/owner-surfaces.md (opens in a new tab)evals/fixtures/release-decisions.md (opens in a new tab)reference/native-release-notes.md (opens in a new tab)scripts/changelog-status.sh (opens in a new tab)scripts/changelog-status.test.sh (opens in a new tab)scripts/discover-surfaces.sh (opens in a new tab)scripts/discover-surfaces.test.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
bashThree short reads, in order
changelog, release-notes, version-management, repo-integration
18 skills in this plugin
/audit-install-stateAudit install stateRead-only audit of `~/.claude` and `~/.claude.json`: the deep inventory of unmanaged files. Use when: 'what is in my ~/.claude', 'why is my Claude Code install so big', 'does Claude Code clean up after itself', 'check cleanupPeriodDays', 'is this lock file dead', 'tidy my Claude Code install'. Deleting: /disk-hygiene:clean./audit-mod-postureAudit mod postureRead-only audit of mods this Claude Code can run (installed and built-in mods, hooks, calls, sec-default guard state); never loads a mod or prints settings. Use when 'mod posture', 'audit my mods', 'can a mod bypass my deny rules', or which mods run here. Not for writing a mod or settings correctness: /harness-config:audit./audit-native-overlapAudit native overlapMap where repo skills and agents duplicate native Claude Code surfaces; read-only unless apply bakes an approved reference. Use when 'does this skill duplicate a built-in', 'refresh the native-surfaces registry', 'which of our skills overlap bundled skills', or what Claude Code already ships. Not for enumerating invocables: /harness-ops:inventory.npx claudepluginhub melodic-software/claude-code-plugins --plugin harness-opsOther plugins' skills for the same job