gemini-prompting

gemini-prompting is a skill for Claude Code from abiswas97/gemini-plugin-cc. It costs 35 tokens per session (4,859 once invoked), scanned A, original, Apache-2.0.

A guide for writing prompts for Gemini 2.5, Google's AI models, when delegating coding, review, diagnosis, or research tasks from a Claude Code plugin.

In plain words
What is it for?
Use it when sending coding work, code reviews, debugging, or research to Gemini. It covers model choice, thinking settings, context size, structured output, and tool use.
Why use it?
It helps select a suitable Gemini model and provide the context and instructions needed for the task. It also explains the trade-off between the more capable Pro model and the faster, lower-cost Flash models.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions Claude Code.

Part of the gemini plugin — 3 skills, 8 commands, 1 agent, 3 hooks shipped together

Good fit Use it when sending coding work, code reviews, debugging, or research to Gemini. It covers model choice, thinking settings, context size, structured output, and tool use.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/abiswas97/gemini-plugin-cc/gemini-prompting
Install

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.

Any agent
npx skills add abiswas97/gemini-plugin-cc --skill gemini-prompting
Clone the repo
git clone --depth 1 https://github.com/abiswas97/gemini-plugin-cc

Made for: Claude Code.

Or install gemini, the plugin that ships this one along with the rest of its 3 skills, 8 commands, 1 agent, 3 hooks.

Wrote 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.

agentmods badge for gemini-prompting

README.md
[![agentmods](https://agentmods.dev/badge/skills/abiswas97/gemini-plugin-cc/gemini-prompting/github.svg)](https://agentmods.dev/skills/abiswas97/gemini-plugin-cc/gemini-prompting)
Your own site
<a href="https://agentmods.dev/skills/abiswas97/gemini-plugin-cc/gemini-prompting"><img src="https://agentmods.dev/badge/skills/abiswas97/gemini-plugin-cc/gemini-prompting/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.

agentmods 80×15 button for gemini-prompting

Your own site · 80×15
<a href="https://agentmods.dev/skills/abiswas97/gemini-plugin-cc/gemini-prompting"><img src="https://agentmods.dev/badge/skills/abiswas97/gemini-plugin-cc/gemini-prompting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,859 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.04859
Opus 5 $0.00017 $0.02429
Sonnet 5 $0.00007 $0.00972
Haiku 4.5 $0.00003 $0.00486

Measured 10d ago against content hash 73eb87fc00cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

gemini-prompting 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 10d 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.

plugins/gemini/skills/gemini-prompting/SKILL.md · 591 lines

How it starts

The opening of the file, as written. The whole thing — 591 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Gemini 2.5 Prompting Guide for Coding Tasks

Reference document for writing effective prompts when delegating to Gemini 2.5 Pro or Flash. Covers model selection, thinking mode, context window use, structured output, tool use, and antipatterns.


Model Selection

Choose based on task complexity and cost tolerance:

Model Use when Context Thinking
gemini-2.5-pro Complex architecture, cross-file refactors, SWE-bench-style tasks, novel algorithm design 1M tokens Always on (128–32,768 tokens, default dynamic)
gemini-2.5-flash Production tasks with good cost/quality balance: reviews, summaries, data extraction, chat 1M tokens Dynamic by default (0–24,576 tokens, can disable)
gemini-2.5-flash-lite High-volume, low-cost: classification, routing, simple translation, triage 1M tokens Off by default (512–24,576 tokens)

Decision rule: Default to Flash for most coding assistance. Switch to Pro only when Flash produces shallow or incorrect reasoning on complex multi-step problems. Use Flash-Lite only when cost is the primary constraint and quality requirements are low.

SWE-bench data point: Gemini 2.5 Pro scores ~63.8% on SWE-bench Verified with a custom agent setup — comparable to frontier models for real-world GitHub issue resolution.


Thinking Mode (Budget Tokens)

Gemini 2.5 models have an internal reasoning phase ("thinking") before responding. You control how many tokens it can spend reasoning.

How to configure (Gemini API)

# Python SDK
from google import genai
from google.genai import types

client = genai.Client()
response = client.models.generate_content(
    model="gemini-2.5-flash",
    contents="Refactor this authentication module...",
    config=types.GenerateContentConfig(
        thinking_config=types.ThinkingConfig(
            thinking_budget=8192  # or -1 for dynamic, or 0 to disable
        )
    )
)

Token budget ranges

Model Min Max Default
gemini-2.5-pro 128 32,768 Dynamic (cannot disable)
gemini-2.5-flash 0 24,576 Dynamic (-1)
gemini-2.5-flash-lite 512 24,576 0 (disabled)

Read the full file on GitHub · 591 lines

Files

What ships with it

2 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.

Changes

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.

  1. 10d ago First seen · 591 lines · 35 tokens per session scan A 73eb87fc00cd

Subscribe to this mod's changes

gemini-prompting is a skill published in the GitHub repository abiswas97/gemini-plugin-cc (47 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 35 tokens to every session and 4,859 once invoked, about $0.0002 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-30.