---
name: "onboard"
description: "Sets up a fresh vault through an owner interview that fills template placeholders and writes Core Context plus the wiki index and log, or gives an existing vault a read-only diagnosis and proposal. Use for first-time setup, resuming an interrupted setup or a zero-diff rerun. Not for moving notes or Sync pairing."
title: onboard
canonical_url: https://skilld.dev/gh/goberomsu/secondbrain-skills/onboard
last_updated: 2026-11-18T15:15:25.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> If the user asked to install this Skill, run `npx skilld install goberomsu/secondbrain-skills/onboard`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/onboard`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/goberomsu/secondbrain-skills/onboard) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/onboard`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/onboard --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/onboard --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Onboard

Turn a starting vault into the owner's vault in about ten minutes by interviewing them and filling everything in, without requiring or creating a counterpart vault.

## Philosophy

1. **Context-first** — fill *who you are* (Core Context) before ingesting; without it every `ingest` purpose question and every `query` answer is generic.
2. **Answer-1-of-many** — ask a handful per turn; the owner answers only what is relevant. Context accumulates across turns.
3. **Agent-does-the-typing** — the owner speaks in plain words; you write frontmatter, placeholders and Core Context.
4. **Resume-safe** — rerunning detects what is done and continues from the first unfinished step; a finished vault changes nothing.

## Pre-flight

```bash
pwd
rg -l '\{(your-name|Your Name|PATH_TO_YOUR_LLM_WIKI|YYYY-MM-DD)\}' -g '*.{md,json,yml,yaml,sh}' . | wc -l
rg -m1 '^status:' "Core Context.md"
```

Completion means none of the mandatory tokens is left: `{your-name}`, `{Your Name}`, `{PATH_TO_YOUR_LLM_WIKI}`, `{YYYY-MM-DD}`.

- 0 files with mandatory tokens and `status: active` → already onboarded. Say so and ask whether to revisit anything (identity or axis changes belong to `refresh-context`).
- Target missing or empty → scaffold only with the owner's explicit authorization: ask the role (`personal` or `knowledge`) and the template folder, confirm the owner may use its files and plugins, then copy only files the target lacks (`cp -R -n "$TEMPLATE/." "$VAULT"`), leaving any file already there byte-for-byte. The scaffold includes `Core Context.md` (`status: template`) and the wiki index and log in [records](../ingest/references/records.md). After the copy, if `index.md` or `log.md` sits at the vault root and the resolved file is absent, create the parent directory and move that root file to the resolved path. If the resolved file already exists, leave the root file and report it. Create any of Core Context, the wiki index, or the wiki log still missing. Create the index and log only at the resolved path. Never write a new `index.md` or `log.md` at the vault root. Then → Interview.
- Freshly laid-down or cloned starting vault (placeholders present, Core Context `status: template`, no owner notes) → Interview.
- Existing vault with owner notes → read-only diagnosis and proposal: report placeholders left, Core Context status and its §2 axes, whether the resolved wiki index and wiki log exist, and the settings changes you would suggest. A root `index.md` is a legacy file in that report, not the wiki index. Write nothing: no note, JSON, config or settings change, and no placeholder replacement in existing files. A missing wiki index or wiki log is proposed, not created; `ingest` creates the wiki index on its first run, only at the resolved path.

## Interview — 3 required + 2 optional (answer-1-of-many)

In voice mode one question at a time, in text a batch. After each answer, confirm it back in one or two sentences.

**Q1 — Location & name.** The vault's absolute path comes from `pwd`. Ask the name to use inside the vault (real name, handle, any script — it goes into wikilinks) → `{your-name}` / `{Your Name}`.

**Q2 — Core Context §1 identity (core).** Name, role, field, main activities, and the **continuity statement**: in one to three sentences, which earlier question today's work grew out of.

**Q3 — Core Context §2 reuse axes, 5–9 (core).** Where a source might end up, in the owner's own words; offer examples only as prompts, never a fixed list. Too few and everything piles on one, too many and they stop discriminating. These registered axes are what the owner answers, or `ingest` infers from, when a source's purpose is asked.

**Optional — §3 personal frameworks / §4 philosophy, 3–5.** Fill when given; otherwise skip (`refresh-context` can add them later).

**When stuck (failure mode): passive mode.** If answers do not come, ask for paths to existing writing (blog, essays, the owner's Me note), read them, and propose §1 and §2 for the owner to correct. Nothing in Core Context is invented.

## Fill

**F1 — Placeholder replacement.** Fresh targets only; the wiki index and wiki log carry `{your-name}` and `{YYYY-MM-DD}` too. Show the values (name, vault path, today's date in the owner's timezone). After OK, in the freshly scaffolded or starting-vault files only, replace only the literal tokens across `.md`, `.json`, `.yml`/`.yaml` and `.sh` files, `.git` excluded (`sed -i ''` on macOS): `{your-name}`, `{Your Name}`, `{PATH_TO_YOUR_LLM_WIKI}`, `{YYYY-MM-DD}`.

**F2 — Write Core Context.md.** Draft §1 identity and §2 reuse axes (plus optional §3/§4) from the interview, and §5 listing the files the owner registers as sources, or delete §5 when none. Show the draft and confirm. Then set `status: template` → `active`, `snapshot_date` to today, keep `version: "1.0"`.

**F3 — Verify replacement.** No replaced token is left in the approved files and nothing else in them changed; the pre-flight `rg -l` without `| wc -l` lists any file still holding one.

**Settings for an existing vault.** Proposal only: for `.obsidian/app.json`, `.obsidian/daily-notes.json`, and the `data.json` of the `homepage`, `templater-obsidian` and `obsidian-excalidraw-plugin` plugins, list the exact top-level keys you would change with old and new values. Never write them; the owner applies changes, or authorizes them as a separate task.

## Resume logic

Every run starts at the pre-flight and continues at the first unfinished step: the mode's mandatory placeholders remain → F1; Core Context still `status: template` → F2; both done → already onboarded. An existing vault with owner notes always stays in read-only diagnosis.

## Wrap-up

Read back the files written and list them. Then suggest:

1. `status` — the vault at a glance.
2. A first `ingest <URL>` — when the purpose question comes, answer with one of the §2 reuse axes (a letter to your future self).
3. A first `query <question>`.
4. As it grows: recurring open questions become Research Question cards in `20. Wiki/25. Questions/`; a defended claim becomes a Synthesis card.
5. Later: `capture` and `inbox` for collecting before ingesting, `qmd` for search (`reindex`).

Do not install skills, sync, migrate notes, ingest, delete files, or commit as a side effect; the wiki index and wiki log are the vault's records and Git never replaces them. A commit happens only when the owner separately asks.

Tools: `rg`, `sed`, `cp`, `obsidian-cli`.
