视觉画布设计
canvas-design
基于设计原则创作静态视觉作品,用于海报与品牌图形。
second-brain【文档与办公】When you want to capture into, compile, query, lint, or connect your personal Second Brain. Wraps the Karpathy LLM Wiki schema (Obsidian or any markdown vault) — raw/ (unprocessed sources), wiki/ (AI-compiled interlinked topic pages), outputs/ (generated artifacts). Tool-agnostic in design but defaults to a vault at ${SECOND_BRAIN_VAULT:-$HOME/Docume…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Wraps an existing Second Brain in Obsidian (or any markdown-based vault). The wiki vault's schema doc (CLAUDE.md or AGENTS.md) is the authoritative schema — the skill orchestrates the operations the user has been doing manually.
Three layers, each with a clear role:
raw/ → wiki/ → outputs/
sources compiled generated
artifacts
article-, idea-, highlights-, braindump-, note-, resource-, tweet-). Never deleted — source of truth.[[wikilinks]]. INDEX.md at root.Folders to leave alone during wiki ops: Projects/, Daily/, Templates/, Inbox/, Notes/, Tasks.md, Kanban.md, Home.md.
references/vault-config.md for the vault path (default: ${SECOND_BRAIN_VAULT:-$HOME/Documents/SecondBrain}/)<vault>/CLAUDE.md or <vault>/AGENTS.md, whichever exists (if both, read both) — for the authoritative schema. If present, trust it over references/schema.md — the user's vault is the source of truth.references/schema.md.| Invocation | Mode |
|---|---|
/sb capture / /second-brain capture / "capture this" / "save this to my brain" | capture |
/sb compile / "compile the wiki" / "process raw notes" | compile |
/sb query <question> / "ask my brain X" / "what does my brain say about Y" | query |
/sb lint / "lint the wiki" / "health check my brain" | lint |
/sb connect / "find connections" / "suggest wikilinks" | connect |
/sb search <term> / "search my notes for X" | search |
Inputs: URL, pasted text, file path, or screenshot.
article-highlights-braindump- or idea-tweet-resource-note-<type>-<kebab-case-topic>.md (e.g., article-andrew-wilkinson-tiny-manual.md). Use the source title or topic — not the URL slug.source: <URL if applicable>
captured: YYYY-MM-DD
<vault>/raw/.Don't compile into the wiki here — capture is fast intake. Compilation is a separate, deliberate pass.
The expensive but valuable operation. Process unprocessed raw files into wiki pages.
wiki/*.md for Sources sections; the raw files NOT listed are unprocessed.wiki/INDEX.md.[[wikilinks]] for every related concept## Sources section with a one-line note on what was drawn from itwiki/INDEX.md:
- [[Page Name]] — brief descriptionOutput: list of pages created/updated, what merged where, anything held for clarification.
Answer a question using ONLY the wiki/raw corpus. Different from deep-research (which goes external).
wiki/INDEX.md to identify potentially relevant pages[[wikilinks]] 1–2 hops/deep-research to expandoutputs/<YYYY-MM-DD>-<question-slug>.md with:
--render pdf or --render html was passed, pipe the output through pandoc using the shared stylesheet. See references/schema.md → "Publishing alternatives" for the commands.Health check the wiki.
Check:
[[wikilinks]] to other pages[[wikilink]] between them (suggest /sb connect)Output: prioritized list. Most important first (broken structure beats stale content).
Find pages that should be linked but aren't.
## Connections sectionsQuick grep across wiki/ + raw/ for a term. Return matching files with a 2-line excerpt around the match. Faster than query when the user knows what page they're looking for.
When the vault is git-backed to a hosted remote (GitHub/GitLab), the remote becomes a capture API for agents that don't have filesystem access — cloud agents, scheduled jobs, other machines. Any agent that can reach the git host's API (directly, or through an MCP integration layer like Executor) can read the wiki and capture into raw/ by committing to the default branch.
The discipline that keeps writers from diverging:
git pull --rebase --autostash at the start of any vault work, push after committing. Never assume local is current — a remote agent may have committed since the last session.raw/ with descriptive commit messages. Append-mostly writes to distinct files make conflicts rare, and rebase absorbs interleaved writers cleanly.Verify the loop once end-to-end when setting it up: remote commit via API → local pull → file appears in the vault.
deep-research — when query finds gaps in the wiki, route to deep-research to expand from external sources. Deep-research output can be captured back into raw/ for future compilation.paste — capture content cleanly into raw/ (especially for terminal/CLI captures).business-brainstorm — checks Portfolio of Businesses and Entrepreneurship & Startups wiki pages for relevant context before brainstorming.decide — pull from Personal Philosophy / Productivity & Systems wiki for principles when scoring Q34 ("what principles are we bending"). New: a Decision Log wiki page accumulates the narrative form of decisions over time (the decide archive is the structured form; the wiki page is the story).jab-hook — a Content Ideas wiki page hoppers hooks, frameworks, and stories. /jab-hook drafts pull candidates from there.slide-deck — content drafted in outputs/ becomes deck source; speaker notes can reference relevant wiki pages.pm — Projects/ folder in the vault is off-limits to second-brain; pm owns it. But a Workflow Docs wiki page captures operational patterns that show up across multiple projects.Two other systems following the same raw → wiki → outputs pattern. Both are worth watching as upgrade paths.
llm-wiki skill — off-the-shelf implementation of the 3-folder pattern. Pre-built workflows for compile / query / lint. Useful for comparing schema decisions.person- raw type + People wiki page) and scheduled maintenance (wire compile and lint to fire on a recurring schedule via the loop or compound-engineering:schedule skill).Projects/, Daily/, Templates/, Notes/, Tasks.md, Kanban.md, Home.md, or Inbox/ during second-brain operations. Those belong to other workflows.