second-brain-merge
Skill1.5k starsChanged 3 months agoMITView on GitHub
Merge two pages that describe the same thing, preserving every distinct claim, redirecting inbound links, and recording the merge. Use this skill when the user approves a duplicate merge, says "these are the same page", "merge X into Y", or asks to clean up near-duplicates that a lint run proposed. Do NOT use to merge pages on your own judgement, to delete a page outright, or to split one page into several.
Trending
More talk lately.thin dataabout the whole repository
Who's talking about undefined-ui/second-brain-os
- cbartens/bkit“Review and adopt second-brain-os patterns”GitHub · Nov 4, 2026
- doobidoo/mcp-memory-service“dashboard graph: click-to-focus, filters that fade instead of re-layout, edge-type filter, jump-to-node search”GitHub · Nov 4, 2026
- sudosubin/agents.nix“claude-code-marketplaces.github.undefined-ui.second-brain-os: 0-unstable-2026-11-02 → 0-unstable-2026-11-03”GitHub · Nov 4, 2026
- sudosubin/agents.nix“claude-code-marketplaces.github.undefined-ui.second-brain-os: c9589f7 → df8d278”GitHub · Nov 2, 2026
- sudosubin/agents.nix“claude-code-marketplaces.github.undefined-ui.second-brain-os: 0-unstable-2026-10-14 → 0-unstable-2026-11-02”GitHub · Nov 2, 2026
The biggest 5 of 13 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 13
Talked about on GitHub (13 times).
On GitHub · 13
- Nov 4, 2026Review and adopt second-brain-os patterns — cbartens/bkit0 reactions · 1 comment
- Nov 4, 2026dashboard graph: click-to-focus, filters that fade instead of re-layout, edge-type filter, jump-to-node search — doobidoo/mcp-memory-service0 reactions · 4 comments
- Nov 4, 2026claude-code-marketplaces.github.undefined-ui.second-brain-os: 0-unstable-2026-11-02 → 0-unstable-2026-11-03 — sudosubin/agents.nix0 reactions
- Nov 2, 2026claude-code-marketplaces.github.undefined-ui.second-brain-os: c9589f7 → df8d278 — sudosubin/agents.nix0 reactions
- Nov 2, 2026claude-code-marketplaces.github.undefined-ui.second-brain-os: 0-unstable-2026-10-14 → 0-unstable-2026-11-02 — sudosubin/agents.nix0 reactions
8 more on GitHub
- Oct 29, 2026claude-code-plugins.github.undefined-ui.second-brain-os: 0-unstable-2026-10-14 → 0-unstable-2026-10-07 — sudosubin/agents.nix0 reactions
- Oct 29, 2026claude-code-plugins.github.undefined-ui.second-brain-os: init at 0-unstable-2026-10-14 — sudosubin/agents.nix0 reactions
- Oct 28, 2026claude-code-marketplaces.github.undefined-ui.second-brain-os: init at 0-unstable-2026-10-14 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.undefined-ui.second-brain-os: init at 0-unstable-2026-09-21 — sudosubin/agents.nix0 reactions
- Sep 29, 2026[Study] Explain an affair: decision history, evidence changes and explicit gaps — bacoco/alfred-chatgpt0 reactions
- Sep 27, 2026Add fork notice (upstream license and ownership; no upstream changes) — bdickie9/second-brain-os0 reactions
- Sep 25, 2026undefined-ui/second-brain-os: An AI second brain that maintains itself — hanzhad/squelch-news-engine0 reactions
- Aug 3, 2026further reading — vib-training-conferences/agentic-coding-with-github-copilot0 reactions
In this repository18 other files it gives its agents.
- vault-template/CLAUDE.mdCLAUDE.md
- second-brain-backfillSkill
- second-brain-changed-my-mindSkill
- second-brain-chat-importSkill
- second-brain-graphSkill
- second-brain-ingestSkill
- second-brain-lintSkill
- second-brain-metricsSkill
- second-brain-privacySkill
- second-brain-projectSkill
- second-brain-publishSkill
- second-brain-querySkill
- second-brain-quizSkill
- second-brain-renameSkill
- second-brain-reportSkill
- second-brain-reviewSkill
- second-brain-transcriptSkill
- second-brain-writeSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 20
Never merge unprompted. Propose, wait for approval, then follow the procedure exactly.
- Distinctive: line 26
Merge content: Every distinct claim survives with its source.
- Distinctive: line 47
If the two pages disagree about anything factual, that is a signal they may not be duplicates.
- Very specific: line 50
Never merge a page marked maintained_by: human into another without explicit confirmation naming that page.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Merge duplicate pages
A merge is irreversible in the way that matters: afterwards you cannot tell which claim came from which page. Two ideas that look identical from their summaries are often a general case and a specific one.
Core rule
Never merge unprompted. Propose, wait for approval, then follow the procedure exactly.
Workflow
- Pick the survivor by canonical name, not by which page is longer.
- Merge content. Every distinct claim survives with its source. Overlapping claims collapse; differing ones both stay, following the contradiction rules.
- Merge aliases, including the dead page's title as an alias on the survivor. This is what keeps old links and the user's memory working.
- Redirect inbound links to the survivor. Check every backlink.
- Delete the old page, or leave a stub only if it was linked from outside the vault.
- Record in
log.md: both names, the date, and why.
Output format
Merged: [[old]] -> [[survivor]]
Claims kept from old page: <n>
Aliases added: <list>
Inbound links redirected: <n>
Conflicts recorded: <none | description>Calibration
If the two pages disagree about anything factual, that is a signal they may not be duplicates. Surface the disagreement and ask before proceeding.
Never merge a page marked maintained_by: human into another without explicit
confirmation naming that page.
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.

