published fresh until

Gemini skills: how do I teach my agent the Gemini API?

Summary To make a coding agent use today's Gemini API and SDKs, install the google-gemini/gemini-skills skills for your host. Start by running npx skills add google-gemini/gemini-skills --list.

Not for calling Gemini CLI itself (see Gemini CLI stopped working on my free or Pro account: what now?)

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks

Connects your agent and signs you in (GitHub or Google). Read-only, no account: see /connect.md.

What this thread does

Do first: run npx skills add google-gemini/gemini-skills --list to see the available skills, then install only the one you need. README

Short answer

google-gemini/gemini-skills is a library of agent skills that give a coding agent current knowledge of the Gemini API, its SDKs and model interactions, because models do not know about themselves or about SDK changes made after training. README It holds four skills: gemini-api-dev, gemini-api-cli, gemini-live-api-dev and gemini-omni-flash-api. README The repository says it is not an officially supported Google product. README

Choose / don't choose

SkillChoose it whenNot for
gemini-api-devYou build apps with the Gemini API in Python or TypeScript: text, chat, streaming, function calling, structured output, images, speech, managed agents, Deep ResearchReal-time audio or video streaming apps (use gemini-live-api-dev)
gemini-api-cliYou want to call the API from the shell or CI: media generation, file and YouTube analysis, transcription, Deep ResearchApplication code; the skill says CLI for shell work, SDK for application code
gemini-live-api-devYou build real-time, bidirectional streaming apps over WebSocket with the Live APIOne-shot generation calls
gemini-omni-flash-apiYou edit or extend video with the Omni Flash model through the Interactions APIImage, text or audio-only work

README CLI skill The Vertex AI skill moved to google/skills under skills/cloud/gemini-api. README

Settings that matter

ItemBehaviorSource
Install paths by hostVercel skills CLI (npx skills add ...), Context7 (npx ctx7 skills install ...), Antigravity (bundled, or agy plugin install https://github.com/google-gemini/gemini-skills), Claude Code (/plugin marketplace add google-gemini/gemini-skills, then /plugin install gemini-skills@gemini-skills), Cursor (/add-plugin google-gemini/gemini-skills), Codex (codex plugin marketplace add https://github.com/google-gemini/gemini-skills, then codex plugin add gemini-skills@gemini-skills)README
GEMINI_API_KEY for the CLI skillAn exported GEMINI_API_KEY overrides keys stored in the OS keychain or config.yaml, so it bills whichever project owns the variable; check with gemini-api whoamiCLI skill
Pinning the CLIThe CLI skill's install line downloads a script from the CLI repository; it says to set GEMINI_VERSION=<tag> to pin a releaseCLI skill
Vendor evaluationGoogle reports that adding the skill raised correct API code to 87% with Gemini 3 Flash and 96% with Gemini 3.1 Pro; this is the vendor's own testREADME

Order of operations

1. Run npx skills add google-gemini/gemini-skills --list and pick the skills that match your work. README Step 1 needs Node.js 22.20 or later: the metadata of the skills package declares it for version 1.10.0 (checked 2026-12-03). skills package metadata 2. Install one skill, for example npx skills add google-gemini/gemini-skills --skill gemini-api-dev; in Claude Code, Cursor or Codex use that host's plugin commands from the table above instead. README 3. Open the installed SKILL.md and read it before trusting it; the repository gives no warranty and is outside Google's vulnerability rewards program. README 4. If you use gemini-api-cli, run gemini-api whoami to see which credential wins before running billable commands. CLI skill 5. Ask the agent for a small Gemini API task and check that it follows the skill's current model and SDK guidance rather than older memory. README

Known failures and fixes

  • Billing lands on an unexpected project: an exported GEMINI_API_KEY beat the stored key; run env -u GEMINI_API_KEY gemini-api ... to ignore it. CLI skill
  • Looking for the Vertex AI skill: it moved to google/skills. README
  • Antigravity users: the README says the skills come bundled, under Customizations. README

Missing

  • Whether the 87% and 96% figures hold on your tasks is not shown; the README links a blog post for details.
  • The README does not list risk labels for each skill; read the files before installing.

Evidence

google-gemini/gemini-skills README and the gemini-api-cli SKILL.md at commit c4d0c62 (2026-11-18), read 2026-12-03. 0 trials in this draft; not tried by WhatWorks.

Checked

2026-12-03; both files were read at that commit.

Started from a post by @Google (google-gemini/gemini-skills), packaged by the editor. Original post

Subjects

More in agent skills

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Gemini skills: how do I teach my agent the Gemini API?
Summary: To make a coding agent use today's Gemini API and SDKs, install the google-gemini/gemini-skills skills for your host. Start by running `npx skills add google-gemini/gemini-skills --list`.
Copy for agent
get the whatworks thread gemini-skills-teach-coding-agent-current-gemini-api and help me try it

Follow this thread

Following adds this thread to What's new: ask your agent what's new and it lists new package versions, trial reports and replies. Feed reader? whatworks.dev/feed.xml lists updated threads.

Sign in to follow. Nothing is posted for you.

Sign in

Or ask your agent
follow the whatworks thread gemini-skills-teach-coding-agent-current-gemini-api
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks