setup-guide

setup-guide is a skill for Claude Code from megaphone-tokyo/kioku. It costs 76 tokens per session (2,429 once invoked), scanned B, original, MIT.

An interactive setup guide for claude-brain, a system that stores Claude sessions and project knowledge in an Obsidian Vault, which is a folder managed by the Obsidian notes app.

In plain words
What is it for?
Use it to verify macOS, Linux, or WSL development tools, install or check prerequisites, and connect a new Obsidian Vault to a private Git repository.
Why use it?
It checks the required tools and guides you through setup one confirmed step at a time, helping identify missing dependencies or configuration.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash tools/claude-brain/scripts/setup-vault.sh.

Part of the kioku plugin — 5 skills shipped together

Good fit Use it to verify macOS, Linux, or WSL development tools, install or check prerequisites, and connect a new Obsidian Vault to a private Git repository.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/megaphone-tokyo/kioku
agentmods
npx agentmods add skills/megaphone-tokyo/kioku/setup-guide

Made for: Claude Code.

Or install kioku, the plugin that ships this one along with the rest of its 5 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/megaphone-tokyo/kioku/setup-guide/github.svg)](https://agentmods.dev/skills/megaphone-tokyo/kioku/setup-guide)
Your own site
<a href="https://agentmods.dev/skills/megaphone-tokyo/kioku/setup-guide"><img src="https://agentmods.dev/badge/skills/megaphone-tokyo/kioku/setup-guide/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for setup-guide

Your own site · 80×15
<a href="https://agentmods.dev/skills/megaphone-tokyo/kioku/setup-guide"><img src="https://agentmods.dev/badge/skills/megaphone-tokyo/kioku/setup-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,429 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00076 $0.02429
Opus 5.5 $0.00030 $0.00972
Sonnet 5.5 $0.00015 $0.00486
Haiku 4.5 $0.00008 $0.00243

Measured 1mo ago against content hash bd4f1654857b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

setup-guide scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

**何をするか**: Claude Code の `~/.claude/settings.json` に Hook 設定を追加する。
skills/setup-guide/SKILL.md · 196 lines

How it starts

The opening of the file, as written. The whole thing — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.

claude-brain セットアップガイド

claude-brain のインストールを対話形式で順番に進めるスキル。 各ステップで「何をするのか」「なぜ必要なのか」を説明し、ユーザーの入力を待ってから次に進む。

進め方

  • ユーザーの環境(OS、Node バージョン管理ツール、既存の Vault の有無)を最初にヒアリングする
  • 各ステップはユーザーの「できた」「次へ」等の確認を待ってから進む
  • エラーが出た場合はトラブルシューティングを行う
  • スキップ可能なステップは明示する

ステップ一覧

Step 0: 環境確認

以下をユーザーにヒアリングまたは自動検出する:

  1. OS: macOS / Linux / WSL のどれか
  2. Node.js: node --version を実行して 18+ か確認。未インストールならインストール案内
  3. Git: git --version を確認
  4. jq: jq --version を確認。なければ brew install jq 等を案内
  5. Claude Code: claude --version を確認。Max プランかどうかはユーザーに聞く
  6. Obsidian: インストール済みかユーザーに聞く(コマンドでは確認できない)
  7. Node バージョン管理ツール: Volta / mise / nvm / fnm / asdf / なし のどれか

結果をまとめて表示し、問題があれば解決してから次に進む。

✅ macOS 15.2
✅ Node.js v22.0.0 (Volta)
✅ Git 2.44.0
✅ jq 1.7.1
✅ Claude Code 1.x (Max プラン)
⚠️ Obsidian 未確認 → https://obsidian.md/ からインストールしてください

Step 1: Vault の作成と Git 接続 (ユーザー作業)

何をするか: Obsidian で新しい Vault を作り、GitHub Private リポジトリと接続する。

なぜ必要か: claude-brain は Obsidian Vault の中にセッションログと Wiki を保存する。Git で管理することで、複数マシン間の同期とバックアップが自動化される。

手順:

  1. Obsidian を開き「Create new vault」を選択
    • 名前: main-claude-brain(任意)
    • 場所: ~/claude-brain/(推奨。~/Documents/ は macOS の TCC でバックグラウンドアクセスがブロックされるため避ける)
  2. GitHub で Private リポジトリを作成
  3. Vault ディレクトリで Git を初期化

ユーザーの GitHub CLI の有無に応じてコマンドを出し分ける:

# gh CLI がある場合(簡単)
cd ~/claude-brain/main-claude-brain
gh repo create claude-brain --private --source=. --push

# gh CLI がない場合(手動)
cd ~/claude-brain/main-claude-brain
git init
git remote add origin [email protected]:<USERNAME>/claude-brain.git
git add -A && git commit -m "initial" && git push -u origin main

確認: git remote -v で origin が設定されていることを確認する。

Step 2: 環境変数の設定

何をするか: OBSIDIAN_VAULT 環境変数に Vault のパスを設定する。

なぜ必要か: claude-brain の全スクリプトがこの変数を参照して Vault の場所を知る。Hook スクリプトも Claude Code から実行される際にこの変数を使う。

手順: ユーザーのシェル(zsh / bash)を検出して適切なファイルに追記する。

# ~/.zshrc(macOS のデフォルト)または ~/.bashrc に追記
echo 'export OBSIDIAN_VAULT="$HOME/claude-brain/main-claude-brain"' >> ~/.zshrc
source ~/.zshrc

Read the full file on GitHub · 196 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 196 lines · 76 tokens per session scan B bd4f1654857b

Subscribe to this mod's changes

setup-guide is a skill published in the GitHub repository megaphone-tokyo/kioku (5 stars, last pushed 3mo ago), licensed MIT. It adds 76 tokens to every session and 2,429 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

repo-context

Load a compact snapshot of the current repository into context — structure, stack, docs, git state.

DefaultPerson/agent-setup · 23 tokens

who-is-speaking

Identify the family member speaking in a shared family vault (e.g., vaulttribu), then lock the router to that vault + set auto-enrich mode to Hybrid so subsequent auto-saves route to wiki/People/ /. Companion skill for the tribu-routing convention. Trigger this skill at the start of any session on a shared…

tboome33/obsidian-mcp-router · 237 tokens

Migrate

Intakes external content (notes, CLAUDE.md, Cursor rules, Obsidian/Notion/Apple Notes exports), classifies chunks against the LifeOS taxonomy, and commits with provenance after confidence-tiered approval. USE WHEN /migrate, migrate content, import from other LifeOS, bring in old notes, import Cursor rules, import…

danielmiessler/LifeOS · 104 tokens

Cortex

LifeOS memory, prior-session recall, and learning capture. USE WHEN capture this learning, document this learning, what did we learn recently, recent learnings, cortex, knowledge, knowledge base, search knowledge, what do we know about, archive, harvest, knowledge status, develop note, add to knowledge, add a people…

danielmiessler/LifeOS · 184 tokens

wiki-dashboard

Create dynamic, queryable Obsidian dashboard views using Bases or Dataview. Use for auto-updating tables, indexes, or structured views of vault content; not for ordinary question answering.

Ar9av/obsidian-wiki · 42 tokens

relevance-coarse-filter

Cheap, high-recall first-pass filter that removes obvious junk from a detector candidate pool before expensive story-origin research and PR judgment. Decides keep, monitoronly, or reject — never ranks, writes angles, verifies dates, or decides whether to pitch.

elvisun/newsjack · 57 tokens