A
akostibas/ask-gemini-skill
Get a second opinion from Google's Gemini, with a Claude Code skill wrapper
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
取自该仓库的安装命令
go install github.com/akostibas/ask-gemini-skill/cmd/ask-gemini@latest
解析自我们于 2026-11-02 抓取的该仓库 README;我们未执行过。
这条是仓库自己写的安装方式,不是 MCP 客户端配置,所以不生成 JSON。
配置项的键名以你的客户端为准:客户端与 CLI
- ★ 数取值
- 2 ★ · akostibas/ask-gemini-skill · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
- 来源明细
- 从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
- 收录与活跃
- 收录于 2026-11-03 · 最近见到 2026-11-14 · 共见到 12 次 · 被 2 个来源列出
- 评分构成
- 综合分 203 · 2 ★ · 2 个来源 · repo
- 安装
go install github.com/akostibas/ask-gemini-skill/cmd/ask-gemini@latest
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是
go install github.com/akostibas/ask-gemini-skill/cmd/ask-gemini@latest。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库
akostibas/ask-gemini-skill;我们收录于 2026-11-03;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。# 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,
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/akostibas-ask-gemini-skill/)
- 来源
- github · https://github.com/akostibas/ask-gemini-skill
- 按领域浏览
- 开源项目
- Traction
- 2 ★
- 收录来源
- 2 个独立来源
- 收录于
- 今天
同类推荐
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。