Token导航 LogoToken导航

Agent Skill · 研究检索

autoresearch(自动研究)

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

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

总安装 1,294周安装 55GitHub Stars 51下载 453核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/paulrberg/agent-skills --skill autoresearch

这个 Skill 是做什么的

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

用于查找、检索和筛选相关信息。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。适合根据关键词快速定位候选结果。通过 npx 安装,需结合原始 README 核验具体用法。安装前建议确认权限范围和维护状态,避免触发联网或文件读写。

autoresearch 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/autoresearch

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

autoresearch 怎么安装?

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

autoresearch 支持哪些 AI 工具?

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

autoresearch 需要什么权限?

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

autoresearch 是免费的吗?

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

autoresearch 用的人多吗?

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

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

自动研究 · 本页

1,29451只读未明确有提醒

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

SKILL.md 原文

Autoresearch

Autonomous experiment loop: try ideas, measure results, keep what works, discard what doesn't, never stop.

Works for any optimization target: test speed, bundle size, LLM training, build times, Lighthouse scores, binary size, latency, memory usage.

Setup

If autoresearch.md already exists in the working directory, skip setup and resume the loop — read autoresearch.md, autoresearch.jsonl, and git log, then continue experimenting.

Otherwise:

  1. Gather context: Ask (or infer from $ARGUMENTS and conversation) the Goal, Command to benchmark, Primary metric (name + direction), Files in scope, and Constraints.
  2. Create branch: git checkout -b autoresearch/<goal>-<date> (e.g. autoresearch/test-speed-2026-03-21).
  3. Read source files: Understand the workload deeply before writing anything. Read every file in scope.
  4. Write session files: Create autoresearch.md and autoresearch.sh (see templates below). If constraints require correctness validation (tests must pass, types must check), also create autoresearch.checks.sh. Commit all.
  5. Run baseline: Execute the first experiment with no changes to establish the baseline metric.
  6. Start looping: Begin the experiment loop immediately after the baseline is logged.

autoresearch.md

The heart of the session. A fresh agent with no context should be able to read this file alone and run the loop effectively. Invest time making it excellent.

# Autoresearch: <goal>

## Objective
<Specific description of what we're optimizing and the workload.>

## Metrics
- **Primary**: <name> (<unit>, lower/higher is better)
- **Secondary**: <name>, <name>, ...

## How to Run
`./autoresearch.sh` — outputs `METRIC name=value` lines.

## Files in Scope
<Every file the agent may modify, with a brief note on what it does.>

## Off Limits
<What must NOT be touched — evaluation harness, data prep, etc.>

## Constraints
<Hard rules: tests must pass, no new deps, fixed time budget, etc.>

## What's Been Tried
<Update this section as experiments accumulate. Note key wins, dead ends,
and architectural insights so the agent doesn't repeat failed approaches.>

Update autoresearch.md periodically — especially "What's Been Tried" — so resuming agents have full context.

autoresearch.sh

Bash script that runs the benchmark and outputs structured metrics.

#!/bin/bash
set -euo pipefail

# Pre-checks (fast, <1s — catch syntax errors early)
python3 -c "import ast; ast.parse(open('train.py').read())"

# Run benchmark
uv run train.py > /tmp/autoresearch-output.log 2>&1

# Extract and output metrics as METRIC lines
val_bpb=$(grep "^val_bpb:" /tmp/autoresearch-output.log | awk '{print $2}')
echo "METRIC val_bpb=$val_bpb"

Rules:

  • Use set -euo pipefail.
  • Output METRIC name=value lines to stdout (one per metric). The primary metric name must match what's documented in autoresearch.md.
  • Metric names: word chars, dots, or µ (e.g. val_bpb, total_µs, bundle.size_kb).
  • Keep the script fast — every second is multiplied by hundreds of runs.
  • For fast/noisy benchmarks (<5s), run multiple times inside the script and report the median.
  • Update the script during the loop as needed.

autoresearch.checks.sh (optional)

Backpressure checks: tests, types, lint. Only create when constraints require correctness validation.

#!/bin/bash
set -euo pipefail
pnpm test --run --reporter=dot 2>&1 | tail -50
pnpm typecheck 2>&1 | grep -i error || true

When this file exists:

  • Run it after every passing benchmark (exit 0).
  • If checks fail, log the experiment as checks_failed and revert.
  • Check execution time does NOT affect the primary metric.
  • Keep output minimal — suppress verbose progress, only show errors.

When this file does not exist, skip checks entirely.

The Experiment Loop

LOOP FOREVER. Never ask "should I continue?" — the user expects autonomous work.

Each iteration:

  1. Formulate hypothesis: Based on prior results, source code understanding, and any ideas in autoresearch.ideas.md, choose what to try next.
  2. Edit code: Modify the in-scope files. Make a single, focused change per experiment.
  3. Commit: git add -A && git commit -m "<short description of what this experiment tries>"
  4. Run benchmark: timeout 600./autoresearch.sh > run.log 2>&1 If the command times out or crashes, treat it as a failure.
  5. Parse metrics: Extract METRIC lines from the output: grep '^METRIC ' run.log If no METRIC lines found, the run crashed — read tail -50 run.log for the error.
  6. Run checks (if autoresearch.checks.sh exists and benchmark passed): timeout 300./autoresearch.checks.sh > checks.log 2>&1
  7. Evaluate and log:

- Improved (primary metric better than best so far) → status keep. The commit stays. - Worse or equal → status discard. Revert: stage autoresearch files first, then reset. - Crash (benchmark failed) → status crash. Fix if trivial, otherwise revert and move on. - Checks failed → status checks_failed. Revert.

  1. Log to JSONL: Append one line to autoresearch.jsonl: {"run":1,"commit":"a1b2c3d","metric":0.9979,"metrics":{"val_bpb":0.9979,"peak_vram_mb":45060.2},"status":"keep","description":"baseline","timestamp":1711036800000,"confidence":null}
  2. On discard/crash/checks_failed — revert code changes: # Preserve autoresearch session files, revert everything else git add autoresearch.jsonl autoresearch.md autoresearch.sh autoresearch.ideas.md autoresearch.checks.sh 2>/dev/null || true git checkout --. git clean -fd
  3. Check confidence: After 3+ runs, run the confidence script from the skill's installation directory: bash "$(dirname "$(readlink -f "$0")")/scripts/confidence.sh" Or locate it via the skill path and run it directly. Interpret the score:

- >= 2.0x: Improvement is likely real (green). - 1.0-2.0x: Above noise but marginal (yellow). - < 1.0x: Within noise — consider re-running to confirm (red).

  1. Update session: Periodically update autoresearch.md "What's Been Tried" section and run the summary script to review progress.

Repeat forever until interrupted.

JSONL Schema

Each line in autoresearch.jsonl is a JSON object:

FieldTypeDescription
runnumber1-indexed experiment count
commitstringShort git SHA (7 chars)
metricnumberPrimary metric value
metricsobjectAll metrics dict (primary + secondary)
statusstringkeep, discard, crash, or checks_failed
descriptionstringWhat this experiment tried
timestampnumberUnix timestamp (ms)
confidencenumber or nullMAD-based confidence score (null if <3 runs)

Resuming

When autoresearch.md exists in the working directory:

  1. Read autoresearch.md for full context (objective, what's been tried, constraints).
  2. Read autoresearch.jsonl to reconstruct state (best metric, run count, last segment).
  3. Read git log --oneline -20 for recent commit history.
  4. Check autoresearch.ideas.md if it exists — prune stale entries, experiment with promising ones.
  5. Continue the loop from where it left off. Do not re-run the baseline.

Ideas Backlog

When you discover complex but promising optimizations you won't pursue right now, append them as bullets to autoresearch.ideas.md. Don't let good ideas get lost.

On resume, check this file — prune stale/tried entries, experiment with the rest. When all paths are exhausted, delete the file and write a final summary to autoresearch.md.

Loop Rules

See references/loop-rules.md for the full reference. Key rules:

  • Primary metric is king. Improved → keep. Worse/equal → discard.
  • Simpler is better. Remove code for equal perf = keep. Ugly complexity for tiny gain = discard.
  • Don't thrash. Repeatedly reverting the same idea? Try something structurally different.
  • Think longer when stuck. Re-read source files, reason about what the CPU/compiler/runtime is actually doing. Deep understanding beats random variation.
  • Crashes: fix if trivial (typo, missing import), otherwise log and move on. Don't over-invest.
  • NEVER STOP. The user may be away for hours. Keep going until interrupted.

User Messages During Experiments

If the user sends a message while an experiment is running, finish the current run-evaluate-log cycle first, then incorporate their feedback in the next iteration.

平台分布

Codex

36.42%
按下载量换算165

Claude

31.84%
按下载量换算144

Cursor

17.88%
按下载量换算81

Gemini CLI

9.5%
按下载量换算43

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

只读

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

安装前确认

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

继续浏览同类 Skills