sb-init
Skill8 starsChanged 5 days agoMITView on GitHub
Initialize and configure this second brain workspace. Interviews the owner about why they want a second brain, selects a profile (agency, freelance, solopreneur, personal), writes the workspace charter and context files, prunes unused zones, and optionally wires up Basic Memory. Use on first run after cloning the boilerplate, or to reconfigure the workspace. Triggers on "sb-init", "initialize workspace", "set up my second brain", "configure this workspace".
In this repository19 other files it gives its agents.
- AGENTS.mdAGENTS.md
- archive-projectSkill
- captureSkill
- librarianSkill
- mark-readSkill
- review-knowledgeSkill
- sb-doctorSkill
- sb-updateSkill
- start-projectSkill
- summarizeSkill
- todaySkill
- to-knowledgeSkill
- to-mapSkill
- to-minutesSkill
- to-readingSkill
- weekly-reviewSkill
- wrap-upSkill
- write-emailSkill
- write-proposalSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
After the last write of a run, add one line to the operations log with --skill sb-init, see AGENTS.md, Logging writes.
- Distinctive: line 29
Remainder: after flags is ignored. </flags>
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<objective>
Turn the freshly cloned boilerplate into a personalized, working second brain in one guided session. The outcome is a workspace where the owner knows exactly what to capture, the agent knows exactly who it works for, and the first real note can be filed immediately.
</objective>After the last write of a run, add one line to the operations log with --skill sb-init, see AGENTS.md, Logging writes. Log one line at the end of the run, listing the files written.
<quick_start>
/sb-init # Full guided initialization (recommended, ~15 min)
/sb-init -q # Quick mode: skip the deep interview, minimal questions
/sb-init -r # Reconfigure: re-run on an already initialized workspace</quick_start>
<flags>| Flag | Effect |
-q | Quick mode: skip the "why" interview (step-01), use profile defaults |
-r | Reconfigure: allow re-running on an initialized workspace |
Remainder after flags is ignored.
</flags>
<workflow>
1. **Welcome** → Detect state, parse flags, explain the journey
2. **Why** → Forcing questions: trigger, status quo, 90-day success, wedge flow
3. **Profile** → Agency / freelance / solopreneur / personal, zone selection
4. **Identity** → Owner, organization, working language, communication defaults
5. **Personalize** → Write charter, context, profile block; prune zones; adjust schemas
6. **Harnesses and memory** → Which agent harnesses the owner uses, then optional Basic Memory install and MCP wiring per harness
7. **Launch** → Smoke test, first note, maintenance ritual, summary
</workflow><step_files>
| Step | File | Purpose |
| 00 | steps/step-00-welcome.md | State detection, flag parsing, journey overview |
| 01 | steps/step-01-why.md | Forcing questions, charter material |
| 02 | steps/step-02-profile.md | Profile and zone selection |
| 03 | steps/step-03-identity.md | Owner identity and communication defaults |
| 04 | steps/step-04-personalize.md | Write all files, prune zones, adjust schemas |
| 05 | steps/step-05-memory.md | Harness selection, Basic Memory setup (optional), MCP config per harness |
| 06 | steps/step-06-launch.md | Smoke test, first note, ritual, summary |
</step_files>
<state_variables>
| Variable | Type | Set by |
{quick_mode} | boolean | step-00 |
{reconfigure} | boolean | step-00 |
{charter} | object | step-01 (trigger, status_quo, success_90d, wedge_flow, retrieval_pain) |
{favorite_problems} | list | step-01 (Q6, optional: each a question with a kebab-case slug) |
{profile} | string | step-02 (agency, freelance, solopreneur, personal) |
{zones} | list | step-02 (subset of clients, partners, internal, personal) |
{owner_name} | string | step-03 |
{org_name} | string | step-03 (may equal owner_name for solo profiles) |
{working_language} | string | step-03 |
{comm_defaults} | object | step-03 (tone, addressing, signature) |
{service_types} | list | step-03 (the owner's offer categories, optional) |
{harnesses} | list | step-05 (subset of claude-code, codex, gemini-cli, copilot, cursor, opencode, windsurf, qwen-code, cline, roo-code, kiro, zed, amp, goose, junie, other) |
{bm_enabled} | boolean | step-05 |
{bm_project} | string | step-05 |
</state_variables>
<execution_rules>
- Load one step at a time (progressive loading); follow the next_step directive at the end of each step
- Ask the owner (see AGENTS.md, Asking the owner) for structured choices; accept free text via "Other" and treat it with care
- Ask, then act: batch related questions, keep the pace brisk; this is an interview, not a form
- Show a recap before writing anything in step-04; nothing is written to disk before the owner approves the recap
- Never write outside the workspace, with explicit exceptions in step-05 (Basic Memory config, the MCP registration of each selected harness, and the optional
git config core.hooksPath), each individually confirmed - Answer in the owner's language during the interview if they engage in another language, but write all structural files in English and content files in the working language
- Never fabricate answers for skipped questions; quick mode uses documented defaults, not invented ones </execution_rules>
<entry_point>
FIRST ACTION: Load steps/step-00-welcome.md
</entry_point>
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

