Claude Code 設定 Gemini 免費 API。說「設定 Gemini」「Gemini API」時載入. An agent skill from mathruffian-dot/claude-code-lazy-packs.

MITAuto-check passedAI & LLM Engineering

Install Cc Gemini

skills CLI
$ npx skills add mathruffian-dot/claude-code-lazy-packs --skill cc-gemini -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mathruffian-dot/claude-code-lazy-packs cc-gemini --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mathruffian-dot/claude-code-lazy-packs.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/07-gemini .claude/skills/cc-gemini && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cc-gemini
GitHub stars
254
Token cost
~131 tokens
SKILL.md length
29 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
MIT

At a glance

Claude Code 設定 Gemini 免費 API。說「設定 Gemini」「Gemini API」時載入. An agent skill from mathruffian-dot/claude-code-lazy-packs.

  • Works in 3 steps: 到 https://aistudio.google.com/apikey… → 存到 ~/.gemini.env:GEMINI_API_KEY=你的key → 若要在 Claude 中使用,可透過 Skill 腳本呼叫
  • Tasks that involve LLM API integration
  • Calls curl; reaches generativelanguage.googleapis.com; needs GEMINI_API_KEY

What it does

Cc Gemini is an agent skill from mathruffian-dot/claude-code-lazy-packs. Claude Code 設定 Gemini 免費 API。說「設定 Gemini」「Gemini API」時載入。

Its SKILL.md is about 130 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering LLM API integration. It works with Google Gemini. The repository describes itself as: Claude Code 懶人包:每支教學影片附一個 MD 檔,丟給 Claude Code 就能自動完成。 The licence is MIT.

When your agent uses it

  • Tasks that involve LLM API integration

Example prompts

  • “/cc-gemini”

Requirements

  • A credential in GEMINI_API_KEY

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

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

What it can do on your machine

Read from SKILL.md and the folder at commit c1d9ed0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • generativelanguage.googleapis.com

    Also links to:

    • aistudio.google.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • GEMINI_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cc Gemini loads about 131 tokens when it runs. Until then it costs about 17 tokens; SKILL.md has 29 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~17
When it runs · the whole SKILL.md, loaded when a task matches
~131

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from mathruffian-dot/claude-code-lazy-packs at commit c1d9ed0, republished under its MIT licence (© mathruffian-dot). 29 words, ~131 tokens.

Download SKILL.mdSave it as .claude/skills/cc-gemini/SKILL.md (or your agent's skills folder).
name
cc-gemini
description
Claude Code 設定 Gemini 免費 API。說「設定 Gemini」「Gemini API」時載入。

設定 Gemini 免費 API(Claude Code 版)

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

測試

bash
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 建立,不需信用卡。

© mathruffian-dot, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/07-gemini of mathruffian-dot/claude-code-lazy-packs.

Open the folder on GitHubat commit c1d9ed0

Compare with similar skills

Cc Gemini next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cc Gemini compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cc Gemini this skillmathruffian-dot/claude-code-lazy-packs254—~131Automated safety check: PassMIT
Gemini Video Understandingeinverne/dotfiles1211 repos~2.6kAutomated safety check: NotesMIT
Gemini Live APIgoogle/skills21k—~2.5kAutomated safety check: NotesApache-2.0
ModLens Image Vision Bridgeliustack/modlens4.2k1 repos~1.3kAutomated safety check: NotesMIT
AI Daily DigestvigorX777/ai-daily-digest1.6k—~1.3kAutomated safety check: PassNone
Gemini API Devgoogle-gemini/gemini-skills4.3k—~5.1kAutomated safety check: PassApache-2.0

Similar skills

  • Analyze videos using Google's Gemini API - describe content, answer questions, transcribe audio with visual descriptions, reference timestamps, clip videos, and process YouTube URLs.

    121 GitHub starsUsed in 1 repo~2.6k tokens
    AI & LLM EngineeringAuto-check: notes
  • Gemini Live API

    google/skills

    Official

    Generates a Gemini LiveAPI client service class in the user's chosen programming language.

    21k GitHub stars~2.5k tokensUpdated today
    AI & LLM EngineeringAuto-check: notes
  • Gives text-only models sight by running the modlens CLI on an image path or URL and returning structured JSON evidence with transcribed text, layout and semantics.

    4.2k GitHub starsUsed in 1 repo~1.3k tokens
    AI & LLM EngineeringAuto-check: notes
  • AI Daily Digest

    vigorX777/ai-daily-digest

    Fetches RSS feeds from 90 top Hacker News blogs (curated by Karpathy), uses AI to score and filter articles, and generates a daily digest in Markdown with Chinese-translated titles, category…

    1.6k GitHub stars~1.3k tokensUpdated 7 mo ago
    Data & AnalyticsAuto-check passed
  • Gemini API Dev

    google-gemini/gemini-skills

    Official

    A skill your agent uses when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, speech generation (TTS), voice…

    4.3k GitHub stars~5.1k tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check passed
  • Using Ccproxy Inspector

    starbaser/ccproxy

    Operates the ccproxy inspector MITM system for intercepting, inspecting, and transforming LLM API traffic.

    350 GitHub stars~2.7k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed

More from mathruffian-dot/claude-code-lazy-packs

All 9 skills in this repo
  • Cc Draw

    mathruffian-dot/claude-code-lazy-packs

    Claude Code 安裝 gpt-image-2 生圖 skill。說「安裝生圖」「畫圖」「生圖」時載入. An agent skill from mathruffian-dot/claude-code-lazy-packs.

    254 GitHub stars~258 tokensUpdated 1 mo ago
    Auto-check passed
  • Claude Code Lazy Packs

    mathruffian-dot/claude-code-lazy-packs

    Claude Code 懶人包全集 — 環境建置、MCP 串接、技能安裝。說「Claude Code 懶人包」「安裝懶人包」時載入。

    254 GitHub stars~245 tokensUpdated 1 mo ago
    Auto-check passed
  • Cc Notebooklm

    mathruffian-dot/claude-code-lazy-packs

    Claude Code 連接 NotebookLM MCP。說「連接 NotebookLM」時載入. An agent skill from mathruffian-dot/claude-code-lazy-packs.

    254 GitHub stars~172 tokensUpdated 1 mo ago
    Auto-check passed
  • Cc Ollama

    mathruffian-dot/claude-code-lazy-packs

    Claude Code 安裝本地 AI Ollama。說「安裝 Ollama」「本地 AI」時載入. An agent skill from mathruffian-dot/claude-code-lazy-packs.

    254 GitHub stars~118 tokensUpdated 1 mo ago
    Auto-check passed
  • Cc Workspace

    mathruffian-dot/claude-code-lazy-packs

    Claude Code 老師建專案工作模式。說「初始化班級工具」「老師建專案」時載入. An agent skill from mathruffian-dot/claude-code-lazy-packs.

    254 GitHub stars~114 tokensUpdated 1 mo ago
    Auto-check passed
  • Cc Install All

    mathruffian-dot/claude-code-lazy-packs

    一次安裝所有 Claude Code 懶人包技能。說「全部安裝」「裝完所有 Claude Code 懶人包」時載入. An agent skill from mathruffian-dot/claude-code-lazy-packs.

    254 GitHub stars~112 tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Cc Gemini

What does Cc Gemini do?

Claude Code 設定 Gemini 免費 API。說「設定 Gemini」「Gemini API」時載入. An agent skill from mathruffian-dot/claude-code-lazy-packs. Cc Gemini is an agent skill from mathruffian-dot/claude-code-lazy-packs.

When should I use Cc Gemini?

Cc Gemini fits situations like: tasks that involve LLM API integration.

How do I install Cc Gemini in Claude Code?

Run `npx skills add mathruffian-dot/claude-code-lazy-packs --skill cc-gemini -a claude-code`. Or copy the skill folder (skills/07-gemini in mathruffian-dot/claude-code-lazy-packs) into .claude/skills/cc-gemini in your project. Claude Code loads it when a task matches its description.

How do I install Cc Gemini in Codex?

Run `npx skills add mathruffian-dot/claude-code-lazy-packs --skill cc-gemini -a codex`. Or copy the skill folder (skills/07-gemini in mathruffian-dot/claude-code-lazy-packs) into .agents/skills/cc-gemini in your project. Codex loads it when a task matches its description.

Can I use Cc Gemini in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mathruffian-dot/claude-code-lazy-packs --skill cc-gemini -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cc-gemini, .gemini/skills/cc-gemini, .github/skills/cc-gemini and .opencode/skills/cc-gemini in your project.

What does Cc Gemini need to run?

Going by SKILL.md and its folder, Cc Gemini needs the command-line tools its instructions call (curl) and credentials named GEMINI_API_KEY. Our summary lists: A credential in GEMINI_API_KEY.

Does Cc Gemini access the network?

SKILL.md names 2 domains. In commands or code: generativelanguage.googleapis.com; the agent is likely to contact it when it follows the instructions. As links in the text: aistudio.google.com. This is read from the text; nothing was executed.

Is Cc Gemini safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cc Gemini use?

Cc Gemini is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cc Gemini use?

About 131 tokens (SKILL.md is roughly 524 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cc Gemini?

Skills that share tags, products or a category with Cc Gemini: Gemini Video Understanding (einverne/dotfiles, 121 stars), Gemini Live API (google/skills, 21k stars), ModLens Image Vision Bridge (liustack/modlens, 4.2k stars) and AI Daily Digest (vigorX777/ai-daily-digest, 1.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cc Gemini?

mathruffian-dot (a GitHub user) maintains it in mathruffian-dot/claude-code-lazy-packs, which has 254 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on September 3, 2026.

Source: mathruffian-dot/claude-code-lazy-packs on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.