/cowork-obsidian:open-vaultfrom cowork-obsidian
Daily session opener for the cowork-obsidian vault. Reads vaults.md, picks default vault (asks if multiple), reports status (mode, last activity, new raw notes since last update). v0.5 adds: reads wiki/hot.md (tier-2 memory) and wiki/_index.md (tier-3 catalog) at session start; surfaces a per-life-area 'N new raw notes since last UPDATE' nudge. Launches Obsidian via obsidian://open?vault=<name>. Read-only — never auto-runs build/update.
Ships in cowork-obsidian. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are the user's "I'm sitting down to work on my second brain" command. By the end of running this skill, the user has Obsidian open to the right vault, Cowork loaded with vault context, and a clear sense of what to do next.
This is the command they should run every time they want to start a second-brain session. Beginners especially benefit — they don't need to remember /second-brain build coaching or navigate Obsidian's Open Vault menu. They run /open-vault and the system prepares everything.
"I never modify the vault structure when running this skill. I only read state and report what I find."
"I never run
build,update,health-check, orfold-backautomatically. I report status and offer them as next steps. The user picks."
"I never launch Obsidian to a path that's not in
vaults.md. If a path is requested but not registered, I refuse and point the user to/onboard-second-brain."
"I touch
.obsidian/only to read it for vault validation. Never write."
"If the user says
STOP, I halt immediately and report what I had done so far."
These rules apply every run. They never relax.
Read projects/second-brain/vaults.md.
vaults.md is missing or empty. Run /onboard-second-brain first to set up your vault. I'll be ready after that."external/overlay/scaffold), optional overlay_root, life areas, purpose.default_vault.If the user passed an argument (e.g., /open-vault business) → match against vault names. If no match, list configured vaults and ask.
If no argument and only one vault is configured → use it.
If no argument and multiple vaults are configured → ask which one. Show name + purpose for each:
"You have these vaults configured:
1. business — coaching practice & client deliverables (
scaffoldmode) 2. personal — daily journal + book notes (scaffoldmode) 3. research — connected to existing PARA vault (externalmode)Which one are you working on today? (1, 2, 3, or name)."
For the picked vault:
vaults.md or restore the folder..obsidian/ folder (proves it's a real Obsidian vault). If not → warn the user but proceed; some users have folders that aren't yet registered with Obsidian.overlay mode: verify overlay_root exists and contains raw/, wiki/, output/. If missing → suggest re-running /onboard-second-brain to repair the overlay.scaffold mode: verify at least one life-area folder exists with raw/, wiki/, output/. If missing → suggest re-running /onboard-second-brain Phase 3.After confirming the vault path, read <vault>/wiki/hot.md (if it exists) — this is the tier-2 memory from the v0.5 four-tier model. Keep its contents in working memory for this session so you can answer "what was I last working on?" / "what's currently top-of-mind?" without re-reading raw notes.
Also read the top-level wiki index: <vault>/wiki/_index.md (if it exists, generated by BUILD/UPDATE when 5+ pages exist) — this is the tier-3 catalog. Use it to answer "what do I know about X?" without loading every wiki page.
If hot.md or _index.md are missing, note it in the status report (e.g., "hot cache not yet built — run /second-brain refresh-hot to create it"). Do not block — these are optional accelerators, not requirements.
For overlay / scaffold modes with multiple life-area sub-folders, repeat for each life area: read <vault>/<life-area>/wiki/hot.md and <vault>/<life-area>/wiki/_index.md if present.
Read recent state and produce a friendly status report:
You're in: <vault-name> (<mode> mode)
Path: <absolute path>
Last vault activity: <date> (read from projects/second-brain/memory.md)
Last `build` ran on: <area> at <date> (or "never")
Last `update` ran on: <area> at <date> (or "never")
New raw notes since last update: <count> (count files in raw/ newer than last update timestamp)
Vault contents:
about-me/ <count> files (skip if external mode)
<area-1>/raw/ <count> raw notes — <count> new since last update
<area-1>/wiki/ <count> pages
<area-1>/output/ <count> deliverables
... (one row per life area / overlay sub-folder; for external mode just summarize "you have X folders, last touched <date>")
Keep this report under 25 lines. It's a status check, not a deep audit. If the user wants deep, they run /second-brain health-check.
Count files in <vault>/<life-area>/raw/ modified since the timestamp recorded in <vault>/.cowork-last-update.json (create this file if it doesn't exist; default last-update timestamp = epoch 0). For each life area, if N >= 5, surface a line in the status report:
"You have N new raw notes in
<life-area>since your last UPDATE. Want me to run/second-brain update <life-area>now?"
If the user agrees, hand off to /second-brain update <life-area>. Otherwise, mark in .cowork-last-update.json that the nudge was offered for that life area in this session (don't re-prompt within the same session — re-prompting is annoying).
.cowork-last-update.json shape:
{
"<life-area>": {
"last_update_ts": "<ISO timestamp of last UPDATE run, or 1970-01-01T00:00:00Z>",
"nudge_offered_session": "<ISO timestamp of last nudge offered, or null>"
}
}
This file is read-only state for this skill — it never modifies last_update_ts. That's the UPDATE skill's job.
After reporting status, launch Obsidian to this vault.
open "obsidian://open?vault=<URL-encoded vault basename>"
cmd /c start "" "obsidian://open?vault=<URL-encoded vault basename>"
xdg-open "obsidian://open?vault=<URL-encoded vault basename>"
The obsidian:// URL scheme works if the vault has been opened in Obsidian at least once before (it gets registered in obsidian.json). If the URL scheme fails, fall back to opening the vault folder in the OS file manager:
open <vault-path>cmd /c start "" "<vault-path>"xdg-open <vault-path>…and tell the user: "Obsidian's URL scheme didn't catch — I opened the vault folder in your file manager instead. Drag the folder onto Obsidian to open it as a vault."
If neither works (e.g., headless environment), report: "Couldn't launch a window from this environment. Open Obsidian yourself and select the vault <name>. I've still loaded the Cowork session context — you can keep using me."
Don't STOP on launch failure. The Cowork session prep still has value.
After the launch attempt, ask the user what they want to do:
"Obsidian's coming up with open. What now?
1. Build a fresh wiki for an area →
/second-brain build [area]2. Update an existing wiki with new raw notes →/second-brain update [area]3. Health check an area →/second-brain health-check [area]4. Fold back outputs into the wiki →/second-brain fold-back [area]5. Just browse — I'll wait. Tell me when you want to do something.Or describe what you want to do and I'll figure out the right command. (E.g., 'capture a quick note about today's client call', 'find what my wiki says about pricing objections', 'show me my newest wiki pages')."
If the user picks 1–4, hand off to /second-brain with the chosen operation.
If the user picks 5 (browse), pause and stay ready.
If the user describes something in natural language, route to the appropriate command or operation.
Append to projects/second-brain/memory.md:
## <ISO timestamp> — Session opened on <vault-name>
- Mode: <mode>
- Status reported: <count> raw notes new since last update
- Obsidian launched: <success | fallback | failed>
- User chose: <operation | browsing>
Light log — just for the future "when did I last touch this?" audit.
build, update, health-check, or fold-back automatically (the user picks)vaults.md (refuse and point at /onboard-second-brain).obsidian/ (read-only validation only)memory.md and .cowork-last-update.json (the latter only tracks per-session nudge state — never modifies last_update_ts)Refuse with a clear message and DO NOT proceed if any of these are true:
vaults.md is missing, unreadable, or emptyvaults.mdFor each refusal, say why in one sentence and point at /onboard-second-brain.
What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/onboard-second-brain9-phase install wizard for the Obsidian-as-second-brain pattern. Scaffolds raw/wiki/output, drops a hot.md hot-cache, wires Claude Desktop to the vault via the Anthropic Filesystem MCP (default) or iansinnott's Obsidian Claude Code MCP (opt-in). Vault-path safety check refuses cloud-sync paths. Resumable via state.md. Triggers on '/onboard-second-brain', 'start onboarding', 'start second brain', 'start the obsidian onboarding', 'set up second brain', 'set up obsidian vault', 'install obsidian second brain', 'build my second brain', 'wire obsidian to cowork', 'connect my existing obsidian vault', 'begin second brain setup'. v0.5.0 — vault-path safety check (cloud-sync detector) runs BEFORE any write in Phase 0.5 / Phase 3; Phase 3 now drops a pre-filled `wiki/hot.md` hot-cache (interpolated from `about-me/business-brain.md` if present); Phase 7 flips MCP defaults — Path A = Anthropic Filesystem MCP (1 min, default), Path B = iansinnott bridge (3 min more, sees current open note). v0.4.0 — Phase 4 now also recommends installing the official `obsidian:` skill pack. v0.3.0 added `/open-vault` daily-driver. v0.2.0 added branching between connect-existing-vault and create-new-vault paths. Auto-detects existing Obsidian vaults. Three vault modes (external / overlay / scaffold). Soft cowork-ai-os prerequisite. Pause-friendly. Reads state from `_aibos/state-second-brain.md` and resumes at the correct phase. After onboarding, the user runs `/open-vault` daily and `/second-brain` for the operations./Other plugins' skills for the same job
npx claudepluginhub automatedmarketer/cowork-obsidian --plugin cowork-obsidian