codex-cli
Skill0 starsChanged 57 days agoMITView on GitHub
Use Codex CLI as an independent agent for delegated work, code review, or continued discussion in an existing session.
15 other projects use a version of this.
Adopted by
Most recently taken up by
- kortix-ai/sunatheir own version, first seen Oct 5, 2026
- spenserhale/skillstheir own version, first seen Sep 24, 2026
- scarletkc/agentstheir own version, first seen Sep 11, 2026
- hideki5123/agent-skill-settheir own version, first seen Jul 9, 2026
- BenjaminG/ai-skillstheir own version, first seen Jun 2, 2026
- georgekhananaev/claude-skills-vaulttheir own version, first seen May 25, 2026
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- kortix-ai/suna★ 20ksame name
- scarletkc/agents★ 224same name
- revfactory/skills★ 159same name
- sugarforever/01coder-agent-skills★ 136same name
- georgekhananaev/claude-skills-vault★ 28same name
- deedeeharris/claude-skills★ 7same name
- BenjaminG/ai-skills★ 4same name
- hideki5123/agent-skill-set★ 2same name
- Kubementat/ai_agent_skills★ 2same name
- khanglvm/skills★ 1same name
5 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- antigravity-cliSkill
- context7Skill
- hold-the-threadSkill
- hrSkill
- opencliSkill
- tidySkill
- topicSkill
- verifySkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 0 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Use gpt-6.1-sol with high reasoning effort by default:
- Very specific: line 35
Use gpt-6.1-sol with high effort for most delegated tasks.
- Very specific: line 76
Use codex exec --help, codex exec resume --help, and codex exec review --help for the command surface installed on the machine.
“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Codex CLI
Codex runs non-interactively through codex exec. A new run starts a separate Codex session in the selected working directory, streams progress to stderr, and prints its final response to stdout. Redirect stderr to /tmp/codex.err so the turn log stays out of the caller context. A run is done when the process exits; stdout is the reply. If the command fails, read /tmp/codex.err.
Run a task
Use gpt-6.1-sol with high reasoning effort by default:
codex -a never \
-C <working-directory> \
-m gpt-6.1-sol \
-c model_reasoning_effort=high \
exec --skip-git-repo-check "<request>" \
</dev/null 2>/tmp/codex.err-a never is a global flag and therefore appears before exec. It keeps an unattended run from waiting for interactive approval; failed operations return to Codex instead.
--skip-git-repo-check lifts Codex's trusted-directory check; without it an unattended run fails before doing any work.
</dev/null> keeps piped stdin from being appended to the prompt. For a long request, write it to a file and pass - < file in place of the quoted prompt and </dev/null — inline quoting breaks on quotes and newlines.
Model and reasoning
Available models, in ascending capability and cost: gpt-6-luna, gpt-6.1-sol. Set the model explicitly with -m on every run.
Reasoning effort accepts medium, high, xhigh, or max (not low). Higher effort gives the model more room to deliberate and generally increases latency. Set it explicitly with -c model_reasoning_effort=<level>.
Use gpt-6.1-sol with high effort for most delegated tasks. Use gpt-6-luna with xhigh or max for simple but tedious tasks to improve reliability at low cost.
Continue a session
resume --last continues the most recent session in that working directory. A thread ID continues a specific one. The thread id is on the session id: line in /tmp/codex.err. Keep model and effort unless the caller picks different values.
codex -a never \
-C <working-directory> \
-m gpt-6.1-sol \
-c model_reasoning_effort=high \
exec resume --skip-git-repo-check --last "<follow-up>" \
</dev/null 2>/tmp/codex.errcodex -a never \
-C <working-directory> \
-m gpt-6.1-sol \
-c model_reasoning_effort=high \
exec resume --skip-git-repo-check <thread-id> "<follow-up>" \
</dev/null 2>/tmp/codex.errReview code
Pass either one scope flag or a prompt. --help lists both; the CLI still rejects that combination (exit 2).
codex -a never \
-C <working-directory> \
-m gpt-6.1-sol \
-c model_reasoning_effort=high \
exec review --skip-git-repo-check --uncommitted \
</dev/null 2>/tmp/codex.errOther shapes: review --base <branch>, review --commit <sha>, review "<instructions>".
Command reference
Use codex exec --help, codex exec resume --help, and codex exec review --help for the command surface installed on the machine.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

