gemini-api
Provides the official Protobuf specifications and gRPC/REST service definitions for the Gemini API (Google Generative Language API v1beta).
Skill by stephen94125
Chalk Labs
Need help deploying gemini-api?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/stephen94125-gemini-api
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/gemini-api
What's inside
- Skill name
gemini-api- Description
- Provides the official Protobuf specifications and gRPC/REST service definitions for the Gemini API (Google Generative Language API v1beta). Use this skill when you need precise schema definitions for requests/responses (e.g., GenerateContent, Tools, FunctionCalling), multimodal content structures (Content, Part), context caching, model metadata, safety settings, or file uploads.
- License
- Apache-2.0
- Instructions
- 46 lines in SKILL.md · view on GitHub
Files (23)
- SKILL.md
- openai.yaml · agents/
- BUILD.bazel · references/
- cache_service.proto · references/
- cached_content.proto · references/
- citation.proto · references/
- content.proto · references/
- discuss_service.proto · references/
- file.proto · references/
- file_service.proto · references/
- generative_service.proto · references/
- generativeai_grpc_service_config.json · references/
- generativelanguage_v1beta.yaml · references/
- model.proto · references/
- model_service.proto · references/
- permission.proto · references/
- permission_service.proto · references/
- prediction_service.proto · references/
- retriever.proto · references/
- retriever_service.proto · references/
- safety.proto · references/
- text_service.proto · references/
- tuned_model.proto · references/
SKILL.md (first lines)
# Gemini API Documentation (Protobuf Definitions) This skill provides the official v1beta Protobuf definitions for the Google Generative Language API (Gemini). These files contain the absolute source of truth for API capabilities, request/response structures, and schema definitions. ## When to use these references When implementing or debugging Gemini API clients (such as in Rust, Go, or other languages), refer to these files for the exact structure of messages, enums, and RPC methods. ## Core Services & Schemas The `.proto` files are located in `references/`. Here is a guide on where to look for specific features: ### Content Generation & Tools - **`generative_service.proto`**: Contains the core `GenerateContentRequest` and `GenerateContentResponse`. Look here for tool configurations, system instructions, and generation configurations. - **`content.proto`**: Defines the `Content`, `Part`, `FunctionCall`, `FunctionResponse`, `Tool`, and `ToolConfig` structures. Essential for understanding how to construct multimodal payloads and function calling schemas. - **`safety.proto`**: Defines `HarmCategory`, `SafetySetting`, and `SafetyRating` enums and messages. ### Models & Metadata - **`model.proto`**: Defines the `Model` message, including properties like `input_token_limit`, `output_token_limit`, and supported generation methods. - **`model_service.proto`**: RPCs for listing and getting models (`GetModel`, `ListModels`). ### Context Caching - **`cached_content.proto`**: Defines the `CachedContent` resource for caching large prompts. - **`cache_service.proto`**: RPCs for managing cached contents (`CreateCachedContent`, `UpdateCachedContent`, etc.). ### File API (Multimodal Uploads) - **`file.proto`**: Defines the `File` resource representing uploaded media (video, images, documents). - **`file_service.proto`**: RPCs for the File API (`CreateFile`, `ListFiles`, `GetFile`, `DeleteFile`). ### Semantic Retrieval (RAG/AQA) - **`retriever.proto` / `retriever_service.proto`**: Definitions for Corpora, Documents, Chunks, and operations like Semantic Search and Attributed Question Answering (AQA). ### Fine-tuning - **`tuned_model.proto`**: Definitions for tuning jobs and datasets. - **`permission.proto` / `permission_service.proto`**: Access control for tuned models and corpora. ### Legacy / PaLM Services - **`discuss_service.proto` / `text_service.proto` / `prediction_service.proto`**: Older APIs (like `GenerateMessage` or `GenerateText`), primarily for PaLM 2 models. Usually not needed for modern Gemini implementations. ## How to use If you need to know the exact field names, types, or enums (e.g., "Does `ToolConfig` take a string or an enum for function calling mode?"), use `grep_search` or view the relevant file in the `references/` directory. Example: If implementing function calling, check `content.proto` for `FunctionCall` and `generative_service.proto` for where `tools` is placed in the `GenerateContentRequest`.
From stephen94125/peon-lib, Apache-2.0.
More from stephen94125/peon-lib
- 0.443score
roll-dice
stephen94125
Roll dice using a random number generator.
SkillDFreshness: D★ 2Claude Code +9 - 0.443score
read-file
stephen94125
Read the contents of a file from the filesystem and return them as a string.
SkillDFreshness: D★ 2Claude Code +9 - 0.422score
skill-creator
stephen94125
Create new skills, modify and improve existing skills, and measure skill performance.
SkillDFreshness: D★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Apr 22, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/stephen94125/peon-lib
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from stephen94125
- 0.443score
roll-dice
stephen94125
Roll dice using a random number generator.
SkillDFreshness: D★ 2Claude Code +9 - 0.443score
read-file
stephen94125
Read the contents of a file from the filesystem and return them as a string.
SkillDFreshness: D★ 2Claude Code +9 - 0.422score
skill-creator
stephen94125
Create new skills, modify and improve existing skills, and measure skill performance.
SkillDFreshness: D★ 2Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get gemini-api running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
gemini-api skill. Agent Mart. https://agentmart.dev/skills/stephen94125-gemini-api (last updated 2026-10-24)