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 | $0.00027 | $0.01924 |
| Sonnet 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 12d 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.
- 12d 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 (5 stars, last pushed 5mo ago), licensed CC0-1.0. It adds 54 tokens to every session and 3,847 once invoked, about $0.0003 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 skills, from other repositories
llm-app-patterns
Production-ready patterns for building LLM applications. Covers RAG pipelines, agent architectures, prompt IDEs, and LLMOps monitoring. Use when designing AI applications, implementing RAG, building agents, or setting up LLM observability.
prompt-optimization
Improve a prompt on the evaluations workbench through a measured loop. Score the baseline first, then duplicate the target column, form a hypothesis from failing rows, edit the copy's prompt draft, run, compare pass rate and cost, and repeat until the numbers hold. Use when the user asks to optimize or improve a…
enhance-prompt
Transforms vague UI ideas into polished, Stitch-optimized prompts. Enhances specificity, adds UI/UX keywords, injects design system context, and structures output for better generation results.
prompt-engineer
Writes, refactors, and evaluates prompts for LLMs — generating optimized prompt templates, structured output schemas, evaluation rubrics, and test suites. Use when designing prompts for new LLM applications, refactoring existing prompts for better accuracy or token efficiency, implementing chain-of-thought or few-shot…
seedance-vocab-en
This skill should be used when an English Seedance 2.0 prompt needs clearer production wording, less generic prose, or precise vocabulary for camera, lighting, motion, VFX, audio, and constraints. Route blocked prompts through seedance-filter for context and boundary review.
ideogram4
Prompting patterns for Ideogram 4 text-to-image — best-in-class in-image text rendering and exact color/layout control via structured JSON captions. Use when generating images that need legible on-image text (title cards, thumbnails, logos, signage, CTAs), precise brand colors, or controlled spatial layout. Triggers…