init
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-07-12
- Stars
- ★ 0
- Forks
- 0
03 SKILL.md 正文
second-brain:init
Connect Claude Code and Obsidian to the second-brain tooling. Run once after cloning, or any time the setup may have drifted.
Usage
/second-brain:init [vault-path]
vault-path is optional. When provided it overrides the path in settings.json and CLAUDE.md.
What it does
Run scripts/init.sh [vault-path] from the repository root and report the output.
The script performs these checks in order:
- Dependencies — verifies
jqandpython3are installed - Script permissions —
chmod +xany scripts missing executable bits - Hooks — validates
hooks/hooks.jsonis well-formed JSON - Vault path — resolves from
SECOND_BRAIN_VAULT_PATHenv →settings.json→CLAUDE.md - Vault structure — confirms required directories exist (
Daily/,Ideas/,References/, etc.) - Templates sync — writes template files to vault's
Templates/directory (idempotent — skips existing files)
After running
If all checks pass, complete the Obsidian side manually:
- Open Obsidian → Settings → Core plugins → enable Templates, Daily notes, Bases
- Templates plugin: set folder location to
Templates - Daily notes plugin: set date format to
YYYY-MM-DD, folder toDaily - Start a new Claude Code session — hooks fire automatically from that point on
04 同仓库更多 Skills
obsidian-markdown
Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax. Use when working with .md files in Obsidian, or when the user mentions wikilinks, callouts, frontmatter, tags, embeds, or Obsidian notes.
obsidian-cli
Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more. Also supports plugin and theme development with commands to reload plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM. Use when the user asks to interact with their Obsidian vault, manage notes, search vault content, perform vault operations from the command line, or develop and debug Obsidian plugins and themes.
obsidian-bases
Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.
json-canvas
Create and edit JSON Canvas files (.canvas) with nodes, edges, groups, and connections. Use when working with .canvas files, creating visual canvases, mind maps, flowcharts, or when the user mentions Canvas files in Obsidian.
hello
Greet the user with a personalized message
distill
Distill today's session notes into a concise Daily summary