second-brain-rename skillA
second-brain-rename is agent-read markdown (skill) from undefined-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..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# 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 …
Read the whole file at its exact version.
How to install
mdr add undefined-ui/second-brain-os/second-brain-rename@git:20260908.1615b29mdr add undefined-ui/second-brain-os/second-brain-rename@sha256:4515f7c1bf1c577aPin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_ao4yc7rcqqifgb22)
1 badge views in 30 days
Versions
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (1700 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
undefined-ui/second-brain-os · 296 stars · license MIT · pushed 2026-09-23 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ao4yc7rcqqifgb22 GET https://markdownregistry.com/api/v1/resolve?ref=undefined-ui/second-brain-os/second-brain-rename GET https://markdownregistry.com/api/v1/blob/4515f7c1bf1c577a4e62aca2806ea79df27abe288938e2c564eb8b7bd45ab274
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.