second-brain-publish skillA
second-brain-publish is agent-read markdown (skill) from undefined-ui/second-brain-os: Prepare a subset of the vault for publishing: check opt-in flags, find private material, and report what would leak through links before anything is exported. Use this skill when the user wants to publish notes as a site or digital garden, asks what is safe to make public, or is setting up an export. Do NOT use for exporting a single document, or for running the publishing tool itself..
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
# Prepare to publish Once something is crawled, it is out. Every check here is cheap; the failure it prevents is permanent. ## Core rule Explicit opt-in only. A page publishes because it says `publish: true`, never because nothing excluded it. ## Workflow 1. **List the opt-in set.** Every page marked for publication. 2. **Follow their links.** A published page linking to a private one either leaks the title or produces a dead link. Report both. 3. **Scan for anything that should never ship:** credentials, other people's private information, confidential work, personal detail in examples. 4. **Check the frontmatter** for fields not meant to be public, such as confidence labels or private source paths. 5. **Report, do not export.** The user runs the build. ## Output format ``` Publishable: <n> pages Links to unpublished pages: <n> [[public page]] -> [[private page]] Flagged content: <list with reasons> Frontmatter to strip: <fields> Verdict: <safe to build | fix these first> ``` ## Calibration Err toward flagging. A false positive costs the user ten seconds; a miss is permanent. If the user asks to publish the whole vault, ask what they intend to do about …
Read the whole file at its exact version.
How to install
mdr add undefined-ui/second-brain-os/second-brain-publish@git:20260908.1615b29mdr add undefined-ui/second-brain-os/second-brain-publish@sha256:e61dccdb0b46c7afPin 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_h7fmrmofv74qucvz)
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 (1689 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_h7fmrmofv74qucvz GET https://markdownregistry.com/api/v1/resolve?ref=undefined-ui/second-brain-os/second-brain-publish GET https://markdownregistry.com/api/v1/blob/e61dccdb0b46c7af7c10e688cb810eb25e1761d0dfe4cdd2e06176664fe1b3a3
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.