gemini-cli

gemini-cli is an agent for Claude Code from oaslananka/kicad-mcp-pro. It costs 0 tokens per session (352 once invoked), scanned B, original, MIT.

A setup guide for connecting Gemini CLI, Google's command-line AI assistant, to KiCad MCP Pro, a service that provides KiCad design tools.

In plain words
What is it for?
Use it to connect Gemini to a local or remote KiCad server, limit the available tools, inspect projects, and run ERC, DRC, and other design checks.
Why use it?
It provides ready configuration and verification steps, with read-only defaults and confirmation before risky actions.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Gemini CLI.

Part of the kicad-pro plugin — 10 skills, 24 agents, 1 MCP server shipped together

Install

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.

agentmods
npx agentmods add agents/oaslananka/kicad-mcp-pro/gemini-cli
Clone the repo
git clone --depth 1 https://github.com/oaslananka/kicad-mcp-pro

Made for: Claude Code.

Or install kicad-pro, the plugin that ships this one along with the rest of its 10 skills, 24 agents, 1 MCP server.

Wrote 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.

agentmods badge for gemini-cli

README.md
[![agentmods](https://agentmods.dev/badge/agents/oaslananka/kicad-mcp-pro/gemini-cli.svg)](https://agentmods.dev/agents/oaslananka/kicad-mcp-pro/gemini-cli)
Your own site
<a href="https://agentmods.dev/agents/oaslananka/kicad-mcp-pro/gemini-cli"><img src="https://agentmods.dev/badge/agents/oaslananka/kicad-mcp-pro/gemini-cli.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 352 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00352
Opus 5 $0.00000 $0.00176
Sonnet 5 $0.00000 $0.00070
Haiku 4.5 $0.00000 $0.00035

Measured 6d ago against content hash 143ab0a02ca7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade B, and why

gemini-cli scanned grade B 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 6d ago.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

Or manually add to `~/.gemini/settings.json`:
docs/agents/gemini-cli.md · 66 lines

What it actually says

Gemini CLI Integration

Quick Start

kicad-mcp-pro setup gemini

Or manually add to ~/.gemini/settings.json:

{
  "mcpServers": {
    "kicad": {
      "command": "uvx",
      "args": ["kicad-mcp-pro"],
      "env": {
        "KICAD_MCP_PROJECT_DIR": "$PWD",
        "KICAD_MCP_PROFILE": "default",
        "KICAD_MCP_OPERATING_MODE": "readonly"
      },
      "cwd": ".",
      "timeout": 30000,
      "trust": false,
      "includeTools": [
        "kicad_get_project_info",
        "project_quality_gate",
        "run_erc",
        "run_drc",
        "validate_design"
      ]
    }
  }
}

Verification

/mcp  →  verify the kicad server is connected

Slash Prompt

Add to your Gemini repo instructions:

When the task involves KiCad, use the kicad MCP server. Default policy: inspect before editing. Run quality gates before suggesting release. Never run destructive tools without explicit user confirmation. Prefer read-only tools first.

Remote

{
  "mcpServers": {
    "kicad-cloud": {
      "httpUrl": "https://mcp.kicad.example.com/mcp",
      "timeout": 30000,
      "trust": false,
      "includeTools": ["search_kicad_knowledge", "analyze_uploaded_kicad_project"]
    }
  }
}
Changes

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.

  1. 6d ago First seen · 66 lines · 0 tokens per session scan B 143ab0a02ca7

Subscribe to this mod's changes

gemini-cli is an agent published in the GitHub repository oaslananka/kicad-mcp-pro (64 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 352 tokens. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.