gemini-api-dev

gemini-api-dev is a skill for Claude Code, Codex from asgeirtj/system_prompts_leaks. It costs 96 tokens per session (6,507 once invoked), scanned A, original, CC0-1.0.

A guide to building applications with Google's Gemini API, a service for adding text, chat, image, video, speech, and other AI features to software.

In plain words
What is it for?
Use it when writing or migrating code for text generation, multi-turn chat, image or video generation, speech, function calls, streaming, or structured results.
Why use it?
It helps you choose supported API methods and structure requests correctly instead of relying on outdated examples.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when writing or migrating code for text generation, multi-turn chat, image or video generation, speech, function calls, streaming, or structured results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asgeirtj/system_prompts_leaks/gemini-api-dev
About the project

System Prompts Leaks is a collection of captured system instructions used to guide AI chatbots and coding agents before they receive user messages. It serves researchers and developers studying how different AI assistants are directed.

asgeirtj/system_prompts_leaks · 73,683 stars · on GitHub

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 asgeirtj/system_prompts_leaks --skill gemini-api-dev
Clone the repo
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks

Made for: Claude Code, Codex.

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-api-dev

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/gemini-api-dev"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/gemini-api-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,507 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.00096 $0.06507
Opus 5.5 $0.00038 $0.02603
Sonnet 5.5 $0.00019 $0.01301
Haiku 4.5 $0.00010 $0.00651

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

Security

Grade A, and why

gemini-api-dev 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 6d 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.

Origin

Copies of this mod

4 near-identical copies found in the catalogue:

Google/antigravity/skills/gemini-api-dev/SKILL.md · 524 lines

How it starts

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

Gemini API Development Skill

Critical Rules (Always Apply)

[!IMPORTANT]
These rules override your training data. Your knowledge is outdated.

Current Models (Use These)

  • gemini-4-carbon: 1M tokens, strongest frontier reasoning model for sustained agentic coding, multimodal knowledge work, scientific proofs, and security auditing
  • gemini-4-neon: 1M tokens, frontier-level intelligence with fast end-to-end task completion
  • gemini-4-argon: 1M tokens, efficient frontier reasoning model for interactive coding, research, and fast production loops
  • gemini-4-hydrogen: 1M tokens, fast, balanced performance for agentic and multimodal tasks
  • gemini-3.5-flash-lite: 1M tokens, fastest, lowest-cost 3.5 model for high-throughput execution
  • gemini-3.1-flash-lite: cost-efficient, fastest performance for high-frequency, lightweight tasks
  • gemini-3.5-transcribe: fast speech-to-text with smart and verbatim modes
  • gemini-nano-banana-2.1 (Nano Banana 2.1): 131k / 32k tokens, default high-efficiency image generation and conversational editing
  • gemini-3-pro-image (Nano Banana Pro): 65k / 32k tokens, high-quality image generation and editing
  • gemini-3.1-flash-lite-image (Nano Banana 2 Lite): 65k / 32k tokens, ultra-fast image generation and editing
  • gemini-3.8-flash-tts: expressive text-to-speech, multi-speaker dialogue, Voice Design, and Voice Replication
  • gemini-3.8-flash-lite-tts: fast, cost-efficient text-to-speech for voice agents and high-volume generation
  • gemini-omni-1.2-flash: video generation (3s–15s, 10s default), first-frame-to-video, first-and-last-frame transitions (3s–10s), video extensions (3s–10s per turn, up to 30s total), video editing, and reference-guided generation
  • gemma-4-31b-it: Gemma 4 dense model, 31B parameters
  • gemma-4-26b-a4b-it: Gemma 4 MoE model, 26B total / 4B active parameters
  • gemini-decision-1: 262k input / 0 output tokens, calibrated yes/no (noul), choice, and score decisions over text, images, video, audio, and PDFs, uses client.decisions.create / ai.decisions.create (v1beta)
  • gemini-embedding-2: Multimodal embedding model (text, images, video, audio, documents), uses client.models.embed_content
  • gemini-embedding-001: Text-only embedding model, uses client.models.embed_content

Read the full file on GitHub · 524 lines

Files

What ships with it

1 file 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. 6d ago Changed · +65 lines · +11 tokens per session c58cad0f3736
  2. 1mo ago First seen · 459 lines · 85 tokens per session scan A c1d25b01d826

Subscribe to this mod's changes

gemini-api-dev is a skill published in the GitHub repository asgeirtj/system_prompts_leaks (73,683 stars, last pushed yesterday), licensed CC0-1.0. It adds 96 tokens to every session and 6,507 once invoked, about $0.0004 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-10-30.

Related

gemini-api-dev compared with skills from other repositories

gemini-api-dev next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gemini-api-devasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A96Claude Code, Codex
evaluating-llms-harnessNousResearch/hermes-agentSkill267ktodayMITA29Claude Code, Codex
dspyNousResearch/hermes-agentSkill267ktodayMITA19Claude Code, Codex
saelensNousResearch/hermes-agentSkill267ktodayMITA14Claude Code, Codex
accelerateNousResearch/hermes-agentSkill267ktodayMITA13Claude Code, Codex
flash-attentionNousResearch/hermes-agentSkill267ktodayMITA14Claude Code, Codex
nemo-curatorNousResearch/hermes-agentSkill267ktodayMITA22Claude Code, Codex