second-brain-rename

Solid

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 46 stars 7 forks Updated today MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
56
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
61
Issue Health 10%
80
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
3 days ago
Last Updated
today
Language
HTML
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

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.

46 Updated today
undefined-ui
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 today
yusufkaracaburun
AI & Automation Solid

second-brain-lint

Audit a second-brain vault for structural problems and repair them: broken wikilinks, orphan pages, empty stubs, frontmatter that violates the schema, near-duplicate pages, and stale index entries. Use this skill whenever the user asks to lint, clean, audit or check the health of their vault, says pages feel messy or links are broken, after a large bulk import, or when a scheduled maintenance run fires. Do NOT use for ingesting new sources, for answering questions from the vault, or for rewriting page content that is structurally fine but reads badly.

46 Updated today
undefined-ui