autoresearch

autoresearch is a skill for Codex from mxyhi/ok-skills. It costs 18 tokens per session (1,900 once invoked), scanned A, a copy of autoresearch, Apache-2.0.

An automated loop that changes a project, checks a chosen metric or verification rule, and keeps or discards each change.

In plain words
What is it for?
Use it to run bounded optimisation experiments, turn a goal into a testable plan, and pass results between research steps.
Why use it?
It reduces manual trial and error when improving code or another measurable result, while logging iterations and requiring approval before publishing or deploying.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to run bounded optimisation experiments, turn a goal into a testable plan, and pass results between research steps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mxyhi/ok-skills/autoresearch
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mxyhi/ok-skills --skill autoresearch
Clone the repo
git clone --depth 1 https://github.com/mxyhi/ok-skills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for autoresearch

README.md
[![agentmods](https://agentmods.dev/badge/skills/mxyhi/ok-skills/autoresearch/github.svg)](https://agentmods.dev/skills/mxyhi/ok-skills/autoresearch)
Your own site
<a href="https://agentmods.dev/skills/mxyhi/ok-skills/autoresearch"><img src="https://agentmods.dev/badge/skills/mxyhi/ok-skills/autoresearch/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for autoresearch

Your own site · 80×15
<a href="https://agentmods.dev/skills/mxyhi/ok-skills/autoresearch"><img src="https://agentmods.dev/badge/skills/mxyhi/ok-skills/autoresearch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,900 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 98% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.01900
Opus 5 $0.00009 $0.00950
Sonnet 5 $0.00004 $0.00380
Haiku 4.5 $0.00002 $0.00190

Measured 13d ago against content hash 93ee4758dee0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

autoresearch scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/orchestrate.sh, scripts/score-regression.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

98% identical to autoresearch — 3 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

autoresearch/SKILL.md · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Autoresearch — Autonomous Goal-directed Iteration

Safety Invariants (all subcommands)

  • Never push, publish, or deploy without explicit user approval.
  • Bounded by default. Override with Iterations: unlimited.
  • All results logged to autoresearch/{subcommand}-{YYMMDD}-{HHMM}/ directory.
  • Chain handoff via handoff.json. Evals reads *-results.tsv.

Dispatch (bare $autoresearch)

Parse the invocation in this order:

Condition Mode
Metric: or Verify: present Classic — existing metric loop, unchanged
Free-form natural-language goal, no metric/verify Orchestrator — see Orchestrator section
Nothing Setup wizard — interactive config builder
--classic flag Force Classic regardless of goal text
--auto flag Force Orchestrator regardless of goal text

Print a banner on every invocation: [autoresearch] mode: classic | orchestrator | wizard.

Subcommands

Command Does Default Iterations
$autoresearch Iterate against a metric: modify → verify → keep/discard 25
$autoresearch plan Convert a goal into validated Scope, Metric, Verify config N/A
$autoresearch debug Hunt bugs: hypothesize → test → falsify → repeat 15
$autoresearch fix Crush errors one-by-one until zero remain 20
$autoresearch security STRIDE + OWASP audit with red-team personas 15
$autoresearch ship Ship through 8 phases: checklist → dry-run → deploy → verify N/A
$autoresearch scenario Generate edge cases across 12 dimensions 20
$autoresearch predict 5 expert personas debate before implementation N/A
$autoresearch learn Scout codebase → generate docs or wiki → validate → fix loop 10
$autoresearch reason Adversarial debate with blind judges until convergence 8
$autoresearch probe 8 personas interrogate requirements until saturation 15
$autoresearch improve Research ICP challenges, discover improvements, generate PRDs 15
$autoresearch evals Analyze iteration results: trends, plateaus, regressions N/A
$autoresearch regression Regression stability gate: baseline vs candidate, verdict STABLE/UNSTABLE N/A

Read the full file on GitHub · 109 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 109 lines · 18 tokens per session scan A 93ee4758dee0

Subscribe to this mod's changes

autoresearch is a skill published in the GitHub repository mxyhi/ok-skills (485 stars, last pushed 3d ago), licensed Apache-2.0. It adds 18 tokens to every session and 1,900 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 98% identical to autoresearch, differing in 3 lines, and is treated as a copy.

Related

Other skills, from other repositories

idea-refine

Refines raw ideas into sharp, actionable concepts through structured divergent and convergent thinking. Use when an idea is still vague, when you need to stress-test assumptions before committing to a plan, or when you want to expand options before converging on one. Triggers on "ideate", "refine this idea", or…

addyosmani/agent-skills · 75 tokens

chinese-git-workflow

A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.

jnMetaCode/superpowers-zh · 69 tokens

chinese-documentation

A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.

jnMetaCode/superpowers-zh · 62 tokens

skillshare-implement-feature

Implement a feature from a spec file or description using TDD workflow. Use this skill whenever the user asks to: add a new CLI command, implement a feature from a spec, build new functionality, add a flag, create a new internal package, or write Go code for skillshare. This skill enforces test-first development…

runkids/skillshare · 114 tokens

create-slack-app

Use when a developer wants to create, scaffold, or bootstrap a new Slack app or agent from scratch with the Slack CLI. Covers prerequisites, authentication, choosing a workspace to install into, and creating + running a project from a Bolt (JS or Python) template locally. Trigger on "create a Slack app", "new Bolt…

slackapi/slack-skills-plugin · 78 tokens

browser_cdp

A guide for connecting browser-control tools to an existing Chrome session through its remote debugging interface. It explains scanning ports, attaching to a browser, choosing a port, sharing a browser, and switching to a more private control mode.

agentscope-ai/skills · 97 tokens