Tooluck logoTooluck
SKILL.md

second-brain-publish

Agent skill fromundefined-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.

How to install second-brain-publish

install second-brain-publish
# install the second-brain-os pack with the skills CLI
npx skills add undefined-ui/second-brain-os

# or add only this skill to Claude Code: copy the folder

skills/second-brain-publish/

# into

~/.claude/skills/second-brain-publish/ (all projects)

.claude/skills/second-brain-publish/ (one project)

skills/second-brain-publish/SKILL.md

MITFull file
1# Prepare to publish
2
3Once something is crawled, it is out. Every check here is cheap; the failure it
4prevents is permanent.
5
6## Core rule
7
8Explicit opt-in only. A page publishes because it says `publish: true`, never
9because nothing excluded it.
10
11## Workflow
12
131. **List the opt-in set.** Every page marked for publication.
142. **Follow their links.** A published page linking to a private one either
15 leaks the title or produces a dead link. Report both.
163. **Scan for anything that should never ship:** credentials, other people's
17 private information, confidential work, personal detail in examples.
184. **Check the frontmatter** for fields not meant to be public, such as
19 confidence labels or private source paths.
205. **Report, do not export.** The user runs the build.
21
22## Output format
23
24```
25Publishable: <n> pages
26Links to unpublished pages: <n>
27 [[public page]] -> [[private page]]
28Flagged content: <list with reasons>
29Frontmatter to strip: <fields>
30Verdict: <safe to build | fix these first>
31```
32
33## Calibration
34
35Err toward flagging. A false positive costs the user ten seconds; a miss is
36permanent.
37
38If the user asks to publish the whole vault, ask what they intend to do about
39the private material rather than proceeding.

Excerpt shown under the repository's MIT license.

More skills in second-brain-os

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

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

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates