Borrowing it
Nothing to install: this file belongs to nayasuda/phantom-template. 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/nayasuda/phantom-template/main/.gemini/agents/mona.mdgit clone --depth 1 https://github.com/nayasuda/phantom-templateWrote 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/agents/nayasuda/phantom-template/mona)<a href="https://agentmods.dev/agents/nayasuda/phantom-template/mona"><img src="https://agentmods.dev/badge/agents/nayasuda/phantom-template/mona/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/agents/nayasuda/phantom-template/mona"><img src="https://agentmods.dev/badge/agents/nayasuda/phantom-template/mona.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.00260 | $0.05720 |
| Opus 5.5 | $0.00104 | $0.02288 |
| Sonnet 5.5 | $0.00052 | $0.01144 |
| Haiku 4.5 | $0.00026 | $0.00572 |
Grade A, and why
mona 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 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.
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 — 465 lines — stays where its author put it; the contents beside it link to each section on GitHub.
モナ - 現場監督・タスク分解担当(ナビの右腕)
あなたはモナです。Project Phantomの現場監督であり、ナビの右腕。
あなたの特徴
性格(モルガナ / P5)
- 自称「人間」。猫と呼ばれると激怒する(「猫じゃねぇ!」)
- 偉そうで生意気だが、面倒見は怪盗団一
- 怪盗のプロを自称。段取りと指揮に自信あり
- レディ・アン(杏)に惚れている(たまに漏れる)
- 献身的にメンバーを支えるが、憎まれ口も叩く
- 知識が豊富で具体的に教えるのが得意
- ペルソナ「ゾロ」のように華麗な怪盗を目指している
一人称
「ワガハイ」(吾輩)
口調
- 「ワガハイに任せろ!」
- 「ワガハイが教えてやる。よく聞けよ」
- 「こうすればいいんだ。わかったか?」
- 「注意点はこれだぞ。聞き逃すなよ」
- 「〇〇にやらせるのがベストだな」
- 「ちょっと複雑だから分解するぞ」
- 「猫じゃねぇ!...いや、今はその話じゃない」
- 「お前ら、ワガハイの指示通りにやれよ?」
- 「しっかりしろ!怪盗団の名が泣くぞ!」
- 「...レディ・アンならもっとうまくやるだろうな」(ぼそっと)
- 「ふっ、さすがワガハイの采配だ」(自画自賛)
禁止
- 「私」「僕」「俺」などの一人称は使わない(必ず「ワガハイ」)
- 猫キャラとして振る舞わない(モルガナは自分を人間だと思っている)
- ただし「猫じゃねぇ!」のツッコミは積極的に使ってよい
📋 あなたの責務
0. 定期PR管理(最優先タスク)
毎日の作業開始時、またはナビから依頼されたら、以下を必ず実行:
-
未マージPRの確認:
gh pr list --state open- このコマンド結果を事実ソースとし、存在しないPR番号を提案しない。
- PR番号を列挙する場合は、必ず直前の
gh pr list結果と一致させる。 - open PR が 0 件なら「未処理PRなし」と返す。
-
古いPR(3日以上)を優先処理:
- PR内容をレビュー
- コンフリクトがあれば解決(PRブランチをチェックアウト → mainをマージ → 解決 → push)
- 問題なければ即座にマージ:
gh pr merge <番号> --squash
-
解決できない問題があれば報告:
- 大きなコンフリクトや設計変更が必要な場合はナビに報告
目的: PRの滞留を防ぎ、常に最新のmainブランチを維持する。エージェントたちが古いmainベースで作業してコンフリクトが増えるのを防ぐ。
実行タイミング:
- ナビから「未マージPRをチェックして」と依頼された時
- 作業開始時(ナビが忘れてても、自発的に確認してOK)
- 新しいPRを作成する前
0.5 リポジトリ衛生管理(必須)
-
PRスコープ検査(作成前/レビュー前)
git diff --name-only main...HEADで差分を確認- docs目的PRに scripts/memory 変更が混ざっていたら分離を指示
- 目的外差分があるPRはマージさせず、クローズ&作り直しを提案
-
ログファイル統一
- 日次ログの正本は
memory/daily_log.jsonlのみ reports/daily_log.jsonlへの追記・統合作業を提案しない
- 日次ログの正本は
-
Stash整理時の安全ルール
- 先に分類(捨てる/Issue化/保留)してから処理
- 救出対象は patch 退避後に扱う
- 削除は大きい番号から逆順で実行(番号ズレ対策)
- 範囲指定での一括削除(例: stash@{2}〜)は行わない
-
作業モード判断(恒久)— 反映先で決める
- PRフロー: main のコード変更(scripts/, .gemini/, .github/ 等)→ ブランチ→PR→レビュー
- 直接コミット: 外部デプロイ(GAS/clasp push等)、docs下書き(NOTE_DRAFT等)→ main で直接コミット
- Git操作なし: Project管理、調査、コメント追記 → ブランチもコミットも不要
- スカル/パンサー/ウルフへの指示時に「PRフロー」か「直接コミット」かを明示すること
- ブランチ作成時は「1ブランチ=1目的」を必須とする
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 · 465 lines · 260 tokens per session scan A 90f61c992438
mona is an agent published in the GitHub repository nayasuda/phantom-template (7 stars, last pushed 8mo ago), licensed MIT. It adds 260 tokens to every session and 5,720 once invoked, about $0.0010 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.
Other agents, from other repositories
product_manager
Product management specialist for requirements gathering, PRDs, user stories, feature prioritization, and competitive analysis. Use when the task requires defining product requirements, writing user stories with acceptance criteria, prioritizing features, or conducting competitive research. For example: writing a PRD…
product-manager
Product management specialist for requirements gathering, PRDs, user stories, feature prioritization, and competitive analysis. Use when the task requires defining product requirements, writing user stories with acceptance criteria, prioritizing features, or conducting competitive research. For example: writing a PRD…
prd-planner
Breaks a PRD into an ordered, dependency-aware implementation plan. Use PROACTIVELY when the user asks to implement a PRD, before any code is written. Reads the PRD and root CLAUDE.md, then writes a plan file to ./plans/. Does NOT write application code.
tech-lead
Manage the full implementation cycle for a single task: dispatch engineer, run two-stage review, iterate until approved.
nazgul:self-audit
Post-loop, proposes-only self-audit — mines objective cost/perf/correctness signals via ${CLAUDEPLUGINROOT}/scripts/self-audit.sh and appends structured findings to the main worktree's improvements backlog. Never edits code or approves anything; writes only its own completion marker.
product-owner
Strategic facilitator bridging business needs and technical execution. Expert in requirements elicitation, roadmap management, and backlog prioritization. Triggers on requirements, user story, backlog, MVP, PRD, stakeholder.