A
akostibas/ask-gemini-skill
Get a second opinion from Google's Gemini, with a Claude Code skill wrapper
View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
Install & config
Install command from the repository
go install github.com/akostibas/ask-gemini-skill/cmd/ask-gemini@latest
Parsed from the README we fetched on 2026-11-02; we have not executed it.
This is the install method the repository states, not an MCP client config, so no JSON is generated.
Key names differ by client: Clients & CLI
- Star count
- 2 ★ · akostibas/ask-gemini-skill · read from the GitHub search API · (checked 2026-11-13 20:00:50)
- Source
- read directly from its GitHub page · type: open-source project
- Harvest history
- first seen 2026-11-03 · last seen 2026-11-14 · seen 12× · listed by 2 sources
- Score
- score 203 · 2 ★ · 2 sources · repo
- Install
go install github.com/akostibas/ask-gemini-skill/cmd/ask-gemini@latest
FAQ (answers come from our records)
How do I install it?
The repository provides this install command:
go install github.com/akostibas/ask-gemini-skill/cmd/ask-gemini@latest. It comes from the repository itself; we cannot guarantee it runs as-is in your client.Who is it for?
We filed it under these tags: 开源项目. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
repository
akostibas/ask-gemini-skill;first catalogued 2026-11-03;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.# ask-gemini
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
A small CLI that asks Google Gemini for a second opinion, with conversation
history across calls and support for attaching photos, videos, and audio. Ships
with a Claude Code skill
that wraps it.
## Setup
From a local clone (installs the binary and the Claude skill):
sh
make install
Or just the binary, from anywhere:
sh
go install github.com/akostibas/ask-gemini-skill/cmd/ask-gemini@latest
The binary lands in $(go env GOBIN), falling back to $(go env GOPATH)/bin.
make install also copies skill/ to ~/.claude/skills/ask-gemini/; override
either with GOBIN=... or SKILLDIR=.... If you used go install and want
the Claude skill too, symlink it:
sh
ln -s "$(pwd)/skill/SKILL.md" ~/.claude/skills/ask-gemini/SKILL.md
Then configure credentials. ask-gemini reads the API key in this order:
1. GEMINIAPIKEY — the key directly.
2. ASKGEMINIKEYCOMMAND — a shell command whose stdout is the key.
sh
export GEMINIAPIKEY=AIza...
# or, via a secrets manager:
export ASKGEMINIKEYCOMMAND='op item get "Gemini API" --fields password --reveal'
export ASKGEMINIKEYCOMMAND='security find-generic-password -s gemini-api -w'
Don't inline the key into ASKGEMINIKEYCOMMAND (e.g. 'echo AIza...') —
command arguments are visible to other processes via ps. Use
GEMINIAPIKEY for that.
## Usage
ask-gemini [flags]
echo 'prompt' | ask-gemini [flags]
echo 'payload' | ask-gemini [flags]
When both a positional prompt and stdin are given, stdin is appended to the
prompt, separated by a blank line.
Flags:
--session — name the conversation; persisted at
$TMPDIR/ask-gemini- .json. Reuse the name for follow-up turns.
--reset — delete the named session and exit.
--photo — attach an image (repeatable).
--video — attach a video (repeatable). Waits for File API processing.
--audio — attach an audio file (repeatable).
--out — generate an image (or a video, for .mp4) and write it to (see below).
--resolution — video resolution (default 360p).
--model — override the model (default gemini-4-argon).
--system — system prompt; only applied on the first turn.
--history — print the current conversation and exit.
--version — print the binary version and exit.
File API uploads are retained by Google for ~48 hours, so a single --session
can keep referencing attachments across turns without re-uploading.
### Usage and cost
After every request, a token-usage line and an estimated cost print to
stderr (so they never mix into the answer on stdout):
usage: 54 in + 74 out (73 thinking) = 128 tokens
est. cost: ~$0.000848 (gemini-4-argon, prices as of 2026-10)
The token counts come straight from the API and are exact; "thinking" is hidden
reasoning tokens (billed at the output rate). The dollar figure is an estimate
from a small price table baked into the tool (cmd/ask-gemini/pricing.go) — it
can drift when Google changes prices, so it's stamped with the date it was last
verified. A model with no entry in that table still prints tokens, with
cost: unknown. Silence the whole line with ASKGEMININOUSAGE=1.
### Generating images (Nano Banana)
Pass --out to generate an image instead of text:
sh
ask-gemini --out logo.png "a minimalist fox logo, flat vector style"
--out auto-selects an image model (gemini-nano-banana-2.1,
history across calls and support for attaching photos, videos, and audio. Ships
with a Claude Code skill
that wraps it.
## Setup
From a local clone (installs the binary and the Claude skill):
sh
make install
Or just the binary, from anywhere:
sh
go install github.com/akostibas/ask-gemini-skill/cmd/ask-gemini@latest
The binary lands in $(go env GOBIN), falling back to $(go env GOPATH)/bin.
make install also copies skill/ to ~/.claude/skills/ask-gemini/; override
either with GOBIN=... or SKILLDIR=.... If you used go install and want
the Claude skill too, symlink it:
sh
ln -s "$(pwd)/skill/SKILL.md" ~/.claude/skills/ask-gemini/SKILL.md
Then configure credentials. ask-gemini reads the API key in this order:
1. GEMINIAPIKEY — the key directly.
2. ASKGEMINIKEYCOMMAND — a shell command whose stdout is the key.
sh
export GEMINIAPIKEY=AIza...
# or, via a secrets manager:
export ASKGEMINIKEYCOMMAND='op item get "Gemini API" --fields password --reveal'
export ASKGEMINIKEYCOMMAND='security find-generic-password -s gemini-api -w'
Don't inline the key into ASKGEMINIKEYCOMMAND (e.g. 'echo AIza...') —
command arguments are visible to other processes via ps. Use
GEMINIAPIKEY for that.
## Usage
ask-gemini [flags]
echo 'prompt' | ask-gemini [flags]
echo 'payload' | ask-gemini [flags]
When both a positional prompt and stdin are given, stdin is appended to the
prompt, separated by a blank line.
Flags:
--session — name the conversation; persisted at
$TMPDIR/ask-gemini- .json. Reuse the name for follow-up turns.
--reset — delete the named session and exit.
--photo — attach an image (repeatable).
--video — attach a video (repeatable). Waits for File API processing.
--audio — attach an audio file (repeatable).
--out — generate an image (or a video, for .mp4) and write it to (see below).
--resolution — video resolution (default 360p).
--model — override the model (default gemini-4-argon).
--system — system prompt; only applied on the first turn.
--history — print the current conversation and exit.
--version — print the binary version and exit.
File API uploads are retained by Google for ~48 hours, so a single --session
can keep referencing attachments across turns without re-uploading.
### Usage and cost
After every request, a token-usage line and an estimated cost print to
stderr (so they never mix into the answer on stdout):
usage: 54 in + 74 out (73 thinking) = 128 tokens
est. cost: ~$0.000848 (gemini-4-argon, prices as of 2026-10)
The token counts come straight from the API and are exact; "thinking" is hidden
reasoning tokens (billed at the output rate). The dollar figure is an estimate
from a small price table baked into the tool (cmd/ask-gemini/pricing.go) — it
can drift when Google changes prices, so it's stamped with the date it was last
verified. A model with no entry in that table still prints tokens, with
cost: unknown. Silence the whole line with ASKGEMININOUSAGE=1.
### Generating images (Nano Banana)
Pass --out to generate an image instead of text:
sh
ask-gemini --out logo.png "a minimalist fox logo, flat vector style"
--out auto-selects an image model (gemini-nano-banana-2.1,
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[](https://anclum.com/en/s/akostibas-ask-gemini-skill/)
- Source
- github · https://github.com/akostibas/ask-gemini-skill
- Browse by field
- Open source
- Traction
- 2 ★
- Listed by
- 2 independent sources
- added
- today
More like this
Filed under
Every tag opens the full list for that filter. Counts are the live catalogue figures.