consolidating-notes

consolidating-notes is a skill for Claude Code from WangChangxin0809/repo-agent-harness. It costs 126 tokens per session (1,425 once invoked), scanned A, original, MIT.

A skill for merging accumulated agent notes into reliable repository documentation and rules. It freezes the original notes, creates a separate proposed result, and compares the two before adoption.

In plain words
What is it for?
It prepares snapshots, produces a consolidation candidate, reports differences, and routes useful surviving notes to documentation, guards, or subtree instructions.
Why use it?
It helps expose contradictions, outdated information, and lost evidence instead of silently rewriting notes in place.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions CLAUDE.md; mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the repo-agent-harness plugin — 6 skills, 1 agent, 4 hooks shipped together

Good fit It prepares snapshots, produces a consolidation candidate, reports differences, and routes useful surviving notes to documentation, guards, or subtree instructions.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add WangChangxin0809/repo-agent-harness
Claude Code
/plugin install repo-agent-harness

Made for: Claude Code.

Or install repo-agent-harness, the plugin that ships this one along with the rest of its 6 skills, 1 agent, 4 hooks.

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 consolidating-notes

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/wangchangxin0809/repo-agent-harness/consolidating-notes"><img src="https://agentmods.dev/badge/skills/wangchangxin0809/repo-agent-harness/consolidating-notes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,425 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.00126 $0.01425
Opus 5 $0.00063 $0.00713
Sonnet 5 $0.00025 $0.00285
Haiku 4.5 $0.00013 $0.00143

Measured 10d ago against content hash 0aba714f027e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

consolidating-notes 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 10d 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/consolidating-notes/SKILL.md · 127 lines

How it starts

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

Consolidation

Governs: shared/scripts/consolidate.py

Notes accumulate faster than they are corrected. After a few months a pile contains contradictions, entries about flags that were removed, and — buried in it — the measurements that are the only reason any of it is worth keeping.

The mechanism that fixes this is a synthesis pass over a frozen input, producing a separate output you compare before adopting. Claude's Dreams API implements exactly this shape and never mutates its input; the same shape works by hand, and is what the scripts here do.

The invariant

Never synthesize in place. The input is frozen, the output is new, and adoption is a decision you make after reading a diff. In-place editing destroys the evidence needed to tell a good merge from a lossy one, and lossy merges are the normal failure — they read beautifully.

python3 ${CLAUDE_PLUGIN_ROOT}/shared/scripts/consolidate.py prepare --notes .agent-notes --sessions .agent-sessions
# snapshot is chmod'd read-only; the synthesis writes to .consolidation/candidate/ only
python3 ${CLAUDE_PLUGIN_ROOT}/shared/scripts/consolidate.py diff

diff reports three things, in the order they matter:

  1. What is gone. Every measurement, commit hash, and path present in the input and absent from the candidate, quoted. This is the check the whole invariant exists to enable, and it is mechanical — do not do it by eye.
  2. What has no destination. Entries that survived without a ROUTE: line. A consolidation whose output is a tidier pile of notes has moved nothing.
  3. Unchanged / rewritten / dropped / new, by name.

Read 1 and 2. Skim 3.

What must survive verbatim

Two things, and they are the two most likely to be smoothed away because they read as noise:

Measurements and identifiers. 87ms, 3.6s, 9de1104, a file path, a version. Paraphrasing a number destroys it — "noticeably slower" cannot be compared against a later reading, and a rounded commit hash cannot be checked out. Every reading carries the commit it was taken on, or it expires silently.

Read the full file on GitHub · 127 lines

Files

What ships with it

1 file 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. 10d ago First seen · 127 lines · 126 tokens per session scan A 0aba714f027e

Subscribe to this mod's changes

consolidating-notes is a skill published in the GitHub repository WangChangxin0809/repo-agent-harness (2 stars, last pushed 11d ago), licensed MIT. It adds 126 tokens to every session and 1,425 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-31.

Related

Other skills, from other repositories

apply

Use when a staged proposal has been reviewed and signed off — REVIEW.md Step 3 ticked reviewed or provisional — and is ready to promote into the live contextualizer.

nick-railsback/skill-engine · 36 tokens

vault-update

Incrementally update an existing vault — detect code changes via git diff and static file changes via SHA256, then re-analyze and rewrite only affected pages.

burakolgun/vault-anything · 33 tokens

init-workspace-documentation

Skill "init-workspace-documentation" from griddynamics/rosetta, covering agent memory.md, agent memory, preventive rules, what worked and what failed.

griddynamics/rosetta · 10 tokens

keep-the-why

Extract and preserve the reasoning code cannot explain - decisions, rejected alternatives, workarounds, incidents, constraints - plus project setup and maintainer interviews. Not for what changed (see Keep a Changelog) - only why.

oliver-zehentleitner/keep-the-why · 50 tokens

ucai-patterns

Use when the user asks about Claude Code best practices, how to write agents, how to use hooks, how to manage context, or how to work effectively with Claude Code's native systems.

Joncik91/ucai · 42 tokens

orient

Use when user invokes /orient with a topic keyword, entity type, project name, time qualifier, or combination. Also triggers on "what do we know about X", "remind me about X", "where did we leave off on X". Provides targeted context loading — searches the MCP Memory Server graph, knowledge files, journal entries, and…

harnessprotocol/harness-kit · 80 tokens