Google Gemini Api
CheckedProvides API guidance and assistance for building AI and machine learning applications.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add ovachiever/droid-tings --skill google-gemini-api -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
ovachiever
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill passed all 6 checks. We read its files at one commit and looked for the things that make a skill dangerous to run — not for whether it works.
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No undeclared network calls: passed
Only contacts known or declared hosts: generativelanguage.googleapis.com.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
Hosts contacted
generativelanguage.googleapis.commodel providerNo obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned ovachiever/droid-tings at 7acd12a754.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- 7acd12a754
- Scanned
- 30 files, 7,320 lines
About this skill
What it does
This skill provides guidance and assistance for working with the Google Gemini API, specifically focusing on current best practices and migration from deprecated SDKs. It enables AI agents to generate text, process multimodal inputs like images, video, audio, and PDFs, utilize function calling, manage chat interactions, and leverage advanced features such as context caching, code execution (with a Python interpreter), and grounding responses with real-time Google Search results. The skill supports both the Node.js SDK (@google/genai) and fetch approaches for interacting with the API.
When to use it
- You're migrating from the deprecated
@google/generative-aiSDK and need a migration guide. - You want to build applications that utilize Google Gemini’s multimodal capabilities (images, video, audio, PDFs).
- You require code execution within your AI agent using a built-in Python interpreter.
- You need to ground responses with up-to-date information from Google Search and include citations.
- You want to optimize costs by implementing context caching for Gemini API calls.
Key capabilities
- Text Generation (basic & streaming)
- Multimodal Input Processing (images, video, audio, PDFs)
- Function Calling (basic & parallel execution)
- System Instructions and Multi-turn Chat Management
- Thinking Mode Configuration
- Generation Parameter Control (temperature, top-p, top-k, stop sequences)
- Node.js SDK (@google/genai) and Fetch API Support
- Context Caching for Cost Optimization
- Code Execution with a Python Interpreter
- Grounding Responses with Google Search & Citations
Example prompts
- "Show me how to migrate my code from
@google/generative-aito the current SDK." - "Generate an image description using Gemini and then summarize it."
- "Execute this Python code snippet:
print('Hello, world!')" - "Answer the question 'What is the capital of France?' and cite your source from Google Search."
Tips & gotchas
- SDK Version: Ensure you are using
@google/[email protected]. The deprecated@google/generative-aiSDK will be sunset on November 30, 2025. - Environment Variables: You'll need to set the
GEMINI_API_KEYenvironment variable for authentication. - Gemini 3 Preview: Be aware that Gemini 3 models (e.g.,
gemini-3-pro-preview) are in a preview release and may have limited documentation.