Home / wangchangxin0809 / cc-repo-harness · shared/skills/consolidating-notes/SKILL.md · GitHub

consolidating-notes skillA

consolidating-notes is agent-read markdown (skill) from wangchangxin0809/cc-repo-harness: Fold a pile of agent notes, memories or scratch files back into the repository: freeze the input, synthesize separately, diff, and route each surviving entry to a doc, a guard, a subtree CLAUDE.md, or the little that is truly personal. Use when notes contradict each other or name things that no longer exist, or when asked to clean up or compact memory..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Consolidation

Governs: 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

**Write the synthesis to a new file and leave the input untouched.** Adoption is
then a decision you make after reading a diff of the two. 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.

```bash
python3 scripts/consolidate.py prepare --notes .agent-notes --sessions .agent-sessions
# snapshot is chmod'd read-only; the synthesis writes to .consolidation/candidate/ only
python3 scripts/consolidate.py diff
```

`diff` reports three things, in the order they matter:
…

Read the whole file at its exact version.

How to install

Latest version
mdr add wangchangxin0809/cc-repo-harness/consolidating-notes@git:20260903.c1a383c
Exact content
mdr add wangchangxin0809/cc-repo-harness/consolidating-notes@sha256:575ea37448da5e57

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_wemezr66lhbtee24.svg)](https://markdownregistry.com/a/art_wemezr66lhbtee24)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260903.c1a383c latest2026-09-03 c1a383c 5,826 BA view · diff
git:20260902.7aacbe92026-09-02 7aacbe9 6,065 BA view · diff
git:20260901.a1c3abe2026-09-01 a1c3abe 6,123 BA view · diff
git:20260831.21be7192026-08-31 21be719 6,064 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5826 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

wangchangxin0809/cc-repo-harness · 5 stars · license MIT · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_wemezr66lhbtee24
GET https://markdownregistry.com/api/v1/resolve?ref=wangchangxin0809/cc-repo-harness/consolidating-notes
GET https://markdownregistry.com/api/v1/blob/575ea37448da5e578af8d38ca47fe51252718e5e26f297fb2aad58d90ab6e0a8

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from wangchangxin0809/cc-repo-harness

CLAUDE.md claude
wangchangxin0809/cc-repo-harness · CLAUDE.md
git:20260902.af30b21 · audit A · 5 stars
CLAUDE.md@shared/scripts claude
wangchangxin0809/cc-repo-harness · shared/scripts/CLAUDE.md
git:20260903.face858 · audit A · 5 stars
CLAUDE.md@shared/skills claude
wangchangxin0809/cc-repo-harness · shared/skills/CLAUDE.md
git:20260902.f0e19e0 · audit A · 5 stars
find-skill skill
wangchangxin0809/cc-repo-harness · shared/skills/find-skill/SKILL.md · Find a Claude Code skill or plugin somebody else has already written, and judge whether to install it. Use before…
git:20260903.c1a383c · audit A · 5 stars
github-surface skill
wangchangxin0809/cc-repo-harness · shared/skills/github-surface/SKILL.md · Write what GitHub itself reads: README, CONTRIBUTING, the community-health files (SECURITY, CODE_OF_CONDUCT, LICENSE…
git:20260903.c1a383c · audit A · 5 stars
project-memory skill
wangchangxin0809/cc-repo-harness · shared/skills/project-memory/SKILL.md · Use when recalling project decisions, remembering reusable discoveries, consolidating memory, or withdrawing outdated…
git:20260922.d26f46b · audit A · 5 stars
repo-index skill
wangchangxin0809/cc-repo-harness · shared/skills/repo-index/SKILL.md · Query the repository's own graph before grepping: which modules, files and documents a symbol, an import or a Governs…
git:20260903.c1a383c · audit A · 5 stars
writing-checks skill
wangchangxin0809/cc-repo-harness · shared/skills/writing-checks/SKILL.md · Enforce a convention with machinery instead of prose: PreToolUse guards that refuse an action before it runs, gates…
git:20260903.c1a383c · audit A · 5 stars
writing-docs skill
wangchangxin0809/cc-repo-harness · shared/skills/writing-docs/SKILL.md · Write or restructure documentation agents and people actually read: which of the four directories it belongs in…
git:20260903.c1a383c · audit A · 5 stars
bootstrap-repo-harness skill
wangchangxin0809/cc-repo-harness · skills/bootstrap-repo-harness/SKILL.md · Lay a repository's agent harness: CLAUDE.md, hooks, docs/, gates, guards. Use when an agent repeats a mistake or a…
git:20260903.a42ab40 · audit A · 5 stars

Every file in wangchangxin0809/cc-repo-harness

Browse by kind, by grade A, or by owner.