codex-safe-starter: Instructions file for Codex

AGENTS.md

codex-safe-starter AGENTS.md is an instructions file for Codex, OpenCode from KevinBigham/codex-safe-starter. It costs 1,484 tokens per session, scanned C, original, MIT.

A project instruction file named AGENTS.md for Codex Safe Starter, a Git-backed setup for safer coding-agent work. It documents the project's purpose, layout, commands, planning rules, and configuration boundaries.

In plain words
What is it for?
Use it when exploring, planning, testing, bootstrapping, reviewing, or upgrading this repository and its project-scoped agent configuration.
Why use it?
It gives coding agents a shared map of the repository and makes clear which files and settings they may change.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions subagents; reads ~/.codex paths; mentions AGENTS.md.

This is KevinBigham/codex-safe-starter's own configuration. It tells Codex and OpenCode how to work on codex-safe-starter itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything codex-safe-starter configures →

Reuse

Borrowing it

Nothing to install: this file belongs to KevinBigham/codex-safe-starter. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/KevinBigham/codex-safe-starter/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/KevinBigham/codex-safe-starter

Made for: Codex, OpenCode.

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-safe-starter AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/kevinbigham/codex-safe-starter/agents-md/github.svg)](https://agentmods.dev/instructions/kevinbigham/codex-safe-starter/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/kevinbigham/codex-safe-starter/agents-md"><img src="https://agentmods.dev/badge/instructions/kevinbigham/codex-safe-starter/agents-md/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.

agentmods 80×15 button for codex-safe-starter AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/kevinbigham/codex-safe-starter/agents-md"><img src="https://agentmods.dev/badge/instructions/kevinbigham/codex-safe-starter/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,484 This file is loaded in full into every session.
When invoked 1,484 The same file — it is already loaded in full.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.01484 $0.01484
Opus 5.5 $0.00594 $0.00594
Sonnet 5.5 $0.00297 $0.00297
Haiku 4.5 $0.00148 $0.00148

Measured 2mo ago against content hash dd66c57ee745, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

codex-safe-starter AGENTS.md scanned grade C with 2 findings 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 2mo 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

- Do not run unknown installers or `curl | sh` style commands.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Do not run unknown installers or `curl | sh` style commands.
AGENTS.md · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md

Project Purpose

This repository is Codex Safe Starter: a portable, Git-backed operating layer for safer Codex work. V3 packages canonical repo skills, project-scoped read-only agents, project-local config, setup checks, smoke validation, staged evals, portable CODEX_HOME templates, and reporting without mutating global Codex state.

Repo Map

  • MISSION.md: source mission; read before changing the stack.
  • README.md: clone-anywhere quickstart.
  • scripts/: bootstrap, doctor, smoke, secret scan, clean, and portable Codex launchers.
  • .agents/skills/: canonical repo-scoped Codex skills. Do not leave duplicate live SKILL.md files under skills/.
  • .codex/agents/*.toml: project-scoped read-only explorer/reviewer agents.
  • .codex-home-template/: optional portable CODEX_HOME starter copied into ignored .codex-home/.
  • .github/workflows/: smoke CI and optional Promptfoo eval CI.
  • codex-upgrade/: baseline, findings, security review, evals, benchmarks, and proposed config/global artifacts.
  • docs/codex/: durable planning, playbook, review, and testing guidance.
  • .codex/config.toml: project-local Codex defaults only. Do not add auth, provider, telemetry, notification, global profile, active MCP, active hook, active plugin, or secret settings here.

Do not casually touch files outside this repository. All Git operations must run from the isolated repo root.

Commands

  • Install: no project install step.
  • Dev server: none.
  • Build: none.
  • Bootstrap check: ./scripts/bootstrap.sh --check
  • Doctor: node scripts/doctor.mjs
  • CI doctor: node scripts/doctor.mjs --ci
  • Selftest: node scripts/selftest.mjs
  • Smoke test: node scripts/smoke.mjs
  • Secret scan: node scripts/secret-scan.mjs
  • Legacy final smoke: node codex-upgrade/benchmarks/run-smoke.mjs --final
  • Inspect instructions: sed -n '1,220p' AGENTS.md
  • Search workspace: rg -n "<term>" .
  • List workspace files: find . -maxdepth 4 -type f | sort

If a command is missing because a future task removed or renamed the benchmark harness, update docs/codex/testing.md in the same change.

Read the full file on GitHub · 115 lines

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. 2mo ago First seen · 115 lines · 1,484 tokens per session scan C dd66c57ee745

Subscribe to this mod's changes

codex-safe-starter AGENTS.md is an instructions file published in the GitHub repository KevinBigham/codex-safe-starter (0 stars, last pushed 4mo ago), licensed MIT. It adds 1,484 tokens to every session, about $0.0059 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

codex-safe-starter AGENTS.md compared with instructions from other repositories

codex-safe-starter AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codex-safe-starter AGENTS.mdKevinBigham/codex-safe-starterInstructions file04mo agoMITC1,484Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot