onboard-repolisted
Install: claude install-skill dimeloper/second-brain-workflow
# Onboard repo
Works like **feature complete**: run immediately when triggered; do not ask for
confirmation unless a step would overwrite customized project files the user
clearly owns.
## Paths
- Standards (source of truth): `~/second-brain-workflow`
- Rules sync: `~/second-brain-workflow/scripts/sync-rules.sh`
- Skills sync: `~/second-brain-workflow/scripts/sync-skills.sh`
- Skills source: `~/second-brain-workflow/skills/{workflow,...}/`
- Vault practices: `$SBW_VAULT/practices/` (default `~/vaults/second-brain`)
- Knowledge skill (after sync): the `obsidian-knowledge-base` skill
- MCP skill (after sync): the `mcp-per-project` skill
**Reference backends.** Copy the MCP wiring pattern from whichever backend on
this machine is already set up — do not assume a fixed path. Find candidates
with:
```bash
ls -d ~/*/*/.cursor/bin 2>/dev/null | sed 's|/.cursor/bin$||'
```
Prefer the one whose stack and provider mix is closest to the target repo.
## Target repo
1. Prefer the current workspace root if it is a single project git repo.
2. If multi-root or unclear, ask which path to onboard (one short question).
3. If the folder is not a git repo, still sync rules; note that in the status.
Do **not** run this against the standards repo or a vault.
## Steps (in order)
### 1. Sync hot path
```bash
~/second-brain-workflow/scripts/render.py "<TARGET>" # all configured targets
~/second-brain-workflow/scripts/render.py "<TARGET>" --targets cursor,agents
```
One canonical