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.
npx agentmods add instructions/ducksss/codex-profiles/agents-mdgit clone --depth 1 https://github.com/Ducksss/codex-profilesWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.01560 | $0.01560 |
| Opus 5 | $0.00780 | $0.00780 |
| Sonnet 5 | $0.00312 | $0.00312 |
| Haiku 4.5 | $0.00156 | $0.00156 |
Grade A, and why
codex-profiles AGENTS.md scanned grade A with 0 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 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Guidance for AI coding agents (Codex, Claude Code, Cursor, and similar) working in this repository. Humans should start with README.md.
Not to be confused with
agent.md, which is a separate operator prompt for the project's outreach automation, not instructions for agents editing this codebase.
What this project is
codex-profiles is a single-file, dependency-free Bash CLI for named Codex
homes and named ChatGPT windows with separate local state. Every profile
selects a CODEX_HOME; named macOS Desktop launches additionally select
Electron user data for the entire ChatGPT window across Chat, Work, and Codex.
The whole program is bin/codex-profile.
It is community-maintained and is not an official OpenAI project.
Repository layout
bin/codex-profile— the entire CLI (Bash). Edit this for behavior changes..agents/skills/— repo-local Codex outreach workflow skills.scripts/check— canonical syntax, test, lint, and full-check dispatcher.scripts/release/— directly tested release-channel programs; workflow YAML only maps permissions, inputs, secrets, and ordering.scripts/aur/— non-pushing AUR preparation and read-only verification.test/— suites grouped bycli,install,packaging,release,site, andoutreach; shared infrastructure lives intest/liband fixtures intest/fixtures.docs/— GitHub Pages site plusllms.txt,robots.txt,sitemap.xml, GEO docs.Makefile— stable delegates includingcheck,test,lint, install, and package smoke targets.CHANGELOG.md— Keep a Changelog format; add entries under## Unreleased.
Setup, build, and test
There is no build step. Run the complete local gate, including syntax, all behavior suites, and ShellCheck:
make check
For focused iteration, behavior tests and lint remain separate:
make test
make lint
bash test/cli/profiles-test.sh
node test/release/workflow-contract-test.mjs
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.
- 2d ago First seen · 136 lines · 1,560 tokens per session scan A 8338b41eec7e
codex-profiles AGENTS.md is an instructions file published in the GitHub repository Ducksss/codex-profiles (108 stars, last pushed 2d ago), licensed MIT. It adds 1,560 tokens to every session, about $0.0078 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
vellum-assistant AGENTS.md
AGENTS.md instructions for vellum-ai/vellum-assistant, covering vellum assistant — agent instructions, project structure, intellectual honesty, development and dependencies.
warp AGENTS.md
AGENTS.md instructions for warpdotdev/warp, covering agents.md, development commands, build and run, running with local warp-server and connect to server on default port 8080.
pronounce CLAUDE.md
Instructions for anzy-renlab-ai/pronounce, covering claude.md, what this repo ships, common commands and conventions when editing.
codex-reset-watcher AGENTS.md
Instructions for jordan-edai/codex-reset-watcher, covering agent notes, current state, product decisions, git and workspace rules and verification commands.
dotfiles AGENTS.md
Instructions for helderberto/dotfiles, covering agents.md, before coding, surgical changes, verification and code principles.
codex-status-bar AGENTS.md
Instructions for yuriipalam/codex-status-bar, covering repository instructions, engineering expectations, verification and release procedure.