reason-machines avatar

Codex Autoresearch Loop

Self-directed modify-verify-revert loop that iterates on a measurable code goal until interrupted or capped.

CCM score
48 of 100
skills.sh installs
1.2K
GitHub stars
98
last updated
Jul 14, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers unattended cycles of one atomic change, a verify command for the target metric, and a guard command for regressions
  • Includes seven auto-selected modes (loop, plan, fix, debug, security, ship, exec) plus inline overrides for iterations, parallel runs, and scope
  • Enforces git commit before each verification, with failed changes reverted and guard files never modified by the loop
  • Designed for overnight refactors or coverage and type-cleanup goals where every kept improvement stacks in git history

Install

$ npx -y skills add reason-machines/trending-skills --skill codex-autoresearch-loop -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

Details

Repository
github.com/reason-machines/trending-skills
Categories
Agent Workflow & Planning, Testing & QA, Code Review & Quality
First seen
Apr 16, 2026

More from reason-machines/trending-skills

All 163

Similar to Codex Autoresearch Loop

More Agent Workflow & Planning