Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add masa-san-jp/Agent-Aiko --skill agent-mapgit 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/skills/masa-san-jp/agent-aiko/agent-map)<a href="https://agentmods.dev/skills/masa-san-jp/agent-aiko/agent-map"><img src="https://agentmods.dev/badge/skills/masa-san-jp/agent-aiko/agent-map/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/masa-san-jp/agent-aiko/agent-map"><img src="https://agentmods.dev/badge/skills/masa-san-jp/agent-aiko/agent-map.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.00173 | $0.01311 |
| Opus 5.5 | $0.00069 | $0.00524 |
| Sonnet 5.5 | $0.00035 | $0.00262 |
| Haiku 4.5 | $0.00017 | $0.00131 |
Grade A, and why
agent-map 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 3mo 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.
What it actually says
/agent-map
自分のエージェント関連ディレクトリ構造をスキャンし、生きた俯瞰ドキュメント(MAP.md などの単一ファイル)を再生成する参考パターン。
このマップは 1 つのリポジトリに閉じない 場合がある(マシン上に複数のエージェント関連ディレクトリ・設定ストアが散らばることを想定)。ポイントは「散在する構造を 1 枚に集約し、更新日を刻んで運用する」こと。このスキルは特定リポジトリの中身をハードコードしない — 下記は雛形であり、スキャン対象は自分の環境に合わせて定義する。
引数
- 引数なし:既定の出力先
<MAP_FILE>(例:{{ORG_REPO_PATH}}/MAP.md)を再生成する <MAP_FILE>:出力先を明示指定する場合
スキャン対象(例 — 自分の環境に置き換える)
以下は「どういう領域を拾うか」の型。実在するパスに読み替えて ls/find で構造を抽出する。存在しないパスは「存在せず」と明記する(隠さない)。
| 領域 | パス(例) | 抽出粒度 |
|---|---|---|
| 中心リポジトリ | {{ORG_REPO_PATH}}/ |
top-level + 主要サブディレクトリ + persona/role 定義の所在 |
| 公開/派生リポジトリ | <other-repo>/ |
top-level のみ |
| マシン全体の設定ストア | ~/.claude/ 等 |
agents/ / skills/ / commands/ の件数(個別列挙はしない) |
| データ同期ディレクトリ | <data-sync-dir>/ |
直下のディレクトリ名一覧 |
| その他エージェント系 | パターンにマッチするリポ | リポ名のみ |
出力フォーマット
<MAP_FILE> の構造(既存ファイルがあれば置換、なければ新規作成):
# Agent Directory Map
> エージェント関連ディレクトリ構造の生きた文書。
> Last regenerated: <YYYY-MM-DD> by /agent-map skill
## TL;DR
(3 行以内で最重要事実:中心リポジトリ / 公開リポジトリ / 設定ストアの所在)
## ディレクトリツリー
(ツリー図、各ノードに 1 行コメント)
## 既知の不整合・課題
(重複ストア、設定ファイルのパス参照ずれ等。発見されたものをタスク ID と紐付けて列挙)
## ルール参照
- 公開境界・ルール目次・タスク管理などへのリンク(自分の運用に合わせて)
- 本マップの再生成:`{{ORG_REPO_PATH}}/Agent-team/reference/skills/agent-map/SKILL.md`(`/agent-map`)
実行手順
- 上記スキャン対象をすべて
ls/findで取得(並列実行可) - 既存
<MAP_FILE>を読み、不整合・課題セクションの記述(手動追記された注釈)は可能なら保全する - 新内容で
<MAP_FILE>を書き直す(Write ツールで上書き) - ユーザーに 1〜3 行で報告(「regenerated. <主な変化>」)
不整合・課題の扱い
スキャン中に以下を検出したら「既知の不整合・課題」セクションに自動追記する:
- 同じ概念のディレクトリ/ストアが 2 箇所以上にある(重複)
- 設定ファイル等で参照されているパスが実在しない
- 旧名のディレクトリが残存している
検出した課題がタスク一覧に未登録なら起票し、ID を本セクションに記載する。
制約
- 特定リポジトリの中身をハードコードしない。スキャン対象は環境ごとに定義する。
- 存在しないパスは「存在せず」と明記し、隠さない。
関連
- 文書本体:
<MAP_FILE>(例:{{ORG_REPO_PATH}}/MAP.md) - 自分の設計原則・同期境界ドキュメント(あれば)
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.
- 3mo ago First seen · 83 lines · 173 tokens per session scan A e354557abed0
agent-map is a skill published in the GitHub repository masa-san-jp/Agent-Aiko (3 stars, last pushed 25d ago), licensed MIT. It adds 173 tokens to every session and 1,311 once invoked, about $0.0007 per session on Opus 5.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.
agent-map compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agent-mapmasa-san-jp/Agent-Aiko | Skill | 3 | 25d ago | MIT | A | 173 | Claude Code, Codex |
| code-reviewfastagent-sh/fastagent | Skill | 68 | today | MIT | A | 22 | Claude Code, Codex |
| incident-runbookfastagent-sh/fastagent | Skill | 68 | today | MIT | A | 22 | Claude Code, Codex |
| synthesis-reportfastagent-sh/fastagent | Skill | 68 | today | MIT | A | 17 | Claude Code, Codex |
| compact-enum-mappingsalivirgo/Major-AI-Skills | Skill | 6 | yesterday | MIT | A | 25 | Claude Code |
| typescript-engineeringldilov/harness-forge | Skill | 6 | 6mo ago | GPL-3.0 | A | 14 | Claude Code, Codex |
| create-prprisma/orm | Skill | 48k | today | Apache-2.0 | A | 47 | Claude Code, Codex |