Borrowing it
Nothing to install: this file belongs to masa-san-jp/Agent-Aiko. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/masa-san-jp/Agent-Aiko/main/CLAUDE.mdgit clone --depth 1 https://github.com/masa-san-jp/Agent-AikoWrote 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/instructions/masa-san-jp/agent-aiko/claude-md)<a href="https://agentmods.dev/instructions/masa-san-jp/agent-aiko/claude-md"><img src="https://agentmods.dev/badge/instructions/masa-san-jp/agent-aiko/claude-md/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/instructions/masa-san-jp/agent-aiko/claude-md"><img src="https://agentmods.dev/badge/instructions/masa-san-jp/agent-aiko/claude-md.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.01538 | $0.01538 |
| Opus 5 | $0.00769 | $0.00769 |
| Sonnet 5 | $0.00308 | $0.00308 |
| Haiku 4.5 | $0.00154 | $0.00154 |
Grade A, and why
Agent-Aiko CLAUDE.md scanned grade A with 0 findings 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 8d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent-Aiko — 開発者ルール
Claude ルールは以下の3層に分離されています。この分離は絶対に守ること。
| 層 | ファイル | GitHub |
|---|---|---|
| 配布用 | claude-code/template/.claude/CLAUDE.md |
agent-aiko(公開) |
| 開発ログ用 | ../Agent-Lab/Agent-team/agents/aiko/dev-docs/ |
Agent-Lab(非公開) |
| ローカル専用 | .claude/rules/dev-workflow.md |
非公開(.gitignore 済み) |
スキル一覧
| コマンド | 場所 | 用途 |
|---|---|---|
/dev-log |
.claude/skills/dev-log/SKILL.md |
dev-log.jsonl に作業ログを追記 |
/dev-check |
.claude/skills/dev-check/SKILL.md |
コミット前に三層分離の整合性を検証 |
絶対ルール(MUST)
1. claude-code/template/ への混入禁止
claude-code/template/ はユーザー環境にコピーされる配布物です。以下を 絶対に含めてはいけない:
dev-docs/またはAgent-Labへの ローカルパス参照(../Agent-Lab/Agent-team/agents/aiko/dev-docs/dev-docs/foo.md等)- 開発者固有のツール・ファイルパス
- 本リポジトリ専用の設定
許容される参照: https?:// の公開アセット URL のみ。配布先のユーザーがブラウザで開けるリンクであり、ローカルパス依存ではないため許容します。file:// 等のローカル依存 URL は許容しません。template-check.sh は各行から https?:// URL を一旦除去した上で dev-docs / Agent-Lab が残るかを再判定するため、URL とローカルパスが同じ行に混在していてもローカル参照は確実に検出されます。境界の正本は VISIBILITY.md を参照してください。
自動チェック: git push 時に .claude/hooks/template-check.sh が自動実行され、違反があればブロックされます。
2. dev-log.jsonl の更新(毎セッション必須)
セッション終了前に /dev-log スキルで ../Agent-Lab/Agent-team/agents/aiko/dev-docs/dev-log.jsonl へ追記すること。
tsフィールドの 日付プレフィックス(YYYY-MM-DD)は必須- 1タスク1行、追記後は
../Agent-Lab/内でgit commit & push
3. Agent-Lab 側 dev-docs/README.md の更新
../Agent-Lab/Agent-team/agents/aiko/dev-docs/ でファイルを追加・削除・リネームしたら、../Agent-Lab/Agent-team/agents/aiko/dev-docs/README.md のファイル一覧テーブルを必ず更新すること。
4. コミット先の確認
| 変更対象 | コミット先リポジトリ |
|---|---|
claude-code/, scripts/install.sh(互換ラッパー), CLAUDE.md, README.md, .claude/, codex/(実装後) |
agent-aiko |
../Agent-Lab/Agent-team/agents/aiko/dev-docs/ 以下 |
Agent-Lab |
コミット前に必ず /dev-check を実行すること。
リポジトリ構成
| ディレクトリ | 用途 | git管理 |
|---|---|---|
claude-code/template/ |
Claude Code 版配布物 | ✓ agent-aiko |
claude-code/scripts/ |
Claude Code 版 installer 実体 | ✓ agent-aiko |
claude-code/plugin/ |
Claude Code Plugin メタデータ | ✓ agent-aiko |
scripts/install.sh |
旧 URL 維持用の互換ラッパー(実体は claude-code/scripts/install.sh を呼ぶ) |
✓ agent-aiko |
codex/ |
Codex 版実装(Phase 1 以降で追加予定) | ✓ agent-aiko |
.claude/skills/ |
開発用スキル | ✓ agent-aiko |
.claude/hooks/ |
開発用フック | ✓ agent-aiko |
.claude/rules/ |
ローカル専用ルール | gitignore |
images/ |
原典漫画データ | gitignore |
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.
- 8d ago First seen · 93 lines · 1,538 tokens per session scan A b20d36b0f162
Agent-Aiko CLAUDE.md is an instructions file published in the GitHub repository masa-san-jp/Agent-Aiko (3 stars, last pushed 1mo ago), licensed MIT. It adds 1,538 tokens to every session, about $0.0077 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
runtm copilot-instructions.md
Copilot instructions for runtm-ai/runtm, covering runtm tool instructions, critical rules, structure, adding endpoints and app/api/v1/myendpoint.py.
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.