mcpbeat Sign in

Second Brain Rename Agent Skill

>- name as an alias, and log it. Use this skill whenever a page needs a different canonical title, the user says "rename X to Y", asks to fix an inconsistent title, or after a lint run flags naming problems. Do NOT use for merging two pages, for moving a page between folders without a name change, or for renaming files outside the wiki.

425 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
150
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/undefined-ui/second-brain-os --skill second-brain-rename

The instruction itself

5 sections, as written by the author

Rename a page

An agent renaming a file directly is the single most common source of broken

links in an agent-maintained vault. Obsidian fixes links when you rename inside

the app; writing the file directly does not.

Core rule

A rename is four operations, not one. All four, or none.

Workflow

  • Check the new name against existing pages and aliases. A rename that

collides with an existing alias creates ambiguity the graph cannot resolve.

  • Rename the file and update the title in frontmatter.
  • Add the old title to aliases. This keeps external references, the

user's memory, and any link you miss working.

  • Update every inbound link. Search the whole vault, including index.md.
  • Log it: old name, new name, links updated.
  • Verify with a link check.

Output format

Renamed: [[old]] -> [[new]]
Inbound links updated: <n> across <n> pages
Alias added: <old>
Remaining references: <none | list>

Calibration

Do not rename to fix a style preference on a page with many inbound links. The

cost is real and the benefit is cosmetic.

If the correct name is genuinely ambiguous, ask rather than picking. A second

rename is more disruptive than the first.

How to use it

Copy the folder

Take undefined-ui/second-brain-rename from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

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.