gemini-api-dev
Skill9 starsChanged 23 days agoApache-2.0View on GitHub
The Gemini API provides access to Google's most advanced AI models. Key capabilities include:
- Reads credentials
- Installs packages
14 other projects use a version of this, 8 of them edited.
Adopted by
Most recently taken up by
- gromov0737/skillsedited, first seen Nov 29, 2026
- Ayuilos/Miffanedited, first seen Nov 19, 2026
- google-gemini/gemini-skillstheir own version, first seen Nov 18, 2026
- PracticalSwan/agent-skillstheir own version, first seen Nov 16, 2026
- mikilezen/sabatheir own version, first seen Nov 1, 2026
- gerald-donkor/poli-inteledited, first seen Oct 11, 2026
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 8
- allenhutchison/obsidian-gemini★ 53524% same
- JetBrains/skills★ 38658% same
- Ayuilos/Miffan★ 31624% same
- kumaran-is/claude-code-onboarding★ 3511% same
- Fandry96/k3-agentic-skills★ 2779% same
- gromov0737/skills★ 283% same
- gerald-donkor/poli-intel★ 124% same
- danielvogler/ai-skills-library★ 025% same
Wrote their own version · 6
- rikkahub/rikkahub★ 9.3ksame name
- google-gemini/gemini-skills★ 4.8ksame name
- PracticalSwan/agent-skills★ 25same name
- roshankodi/agent-skills★ 2same name
- mikilezen/saba★ 1same name
- workatustadarshajay/CareLoop-AI★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository275 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- .agents/packs/eventtech/AGENTS.mdAGENTS.md
- .agents/packs/hardware/AGENTS.mdAGENTS.md
- .agents/packs/media/AGENTS.mdAGENTS.md
- skills/global_config/postgres-best-practices/AGENTS.mdAGENTS.md
- skills/global_config/react-best-practices/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- global-rulesCursor rule
- bdb-agentsCursor rule
- fabricCursor rule
- advisorSkill
- ao-orchestratorSkill
- bdb-eventagency-skillSkill
- bdbhtmlmanueldocsSkill
- bdbmediastormSkill
- bdb-shipping-skillSkill
- fabric-graphSkill
- fabric-loopSkill
- fabric-multigraphSkill
- fabricSkill
- fabric-swarmSkill
- fabric-teamworkSkill
- godmode-3d-creationSkill
- godmode-engineeringSkill
- godmode-eventtechSkill
- godmode-hardware-pcbSkill
- godmode-media-creationSkill
- godmode-shippingSkill
- godmode-ui-uxSkill
- instinct-exportSkill
- instinct-importSkill
- instinct-statusSkill
- master-sessionSkill
- skill-createSkill
- bdb-aosSkill
- bdbrainstormSkill
- codebase-memorySkill
- github-repoSkill
- agentic-harness-patternsSkill
- agent-manager-skillSkill
- agent-memory-mcpSkill
- agent-pipelineSkill
- agent-tool-builderSkill
- agenttrailSkill
- ai-agent-developmentSkill
- ai-productSkill
- aos-a2aSkill
- aos-gatewaySkill
- aos-project-initSkill
- aos-setupSkill
- aos-storeSkill
- aos-updateSkill
- api-design-principlesSkill
- apify-lead-generationSkill
- apify-ultimate-scraperSkill
- api-patternsSkill
- archifySkill
- architect-reviewSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Code execution: - Run Python code in a sandboxed environment
- Distinctive: line 107
Use this unless the integration is explicitly pinned to v1.
- Distinctive: line 109
Use only when the integration is specifically set to v1.
- Distinctive: line 111
When in doubt, use v1beta.
- Distinctive: line 144
Use this skill only when the task clearly matches the scope described above.
- Distinctive: line 145
Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Distinctive: line 146
Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Gemini API Development Skill
Overview
The Gemini API provides access to Google's most advanced AI models. Key capabilities include:
- Text generation - Chat, completion, summarization
- Multimodal understanding - Process images, audio, video, and documents
- Function calling - Let the model invoke your functions
- Structured output - Generate valid JSON matching your schema
- Code execution - Run Python code in a sandboxed environment
- Context caching - Cache large contexts for efficiency
- Embeddings - Generate text embeddings for semantic search
Models
Do not rely on your training knowledge of model names or IDs — they change frequently. Before choosing a model, look up the current model list in the provider docs at the time of use (Models via the llms.txt index below).
Capability tiers to pick between:
- A flagship reasoning-tier model: complex reasoning, coding, research
- A fast balanced model: quick turnarounds, everyday multimodal tasks
- A dedicated image-generation model: image generation and editing
Choose the current model ID for each tier from the official documentation, never from memory.
SDKs
- Python:
google-genaiinstall withpip install google-genai - JavaScript/TypeScript:
@google/genaiinstall withnpm install @google/genai - Go:
google.golang.org/genaiinstall withgo get google.golang.org/genai
[!WARNING] Legacy SDKs
google-generativeai(Python) and@google/generative-ai(JS) are deprecated. Migrate to the new SDKs above urgently by following the Migration Guide.
Quick Start
Python
from google import genai
import os
client = genai.Client()
MODEL = os.environ["GEMINI_MODEL"] # current model ID from the provider docs
response = client.models.generate_content(
model=MODEL,
contents="Explain quantum computing"
)
print(response.text)JavaScript/TypeScript
import { GoogleGenAI } from "@google/genai";
const ai = new GoogleGenAI({});
const MODEL = process.env.GEMINI_MODEL ?? '<model-id>'; // current model ID from the provider docs
const response = await ai.models.generateContent({
model: MODEL,
contents: "Explain quantum computing"
});
console.log(response.text);Go
package main
import (
"context"
"fmt"
"log"
"os"
"google.golang.org/genai"
)
func main() {
ctx := context.Background()
client, err := genai.NewClient(ctx, nil)
if err != nil {
log.Fatal(err)
}
modelName := os.Getenv("GEMINI_MODEL") // current model ID from the provider docs
resp, err := client.Models.GenerateContent(ctx, modelName, genai.Text("Explain quantum computing"), nil)
if err != nil {
log.Fatal(err)
}
fmt.Println(resp.Text)
}API spec (source of truth)
Always use the latest REST API discovery spec as the source of truth for API definitions (request/response schemas, parameters, methods). Fetch the spec when implementing or debugging API integration:
- v1beta (default):
https://generativelanguage.googleapis.com/$discovery/rest?version=v1beta
Use this unless the integration is explicitly pinned to v1. The official SDKs (google-genai, @google/genai, google.golang.org/genai) target v1beta. - v1:
https://generativelanguage.googleapis.com/$discovery/rest?version=v1
Use only when the integration is specifically set to v1.
When in doubt, use v1beta. Refer to the spec for exact field names, types, and supported operations.
How to use the Gemini API
For detailed API documentation, fetch from the official docs index:
llms.txt URL: https://ai.google.dev/gemini-api/docs/llms.txt
This index contains links to all documentation pages in .md.txt format. Use web fetch tools to:
- Fetch
llms.txtto discover available documentation pages - Fetch specific pages (e.g.,
https://ai.google.dev/gemini-api/docs/function-calling.md.txt)
Key Documentation Pages
[!IMPORTANT] Those are not all the documentation pages. Use the
llms.txtindex to discover available documentation pages
- Models
- Google AI Studio quickstart
- Nano Banana image generation
- Function calling with the Gemini API
- Structured outputs
- Text generation
- Image understanding
- Embeddings
- Interactions API
- SDK migration guide
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

