second-brain-rename

Featured

Rename a page safely: update the file, fix every inbound wikilink, add the old 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.

AI & Automation 625 stars 102 forks Updated today MIT

Install

View on GitHub

Quality Score: 89/100

Stars 20%
93
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
61
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 1. **Check the new name** against existing pages and aliases. A rename that collides with an existing alias creates ambiguity the graph cannot resolve. 2. **Rename the file** and update the `title` in frontmatter. 3. **Add the old title to `aliases`.** This keeps external references, the user's memory, and any link you miss working. 4. **Update every inbound link.** Search the whole vault, including `index.md`. 5. **Log it:** old name, new name, links updated. 6. **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.

Details

Author
undefined-ui
Repository
undefined-ui/second-brain-os
Created
2 weeks ago
Last Updated
today
Language
HTML
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

second-brain-merge

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.

625 Updated today
undefined-ui
Code & Development Listed

wiki-edit

Change wiki pages that exist, as one reviewed operation: rewrite or correct a page, rename or move it with every link that names it updated, split a page that grew too big, combine two pages about one thing, restructure folders after a mode or profile change, repair what wiki-review found, and seed the pages the wiki's links want. Use for edit this page, fix this page, rename the page, move the page, split this page, combine these pages, merge these two pages, reorganize the wiki, fix the dead links, fix the lint findings, repair, stub the wanted pages, fill the stubs. New knowledge from a source is wiki-ingest; from the conversation, wiki-save.

0 Updated 2 days ago
nathanaday
AI & Automation Listed

rename-housekeeping

Rewrite stale absolute-path references in memory files after a local repo rename or move. Scans `~/.claude/**`, project `CLAUDE.md`/`AGENTS.md`/`.agents/memory/**`/`.planning/**`/`docs/**`/`.claude/**`, and `~/.cursor`/`~/.codex`/`~/.gemini`. Snapshots writes to `~/.claude/.backups/<ts>/` first. Use when user says "I renamed the repo", "moved this project", "verplaatst", "hernoemd", "fix stale paths", or invokes `/ai:rename-housekeeping <old> <new>`.

1 Updated 2 days ago
yusufkaracaburun