一键导入
setup
First-run vault initialization. Creates missing vault directories, verifies MCP connectivity, offers guided tool tour. Safe to re-run at any time.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
First-run vault initialization. Creates missing vault directories, verifies MCP connectivity, offers guided tool tour. Safe to re-run at any time.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | setup |
| description | First-run vault initialization. Creates missing vault directories, verifies MCP connectivity, offers guided tool tour. Safe to re-run at any time. |
| invocation_pattern | /setup |
| auto_invoked | false |
First-run experience for MindStone. Creates any missing vault directories, verifies the intelligence pipeline is reachable, and offers a live tool demo to get you oriented.
Before creating any directories, confirm the vault root.
Use Glob to check for CLAUDE.md in the current directory.
If CLAUDE.md is found: output "Vault root confirmed." and continue to Phase 1.
If CLAUDE.md is NOT found: output exactly:
This skill requires vault context. Please open Claude Code from your vault root directory (the directory containing CLAUDE.md), then run /setup again.
Then STOP — do not create any directories or proceed further.
Check each required directory. Create only missing ones. Never overwrite existing content.
Use Glob to check each directory. For each directory, Glob {dir}/**/*.md or {dir}/README.md — if Glob returns any result, the directory already exists and should be skipped.
Required directories to check:
daily/library/books/library/repos/library/research/library/youtube/learnings/journal/events/mocs/health/goals/annual/goals/quarterly/goals/weekly/reviews/weekly/reviews/quarterly/reviews/annual/For each missing directory, create a README.md (use Write tool) with a brief description of what goes in that directory.
README content by directory:
daily/ — Daily notes. One file per day (YYYY-MM-DD.md). Holds your plan, log entries, and review of the day.library/books/ — Book notes and summaries. One file per book.library/repos/ — GitHub repository extractions. One file per repo.library/research/ — Research articles, papers, and web extractions.library/youtube/ — YouTube video transcripts and summaries.learnings/ — Atomic learning notes. One insight or concept per file.journal/ — Free-form journal entries. One file per entry.events/ — Tasks and events. Timed events sync to Google Calendar.mocs/ — Maps of Content. Auto-generated by the intelligence pipeline. Do not create manually.health/ — Health journal entries and state. Written by the Doctor persona.goals/annual/ — Annual goals. One file per year (e.g., 2026.md).goals/quarterly/ — Quarterly goals. One file per quarter (e.g., 2026-Q1.md).goals/weekly/ — Weekly goals. One file per week (e.g., 2026-W01.md).reviews/weekly/ — Weekly reviews. Written by Claude during /shutdown.reviews/quarterly/ — Quarterly reviews. Written by Claude during /shutdown.reviews/annual/ — Annual reviews. Written by Claude during /shutdown.For content directories (daily, library/, learnings, journal, events, goals/): also create one minimal sample .md file with correct frontmatter so new users see an example.
For health/ specifically: If health/STATE.md does not exist, create it with all 6 section headings:
---
type: state
---
# Health STATE
## Profile
## Current Goals
## Habits
## Baselines
## Patterns
## Next Session Proposal
Never overwrite an existing health/STATE.md.
After checking and creating:
Test that the MCP server is reachable with two lightweight calls.
Call:
search_notes({ query: "test", limit: 1 })
Call:
list_events({ filter: "all", limit: 1 })
If both pass:
MCP connected. The intelligence pipeline is reachable.
If either fails:
MCP not connected. Check that your INTELLIGENCE_SERVER_URL in CLAUDE.md points to the deployed Railway URL. Troubleshooting: Railway dashboard → your intelligence service → copy the public domain → add to CLAUDE.md as INTELLIGENCE_SERVER_URL.
Output the full tool inventory with one-line descriptions:
| Tool | Description |
|---|---|
extract_content | Extract and save content from YouTube videos, web articles, PDFs, or GitHub repos |
search_notes | Hybrid semantic + keyword search across your entire vault |
read_note | Read any vault file by path or search for it by content |
manage_note | Create, update, or delete vault files with auto-tagging and embeddings |
manage_event | Create, update, complete, or cancel events with Google Calendar sync |
list_events | Query events by date, priority, context, or tag |
get_calendar_events | Fetch timed events from Google Calendar for a date range |
doctor | Initialize a Doctor health journaling session (loads STATE + last 7 journal entries) |
Ask:
Want a live demo of any tool category?
- search — run a real search across your vault
- events — list your upcoming events
- extract — extract content from a URL
- no thanks — skip the demo
Wait for response.
If search: call search_notes({ query: "goals" }) and show results.
If events: call list_events({ filter: "upcoming" }) and show results.
If extract: ask for a URL, then call extract_content({ url: "[provided URL]" }).
If no thanks or no response: skip.
Read CLAUDE.md. Find the ## Current Context section. Append to it:
Setup complete: YYYY-MM-DD
(Use today's actual date in YYYY-MM-DD format.)
Write the updated CLAUDE.md back using the Edit tool.
Output:
Setup complete. Your vault is ready.
Next steps:
- Run
/briefto get your morning briefing- Run
/doctorto start a health journaling session- Run
/goalsto set up your goalsAll skills: /brief, /shutdown, /log, /doctor, /meeting, /goals, /setup
| Situation | Action |
|---|---|
| CLAUDE.md not found at Phase 0 | Stop — output instructions to run from vault root |
| MCP connectivity fails | Continue setup but report not connected with troubleshooting tip |
| health/STATE.md already exists | Skip — never overwrite existing state file |
| Directory creation fails | Report which directory failed; continue with others |
Invoke Doctor/Psychologist persona for health journaling and tracking. Vault-specific — requires journal/ directory OR triggers first-session intake. Usage: /doctor
Quickly log entries to vault daily notes with automatic timestamping and categorization. Use when user wants to capture work sessions, ideas, learnings, or content notes.
End-of-day shutdown ritual. Closes today (log anything unlogged, handle past events), shows rolling 7-day week pulse with carry-overs and goals progress, triggers review cycle if 7+ days since last, then plans tomorrow informed by week context.
Create a meeting transcript file in library/meetings/. Collects title, date, project, participants — then creates the structured file so you can paste the transcript directly into it.
Morning briefing. Reads today's plan, GCal schedule, and backlog. Suggests first action using Eisenhower inference. Offers to plan inline if no plan was written by shutdown.
View and edit personal goals across annual, quarterly, and weekly horizons. Warns if weekly goals are stale. /goals:review shows longitudinal history across all cycles.