ref-supersede
Skill109 starsChanged 38 days agoMITView on GitHub
Handle a validity transition on a reference entity — a contract renewal, role change, or re-termed price where a full prior snapshot matters. Creates the new status:active note (with valid_from/valid_until), marks the old note status:superseded + superseded_by:[[New]], keeps both for history, and reindexes. Human-gated. Distinct from ref-ingest overwrite (which replaces the body + logs one line); use supersede only when the prior snapshot must be preserved. Company is the default scope.
In this repository61 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adviseSkill
- ai-crystallizeSkill
- analyze-kbSkill
- auto-discoverySkill
- benchmark-memorySkill
- brain-mergeSkill
- changelog-protocolSkill
- coherence-sweepSkill
- compute-lifecycleSkill
- create-articleSkill
- create-explanatory-imageSkill
- decideSkill
- deep-researchSkill
- detect-tensionsSkill
- dialecticSkill
- domain-watchSkill
- elicitation-techniquesSkill
- epistemic-classificationSkill
- epub-chapter-extractorSkill
- extract-document-insightsSkill
- extract-insightsSkill
- find-connectionsSkill
- first-runSkill
- get-perspective-onSkill
- get-youtube-transcriptSkill
- git-commit-pushSkill
- graduate-insightsSkill
- incubation-loopSkill
- ingest-sourceSkill
- insight-capture-formatSkill
- insight-interviewSkill
- integrate-recent-notesSkill
- learn-new-thingsSkill
- manage-reference-dataSkill
- manage-thinking-topicsSkill
- manage-watching-domainsSkill
- multi-format-book-extractorSkill
- nano-banana-image-generatorSkill
- propagate-changeSkill
- quick-searchSkill
- reasoning-checksSkill
- recallSkill
- ref-auditSkill
- ref-bridgeSkill
- ref-ingestSkill
- ref-querySkill
- ref-reconcileSkill
- ref-refreshSkill
- refresh-indexSkill
- scheduled-runSkill
- scope-mountSkill
- search-vaultSkill
- self-diagnosticSkill
- start-hereSkill
- synthesize-insightsSkill
- talkSkill
- test-memory-systemSkill
- think-about-itSkill
- update-changelogSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 47
Write the new note; edit the old note to status: superseded + the superseded_by: link.
- Very specific: line 70
Write without explicit approval of the specific transition (human-gated in every scope, including market/).
- Distinctive: line 71
Delete or overwrite the old snapshot (supersede keeps it — that is the whole point).
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Ref Supersede
ℹ️ First, set expectations: before anything else, print one short line with this skill's version and its most recent change — the top entry of
metadata.changelogabove — e.g.ref-supersede v1.0 — recent: initial version. Then proceed.
A validity transition with history preserved. Overwrite-in-place (ref-ingest) is right when the latest fact simply replaces the old one. Supersede is right when the old snapshot itself matters — you want to be able to answer "what was the term of the 2026 Acme Corp engagement?" after the 2027 renewal exists. It keeps both notes: old superseded, new active, linked by superseded_by:.
Read first: resources/layered-brains/COMPANY-BRAIN-SCHEMA.md → "Canonical source of truth" (overwrite body vs. supersede-with-snapshot) + "The temporal model"; resources/layered-brains/REFERENCE-SCOPE-SCHEMA.md → "History".
Human-gated in every scope. Even in market/, a supersede (a structural, two-note change) is a human act — the autonomous market path overwrites, it never supersedes (ref-ingest flags such cases here instead).
State Dependencies
| Source | Location | Read | Write | Description |
| Company family | Brain/Company/*/*.md | ✓ | ✓ (gated) | Old + new entity notes |
| LBS index | resources/local-brain-search/data/ | ✓ | ✓ (reindex) | Rebuilt after the write |
Process
Step 1 — Identify the transition
Resolve the note being superseded (Grep by name/alias). Confirm it is a validity transition (a term/window closed, a role or price was re-termed) and that a prior snapshot is worth keeping — otherwise this is an overwrite; route to /ref-ingest instead.
Step 2 — Draft both notes + get approval
Present the before/after and get explicit approval (AskUserQuestion) before writing:
- New note (
status: active): the current fact, withvalid_from:(andvalid_until:if it has a term), freshas_of/updated,provenance: reference, and the entity's relations. Give it a name that disambiguates the window when needed (e.g.Acme Corp - Trinity Enterprise Build 2027). - Old note (
status: superseded): addsuperseded_by: "[[<New note title>]]"; leave its body as the historical snapshot; re-stampupdatedonly.
Step 3 — Write + chain + log
Write the new note; edit the old note to status: superseded + the superseded_by: link. Append a ## Change Log line to both:
## Change Log
- 2026-07-08 — superseded by [[<New>]] on renewal (source: <...>) # on the old note
- 2026-07-08 — supersedes [[<Old>]]; new term 2027-01 → 2027-12 (source: <...>) # on the new noteStep 4 — Reindex
cd resources/local-brain-search && ./run_index.sh && ./run_daemon.sh restart # :7437, RESTART not reload(No BDG bootstrap — reference notes are BDG-excluded.)
Verification
- Two notes now exist: the old one
status: supersededwith a resolvingsuperseded_by:, the new onestatus: active. /ref-queryfor the entity returns the new (active) fact by default and can surface the old on "what changed?".- Both notes carry a
## Change Logline describing the transition; the old body is intact as the snapshot. /ref-auditreports nostatus/superseded_byintegrity violation for the pair.
This skill must refuse to
- Write without explicit approval of the specific transition (human-gated in every scope, including
market/). - Delete or overwrite the old snapshot (supersede keeps it — that is the whole point).
- Set any provenance but
reference, or crystallize/lifecycle-classify/promote a record into a cognitive insight.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

