Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/stephen94125/peon-lib/gemini-apinpx skills add stephen94125/peon-lib --skill gemini-apigit clone --depth 1 https://github.com/stephen94125/peon-libWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/stephen94125/peon-lib/gemini-api)<a href="https://agentmods.dev/skills/stephen94125/peon-lib/gemini-api"><img src="https://agentmods.dev/badge/skills/stephen94125/peon-lib/gemini-api.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00078 | $0.00763 |
| Opus 5 | $0.00039 | $0.00381 |
| Sonnet 5 | $0.00016 | $0.00153 |
| Haiku 4.5 | $0.00008 | $0.00076 |
Grade A, and why
gemini-api scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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 coreGenerateContentRequestandGenerateContentResponse. Look here for tool configurations, system instructions, and generation configurations.content.proto: Defines theContent,Part,FunctionCall,FunctionResponse,Tool, andToolConfigstructures. Essential for understanding how to construct multimodal payloads and function calling schemas.safety.proto: DefinesHarmCategory,SafetySetting, andSafetyRatingenums and messages.
Models & Metadata
model.proto: Defines theModelmessage, including properties likeinput_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 theCachedContentresource for caching large prompts.cache_service.proto: RPCs for managing cached contents (CreateCachedContent,UpdateCachedContent, etc.).
File API (Multimodal Uploads)
file.proto: Defines theFileresource 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).
What ships with it
22 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 191 B
- references/BUILD.bazel 14 KB
- references/cache_service.proto 5.2 KB
- references/cached_content.proto 4.4 KB
- references/citation.proto 1.9 KB
- references/content.proto 28 KB
- references/discuss_service.proto 9.1 KB
- references/file_service.proto 4.2 KB
- references/file.proto 4.4 KB
- references/generative_service.proto 73 KB
- references/generativeai_grpc_service_config.json 6.5 KB
- references/generativelanguage_v1beta.yaml 2.7 KB
- references/model_service.proto 9.3 KB
- references/model.proto 3.8 KB
- references/permission_service.proto 7.5 KB
- references/permission.proto 3.7 KB
- references/prediction_service.proto 4.6 KB
- references/retriever_service.proto 22 KB
- references/retriever.proto 9.3 KB
- references/safety.proto 5.7 KB
- references/text_service.proto 11 KB
- references/tuned_model.proto 9.3 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 50 lines · 78 tokens per session scan A e55287c18c7d
gemini-api is a skill published in the GitHub repository stephen94125/peon-lib (2 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 78 tokens to every session and 763 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
zeroclaw
Help users operate and interact with their ZeroClaw agent instance — through both the CLI (zeroclaw commands) and the REST/WebSocket gateway API. Use this skill whenever the user wants to: send messages to ZeroClaw, manage memory or cron jobs, check system status, configure channels or providers, hit the gateway API…
feature-matrix-parity
Update the OpenClaw and Hermes comparison columns of the ZeroClaw feature-and-support matrix. Use this skill when the user wants to refresh, fill, or verify parity data in docs/book/feature-matrix-parity.toml, add a new comparison row or section to the feature matrix, or re-walk the competitor repos for support…
github-issue-triage
Issue triage and lifecycle management agent for ZeroClaw. Use this skill whenever the user wants to: triage open issues, close stale/duplicate/fixed issues, apply labels, run a backlog sweep, enforce the current issue stale policy, or handle a specific issue. Trigger on: 'triage issues', 'issue triage', 'sweep…
morph-ppt
Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style continuous motion, shapes that grow / move / rotate as the slide advances. Trigger on: 'morph', 'morph transition', 'smooth transition', 'continuous animation across slides', 'Keynote-style…
officecli-academic-paper
Use this skill to build academic-style .docx output: journal / conference / thesis chapters carrying formal citation style (APA, Chicago, IEEE, MLA), numbered equations, figure & table cross-references, footnotes/endnotes, bibliography, or multi-column journal layout. Trigger on: 'research paper', 'journal paper'…
officecli-word-form
Use this skill to create fillable Word forms (.docx) with real Content Controls (SDT) + legacy FormField checkboxes + MERGEFIELD mail-merge placeholders + document protection. Trigger on: 'fillable form', 'form fields', 'content controls', 'SDT', 'word form', 'fill in', 'only editable fields', 'protect document'…