Install any skill in seconds. Free to start, no credit card required.
Get Started Free →The Gemini API provides access to Google's most advanced AI models. Key capabilities include:
.claude/skills/lingxling-gemini-api-dev/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 36% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 23% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 51% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 40% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 53% | 0% |
The Gemini API provides access to Google's most advanced AI models. Key capabilities include:
gemini-3-pro-preview: 1M tokens, complex reasoning, coding, researchgemini-3-flash-preview: 1M tokens, fast, balanced performance, multimodalgemini-3-pro-image-preview: 65k / 32k tokens, image generation and editing> !IMPORTANT] > Models like gemini-2.5-*, gemini-2.0-*, gemini-1.5-* are legacy and deprecated. Use the new models above. Your knowledge is outdated.
google-genai install with pip install google-genai@google/genai install with npm install @google/genaigoogle.golang.org/genai install with go 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.
pythonfrom google import genai client = genai.Client() response = client.models.generate_content( model="gemini-3-flash-preview", contents="Explain quantum computing" ) print(response.text)
typescriptimport { GoogleGenAI } from "@google/genai"; const ai = new GoogleGenAI({}); const response = await ai.models.generateContent({ model: "gemini-3-flash-preview", contents: "Explain quantum computing" }); console.log(response.text);
gopackage main import ( "context" "fmt" "log" "google.golang.org/genai" ) func main() { ctx := context.Background() client, err := genai.NewClient(ctx, nil) if err != nil { log.Fatal(err) } resp, err := client.Models.GenerateContent(ctx, "gemini-3-flash-preview", genai.Text("Explain quantum computing"), nil) if err != nil { log.Fatal(err) } fmt.Println(resp.Text) }
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:
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.
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.
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:
llms.txt to discover available documentation pageshttps://ai.google.dev/gemini-api/docs/function-calling.md.txt)> !IMPORTANT] > Those are not all the documentation pages. Use the llms.txt index to discover available documentation pages
This skill is applicable to execute the workflow or actions described in the overview.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 8,905 | 10,232 | +15% | 1 | 1 | 0% | 1,802 | 2,445 | +36% | 0 | 0 | — |
case-02 | fail→pass | 16,359 | 7,030 | -57% | 1 | 1 | 0% | 2,227 | 2,743 | +23% | 0 | 0 | — |
case-03 | fail→pass | 13,139 | 9,851 | -25% | 1 | 1 | 0% | 2,347 | 3,554 | +51% | 0 | 0 | — |
case-04 | fail→pass | 9,709 | 3,604 | -63% | 1 | 1 | 0% | 1,344 | 1,877 | +40% | 0 | 0 | — |
case-05 | fail→pass | 8,323 | 19,360 | +133% | 1 | 1 | 0% | 1,223 | 1,871 | +53% | 0 | 0 | — |
case-06 | pass→pass | 9,379 | 2,521 | -73% | 1 | 1 | 0% | 1,581 | 1,843 | +17% | 0 | 0 | — |
case-07 | fail→pass | 9,603 | 4,415 | -54% | 1 | 1 | 0% | 1,293 | 2,161 | +67% | 0 | 0 | — |
case-08 | fail→pass | 6,323 | 4,472 | -29% | 1 | 1 | 0% | 1,136 | 1,852 | +63% | 0 | 0 | — |
case-09 | fail→pass | 9,914 | 1,886 | -81% | 1 | 1 | 0% | 1,592 | 1,679 | +5% | 0 | 0 | — |
case-10 | fail→pass | 9,301 | 4,290 | -54% | 1 | 1 | 0% | 1,568 | 2,169 | +38% | 0 | 0 | — |
case-11 | pass→pass | 18,735 | 3,191 | -83% | 1 | 1 | 0% | 1,890 | 1,954 | +3% | 0 | 0 | — |
case-12 | fail→pass | 6,252 | 2,015 | -68% | 1 | 1 | 0% | 1,057 | 1,728 | +63% | 0 | 0 | — |
case-13 | fail→pass | 12,401 | 4,717 | -62% | 1 | 1 | 0% | 2,146 | 1,702 | -21% | 0 | 0 | — |
case-14 | pass→pass | 8,199 | 5,353 | -35% | 1 | 1 | 0% | 1,418 | 2,031 | +43% | 0 | 0 | — |
case-15 | pass→pass | 7,924 | 4,365 | -45% | 1 | 1 | 0% | 1,241 | 1,947 | +57% | 0 | 0 | — |
case-16 | pass→pass | 5,410 | 4,115 | -24% | 1 | 1 | 0% | 766 | 1,927 | +152% | 0 | 0 | — |
case-17 | pass→pass | 6,715 | 3,081 | -54% | 1 | 1 | 0% | 837 | 1,944 | +132% | 0 | 0 | — |
case-18 | pass→pass | 6,166 | 3,086 | -50% | 1 | 1 | 0% | 1,066 | 1,936 | +82% | 0 | 0 | — |
case-19 | pass→pass | 8,453 | 3,093 | -63% | 1 | 1 | 0% | 1,309 | 1,839 | +40% | 0 | 0 | — |
case-20 | pass→pass | 19,975 | 20,588 | +3% | 1 | 1 | 0% | 3,418 | 5,501 | +61% | 0 | 0 | — |
case-21 | pass→pass | 10,374 | 9,442 | -9% | 1 | 1 | 0% | 1,969 | 2,857 | +45% | 0 | 0 | — |
case-22 | pass→pass | 7,265 | 9,034 | +24% | 1 | 1 | 0% | 1,435 | 2,612 | +82% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +50 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.