Skills for Real Engineers. Straight from my .agents directory.
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
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)
1# Prepare to publish23Once something is crawled, it is out. Every check here is cheap; the failure it4prevents is permanent.56## Core rule78Explicit opt-in only. A page publishes because it says `publish: true`, never9because nothing excluded it.1011## Workflow12131. **List the opt-in set.** Every page marked for publication.142. **Follow their links.** A published page linking to a private one either15 leaks the title or produces a dead link. Report both.163. **Scan for anything that should never ship:** credentials, other people's17 private information, confidential work, personal detail in examples.184. **Check the frontmatter** for fields not meant to be public, such as19 confidence labels or private source paths.205. **Report, do not export.** The user runs the build.2122## Output format2324```25Publishable: <n> pages26Links 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```3233## Calibration3435Err toward flagging. A false positive costs the user ten seconds; a miss is36permanent.3738If the user asks to publish the whole vault, ask what they intend to do about39the private material rather than proceeding.
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.
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
Production-grade engineering skills for AI coding agents.
