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.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.svg" alt="Measured on agentmods" 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 $0.00038 $0.01215
Sonnet 5 $0.00015 $0.00486
Haiku 4.5 $0.00008 $0.00243

Measured 7d ago against content hash bd4f1654857b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 7d 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. 7d 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 1mo ago), licensed MIT. It adds 76 tokens to every session and 2,429 once invoked, about $0.0004 per session on Opus 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

obsidian

Use the official Obsidian CLI (v1.12+) to manage vaults, notes, daily notes, search, tasks, tags, properties, links, templates, sync, publish, and workspaces. Use when the user mentions Obsidian, vaults, notes, or wants to automate note-taking and knowledge base workflows.

lvndry/jazz · 71 tokens

update-user-profile

Update user profile information when user shares preferences, habits, or work details. When you need to save user preferences, remember user's work domain, or provide personalized service.

openakita/openakita · 37 tokens

log-to-daily

Log conversation activity to today's daily note on demand. Use when wrapping up work, capturing decisions, or documenting session outcomes.

aplaceforallmystuff/daily-patterns-pack · 29 tokens

find-skills

Use when automatically discover, evaluate, and activate community skills when local skills don't cover user needs. Includes credibility scoring and safety checks for complete OpenClaw self-sufficiency.

oyi77/1ai-skills · 39 tokens

agent-harness-optimizer

Use when agent harness optimization patterns for token efficiency, memory persistence, session management, and cross-harness parity. Use when optimizing agent performance, reducing token costs,.

oyi77/1ai-skills · 38 tokens

autonomy-engine

Use when core autonomy protocol for AI agent operations. Defines how agents operate 24/7 without human prompts — monitoring all systems, generating revenue, managing team, escalating decisions, and growing. Use this skill to understand an autonomous operating system. Use when working with autonomy engine.

oyi77/1ai-skills · 59 tokens