What it does
Codex Autoresearch Skill — A self-directed iterative system for Codex that continuously cycles through: modify, verify, retain or discard, and repeat indefinitely. Inspired by Karpathy’s autoresearch concept.
- Connects Instruction files the AI reads
- Account or key No key found in README or SKILL.md
- Category Coding
For makers: add a badge to your README
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/skills/leo-lilinxiao-codex-autoresearch)Use together with
MCP servers that connect the AI to services for the same work
Fallow
Codebase intelligence for TypeScript and JavaScript, exposed as structured MCP analysis tools.
Desktop Commander
MCP server for terminal commands, file operations, and process management
Similar Skills
Same kind of work, ordered like the Skills list
| This one codex-autoresearch | rea | andrej-karpathy-skills | graphify | MoneyPrinterTurbo | |
|---|---|---|---|---|---|
| Maker | leo-lilinxiao | morluto | multica-ai | Graphify-Labs | harry0703 |
| Skills | 1 | 1 | 1 | 1 | 1 |
| GitHub stars | 3,237 | 468,733 | 234,332 | 150,287 | 144,566 |
| Last code change | Nov 19, 2026 | Nov 19, 2026 | Apr 20, 2026 | Nov 18, 2026 | Nov 18, 2026 |
| License | MIT | MIT | – | Apache-2.0 | MIT |
1 skills (instruction sets) by leo-lilinxiao that an AI reads and follows · not an MCP server
How a Skill differs from MCP
MCP = the hands
Connects the AI to an outside service or data, such as reading Notion or creating an invoice. A program or server has to be running.
Skill = the manual
A text file that teaches the AI how to do a task. It connects to nothing.
Some overlap: a few Skills run scripts that call tools, and a few MCP servers only send knowledge. Start from the task you want done.
Works with
Codex
From the maker’s README and the folders in the repo
Install
Is it safe?
- Who made it
GitHub account leo-lilinxiao (person), 8 years old
- Use and upkeep
★ 3,237 stars · code last changed Nov 19, 2026
- Any scripts?
12 scripts that can run on a computer: scripts/autoresearch.py, scripts/run_contributor_gate.sh, scripts/run_skill_e2e.sh, scripts/validate_skill_structure.sh and 8 more
- Uses the internet?
No internet calls found in the scripts
- Changes machine-wide settings?
No hooks or writes to machine settings found
Checked automatically from the repo files at commit 0f54c57 (read only, nothing was run). Not a safety guarantee: read it and decide for yourself
First: which AI do you use?
Pick your app and this page shows only how to install it there
Option 1Upload to claude.ai (web and app)
Files are byte-for-byte the same as on GitHub at commit 0f54c57 · View on GitHub ↗
12 scripts
Once uploaded it runs on Claude’s systems, not on your computer. No need to unzip
Look inside before downloading
All 35 files · 2.7 MB
CITATION.cff1 KBCONTRIBUTING.md3 KBLICENSE1 KBREADME.md9 KBSKILL.md2 KBagents/openai.yaml1 KBdocs/EXAMPLES.md5 KBdocs/GUIDE.md8 KBdocs/INSTALL.md2 KBdocs/i18n/README_DE.md4 KBdocs/i18n/README_ES.md4 KBdocs/i18n/README_FR.md4 KBdocs/i18n/README_JA.md4 KBdocs/i18n/README_KO.md4 KBdocs/i18n/README_PT.md4 KBdocs/i18n/README_RU.md6 KBdocs/i18n/README_ZH.md4 KBimage/autoresearch-report.png116 KBimage/banner.png2.3 MBreferences/background.md2 KBreferences/workflow.md7 KBscripts/autoresearch.py56 KBscripts/autoresearch_core.py46 KBscripts/autoresearch_report.py23 KBscripts/run_contributor_gate.sh1 KBscripts/run_skill_e2e.sh12 KBscripts/validate_skill_structure.sh1 KBtests/e2e-fixtures/counter_reduction/scripts/score.py1 KBtests/e2e-fixtures/counter_reduction/src/value.txt1 KBtests/e2e-fixtures/interactive_unittest_fix/prompt.txt1 KBtests/e2e-fixtures/interactive_unittest_fix/scripts/score.py1 KBtests/e2e-fixtures/interactive_unittest_fix/src/math_utils.py1 KBtests/e2e-fixtures/interactive_unittest_fix/tests/test_math_utils.py1 KBtests/test_autoresearch.py39 KBtests/test_structure.py2 KB
Download codex-autoresearch.zip
Open Skills on claude.ai and upload
+Create skillUpload a skillpick codex-autoresearch.zip
No Upload button? Turn on file creation first
SettingsCapabilitiesCode execution and file creation
Turn on Code execution and file creation first (newer menus: Create and edit files) · personal plans: Settings → Capabilities · Team/Enterprise: an admin turns it on under Organization settings → Plugins & skills · every plan, including Free
Upload once; it works in claude.ai and Claude Desktop, and in recent Claude Code signed in with a Claude account (not with an API key)
Cowork and cloud sessions use the skills turned on in your claude.ai account, not ~/.claude/skills on your computer (Claude Desktop scheduled tasks run locally and still load it)
Checked against official docs Nov 12, 2026 · Source: support.claude.com, support.claude.com, code.claude.com
Option 1Let Claude Code install it
Copy this sentence and paste it into a Claude Code chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Restart Claude Code, then type /codex-autoresearch or ask for a matching task and Claude picks it up
Checked against official docs Nov 12, 2026 · Source: code.claude.com
For Terminal users
A Skill is instructions the AI will follow. Read the files before installing, and install only from makers you trust.
Open Terminal
Mac: press Command+Space and type Terminal · Windows: the command below does not work in PowerShell; use “Let AI install it” above instead
Copy the skill folder to ~/.claude/skills
This downloads the repo to a temporary folder and copies only the folders that contain a SKILL.md
git clone --depth 1 https://github.com/leo-lilinxiao/codex-autoresearch.git /tmp/popnx-skill-leo-lilinxiao-codex-autoresearch-0f54c57 && mkdir -p ~/.claude/skills && cp -R '/tmp/popnx-skill-leo-lilinxiao-codex-autoresearch-0f54c57/.' ~/.claude/skills/codex-autoresearchRestart Claude Code, then type /codex-autoresearch or ask for a matching task and Claude picks it up
ChatGPT desktop app
The ChatGPT desktop app has Codex built in, and Codex reads skills from ~/.agents/skills
Option 1Let ChatGPT install it
Open Codex in the ChatGPT desktop app and paste this sentence into the chat
The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Option 2Put the folder there yourself
Put the codex-autoresearch folder at ~/.agents/skills/codex-autoresearch
~ is your home folder ($HOME)
Without Terminal: download the ZIP, unzip it and move the codex-autoresearch folder to ~/.agents/skills
Download codex-autoresearch.zip
For Terminal users
A Skill is instructions the AI will follow. Read the files before installing, and install only from makers you trust.
Open Terminal
Mac: press Command+Space and type Terminal · Windows: the command below does not work in PowerShell; use “Let AI install it” above instead
Copy the skill folder to ~/.agents/skills
This downloads the repo to a temporary folder and copies only the folders that contain a SKILL.md
git clone --depth 1 https://github.com/leo-lilinxiao/codex-autoresearch.git /tmp/popnx-skill-leo-lilinxiao-codex-autoresearch-0f54c57 && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-leo-lilinxiao-codex-autoresearch-0f54c57/.' ~/.agents/skills/codex-autoresearch
After installing
- ChatGPT desktop app: open Skills in the sidebar to see that the skill is there
- To use it: in ChatGPT type @ and pick the skill · in Codex CLI or the IDE extension run /skills or type $ and the skill name
- Codex picks up newly installed skills by itself; if one does not show up, restart Codex
Checked against official docs Nov 15, 2026 · Source: learn.chatgpt.com
ChatGPT on the web and mobile
Skills you install yourself do not work here; only skills that come with a plugin from the directory
To use this skill with ChatGPT, use the ChatGPT desktop app as above
Checked against official docs Nov 15, 2026 · Source: learn.chatgpt.com
Option 1Let Codex install it
Copy this sentence and paste it into a Codex chat · Works in Codex inside the ChatGPT desktop app, Codex CLI and the IDE extension
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Codex picks up newly installed skills by itself; if one does not show up, restart Codex · To use it: in ChatGPT type @ and pick the skill · in Codex CLI or the IDE extension run /skills or type $ and the skill name
Checked against official docs Nov 15, 2026 · Source: learn.chatgpt.com
For Terminal users
A Skill is instructions the AI will follow. Read the files before installing, and install only from makers you trust.
Open Terminal
Mac: press Command+Space and type Terminal · Windows: the command below does not work in PowerShell; use “Let AI install it” above instead
Copy the skill folder to ~/.agents/skills
This downloads the repo to a temporary folder and copies only the folders that contain a SKILL.md
git clone --depth 1 https://github.com/leo-lilinxiao/codex-autoresearch.git /tmp/popnx-skill-leo-lilinxiao-codex-autoresearch-0f54c57 && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-leo-lilinxiao-codex-autoresearch-0f54c57/.' ~/.agents/skills/codex-autoresearchRestart Codex, then ask for a matching task; Codex lists the skill
Option 1Let Cursor install it
Copy this sentence and paste it into a Cursor chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
In Cursor’s Agent chat, type / and pick codex-autoresearch
Checked against official docs Nov 12, 2026 · Source: cursor.com
For Terminal users
A Skill is instructions the AI will follow. Read the files before installing, and install only from makers you trust.
Open Terminal
Mac: press Command+Space and type Terminal · Windows: the command below does not work in PowerShell; use “Let AI install it” above instead
Copy the skill folder to ~/.cursor/skills
This downloads the repo to a temporary folder and copies only the folders that contain a SKILL.md
git clone --depth 1 https://github.com/leo-lilinxiao/codex-autoresearch.git /tmp/popnx-skill-leo-lilinxiao-codex-autoresearch-0f54c57 && mkdir -p ~/.cursor/skills && cp -R '/tmp/popnx-skill-leo-lilinxiao-codex-autoresearch-0f54c57/.' ~/.cursor/skills/codex-autoresearchIn Cursor’s Agent chat, type / and pick codex-autoresearch
Option 1Let the AI install it
For other apps that read skills. The sentence gives the paths for Claude Code, Codex and Cursor so the AI picks the one for your app · Copy this sentence into the app’s chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Checked against official docs Nov 12, 2026 · Source: code.claude.com, learn.chatgpt.com, cursor.com
For Terminal users
Other apps that support Agent Skills (such as Gemini CLI or GitHub Copilot) use different folders. Check that app’s guide, then copy the folder with the SKILL.md there.
Skill folders checked against the official Claude Code, Codex and Cursor guides on Nov 11, 2026
✓ Commands checked Nov 16, 2026
View the original SKILL.md
The text below comes from the maker’s repo, not from PopNx MCP
2,549 characters · Open the full file on GitHub
---
name: codex-autoresearch
description: "Run repeated, measured Git experiments toward a numeric target; keep improvements and revert failures. Use for autonomous optimization or managing an autoresearch run, not one-shot edits."
metadata:
short-description: "Run measurable autonomous experiments"
---
# Codex Autoresearch
Improve a repository through repeated, reversible experiments:
`hypothesize -> change -> measure -> learn -> keep or revert -> repeat`
Codex chooses hypotheses and makes code changes. The control script owns measurement, commits, rollback, and the event history.
## Respond To The Request
Resolve `<control>` to this skill's own `scripts/autoresearch.py`; do not assume it is installed in the target repository.
For a status or results request, run the corresponding command directly:
| Request | Command |
|---|---|
| Status | `python3 <control> status --repo <repo>` |
| History | `python3 <control> history --repo <repo>` |
| TSV export | `python3 <control> history --repo <repo> --format tsv` |
| HTML report | `python3 <control> report --repo <repo>` |
Report the requested result without starting or resuming experiments. Return the generated path for an HTML report.
Before starting or resuming an experiment, read the applicable workflow unless it is already in context:
- [Workflow](references/workflow.md): starting, continuing, resuming, or changing an experiment.
- [Background](references/background.md): launching or controlling a detached run.
## Experiment Boundary
- One run owns one Git repository, one numeric metric, one confirmed target, and approved path scopes.
- For a new foreground run, initialize successfully before creating its Goal; the Goal identifies the returned run id. If initialization reports `complete`, no Goal is needed.
- Use `finish` to finalize each coherent experiment. Do not manually commit, revert, or edit run artifacts during an active run.
- Only a verified target can mean `complete`; an iteration limit, error, or external blocker has its own status.
- Validate state through the control script on entry or resume. Use recorded experiments rather than guessing from conversation.
- Surface command and state errors with their diagnostic paths. Never bypass validation, fabricate metrics, or reconstruct missing events.
Foreground continuation belongs to the official Codex Goal. Background continuation belongs to the detached controller. An already launched background worker follows its supplied experiment contract, without starting a new launch flow.
Discussion
Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
From GitHub
- GitHub stars
- 3,237
- Maker
- leo-lilinxiao
- License
- MIT
- Last code change
- Nov 19, 2026
- SKILL.md files in the repo (including translated copies and templates)
- 1
- Topics
- automation, autonomous-agent, autoresearch, codex, codex-cli, codex-skill, developer-tools, iteration, openai, skill