Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计异常

autoresearch-fleet自动研究舰队

Agent Skill

autoresearch-fleet 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

412

周安装

17

GitHub Stars

公开资料未说明

下载量

135
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:autoresearch-fleet(自动研究舰队)
来源仓库:https://github.com/quickcall-dev/skills
仓库路径:skills/autoresearch-fleet
安装命令:
npx skills add https://github.com/quickcall-dev/skills --skill autoresearch-fleet
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/quickcall-dev/skills --skill autoresearch-fleet

简介

autoresearch-fleet 实现一个持续优化的自主研究循环,灵感来自 karpathy/autoresearch,适合在 Codex、Claude、Cursor、Gemini CLI 中进行指标驱动的代码改进。

  • 适用于有快速确定性评估机制的单目标优化问题,如延迟、准确率等可量化指标的提升。
  • 通过修改代码、运行评估、保留改进并丢弃回归,循环迭代;当进展停滞时自动注入网络搜索以突破知识边界。
  • 安装前应检查环境依赖、API 密钥配置及是否会触发外部命令或网络请求。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Autoresearch Fleet

Autonomous research loop inspired by karpathy/autoresearch. One mutable file, one immutable eval harness, git as state machine, and a "NEVER STOP" directive. The agent modifies code, evaluates the result, keeps improvements, discards regressions, and repeats indefinitely.

Open-world extension: when the agent plateaus (N consecutive discards), the orchestrator injects a web-search prompt, breaking through knowledge ceilings the LLM can't cross alone.

When to use

  • Optimizing a single metric (latency, accuracy, loss, score)
  • The problem has a fast, deterministic eval harness
  • You want autonomous overnight runs (100+ experiments while you sleep)
  • The search space is too large for manual exploration

How it works

┌─────────────────────────────────────────────────┐
│                 orchestrator.sh                  │
│                                                  │
│  for each iteration:                             │
│    1. Count trailing discards in results.tsv     │
│    2. If >= plateau_threshold → search prompt    │
│    3. Spawn agent (claude -p or codex exec)      │
│    4. Agent reads program.md, edits file, evals  │
│    5. Agent updates results.tsv, keeps/reverts   │
│    6. Check stop conditions (iter/cost/plateau)  │
│    7. Loop                                       │
└─────────────────────────────────────────────────┘

The agent handles everything: reading files, editing code, running eval, committing, updating results.tsv, and reverting on failure. The orchestrator just loops, switches prompts on plateau, and enforces stop conditions.

Directory structure

$FLEET_ROOT/                    # The problem directory
  fleet.json                    # Fleet config
  program.md                    # Agent instructions (you write this)
  eval.py                       # Immutable eval harness (you write this)
  solution.py                   # Mutable file (agent edits this)
  results.tsv                   # Experiment log (agent updates, git-untracked)
  orchestrator.sh               # Generated by launch.sh
  .orch-state.json              # Iteration state
  .paused                       # Sentinel (touch to pause)
  logs/
    session-iter-1.jsonl         # Per-iteration session logs
    session-iter-2.jsonl
    ...

fleet.json schema

{
  "fleet_name": "optimize-api-latency",
  "type": "autoresearch",
  "config": {
    "model": "sonnet",
    "fallback_model": "haiku",
    "provider": "claude",
    "budget_per_iter": 2.00,
    "max_turns": 0
  },
  "problem": {
    "workdir": "/home/user/my-project",
    "eval_command": "make benchmark",
    "metric_regex": "^p99_latency_ms:\\s*([0-9.]+)",
    "metric_direction": "minimize",
    "results_file": "results.tsv",
    "program_md": "program.md"
  },
  "stop_when": {
    "max_iterations": 30,
    "cost_cap_usd": 15.0
  },
  "search": {
    "enabled": true,
    "plateau_threshold": 3
  }
}

Config fields

FieldDefaultDescription
config.modelsonnetAgent model
config.fallback_modelhaikuFallback model (must differ from model)
config.providerclaudeclaude or codex
config.budget_per_iter1.00Max USD per iteration
config.max_turns0Max agent turns (0 = unlimited)
problem.workdirfleet rootWorking directory — the repo/dir the agent operates in. Fleet root stores config + logs only.
problem.eval_commandrequiredCommand to run evaluation (python3 eval.py, make benchmark, pytest --tb=short, etc.)
problem.metric_regex*(optional)*Regex to extract metric from eval output. Must have one capture group. Omit if eval prints a single number.
problem.metric_directionminimizeminimize or maximize
problem.results_fileresults.tsvTSV log file (in workdir)
problem.program_mdprogram.mdAgent instructions file (checked in workdir first, then fleet root)
stop_when.max_iterations50Hard iteration limit
stop_when.cost_cap_usd0Total cost limit (0 = no limit)
search.enabledtrueEnable plateau-triggered web search
search.plateau_threshold3Consecutive discards before search

Required inputs

You need 3 things in a fleet root directory:

  1. fleet.json — points problem.workdir at the target repo, sets eval_command
  2. program.md — agent instructions. Must say NEVER STOP.
  3. An eval command — anything that outputs a metric
fleet-root/              ← fleet.json + program.md + logs
  fleet.json
  program.md
  logs/                  ← created automatically
your-repo/               ← workdir (agent operates here)
  src/...
  results.tsv            ← created automatically

When the user doesn't specify a benchmark

If the user gives you a repo and a goal but no eval command:

  1. Check for existing benchmarks: look for Makefile targets (make benchmark, make perf), package.json scripts (npm run bench, yarn test), pytest markers (pytest -m benchmark), or bench/ directories.
  2. If found: use it as eval_command. Set metric_regex if it doesn't print a single number.
  3. If not found: write a benchmark script (bench.sh or bench.py) in the workdir that:

- Runs the relevant operation (API call, function invocation, build, test suite) - Measures the metric the user cares about (latency, pass rate, bundle size, etc.) - Prints a single number to stdout - Exits 0 on success, non-zero on crash

  1. Set eval_command to run this script.

Example: user says "optimize API latency in my Express app":

#!/usr/bin/env bash
# bench.sh — measure p99 latency
npm start &>/dev/null &
PID=$!
sleep 3
RESULT=$(curl -s -o /dev/null -w '%{time_total}' http://localhost:3000/api/health)
kill $PID 2>/dev/null
echo "$RESULT"

Then set "eval_command": "bash bench.sh" in fleet.json.

Setup

  1. Create fleet root with fleet.json + program.md (+ bench.sh if you wrote one)
  2. bash ${CLAUDE_SKILL_DIR}/scripts/launch.sh <fleet-root> (git init + results.tsv auto-created)
  3. bash ${CLAUDE_SKILL_DIR}/scripts/status.sh <fleet-root> to monitor

Available scripts

ScriptPurpose
launch.sh <fleet-root> [--dry-run]Generate orchestrator.sh, spawn in tmux with monitor
status.sh <fleet-root> [--watch]Show iteration, best metric, results.tsv, cost, plateau
`view.sh <fleet-root> <iter\latest> [--follow]`View parsed session events for a specific iteration
report.sh <fleet-root> [--output file.md]Generate markdown summary after run completes
pause.sh <fleet-root>Pause at next iteration boundary
resume.sh <fleet-root>Resume paused fleet
kill.sh <fleet-root>Hard stop: kill tmux, sweep orphans

program.md template

Your program.md should follow this structure (adapt to your problem):

# autoresearch: <problem description>

## Setup
1. Explore the codebase to understand the architecture.
2. Read `results.tsv` for prior experiment history.
3. Run `<eval_command>` to establish a baseline.

## Rules
- Goal: <minimize|maximize> the metric.
- Make ONE change per experiment. Keep changes focused.
- <any constraints: don't touch tests, don't modify config, etc.>

## The experiment loop
LOOP FOREVER:
1. Read results.tsv for context on what's been tried.
2. Make ONE change to the codebase.
3. `git add -A && git commit -m "short description"`
4. Run: `<eval_command>`
5. Record in results.tsv (tab-separated): `commit  metric  status  description`
6. If metric improved: keep the commit.
7. If worse or crash: `git reset --hard HEAD~1` and log as discard/crash.
8. Go to step 1.

**NEVER STOP.** Run until manually interrupted.

Key design principles (from Karpathy)

  1. Git as state machine — improvement = advance branch; regression = reset
  2. Fixed eval — makes all experiments comparable
  3. results.tsv as shared memory — agent reads history to avoid repeating failures
  4. NEVER STOP — agent runs autonomously until killed
  5. Simplicity criterion — a small gain with ugly complexity is not worth it

Open-world search (the extension)

When search.enabled is true, the orchestrator counts trailing discards in results.tsv. If the count exceeds search.plateau_threshold, the next iteration gets a search-augmented prompt telling the agent to use WebSearch before coding.

This is validated: in experiment 009, search found Winograd's Strassen variant (15 additions vs 18) — a technique not in the LLM's training data — breaking through a plateau where vanilla autoresearch was stuck.

Critical: plateau detection is done in bash (deterministic), not by the LLM. The agent miscounted consecutive discards in early experiments, hallucinating plateaus. External counting is mandatory.

Rationalizations to reject

Agent saysRebuttal
"The agent should search every iteration for best results"Search-on-plateau beats always-search. Most early searches are redundant and add latency. Only search when stuck (3+ discards).
"I should manage git from the orchestrator"The agent handles git. It can fix commit messages, handle edge cases, and revert intelligently. The orchestrator just loops.
"The eval harness can reuse the same inputs"Reusing inputs is gameable. The agent will discover identity-based memoization and optimize for the benchmark, not the problem. Use fresh seeded inputs per timed run.
"I should use iterative-fleet for this"Iterative-fleet has a reviewer. Autoresearch has no reviewer — the eval script IS the quality gate. Different pattern, different skill.

$ARGUMENTS

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.3%
按下载量换算46

Claude

30.26%
按下载量换算41

Cursor

17.34%
按下载量换算23

Gemini CLI

8.42%
按下载量换算11

安全审计

Gen Agent Trust Hub

未通过

Socket

可疑

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/quickcall-dev/skills --skill autoresearch-fleet 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills