>- 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.
npx skills add https://github.com/undefined-ui/second-brain-os --skill second-brain-merge
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.
Never merge unprompted. Propose, wait for approval, then follow the procedure
exactly.
claims collapse; differing ones both stay, following the contradiction rules.
survivor. This is what keeps old links and the user's memory working.
the vault.
log.md: both names, the date, and why.Merged: [[old]] -> [[survivor]]
Claims kept from old page: <n>
Aliases added: <list>
Inbound links redirected: <n>
Conflicts recorded: <none | description>
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.
Take undefined-ui/second-brain-merge from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.