AGENT SKILL

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:

  1. Dependencies — verifies jq and python3 are installed
  2. Script permissions — chmod +x any scripts missing executable bits
  3. Hooks — validates hooks/hooks.json is well-formed JSON
  4. Vault path — resolves from SECOND_BRAIN_VAULT_PATH env → settings.json → CLAUDE.md
  5. Vault structure — confirms required directories exist (Daily/, Ideas/, References/, etc.)
  6. 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:

  1. Open Obsidian → Settings → Core plugins → enable Templates, Daily notes, Bases
  2. Templates plugin: set folder location to Templates
  3. Daily notes plugin: set date format to YYYY-MM-DD, folder to Daily
  4. Start a new Claude Code session — hooks fire automatically from that point on

04 同仓库更多 Skills

macrosoft3
macrosoft3/second-brain_

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.

★ 0
macrosoft3
macrosoft3/second-brain_

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.

★ 0
macrosoft3
macrosoft3/second-brain_

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.

★ 0
macrosoft3
macrosoft3/second-brain_

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.

★ 0
macrosoft3
macrosoft3/second-brain_

hello

Greet the user with a personalized message

★ 0
macrosoft3
macrosoft3/second-brain_

distill

Distill today's session notes into a concise Daily summary

★ 0