codex

codex is an agent for coding agents from SepineTam/mcp-for-stata. It costs 0 tokens per session (871 once invoked), scanned B, original, AGPL-3.0.

A guide for connecting MCP-for-Stata to Codex, OpenAI’s coding agent, which runs from a command line or as a VS Code extension.

In plain words
What is it for?
Use it when you need Codex to work with Stata through MCP. The input does not describe the specific tasks it supports.
Why use it?
It explains how to use the connection without having to work out the setup from scattered instructions.

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/sepinetam/mcp-for-stata/codex
Clone the repo
git clone --depth 1 https://github.com/SepineTam/mcp-for-stata

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/sepinetam/mcp-for-stata/codex.svg)](https://agentmods.dev/agents/sepinetam/mcp-for-stata/codex)
Your own site
<a href="https://agentmods.dev/agents/sepinetam/mcp-for-stata/codex"><img src="https://agentmods.dev/badge/agents/sepinetam/mcp-for-stata/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 871 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin unknown 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.00871
Opus 5 $0.00000 $0.00436
Sonnet 5 $0.00000 $0.00174
Haiku 4.5 $0.00000 $0.00087

Measured 5d ago against content hash cb4ecab52c38, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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.

Then add the MCP server to Codex. The installer uses the Codex CLI when it is available and falls back to editing `~/.codex/config.toml` otherwise.
docs/agents/codex.md · 99 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 5d ago First seen · 99 lines · 0 tokens per session scan B cb4ecab52c38

Subscribe to this mod's changes

codex is an agent published in the GitHub repository SepineTam/mcp-for-stata (255 stars, last pushed 3d ago), licensed AGPL-3.0. It costs nothing until one of its globs matches a file; then it loads 871 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.

Related

Other agents, from other repositories

do-setup-assistant

Autonomous Durable Objects project scaffolder. Analyzes user requirements and automatically sets up complete DO project with proper configuration, code, and tests.

secondsky/claude-skills · 35 tokens

dsh-delegate

Proactively use when a substantial, self-contained coding or investigation task should be handed to DeepSeek Harness while Claude Code continues other work, or when a second implementation/diagnosis pass from a different agent would help.

cpj-dev/dsh-plugin-cc · 48 tokens

ux-designer

Conducts user research, defines personas, creates wireframes, and produces design tokens and component specs. Runs once at the start of the Build phase when hasui is true. Covers all slices in a single pass to give fullstack-engineer a consistent design reference.

saitarrun/Devforge-ai · 57 tokens

quality-reviewer

Reviews code quality, architecture, and best practices. Second stage of the two-stage review gate. Only invoked after spec compliance passes.

andyzengmath/quantum-loop · 30 tokens

dar-skeptic

You are a Skeptic. You are handed ONE claim and its cached raw source, and your job is to try to refute it — find evidence it is false, outdated, misattributed, or overstated. You are the defense against fooling ourselves. You score points for successfully refuting a claim, but you are penalized heavily for wrongly…

Kaos599/Deep-Ass-Research · 13 tokens

eeat

Documents EEAT evidence, gaps, authorship, proof, and trust signals for Agentic SEO project.

agencia-conversion/agentic-seo-skills · 24 tokens