<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Felix</title>
    <description>The latest articles on DEV Community by Felix (@_5a5d6151b8456f214d9d1).</description>
    <link>https://dev.to/_5a5d6151b8456f214d9d1</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4083105%2F3873268b-a368-4f02-9fa9-f13b25561aa0.png</url>
      <title>DEV Community: Felix</title>
      <link>https://dev.to/_5a5d6151b8456f214d9d1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/_5a5d6151b8456f214d9d1"/>
    <language>en</language>
    <item>
      <title>I Open-Sourced a Codex Skill That Researches, Tests, and Judges Competing Solutions</title>
      <dc:creator>Felix</dc:creator>
      <pubDate>Tue, 18 Aug 2026 11:13:38 +0000</pubDate>
      <link>https://dev.to/_5a5d6151b8456f214d9d1/i-open-sourced-a-codex-skill-that-researches-tests-and-judges-competing-solutions-3ai3</link>
      <guid>https://dev.to/_5a5d6151b8456f214d9d1/i-open-sourced-a-codex-skill-that-researches-tests-and-judges-competing-solutions-3ai3</guid>
      <description>&lt;p&gt;&lt;strong&gt;Why I built it&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;AI coding agents are very good at generating implementations quickly.&lt;/p&gt;

&lt;p&gt;But project optimization is not only an implementation problem.&lt;/p&gt;

&lt;p&gt;When I ask an agent to improve a real project, several problems often appear:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;it implements the first plausible idea without exploring alternatives;&lt;/li&gt;
&lt;li&gt;it searches for papers but never connects their mechanisms to the local project;&lt;/li&gt;
&lt;li&gt;it compares experiments under different conditions;&lt;/li&gt;
&lt;li&gt;it changes the success criteria after seeing the results;&lt;/li&gt;
&lt;li&gt;it keeps tuning a failed idea without a stopping rule;&lt;/li&gt;
&lt;li&gt;it reports that something is “better” without explaining the causal mechanism;&lt;/li&gt;
&lt;li&gt;it leaves behind many disconnected notes that are difficult to resume.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I wanted a more disciplined workflow: one where research, brainstorming, implementation, measurement, review, and decision-making are connected.&lt;/p&gt;

&lt;p&gt;That became &lt;strong&gt;Automation Exploration Pro&lt;/strong&gt;, an open-source Codex Skill for evidence-guided project exploration and repeated optimization.&lt;/p&gt;

&lt;p&gt;GitHub:&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://github.com/fancheng5840074-bit/automation-exploration-pro" rel="noopener noreferrer"&gt;github.com/fancheng5840074-bit/automation-exploration-pro&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  The core workflow
&lt;/h1&gt;

&lt;p&gt;The Skill organizes exploration as a repeatable loop:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Inspect the project
        ↓
Confirm performance and complexity metrics
        ↓
Freeze the promotion gates
        ↓
Research papers and relevant domain journals
        ↓
Brainstorm and adapt mechanisms to the local project
        ↓
Execute the smallest testable candidate
        ↓
Audit the evidence and comparison conditions
        ↓
Explain the result from first principles
        ↓
PROMOTE / RETAIN / REVISE / REJECT / INCONCLUSIVE
        ↓
Continue with the next justified candidate
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Before comparing solutions, the user confirms:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;performance metrics;&lt;/li&gt;
&lt;li&gt;complexity metrics;&lt;/li&gt;
&lt;li&gt;promotion or stopping gates;&lt;/li&gt;
&lt;li&gt;whether subagent concurrency is allowed;&lt;/li&gt;
&lt;li&gt;the maximum number of cycles.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This prevents the agent from inventing a convenient success criterion after the experiment has already finished.&lt;/p&gt;

&lt;h1&gt;
  
  
  Two exploration modes
&lt;/h1&gt;

&lt;h2&gt;
  
  
  1. Cyclic optimization
&lt;/h2&gt;

&lt;p&gt;Cyclic optimization is designed for projects that already have a working baseline.&lt;/p&gt;

&lt;p&gt;Examples include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;reducing API latency without breaking correctness;&lt;/li&gt;
&lt;li&gt;improving model accuracy under a memory limit;&lt;/li&gt;
&lt;li&gt;reducing hardware resource usage while preserving signal quality;&lt;/li&gt;
&lt;li&gt;improving an analysis pipeline without increasing runtime beyond an accepted threshold;&lt;/li&gt;
&lt;li&gt;reducing the cost or duration of an experimental workflow.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each candidate is compared with the current incumbent under frozen conditions.&lt;/p&gt;

&lt;p&gt;If a candidate passes the confirmed gate, it becomes the new incumbent. The next candidate must beat that promoted result—not an obsolete original baseline.&lt;/p&gt;

&lt;p&gt;A request might look like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Use $automation-exploration-pro in cyclic optimization mode.

Performance metric:
All conformance tests must pass.

Complexity metrics:
p95 latency and peak memory.

Promotion gate:
Reduce p95 latency by at least 15%, with no correctness regression
and no more than 5% additional peak memory.

Subagent concurrency:
Allowed.

Maximum cycles:
4.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The purpose is not to generate an unlimited parameter search. A materially different mechanism becomes a new candidate and consumes a new cycle.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Project exploration
&lt;/h2&gt;

&lt;p&gt;Project exploration is intended for cases where the technical route is still uncertain.&lt;/p&gt;

&lt;p&gt;Instead of optimizing one incumbent, the Skill researches and compares several mechanistically distinct approaches.&lt;/p&gt;

&lt;p&gt;The literature workflow starts from the actual local problem. It can use broad scholarly indexes, preprint sources, publisher records, domain databases, and journals related to the project.&lt;/p&gt;

&lt;p&gt;However, finding a paper is only the beginning.&lt;/p&gt;

&lt;p&gt;Each research-backed candidate must be localized through the following mapping:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Paper mechanism
    → local project constraint
    → required adaptation
    → predicted metric effect
    → cheapest falsification test
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The workflow also separates three kinds of evidence:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Source-observed:
What the paper actually reported.

Local inference:
Why the mechanism might transfer to this project.

Local observation:
What the project's own implementation or experiment measured.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This distinction matters because a result reported in a paper is not automatically evidence that the same method works in a different codebase, dataset, sample type, device, or laboratory environment.&lt;/p&gt;

&lt;p&gt;Ideas without sufficient literature support can still be explored, but they must be labeled as first-principles hypotheses rather than presented as published conclusions.&lt;/p&gt;

&lt;h1&gt;
  
  
  Research and execution can overlap
&lt;/h1&gt;

&lt;p&gt;The stages do not have to run in a strictly serial order.&lt;/p&gt;

&lt;p&gt;While candidate N is executing, independent lanes can prepare future work:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Execution lane:
Test candidate N.

Literature lane:
Investigate mechanisms for candidate N+1.

Brainstorming lane:
Adapt those mechanisms to local constraints.

Review lane:
Check whether the benchmark or experimental comparison remains fair.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If the user allows subagents, independent agents may own these lanes. If subagents are unavailable, the main agent can interleave the same work.&lt;/p&gt;

&lt;p&gt;Prepared research cannot replace the current solution until its candidate has its own execution evidence, audit, explanation, and verdict.&lt;/p&gt;

&lt;h1&gt;
  
  
  Explicit evidence-based decisions
&lt;/h1&gt;

&lt;p&gt;Every evaluated candidate ends with exactly one verdict:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;PROMOTE&lt;/code&gt; — passes the gate and becomes the new incumbent;&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;RETAIN&lt;/code&gt; — useful as an alternative but does not replace the incumbent;&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;REVISE&lt;/code&gt; — the mechanism remains plausible and has a bounded next test;&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;REJECT&lt;/code&gt; — evidence contradicts the candidate or it fails a hard constraint;&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;INCONCLUSIVE&lt;/code&gt; — available evidence is insufficient for a valid decision.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A candidate cannot receive a positive verdict simply because the implementation looks reasonable.&lt;/p&gt;

&lt;p&gt;The Skill first requires:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;execution evidence;&lt;/li&gt;
&lt;li&gt;an audit of metrics, baselines and confounders;&lt;/li&gt;
&lt;li&gt;a first-principles explanation;&lt;/li&gt;
&lt;li&gt;a comparison against the user-confirmed gate.&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  First-principles closeout
&lt;/h1&gt;

&lt;p&gt;I also wanted the final explanation to go beyond a summary of edited files.&lt;/p&gt;

&lt;p&gt;For a software project, the Skill traces the actual implementation path:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Input
→ entry point
→ changed function
→ downstream state transition
→ measured output
→ performance or complexity effect
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It explains where the cost comes from, which assumptions are necessary, what edge cases exist, and why the observed metric should change.&lt;/p&gt;

&lt;p&gt;For a non-code project, such as an engineering or biological workflow, it follows the corresponding protocol and dataflow:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Sample or input
→ preparation
→ intervention
→ measurement
→ calibration
→ decision rule
→ reported metric
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This makes the Skill useful beyond software development. It can support engineering, data analysis, algorithms, and research workflows, as long as the project has measurable objectives and a safe validation path.&lt;/p&gt;

&lt;h1&gt;
  
  
  Minimal and resumable artifacts
&lt;/h1&gt;

&lt;p&gt;The workflow keeps one living Markdown ledger:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;docs/automation-exploration.md
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The ledger contains the frozen contract, candidate states, active lanes, evidence, audit results, explanations, verdicts, and resume state.&lt;/p&gt;

&lt;p&gt;It reuses the project’s native tests, benchmarks, analysis outputs, or experimental records instead of creating a separate report directory for every candidate.&lt;/p&gt;

&lt;p&gt;A dependency-free Python helper enforces the candidate lifecycle and prevents a verdict from being recorded before execution, review, and explanation are complete.&lt;/p&gt;

&lt;h1&gt;
  
  
  Self-contained installation
&lt;/h1&gt;

&lt;p&gt;Automation Exploration Pro does not require another Skill for literature discovery or first-principles explanation.&lt;/p&gt;

&lt;p&gt;Its repository includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the complete operating protocol;&lt;/li&gt;
&lt;li&gt;a project-grounded literature workflow;&lt;/li&gt;
&lt;li&gt;the first-principles closeout method;&lt;/li&gt;
&lt;li&gt;a resumable ledger template;&lt;/li&gt;
&lt;li&gt;a state-management helper;&lt;/li&gt;
&lt;li&gt;tests and detailed cross-domain examples.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It uses whichever ordinary search, browser, scholarly-index, PDF-reading, coding, and execution tools are available in the host environment.&lt;/p&gt;

&lt;p&gt;Clone the repository:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/fancheng5840074-bit/automation-exploration-pro.git
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Copy the Skill into your Codex Skill directory:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;mkdir&lt;/span&gt; &lt;span class="nt"&gt;-p&lt;/span&gt; ~/.codex/skills

&lt;span class="nb"&gt;cp&lt;/span&gt; &lt;span class="nt"&gt;-R&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  automation-exploration-pro/skills/automation-exploration-pro &lt;span class="se"&gt;\&lt;/span&gt;
  ~/.codex/skills/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Restart or refresh Codex, then invoke it explicitly:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Use $automation-exploration-pro to explore several
research-backed solutions for this project.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Use $automation-exploration-pro in cyclic optimization mode
to improve this baseline.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  What it does not promise
&lt;/h1&gt;

&lt;p&gt;This Skill does not guarantee that every project has a better solution.&lt;/p&gt;

&lt;p&gt;It does not turn a paper result into local evidence, and it does not hide failed experiments. If no candidate passes the confirmed gate, the correct outcome is “no promoted candidate.”&lt;/p&gt;

&lt;p&gt;The goal is not to manufacture success. The goal is to make exploration more systematic, reproducible, explainable, and honest about uncertainty.&lt;/p&gt;

&lt;h1&gt;
  
  
  Feedback is welcome
&lt;/h1&gt;

&lt;p&gt;Automation Exploration Pro is released under the MIT License.&lt;/p&gt;

&lt;p&gt;I would especially appreciate feedback on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the literature-to-local-adaptation workflow;&lt;/li&gt;
&lt;li&gt;performance and complexity gate design;&lt;/li&gt;
&lt;li&gt;cross-stage agent concurrency;&lt;/li&gt;
&lt;li&gt;evidence review and verdict semantics;&lt;/li&gt;
&lt;li&gt;applications outside conventional software projects.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If this workflow sounds useful, you can find the source, installation instructions, tests, and two detailed examples here:&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;&lt;a href="https://github.com/fancheng5840074-bit/automation-exploration-pro" rel="noopener noreferrer"&gt;Automation Exploration Pro on GitHub&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Issues and contributions are welcome.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>automation</category>
      <category>openai</category>
    </item>
  </channel>
</rss>
