Bootstrap installer for the gemini Claude Code skill
Project description
gemini-skill
gemini-skill is a Gemini API front end that works in two modes:
- as a Claude Code skill via
/gemini ... - as a direct CLI via
python3 scripts/gemini_run.py ...
It exposes the same command surface in both modes: text, multimodal analysis, structured output, embeddings, Files API, image/video/music generation, file search, deep research, and iterative plan review.
Quick Start
Install for Claude Code
Recommended:
uvx gemini-skill-install
Fallback:
uvx --python 3.13 gemini-skill-install
Or from a clone:
git clone https://github.com/reshinto/gemini-skill.git
cd gemini-skill
python3 setup/install.py
The installer copies the runtime payload into ~/.claude/skills/gemini/, creates or reuses ~/.claude/skills/gemini/.venv, installs the pinned google-genai SDK, and writes the canonical env block into ~/.claude/settings.json.
Configure credentials
Create a Gemini API key in Google AI Studio:
- Google AI Studio: https://aistudio.google.com/
- API key guide: https://ai.google.dev/gemini-api/docs/api-key
The Gemini API is not an unlimited flat-rate service. Google offers a free tier for getting started and a paid pay-as-you-go tier for higher-volume or production use. If you enable the paid tier, prompts and responses can incur usage-based charges depending on the model and features you use.
The launcher resolves canonical Gemini env keys from the current working directory first, then Claude settings files, then existing process env:
./.env./.claude/settings.local.json./.claude/settings.json~/.claude/settings.json- existing process env
Supported keys:
GEMINI_API_KEY
GEMINI_IS_SDK_PRIORITY
GEMINI_IS_RAWHTTP_PRIORITY
GEMINI_LIVE_TESTS
For repo-local CLI use:
cp .env.example .env
GEMINI_API_KEY is the only supported secret name. GOOGLE_API_KEY is ignored.
Use it from Claude Code
The skill manifest sets disable-model-invocation: true, so Claude Code will not start this skill on its own. Invoke it explicitly first.
/gemini text "Explain quantum computing in three sentences"
/gemini plan_review "Review this implementation plan for gaps and rollout risks"
Use it as a direct CLI
From a checkout:
python3 scripts/gemini_run.py text "hi"
python3 scripts/gemini_run.py plan_review "Review this migration plan"
python3 scripts/gemini_run.py plan_review
The last command starts the interactive plan_review REPL when stdin is a TTY.
Core Workflows
textfor one-shot prompts and multi-turn sessionsplan_reviewfor iterative plan review, either one-turn or REPLmultimodalfor PDFs, images, audio, video, and URLsstructuredfor schema-constrained JSON outputembed,token_count,files,cache,batch, andfile_searchimage_gen,imagen,video_gen, andmusic_gensearch,maps,computer_use,deep_research, andlive
Documentation
- docs/install.md — install paths, env precedence, troubleshooting
- docs/usage.md — Claude Code skill usage and direct CLI usage
- docs/usage-tour.md — end-to-end examples
- docs/commands.md — command index by capability family
- reference/index.md — per-command reference pages
- docs/security.md — secrets handling, local data storage, privacy notes
- docs/how-it-works.md — launcher, dispatch, transport, and output flow
- docs/README.md — documentation hub
Backend Routing
The launcher and adapters are backend-agnostic. The transport coordinator chooses the SDK or raw HTTP backend from the two routing flags:
GEMINI_IS_SDK_PRIORITY=trueGEMINI_IS_RAWHTTP_PRIORITY=false
Both backends produce the same normalized response shape for callers.
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gemini_skill_install-0.1.7.tar.gz.
File metadata
- Download URL: gemini_skill_install-0.1.7.tar.gz
- Upload date:
- Size: 163.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3606fda3a680d9cd6f62694247be9b8d5383d24dcfae555eee3f20df53f48cb6
|
|
| MD5 |
ff6a3665e859919045ae5d5de0db3438
|
|
| BLAKE2b-256 |
ed9b6cf4644a4b36cce9c6cdcf91be6df34611e685804ef9d792a821e1cf869e
|
Provenance
The following attestation bundles were made for gemini_skill_install-0.1.7.tar.gz:
Publisher:
release.yml on reshinto/gemini-skill
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gemini_skill_install-0.1.7.tar.gz -
Subject digest:
3606fda3a680d9cd6f62694247be9b8d5383d24dcfae555eee3f20df53f48cb6 - Sigstore transparency entry: 1300470011
- Sigstore integration time:
-
Permalink:
reshinto/gemini-skill@9bd927f35ec0a86526bb6c18e7f06129ada1953d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/reshinto
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9bd927f35ec0a86526bb6c18e7f06129ada1953d -
Trigger Event:
push
-
Statement type:
File details
Details for the file gemini_skill_install-0.1.7-py3-none-any.whl.
File metadata
- Download URL: gemini_skill_install-0.1.7-py3-none-any.whl
- Upload date:
- Size: 341.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23d0364cd6938d831edee63d0ceb83d922ab983a23e13a7f1476073bdc6810a9
|
|
| MD5 |
bbfc01325bac484edbb7800bd1ee097c
|
|
| BLAKE2b-256 |
87453cc7459ef2b6c8980cca0d149369230a32cde04eb5fe667e904ca5851495
|
Provenance
The following attestation bundles were made for gemini_skill_install-0.1.7-py3-none-any.whl:
Publisher:
release.yml on reshinto/gemini-skill
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gemini_skill_install-0.1.7-py3-none-any.whl -
Subject digest:
23d0364cd6938d831edee63d0ceb83d922ab983a23e13a7f1476073bdc6810a9 - Sigstore transparency entry: 1300470186
- Sigstore integration time:
-
Permalink:
reshinto/gemini-skill@9bd927f35ec0a86526bb6c18e7f06129ada1953d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/reshinto
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9bd927f35ec0a86526bb6c18e7f06129ada1953d -
Trigger Event:
push
-
Statement type: