autoresearch
CommandAutonomous iteration loop: modify, verify, keep/discard against any metric
Convert a goal into validated Scope, Metric, Direction, Verify config
> /plugin marketplace add uditgoenka/autoresearch> /plugin install autoresearch@autoresearch
name: autoresearch:plan description: "Convert a goal into validated Scope, Metric, Direction, Verify config" argument-hint: "[Goal: <text>] [--chain <targets>]" disable-model-invocation: true
EXECUTE IMMEDIATELY.
Extract from $ARGUMENTS:
Remaining text = goal description.
AskUserQuestion (single batch): Q1 (Goal): "What do you want to achieve?" — open text Q2 (Type): "What kind of goal?" — improve a metric, fix errors, audit security, explore edge cases, document code, ship something If Goal provided → skip.
Parse the goal to determine:
1. Scan project structure 2. Identify files relevant to the goal 3. Propose file globs 4. If ambiguous → ask user to confirm
For metric-driven goals:
For performance, latency, throughput, runtime, CPU, memory, allocations, binary size, power, energy, bandwidth, or compute-cost goals, read `references/behavior-preserving-optimization.md` in the autoresearch skill directory. Derive a behavior/resource Guard and a held-out confirmation plan separately from the headline metric; do not let the optimized metric certify itself.
For subjective goals:
1. Identify how to extract the metric as a number from a shell command 2. Propose Verify command (e.g., `npm test -- --coverage | grep "All files" | awk '{print $10}'`) 3. **Safety screen:** check proposed command for rm -rf, fork bombs, curl|sh, credentials 4. Dry-run the Verify command → confirm it outputs a valid number 5. If dry-run fails → adjust command and retry
Propose a Guard command if applicable:
Based on goal complexity:
Output a ready-to-run autoresearch config block:
/autoresearch
Goal: {derived goal}
Scope: {derived globs}
Metric: {derived metric}
Direction: {higher_is_better|lower_is_better}
Verify: {derived command}
Guard: {derived guard or omit}
Iterations: {suggested count}Ask user: "Run this config now, or adjust?"
If --chain set:
Turn Claude Code, OpenCode, or OpenAI Codex into a relentless improvement engine. Based on Karpathy's autoresearch — constraint + mechanical metric + autonomous iteration = compounding gains.
Autonomous iteration loop: modify, verify, keep/discard against any metric
Hunt bugs with scientific method: hypothesize, test, falsify, repeat
Analyze iteration results: trends, plateaus, regressions, recommendations
Crush errors one-by-one until zero remain: tests, types, lint, build
Research ICP challenges, discover improvements, generate PRDs
Scout codebase and auto-generate docs — or a navigable wiki knowledge base — with validation-fix loop
One-time setup after installing ARIS as a Claude Code plugin — registers the Codex reviewer MCP server from the plugin directory…
name: sc:agent description: SC Agent — session controller that orchestrates investigation, implementation, and review category:…