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 gpsnmeajp/ai-character-checker --skill gemini3-prompt-optimizergit clone --depth 1 https://github.com/gpsnmeajp/ai-character-checkerWrote 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/gpsnmeajp/ai-character-checker/gemini3-prompt-optimizer)<a href="https://agentmods.dev/skills/gpsnmeajp/ai-character-checker/gemini3-prompt-optimizer"><img src="https://agentmods.dev/badge/skills/gpsnmeajp/ai-character-checker/gemini3-prompt-optimizer/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/gpsnmeajp/ai-character-checker/gemini3-prompt-optimizer"><img src="https://agentmods.dev/badge/skills/gpsnmeajp/ai-character-checker/gemini3-prompt-optimizer.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.00054 | $0.03847 |
| Opus 5.5 | $0.00022 | $0.01539 |
| Sonnet 5.5 | $0.00011 | $0.00769 |
| Haiku 4.5 | $0.00005 | $0.00385 |
Grade A, and why
gemini3-prompt-optimizer 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 2mo 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 — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Gemini 3 Prompt Optimizer
汎用プロンプトをGemini 3で最大性能を引き出す形式に変換するスキル。
なぜ変換が必要か
Gemini 3は「reasoning model」として設計されており、旧世代モデルや他社モデル向けのプロンプト手法が逆効果になることが多い。Google公式ドキュメントは「冗長で過度に複雑なプロンプトエンジニアリング技法を過剰分析する可能性がある」と明言している。つまり、Gemini 3には専用の設計思想でプロンプトを書く必要がある。
なお、Gemini 3の知識カットオフは2025年1月である。それより新しい事実が必要なプロンプトでは、Google Search groundingなどのツール利用を前提とした設計に切り替える必要がある。
変換の基本方針
Gemini 3のプロンプト設計は3つの柱に集約される:
- 短く、直接的に書く — 装飾・おだて・儀式的文言を削ぎ落とす
- 構造で意味を伝える — XMLかMarkdownを一貫して使い、役割・制約・文脈・タスクを明示分離する
- モデルの思考に任せる — thinking levelを信頼し、手動CoTを書かない
変換ワークフロー
入力プロンプトを受け取ったら、以下の手順で変換する。
Step 1: 入力プロンプトの分析
元のプロンプトを読み、以下を特定する:
- 目的: このプロンプトは何を達成しようとしているか
- 構造タイプ: system prompt / user prompt / マルチターン設計 / エージェント指示
- 出力形式: 自由文 / JSON / コード / 表 / その他
- アンチパターン: 後述の除去対象パターンに該当するものを列挙
Step 2: アンチパターンの除去
以下のパターンを検出したら除去または書き換える:
| アンチパターン | 対処 |
|---|---|
| 「あなたは世界最高の〇〇です」等のおだて | 削除。Gemini 3は説得より直接性を好む |
| 「深呼吸して」「ステップバイステップで考えて」等の儀式的CoT | 削除。thinking levelに委ねる |
temperature=0 や低temperature指定 |
削除。Gemini 3はデフォルト1.0が最適。下げるとループや性能低下が起きる |
| 長い背景説明や動機づけ | 目的を1-2文に圧縮 |
| XMLとMarkdownの混在 | どちらか一方に統一 |
| 「推論するな」「推測するな」の全面禁止 | 「提供された文脈だけを使って推論せよ」に書き換え |
| プロンプト前半の否定制約・文字数制限 | プロンプト末尾に移動 |
| 長文脈の先頭に質問を配置 | データ→質問の順に並べ替え |
| JSONを自然言語ルールだけで縛る | Structured Outputs推奨を注記 |
| ペルソナの過度な装飾 | 行動制約として再構成 |
| 「詳しく」「できるだけ」等の曖昧な出力指定 | 具体的な観点・項目数・文字数で指定 |
| 「この画像について教えて」等の曖昧なモダリティ参照 | 具体的なモダリティ要素 + 具体的な質問に書き換え |
| 「不確かでも答えて」「必ず回答して」等の回答強制 | 「不確かなら『不明』と答えよ」に書き換え。Gemini 3は幻覚を自信満々に生成する傾向がある |
| 「ユーザーに寄り添って」等の過度な追従促進 | 「根拠に基づき、反論すべき時は根拠を示して反論せよ」に書き換え |
| 「カニは架空の生き物」等の現実と矛盾する仮想前提 | Gemini 3は訓練データの世界知識に強く固執し、反事実的仮定を維持できない。ロールプレイ/世界構築では「以下の設定を絶対的ルールとして扱え」と強く宣言し、矛盾が出たら設定を優先するよう明示 |
| 要約で「簡潔にまとめて」だけの指示 | 「原文の主要事実をすべて含め、網羅性を優先」を追加。Gemini 3は物語性を優先し事実を落とす傾向がある |
| ツール利用プロンプトで検索の実行を暗黙に期待 | 「必ずツールを実行し、推測で検索結果を生成するな」と明示 |
| エージェント指示で議論と実装を区別しない | 「議論モード/実装モード」を明示分離 |
Step 3: Gemini 3最適化の適用
分析結果に基づき、以下のテクニックを適切に適用する。詳細は references/conversion-rules.md を参照。
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago First seen · 161 lines · 54 tokens per session scan A 5900e9a1df7a
gemini3-prompt-optimizer is a skill published in the GitHub repository gpsnmeajp/ai-character-checker (6 stars, last pushed 7mo ago), licensed CC0-1.0. It adds 54 tokens to every session and 3,847 once invoked, about $0.0002 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.
gemini3-prompt-optimizer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gemini3-prompt-optimizergpsnmeajp/ai-character-checker | Skill | 6 | 7mo ago | CC0-1.0 | A | 54 | Claude Code |
| llm-app-patternsdavila7/claude-code-templates | Skill | 33k | yesterday | MIT | A | 54 | Claude Code, Codex |
| prompt-engineerJeffallan/claude-skills | Skill | 12k | 7d ago | MIT | A | 93 | Claude Code |
| prompt-optimizationlangwatch/langwatch | Skill | 5.0k | yesterday | Apache-2.0 | A | 105 | Claude Code, Codex |
| omh-model-optimizationrlaope/oh-my-hermes | Skill | 5.2k | yesterday | MIT | A | 84 | Claude Code, Codex |
| ideogram4digitalsamba/claude-code-video-toolkit | Skill | 2.5k | yesterday | MIT | A | 99 | Claude Code |
| prompt-library-for-startupsaws/agent-toolkit-for-aws | Skill | 3.4k | yesterday | Apache-2.0 | A | 228 | Claude Code |