Token导航 LogoToken导航

Agent Skill · 研究检索

autoresearch(自动研究)

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

autoresearch 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 59,803。

总安装 376周安装 16GitHub Stars 7下载 132核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/proyecto26/autoresearch-ai-plugin --skill autoresearch

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息,支持关键词快速定位候选结果。适用于需要根据任务场景或来源线索在 Codex、Claude 等平台中获取信息时。可通过 GitHub 仓库路径和 README 进一步核验具体用法和功能范围。

安装方式:通过 npx 从 proyecto26/autoresearch-ai-plugin 仓库添加技能。注意:使用前请确认权限范围、维护状态及是否触发联网或命令执行操作。

来源仓库内路径:skills/autoresearch

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/proyecto26/autoresearch-ai-plugin --skill auto…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

autoresearch 怎么安装?

在终端执行 npx skills add https://github.com/proyecto26/autoresearch-ai-plugin --skill autoresearch。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

autoresearch 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

autoresearch 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

autoresearch 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

autoresearch 用的人多吗?

公开数据是累计安装 376 次,近一周安装 16 次,下载 132 次,GitHub 7 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

autoresearch 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
autoresearch

自动研究 · 本页

3767只读未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Autoresearch: Autonomous Experiment Loop

An autonomous optimization loop where Claude edits code, runs a benchmark, measures a metric, and keeps improvements or reverts — repeating forever until stopped.

Core Concept

The loop is simple: edit → commit → run → measure → keep or discard → repeat.

  • Primary metric is king. Lower (or higher, depending on direction) is better. Improved → keep the commit. Equal or worse → git revert.
  • State survives context resets via autoresearch.jsonl (append-only log) and autoresearch.md (living session document).
  • Domain-agnostic. Works for any measurable target: test speed, bundle size, LLM training loss, Lighthouse scores, build times, etc.
  • Be careful not to overfit to the benchmarks and do not cheat on the benchmarks. Optimize the real workload, not the measurement harness.

Setup Phase

When the user triggers autoresearch, gather the following (ask if not provided):

  1. Goal — what to optimize (e.g., "reduce unit test runtime")
  2. Command — the benchmark to run (e.g., pnpm test, uv run train.py)
  3. Primary metric — name, unit, and direction (lower or higher is better)
  4. Secondary metrics — optional additional metrics to track for tradeoff monitoring (e.g., memory, compile time)
  5. Files in scope — which files can be modified
  6. Constraints — time budget, off-limits files, correctness requirements

Optionally check for .claude/autoresearch-ai-plugin.local.md in the project root for persistent configuration:

---
enabled: true
max_iterations: 50
working_dir: "/path/to/project"
benchmark_timeout: 600
checks_timeout: 300
---

# Autoresearch Configuration

Additional context or notes for this project's autoresearch setup.
  • enabled — whether autoresearch is active (default: true)
  • max_iterations — stop after N experiments (default: 0 = unlimited)
  • working_dir — override directory for experiment files (default: current directory)
  • benchmark_timeout — benchmark timeout in seconds (default: 600)
  • checks_timeout — correctness checks timeout in seconds (default: 300)

If the file doesn't exist, use defaults. The file should be added to .gitignore (.claude/*.local.md).

Then execute these setup steps:

  1. Create a branch: git checkout -b autoresearch/<goal>-<date>
  2. Ensure session files are gitignored (critical — git revert will fail if autoresearch.jsonl is tracked): echo -e "autoresearch.jsonl\nrun.log" >>.gitignore git add.gitignore && git commit -m "autoresearch: add session files to gitignore"
  3. Read all files in scope thoroughly to understand the codebase
  4. Write autoresearch.md — the session document (see examples/autoresearch.md)
  5. Write autoresearch.sh — the benchmark script (see examples/autoresearch.sh)
  6. Optionally write autoresearch.checks.sh — correctness checks (tests, lint, types)
  7. Commit session files
  8. Run baseline: bash autoresearch.sh
  9. Parse metrics from output (lines matching METRIC name=value)
  10. Record baseline in autoresearch.jsonl (with "type":"config" header first, then baseline result)
  11. Begin the experiment loop

The Experiment Loop

LOOP FOREVER. Never ask "should I continue?" — just keep going.

The user might be asleep, away from the computer, or expects you to work indefinitely. If each experiment takes ~5 minutes, you can run ~12/hour, ~100 overnight. The loop runs until the user interrupts you, period.

Each iteration:

1. Read current git state and autoresearch.md
2. Choose an experimental change (informed by past results and ASI notes)
3. Edit files in scope
4. git add <files> && git commit -m "experiment: <description>"
5. Run: bash autoresearch.sh > run.log 2>&1
6. Parse METRIC lines from output
7. If autoresearch.checks.sh exists, run it (separate timeout, default 300s)
8. Decide: keep or discard
9. Log result to autoresearch.jsonl (include ASI annotations)
10. If discard/crash: git revert $(git rev-parse HEAD) --no-edit
11. Update autoresearch.md with learnings (every few experiments)
12. Repeat

Decision Rules

  • Metric improved → keep (commit stays, branch advances)
  • Metric equal or worse → discard (run git revert $(git rev-parse HEAD) --no-edit)
  • Crash or checks failed → discard (revert, note the failure in ASI)
  • Simpler code for equal perf → keep (removing complexity is a win)
  • Catastrophic secondary metric regression → consider discard even if primary improved (e.g., 1% speed gain but 10x memory usage)
  • If stuck → think deeper, try a different approach. Consult autoresearch.ideas.md if it exists. Re-read source files for new angles. Try combining previous near-misses. Try more radical changes. Read any papers or docs referenced in the code.

Simplicity Criterion

All else being equal, simpler is better. Weigh complexity cost against improvement magnitude:

  • A 0.001 improvement that adds 20 lines of hacky code? Probably not worth it.
  • A 0.001 improvement from deleting code? Definitely keep.
  • Equal performance with much simpler code? Keep.

Handling User Messages During Experiments

If the user sends a message while the loop is running:

  1. Finish the current experiment cycle (don't abandon mid-run)
  2. Address the user's feedback or question
  3. Resume the loop immediately after — do not wait for permission

Benchmark Timeout

  • Default benchmark timeout: 600 seconds (10 minutes)
  • If a run exceeds the timeout, kill it and treat as a crash
  • Checks timeout: 300 seconds (5 minutes), separate from benchmark

Don't Thrash

If 3 consecutive experiments fail or get discarded:

  1. Stop and think about why
  2. Re-read the source files for new angles
  3. Try a fundamentally different approach
  4. Consult autoresearch.ideas.md for untried ideas

Metric Output Format

Benchmark scripts output metrics as structured lines:

METRIC total_time=4.23
METRIC memory_mb=512
METRIC val_bpb=1.042

Parse these with the helper script at ${CLAUDE_SKILL_DIR}/scripts/parse-metrics.sh:

bash autoresearch.sh 2>&1 | bash ${CLAUDE_SKILL_DIR}/scripts/parse-metrics.sh

Secondary Metrics

Beyond the primary metric, output additional METRIC lines for tradeoff monitoring:

METRIC total_ms=4230        # primary
METRIC compile_ms=1200      # secondary — helps identify bottlenecks
METRIC memory_mb=512        # secondary — monitors resource usage
METRIC cache_hit_rate=0.85  # secondary — instrumentation data

Secondary metrics are tracked in the JSONL log and help guide future experiments, but they rarely affect keep/discard decisions (only discard if a catastrophic secondary regression accompanies a marginal primary improvement).

Output instrumentation data — phase timings, error counts, cache rates, domain-specific signals. This data guides the next iteration and helps identify where optimization effort should focus.

Actionable Side Information (ASI)

ASI is structured annotation per experiment that survives reverts. When code changes are discarded, only the description and ASI remain — making them the only structured memory of what happened.

Record ASI for every experiment:

{
  "hypothesis": "Reducing loop iterations by breaking early",
  "result": "Marginal speedup but code readability suffered",
  "next_action_hint": "Try vectorization instead of loop unrolling",
  "bottleneck": "Memory bandwidth on L2 cache misses"
}

ASI fields are free-form — use whatever keys are useful:

  • hypothesis — what you expected
  • result — what actually happened
  • next_action_hint — guidance for the next experiment
  • bottleneck — identified performance bottleneck
  • error_details — crash/failure diagnostics
  • Any other domain-specific observations

Logging to autoresearch.jsonl

Config Header (written once at setup)

{"type":"config","name":"Optimize unit test runtime","metricName":"total_ms","metricUnit":"ms","bestDirection":"lower"}

Experiment Results (appended after each run)

Each experiment appends one JSON line:

{"run":5,"commit":"abc1234","metric":4230,"metrics":{"compile_ms":1200,"memory_mb":512},"status":"keep","description":"parallelized test suites","timestamp":1700000000,"segment":0,"confidence":2.3,"asi":{"hypothesis":"parallel tests reduce wall time","next_action_hint":"try worker pool size tuning"}}

Fields:

  • run — experiment number (1-indexed, sequential)
  • commit — short git commit hash (7 chars)
  • metric — primary metric value
  • metrics — secondary metrics dict (optional)
  • status — one of: keep, discard, crash, checks_failed
  • description — brief description of what was tried
  • timestamp — Unix timestamp (seconds)
  • segment — session segment index (0-based, incremented when optimization target changes)
  • confidence — MAD-based confidence score (null if < 3 experiments)
  • asi — Actionable Side Information dict (optional, omit if empty)

Use ${CLAUDE_SKILL_DIR}/scripts/log-experiment.sh to append entries:

bash ${CLAUDE_SKILL_DIR}/scripts/log-experiment.sh \
  --run 5 \
  --commit "$(git rev-parse --short HEAD)" \
  --metric 4230 \
  --status keep \
  --description "parallelized test suites" \
  --metrics '{"compile_ms":1200,"memory_mb":512}' \
  --segment 0 \
  --confidence 2.3 \
  --asi '{"hypothesis":"parallel tests reduce wall time"}'

Valid statuses: keep, discard, crash, checks_failed

Segments (Multi-Phase Sessions)

When the optimization target changes mid-session (different benchmark, metric, or workload):

  1. Write a new config header to autoresearch.jsonl with the updated target
  2. Increment the segment counter
  3. Old results stay in the JSONL but are filtered as previous phase
  4. Establish a new baseline for the new segment

This allows a single session to evolve — e.g., first optimize compilation speed, then switch to runtime performance.

Resuming After Context Reset

If autoresearch.jsonl and autoresearch.md exist in the working directory:

  1. Read autoresearch.md for full context (goal, metrics, files, constraints, learnings)
  2. Read autoresearch.jsonl to see all past experiments, current best, and ASI annotations
  3. Check autoresearch.ideas.md if it exists — prune stale entries, experiment with remaining ideas
  4. Check git log to verify current branch state matches expected state
  5. Resume the loop from where it left off — no re-setup needed
  6. Resume immediately — do not ask "should I continue?"

Confidence Scoring

After 3+ experiments, assess whether improvements are real or noise:

  • Compute the Median Absolute Deviation (MAD) of all metric values in the current segment as a noise floor
  • Confidence = |best improvement| / MAD
  • ≥2.0× → likely real improvement (green)
  • 1.0–2.0× → marginal, could be noise (yellow)
  • <1.0× → within noise floor (red) — consider re-running to confirm

Record confidence on each experiment result in the JSONL log. When confidence is low, consider:

  • Running the benchmark multiple times inside autoresearch.sh and reporting the median
  • Pinning CPU frequency or reducing system noise
  • Making larger changes that produce clearer signal

See references/confidence-scoring.md for detailed methodology.

Session Files

FilePurposeCreated by
autoresearch.mdLiving session document — goal, metrics, scope, learningsSetup phase
autoresearch.shBenchmark script — outputs METRIC name=value linesSetup phase
autoresearch.checks.shOptional correctness checks (tests, lint, types)Setup phase
autoresearch.jsonlAppend-only experiment log (survives restarts)First experiment
autoresearch.ideas.mdOptional backlog of ideas to tryAnytime
.claude/autoresearch-ai-plugin.local.mdOptional persistent configuration (max_iterations, working_dir, timeouts)User-provided

Cancel and Status

Cancelling an Autoresearch Session

When the user asks to cancel or stop autoresearch:

  1. Finish the current experiment cycle if one is running
  2. Read autoresearch.jsonl to count total experiments and results
  3. Report a summary: goal, total runs, kept improvements, best metric
  4. Remove .claude/autoresearch-ai-plugin.local.md if it exists
  5. Do NOT delete autoresearch.jsonl or autoresearch.md — they contain valuable history
  6. Do NOT revert any kept commits — the improvements are real
  7. Inform the user they can resume later with /autoresearch

Checking Session Status

When the user asks about autoresearch status or progress:

  1. Check if autoresearch.jsonl exists — if not, report "No active session"
  2. Read autoresearch.md for the goal and primary metric
  3. Parse autoresearch.jsonl to compute: total runs, kept/discarded/crashed counts, baseline vs best, improvement percentage, confidence score
  4. Display a formatted summary

Additional Resources

Reference Files

  • references/confidence-scoring.md — Detailed MAD-based confidence methodology
  • references/best-practices.md — Tips for writing good benchmarks, choosing experiments, ASI patterns, and avoiding pitfalls

Example Files

  • examples/autoresearch.md — Example session document template
  • examples/autoresearch.sh — Example benchmark script with METRIC output
  • examples/autoresearch.checks.sh — Example correctness checks script

Utility Scripts

  • scripts/parse-metrics.sh — Extract METRIC lines from benchmark output
  • scripts/log-experiment.sh — Append an experiment result to autoresearch.jsonl

平台分布

Codex

33.97%
按下载量换算45

Claude

31.84%
按下载量换算42

Cursor

18.26%
按下载量换算24

Gemini CLI

8.49%
按下载量换算11

安全审计

Gen Agent Trust Hub

可疑

Socket

可疑

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills