codex

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

A Codex CLI setup guide for connecting KiCad MCP Pro to Codex. KiCad MCP Pro gives an agent tools for inspecting electronics-design projects and checking their quality.

In plain words
What is it for?
It helps Codex identify a project's board and schematic, check the KiCad version, run design-quality checks, and summarize review readiness without editing files.
Why use it?
It provides a ready configuration and a safe smoke test so you can verify the connection before using it.

Agent for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also reads ~/.codex or $CODEX_HOME. Also seen: mentions Codex.

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/codex
Clone the repo
git clone --depth 1 https://github.com/oaslananka/kicad-mcp-pro

Made for: Claude Code, Codex.

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 codex

README.md
[![agentmods](https://agentmods.dev/badge/agents/oaslananka/kicad-mcp-pro/codex.svg)](https://agentmods.dev/agents/oaslananka/kicad-mcp-pro/codex)
Your own site
<a href="https://agentmods.dev/agents/oaslananka/kicad-mcp-pro/codex"><img src="https://agentmods.dev/badge/agents/oaslananka/kicad-mcp-pro/codex.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 262 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.00262
Opus 5 $0.00000 $0.00131
Sonnet 5 $0.00000 $0.00052
Haiku 4.5 $0.00000 $0.00026

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

Security

Grade B, and why

codex 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 `~/.codex/config.toml`:
docs/agents/codex.md · 43 lines

What it actually says

Codex CLI Integration

Quick Start

kicad-mcp-pro setup codex

Or manually add to ~/.codex/config.toml:

[mcp_servers.kicad]
enabled = true
command = "uvx"
args = ["kicad-mcp-pro"]
cwd = "."
default_tools_approval_mode = "never"
enabled_tools = [
    "kicad_get_project_info",
    "pcb_get_board_summary",
    "sch_get_symbols",
    "run_drc",
    "run_erc",
    "validate_design",
    "project_quality_gate"
]

[mcp_servers.kicad.env]
KICAD_MCP_PROJECT_DIR = "."
KICAD_MCP_PROFILE = "default"
KICAD_MCP_OPERATING_MODE = "readonly"

Verification

Run: kicad-mcp-pro doctor --agent codex

The kicad tools appear automatically in Codex CLI when the config is present.

Smoke Test Prompt

Use the kicad MCP server. Inspect this KiCad project, identify the board, schematic, KiCad version, run the available quality gates, and summarize whether the project is ready for PCB review. Do not modify files.

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 · 43 lines · 0 tokens per session scan B 198aaa4d3534

Subscribe to this mod's changes

codex is an agent published in the GitHub repository oaslananka/kicad-mcp-pro (64 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 262 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.