Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add richfrem/agent-plugins-skills --skill gemini-cli-agentgit clone --depth 1 https://github.com/richfrem/agent-plugins-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/richfrem/agent-plugins-skills/gemini-cli-agent)<a href="https://agentmods.dev/skills/richfrem/agent-plugins-skills/gemini-cli-agent"><img src="https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/gemini-cli-agent/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/richfrem/agent-plugins-skills/gemini-cli-agent"><img src="https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/gemini-cli-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00083 | $0.00978 |
| Opus 5 | $0.00042 | $0.00489 |
| Sonnet 5 | $0.00017 | $0.00196 |
| Haiku 4.5 | $0.00008 | $0.00098 |
Grade A, and why
gemini-cli-agent scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Unrestricted tool accesslowExcessive agency
A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.
Pass `--yolo` to allow all tool calls to run without confirmation for headless operation. Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
[!WARNING] Gemini CLI consumer access ended June 18, 2026. Free, Pro, and Ultra users no longer have access. Only enterprise Gemini Code Assist Standard/Enterprise licenses retain the
geminibinary. If you don't have one of those licenses, this skill will not work — useagy-cli-agentinstead, which is now the primary path for Gemini model access.
Identity: The Gemini Sub-Agent Dispatcher (Standard: gemini-3-flash-preview)
You dispatch specialized analysis tasks to Gemini CLI sub-agents using the gemini binary.
[!IMPORTANT] Default model: gemini-3-flash-preview (cost-efficient). For deep reasoning, use gemini-3.1-pro-preview. For frontier models (Gemini 3.8 Flash+), use
agy-cli-agentinstead.
Minimal Working Pattern
gemini -m gemini-3-flash-preview -p "$(cat agents/persona.md)
---SOURCE CODE---
$(cat target.py)
---INSTRUCTION---
Perform a full code review. Use severity levels: 🔴 CRITICAL, 🟡 MODERATE, 🟢 MINOR.
You are operating as an isolated sub-agent.
Do NOT use tools. Do NOT access filesystem." > review.md
Orchestration Pattern: run_agent.py
python ./scripts/run_agent.py <PERSONA_FILE> <INPUT_FILE> <OUTPUT_FILE> "<INSTRUCTION>" [MODEL_NAME]
Mandatory Health Check
Before any complex orchestration:
gemini --yolo -m gemini-3-flash-preview -p "hello"python ./scripts/run_agent.py agents/refactor-expert.md target.py ./heartbeat.md "Verify health"- Confirm
./heartbeat.mdis not empty.
Example
python ./scripts/run_agent.py agents/security-auditor.md target.py security.md \
"Find vulnerabilities. Use severity levels: 🔴 CRITICAL, 🟡 MODERATE, 🟢 MINOR."
Persona Registry (agents/)
| Persona | Use For |
|---|---|
security-auditor.md |
Red team, vulnerability scanning, threat modeling |
refactor-expert.md |
Optimizing code for readability, performance, and DRY |
architect-review.md |
Assessing system design, modularity, and complexity |
What ships with it
16 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- acceptance-criteria.md 808 B
- evals/.lock.hashes 583 B
- evals/evals.json 1.2 KB
- evals/results.tsv 389 B
- evals/traces/iter_001_KEEP_score0.68.json 4.6 KB
- fallback-tree.md 991 B
- references/acceptance-criteria.md 42 B
- references/antigravity-directory-spec.md 49 B
- references/cheapest_models.json 40 B
- references/cheapest_models.md 38 B
- references/fallback-tree.md 36 B
- references/gemini-cli-commands.md 42 B
- references/program.md 30 B
- requirements.txt 22 B
- scripts/model_catalog.py 33 B runs code
- scripts/run_agent.py 29 B runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday Changed ddcfeb989e2d
- 7d ago First seen · 110 lines · 83 tokens per session scan A 7f4246f9ebd1
gemini-cli-agent is a skill published in the GitHub repository richfrem/agent-plugins-skills (6 stars, last pushed yesterday), licensed MIT. It adds 83 tokens to every session and 978 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
review-pr
Review a pull request (GitHub) or merge request (GitLab) and provide detailed feedback.
ship-it-or-fix-it
Oracle-frozen Builder and independent-Judge convergence cycle. Load ONLY when the operator explicitly sets Governance Dial G2 for the task, or explicitly names this skill or an active work unit already running it. Never auto-activate on task class, such as security, auth, or payments. If a task seems to warrant G2 and…
test-verification
Requires behavioral, failure-path, and durable-seam evidence for tests and review. Use when writing tests, reviewing test coverage, assessing behavioral test quality, or accepting high-risk behavior on test evidence.
code-review
Perform comprehensive code reviews covering bugs, style, performance, security, and best practices. Use this skill when the user mentions: review my code, check this code, code review, find bugs, improve code, refactor suggestions, security audit, performance optimization, code quality, static analysis.
concept-audit
A read-only audit skill for checking code against Daniel Jackson concept models, which describe independent parts of a system and how they work together.
weave-review
Weave code review — run independent adversarial reviews in parallel, then synthesize findings.