>- 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.
npx skills add https://github.com/undefined-ui/second-brain-os --skill second-brain-publish
Once something is crawled, it is out. Every check here is cheap; the failure it
prevents is permanent.
Explicit opt-in only. A page publishes because it says publish: true, never
because nothing excluded it.
leaks the title or produces a dead link. Report both.
private information, confidential work, personal detail in examples.
confidence labels or private source paths.
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>
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
the private material rather than proceeding.
Take undefined-ui/second-brain-publish from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.