Index of every page on this site: llms.txt
All skills
Run it yourself

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.

  • 1 file
  • 6.7 KB
  • Updated last week
  • GitHub
Use this Skill: https://skilld.dev/gh/goberomsu/secondbrain-skills/onboard

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈81 tokens for metadata: the name and description. ≈1.6k when used: this file.

Description uses 4.0% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈323 characters, or 4.0%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

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

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. 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.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at fe0f898. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last week

README badge

README badge for goberomsu/secondbrain-skills/onboard