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/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.
<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>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.5 | $0.00030 | $0.00972 |
| Sonnet 5.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 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 設定を追加する。 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.
- 1mo 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 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.
Other skills, from other repositories
repo-context
Load a compact snapshot of the current repository into context — structure, stack, docs, git state.
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…
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…
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…
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.
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.