Skills for Real Engineers. Straight from my .agents directory.
second-brain-rename
Agent skill fromundefined-ui/second-brain-os
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.
How to install second-brain-rename
npx skills add undefined-ui/second-brain-os# or add only this skill to Claude Code: copy the folder
skills/second-brain-rename/
# into
~/.claude/skills/second-brain-rename/ (all projects)
.claude/skills/second-brain-rename/ (one project)
1# Rename a page23An agent renaming a file directly is the single most common source of broken4links in an agent-maintained vault. Obsidian fixes links when you rename inside5the app; writing the file directly does not.67## Core rule89A rename is four operations, not one. All four, or none.1011## Workflow12131. **Check the new name** against existing pages and aliases. A rename that14 collides with an existing alias creates ambiguity the graph cannot resolve.152. **Rename the file** and update the `title` in frontmatter.163. **Add the old title to `aliases`.** This keeps external references, the17 user's memory, and any link you miss working.184. **Update every inbound link.** Search the whole vault, including `index.md`.195. **Log it:** old name, new name, links updated.206. **Verify** with a link check.2122## Output format2324```25Renamed: [[old]] -> [[new]]26Inbound links updated: <n> across <n> pages27Alias added: <old>28Remaining references: <none | list>29```3031## Calibration3233Do not rename to fix a style preference on a page with many inbound links. The34cost is real and the benefit is cosmetic.3536If the correct name is genuinely ambiguous, ask rather than picking. A second37rename is more disruptive than the first.
Excerpt shown under the repository's MIT license.
More skills in second-brain-os
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
