codex-autoresearch

Run deterministic modify-verify-keep/discard loops with Codex across a repository.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/BKZhao/MIMIC-Papers-Repro-Agent --skill codex-autoresearch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex-autoresearch
Source: https://github.com/BKZhao/MIMIC-Papers-Repro-Agent/tree/main/.codex/skills/codex-autoresearch
Command: npx skills add https://github.com/BKZhao/MIMIC-Papers-Repro-Agent --skill codex-autoresearch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Automates autonomous goal-driven experiments by running a deterministic modify–verify–keep/discard loop with Codex across a repository. Targets overnight and long-running optimization tasks in software projects and research contexts, supporting multiple modes and runtime workflows. Relies on frontmatter-driven discovery, structured artifacts for resume and audit, and robust preflight governance with rollback options.

Core Features & Use Cases

  • Orchestrates single-iteration autonomic changes across a repository, with optional parallel execution.
  • Supports seven modes (loop, plan, debug, fix, security, ship, exec) and a two-phase interaction model including heavy preflight checks and rollback governance.
  • Reads and writes structured run artifacts (research-results.tsv, autoresearch-state.json, autoresearch-launch.json, autoresearch-runtime.json) and supports session resume and cross-run learning.

Quick Start

Describe your goal in plain language, then say go to start the autonomous loop.

Frequently Asked Questions about codex-autoresearch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate overnight code optimization tasks with Codex?

Automate overnight code optimization by running a deterministic modify–verify–keep/discard loop with Codex across your repository, using autonomous goal-driven experiments to iteratively apply and evaluate changes.

What is a modify verify keep discard loop for autonomous repository experiments?

A modify–verify–keep/discard loop is a deterministic process that autonomously applies code changes, verifies them against goals, and keeps successful modifications while discarding failures, enabling long-running optimization tasks across a repository.

How do I start an autonomous loop for long-running software optimization?

To start an autonomous loop, describe your optimization goal in plain language and instruct the system to go, triggering the deterministic modify–verify–keep/discard workflow across your repository.

Can I resume an interrupted autonomous optimization run across a repository?

Yes, you can resume interrupted autonomous optimization runs because the system reads and writes structured artifacts like autoresearch-state.json and research-results.tsv to support session resume and cross-run learning.

Does the autonomous loop optimizer support rollback for failed code changes?

Yes, the autonomous loop optimizer includes robust preflight governance with rollback options, ensuring that failed modifications from the verify phase are safely discarded from the repository.

What modes are available for autonomous Codex-driven workflows?

Available modes for autonomous Codex-driven workflows include loop, plan, debug, fix, security, ship, and exec, supporting a two-phase interaction model with heavy preflight checks and rollback governance.