From second-brain
Drop unprocessed material (a file, a URL, or pasted text) into the current project's raw inbox for later refinement into wiki notes. Usage: /second-brain:capture <path|url> | "<text>" | --list | --discard <id> | --node <slug>.
How this skill is triggered — by the user, by Claude, or both
Slash command
/second-brain:captureThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Hold unprocessed material in the active project's raw inbox
Hold unprocessed material in the active project's raw inbox
(~/.second-brain/projects/<slug>/raw/) until the maintainer refines it into wiki
nodes. Raw items are not searched — they are a staging area, surfaced as a
backlog count at session start.
Map the user's argument to a raw-capture-cli action and run it. The CLI resolves
the active project, stamps provenance, copies blobs, and dedups by content hash.
CLI="${CLAUDE_PLUGIN_ROOT}/mcp/dist/tools/raw-capture-cli.bundle.js"
<path> or <url> or inline "text" → node "$CLI" capture <arg> [--node <slug>]node "$CLI" paste [--node <slug>] (reads stdin)--list → node "$CLI" list--discard <id> → node "$CLI" discard <id>--prune-processed → node "$CLI" prune-processed — delete this project's processed + discarded audit-trail items (unprocessed and malformed are kept). Opt-in cleanup, off by default: processed raw .md files are normally kept as provenance + the drain's truncation-recovery trail, and are never searched (search is scoped to ~/knowledge/wiki/), so keeping them has no retrieval cost. To make the drain prune automatically after each batch, set SB_RAW_PRUNE_AFTER_DRAIN=1.--node <slug> records that the item is evidence for an existing wiki page
(provenance only — the link is projected later when the maintainer processes it).
Relay the CLI's output. If it reports "could not resolve the active project", tell
the user to cd into their project directory first.
Creates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.
npx claudepluginhub cain-ish/claude-code-plugin --plugin second-brain