OpenParable
Skip to content
← Back to skills

Cc Gemini

Agent Building
cc-gemini

Cc Gemini is an Agent Skill for agent building published in the mathruffian-dot/claude-code-lazy-packs repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Claude Code 設定 Gemini 免費 API。說「設定 Gemini」「Gemini API」時載入。

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/mathruffian-dot/claude-code-lazy-packs/blob/HEAD/skills/07-gemini/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cc-gemini, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

設定 Gemini 免費 API(Claude Code 版)

  1. 到 https://aistudio.google.com/apikey 建立免費 API key
  2. 存到 ~/.gemini.env:GEMINI_API_KEY=你的key
  3. 若要在 Claude 中使用,可透過 Skill 腳本呼叫

測試

curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent?key=$GEMINI_API_KEY" -H "Content-Type: application/json" -d '{"contents":[{"parts":[{"text":"Hello"}]}]}'

⚠️ Gemini API key 在 AI Studio 建立,不需信用卡。