| name | sb-pack |
| description | Generate a SecondBrain ContextPack for the given intent — a structured JSON bundle of relevant facts, decisions, open loops, and context from the 6-layer knowledge pyramid. Use before starting a complex task that benefits from pre-loaded domain knowledge. |
| when_to_use | Use when starting a complex task involving multiple domains, when the user says "give me context on X", or when preparing for a planning session. |
| context | fork |
| agent | Explore |
| allowed-tools | Bash(.venv/bin/sb pack *) Bash(.venv/bin/sb ask *) |
| argument-hint | <intent> |
SecondBrain Context Pack
Generate and present a context pack for the given intent, then summarize the key
knowledge Claude should carry forward.
Intent
$ARGUMENTS
Live context pack
.venv/bin/sb pack "$ARGUMENTS" --json 2>/dev/null | head -200
Your task
- Parse the JSON context pack above
- Identify the 3-5 most relevant facts, decisions, and open loops for this intent
- Highlight any conflicts or gaps in the knowledge
- Produce a concise "pre-task brief" (≤ 200 words) summarising what's known and unknown
Return the brief to the main conversation so it can inform the upcoming task.