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.
git clone --depth 1 https://github.com/megaphone-tokyo/kiokunpx agentmods add skills/megaphone-tokyo/kioku/setup-guideWrote 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.
[](https://agentmods.dev/skills/megaphone-tokyo/kioku/setup-guide)<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>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.
| Model | Per session | Once 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 |
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 設定を追加する。 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: 環境確認
以下をユーザーにヒアリングまたは自動検出する:
- OS: macOS / Linux / WSL のどれか
- Node.js:
node --versionを実行して 18+ か確認。未インストールならインストール案内 - Git:
git --versionを確認 - jq:
jq --versionを確認。なければbrew install jq等を案内 - Claude Code:
claude --versionを確認。Max プランかどうかはユーザーに聞く - Obsidian: インストール済みかユーザーに聞く(コマンドでは確認できない)
- 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 で管理することで、複数マシン間の同期とバックアップが自動化される。
手順:
- Obsidian を開き「Create new vault」を選択
- 名前:
main-claude-brain(任意) - 場所:
~/claude-brain/(推奨。~/Documents/は macOS の TCC でバックグラウンドアクセスがブロックされるため避ける)
- 名前:
- GitHub で Private リポジトリを作成
- 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
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.
- 7d ago First seen · 196 lines · 76 tokens per session scan B bd4f1654857b
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.
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.
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.
log-to-daily
Log conversation activity to today's daily note on demand. Use when wrapping up work, capturing decisions, or documenting session outcomes.
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.
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,.
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.