gemini
БесплатноБез исполняемых скриптовНе проверенUse Gemini AI for research, analysis, summarization, web search, and complex reasoning. Use when you need AI-powered research, code analysis, content…
Об этом скилле
Gemini AI Assistant
Leverage Google's Gemini Pro model with its 1M context window for research, analysis, and reasoning tasks.
Prerequisites
Install the Gemini CLI:
pip install google-generativeai
Set your API key:
export GEMINI_API_KEY=your_api_key
Get an API key at: https://makersuite.google.com/app/apikey
CLI Reference
Basic Usage
# Simple question
gemini -m pro "Your question here"
# With text output (no markdown)
gemini -m pro -o text "Your question"
# Disable extensions for programmatic use
gemini -m pro -o text -e "" "Your question"
# Pipe content as stdin
echo "content to analyze" | gemini -m pro -o text -e "" "Summarize this"
cat file.txt | gemini -m pro -o text -e "" "Analyze this code"
Common Operations
Research
Deep research with critical analysis:
gemini -m pro -o text -e "" "You are an expert research analyst. Research: [topic]. Provide specific facts, distinguish opinions from facts, note uncertainties, and give actionable insights."
Summarization
cat document.txt | gemini -m pro -o text -e "" "Summarize this content, focusing on: [focus area]"
Code Analysis
cat code.ts | gemini -m pro -o text -e "" "Analyze this code and answer: [question]"
Web Search with Synthesis
gemini -m pro -o text -e "" "Search and synthesize: [query]. Include specific facts, dates, and distinguish confirmed from speculative information."
Fact-Checking
gemini -m pro -o text -e "" "Fact-check this claim: [claim]. State true/false/partial, cite sources, note context."
Step-by-Step Reasoning
gemini -m pro -o text -e "" "Think through this problem step by step: [problem]. Constraints: [constraints]. Provide reasoning and conclusion."
Data Extraction
cat content.txt | gemini -m pro -o text -e "" "Extract [what to extract] from this content. Format as [json/list/table]."
News Lookup
gemini -m pro -o text -e "" "Latest news about: [topic] from [timeframe]. Summarize important developments."
Prompt Templates
Research Prompt
You are an expert research analyst. Your goal is to provide genuinely useful, accurate research.
RESEARCH OBJECTIVE: [topic]
QUALITY STANDARDS:
- Be specific and concrete, not vague
- Distinguish between facts, expert opinions, and speculation
- Note when information is uncertain, contested, or evolving
- Identify what's NOT known or what gaps exist
- Provide actionable insights, not just information
Analysis Prompt
Analyze the following and provide:
1. Key findings
2. Implications
3. Recommendations
4. Uncertainties or gaps
Content: [content]
Best Practices
- Use
-o text -e ""for programmatic usage to get clean output - Pipe large content via stdin rather than command line args
- Be specific in prompts - vague questions get vague answers
- Ask for structure - request lists, tables, or JSON for parseable output
- Request citations when accuracy matters
- Set timeouts for long operations (gemini can take 30-120s)
Error Handling
| Error | Solution |
|---|---|
| "command not found" | Install: pip install google-generativeai |
| "API key" / "unauthorized" | Set GEMINI_API_KEY environment variable |
| "rate limit" / "quota" | Wait and retry, or check quota at Google Cloud Console |
| Timeout | Break into smaller queries or increase timeout |
Установить gemini в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл gemini?
Use Gemini AI for research, analysis, summarization, web search, and complex reasoning. Use when you need AI-powered research, code analysis, content summarization, or web search with synthesis.
Как установить скилл gemini?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл gemini запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic