gemini-llm
Invoke Google Gemini 3 Pro for text generation, reasoning, and code tasks using the Python google-genai SDK. Supports gemini-3-pro-preview (best multimodal), gemini-2.5-pro (reasoning), and gemini-2.5-flash (fast).
npx skills add majiayu000/claude-skill-registry --skill gemini-llm --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Gemini LLM Skill Invoke Google Gemini models for text generation, reasoning, code analysis, and complex tasks using the Python `google-genai` SDK. ## Available Models | Model ID | Description | Best For | |----------|-------------|----------| | `gemini-3-pro-preview` | Best multimodal understanding | Complex reasoning, analysis | | `gemini-2.5-pro` | Advanced thinking model | Deep reasoning, planning | | `gemini-2.5-flash` | Fast and capable | Quick tasks, high throughput | | `gemini-2.5-flash-lite` | Fastest, cost-efficient | Simple tasks, bulk processing | ## Configuration **API Key Location**: `C:\Users\USERNAME\env` (GEMINI_API_KEY) **Default API Key**: `${GEMINI_API_KEY}` ## Usage ### Basic Text Generation ```bash python -c " from google import genai client = genai.Client(api_key=os.environ.get("GEMINI_API_KEY")) response = client.models.generate_content( model='gemini-3-pro-preview', contents='YOUR_PROMPT_HERE' ) print(response.text) " ``` ### With System Instructions ```bash python -c " from google import genai from google.genai import types client = genai.Client(api_key=os.environ.get("GEMINI_API_KEY")) response = client.models.generate_content( model='gemini-3-pro-previe
- Available Models
- Configuration
- Usage
- Basic Text Generation
- With System Instructions
- Streaming Response
- Workflow
- Example Invocations
- Code Review
- Explain Concept
- Generate Code
- Multi-turn Conversations
- Error Handling
- Notes
python -c "
from google import genai
client = genai.Client(api_key=os.environ.get("GEMINI_API_KEY"))
response = client.models.generate_content(
from google.genai import types
for chunk in client.models.generate_content_stream(
def calculate_total(items):
total = 0
for item in items:
total += item.price * item.quantityWhat does the gemini-llm skill do?
Invoke Google Gemini 3 Pro for text generation, reasoning, and code tasks using the Python google-genai SDK. Supports gemini-3-pro-preview (best multimodal), gemini-2.5-pro (reasoning), and gemini-2.5-flash (fast).
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill gemini-llm --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
