Gemini Api
Provides API guidance and assistance for building AI and machine learning applications.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add gemini-api npx -- -y @trustedskills/gemini-api
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"gemini-api": {
"command": "npx",
"args": [
"-y",
"@trustedskills/gemini-api"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill provides access to the Gemini API, allowing AI agents to leverage Google's large language model. It enables capabilities like generating creative text formats (poems, code, scripts, musical pieces, email, letters, etc.), answering your questions in an informative way, and following your instructions meticulously. The agent can also be used for translation and summarization tasks.
When to use it
- Content Creation: Generate blog posts, marketing copy, or creative writing pieces based on specific prompts.
- Question Answering: Get detailed answers to complex questions that require reasoning and accessing a vast knowledge base.
- Code Generation: Generate code snippets in various programming languages for simple tasks.
- Translation: Translate text between different languages accurately and efficiently.
Key capabilities
- Access to the Gemini API
- Text generation
- Question answering
- Code generation
- Translation
Example prompts
- "Write a short poem about autumn leaves."
- "Explain the concept of quantum entanglement in simple terms."
- "Generate Python code to calculate the factorial of a number."
Tips & gotchas
The quality of the output heavily depends on the clarity and specificity of your prompts. Experiment with different phrasing to achieve desired results.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.