codex-support

codex-support is an agent for coding agents from oaslananka/kicad-studio-kit. It costs 0 tokens per session (394 once invoked), scanned B, original, MIT.

Integration guidance for connecting OpenAI Codex to KiCad MCP tools, which let an agent work with KiCad electronics-design projects through an external client connection.

In plain words
What is it for?
Configuring Codex CLI or its IDE extension to connect to a KiCad project, including read-only PCB work through the supplied MCP profile.
Why use it?
It clarifies that Codex connects through the external MCP client path and that this is separate from KiCad Studio's built-in provider setting.

Agent

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

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-support

README.md
[![agentmods](https://agentmods.dev/badge/agents/oaslananka/kicad-studio-kit/codex-support.svg)](https://agentmods.dev/agents/oaslananka/kicad-studio-kit/codex-support)
Your own site
<a href="https://agentmods.dev/agents/oaslananka/kicad-studio-kit/codex-support"><img src="https://agentmods.dev/badge/agents/oaslananka/kicad-studio-kit/codex-support.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 394 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 $0.00000 $0.00394
Opus 5 $0.00000 $0.00197
Sonnet 5 $0.00000 $0.00079
Haiku 4.5 $0.00000 $0.00039

Measured 2d ago against content hash b5a76a3d57ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

codex-support 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 2d 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.

Use `examples/mcp-clients/codex.config.example.toml` as the `~/.codex/config.toml`
docs/agents/codex-support.md · 42 lines

What it actually says

Codex Support

KiCad Studio Kit supports Codex through the external MCP client path.

Extension Provider Status

kicadstudio.ai.provider=codex is a legacy setting value, not a current direct KiCad Studio extension provider. KiCad Studio migrates that legacy value to copilot because the old implementation used the VS Code Language Model API and Copilot-compatible models.

Related implementation and docs:

  • apps/vscode-extension/src/ai/aiProvider.ts
  • apps/vscode-extension/src/settings/settingsMigrations.ts
  • apps/vscode-extension/docs/AI_PROVIDERS.md
  • docs/extension/settings.md

External Codex MCP Client

OpenAI Codex CLI and Codex IDE extension can connect to kicad-mcp-pro as MCP clients. Use examples/mcp-clients/codex.config.example.toml as the ~/.codex/config.toml starting point, or use the CLI form below:

codex mcp add kicad \
  --env KICAD_MCP_PROJECT_DIR=/absolute/path/to/your/kicad-project \
  --env KICAD_MCP_PROFILE=pcb_only \
  --env KICAD_MCP_OPERATING_MODE=readonly \
  -- uvx kicad-mcp-pro

This external-client path gives Codex access to KiCad MCP tools. It is separate from the VS Code extension's direct AI provider setting.

Rule Of Thumb

  • Use kicadstudio.ai.provider=copilot when you want KiCad Studio's chat UI to route through the VS Code Language Model API.
  • Use Codex MCP config when Codex is the coding agent or IDE agent connecting to kicad-mcp-pro.
  • Do not describe the extension provider setting as the Codex CLI integration.
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. 2d ago First seen · 42 lines · 0 tokens per session scan B b5a76a3d57ed

Subscribe to this mod's changes

codex-support is an agent published in the GitHub repository oaslananka/kicad-studio-kit (15 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 394 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-31.