
Codex Autoresearch Loop
This is an unattended optimization loop that commits every improvement and reverts every failure until you interrupt it or hit a goal. You give it one measurable target like "eliminate all any types" or "get coverage above 80%," it infers the verify command and guard rails, then runs modify-test-keep/revert cycles in git without asking permission. Inspired by Karpathy's autoresearch concept but generalized to any codebase metric, not just ML training. The interesting bit is the escalation protocol: after three failed attempts it refines the approach, after five it pivots strategy, after two pivots it searches the web to unstick itself. Useful when you have a clear metric and want to let the agent grind on it overnight while you sleep.
- skills.sh installs
- 1.2K
- GitHub stars
- 61
- last updated
- Jul 14, 2026
Install
$ npx -y skills add aradotso/trending-skills --skill codex-autoresearch-loop --agent claude-codeInstalls into .claude/skills of the current project.
Files
Codex Autoresearch
Skill by ara.so — Daily 2026 Skills collection.
Codex Autoresearch is a Codex skill that runs an autonomous modify→verify→keep/revert loop on your codebase. You describe a measurable goal in one sentence; Codex confirms the plan, then iterates unattended — every improvement stacks in git, every failure reverts automatically — until interrupted or a cap is reached. Inspired by Karpathy's autoresearch concept, generalized beyond ML training to any software metric.
Installation
Option A — manual copy into your project:
git clone https://github.com/leo-lilinxiao/codex-autoresearch.git
cp -r codex-autoresearch your-project/.agents/skills/codex-autoresearch
Option B — Codex skill installer:
$skill-installer install https://github.com/leo-lilinxiao/codex-autoresearch
The skill lives at .agents/skills/codex-autoresearch/ inside your project. No config file is required before first use.
How to Activate
Open Codex in your project directory and prefix your goal with $codex-autoresearch:
$codex-autoresearch
I want to get rid of all `any` types in my TypeScript code
Sponsors
Details
- Repository
- github.com/aradotso/trending-skills
- First seen
- Apr 16, 2026
More from aradotso/trending-skills
All 251- Fabro Workflow Factory1.2K
- Grimmory Self Hosted Library1.2K
- Keyid Agent Kit Mcp1.2K
- Kimodo Motion Diffusion1.2K
- Nightingale Karaoke1.2K
- Openhanako Personal Ai Agent1.2K
- Slug Font Rendering1.2K
- Taiwan Md Knowledge Base1.2K
- Witr Process Inspector1.2K
- Zeroboot Vm Sandbox1.2K
- Code Review Graph1.1K
- Flash Moe Inference1.1K
- Ghostling Libghostty Terminal1.1K
- 724 Office Ai Agent1K
- Claude Peers Mcp1K
- My Brain Is Full Crew1K
- Weixin Agent Sdk1K
- Dingtalk Workspace Cli941
- Polymarket Arbitrage Trading Bot927
- Awesome Phd Cv916
- Web Access Claude Skill916
- Weclaw Wechat Ai Bridge911
- Awesome Free Llm Apis904
- Cc Connect Ai Bridge884