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

autoresearch自动研究

Agent Skill

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

总安装

329

周安装

14

GitHub Stars

41

下载量

115
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

用于查找、检索和筛选相关信息。autoresearch 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适合根据关键词或任务场景快速定位候选结果。
  • 可结合仓库路径和 README 进一步验证功能细节。
  • 安装前需确认是否触发联网或文件读写操作。
  • 适用于 Codex、Claude、Cursor 等宿主平台。

SKILL.md

Autoresearch

An autonomous experiment loop. You make a change, measure it, keep it if it's better, discard it if it's not, and repeat. The idea is simple: given a clear metric and a way to measure it, you can run experiments indefinitely while the user sleeps, eats, or touches grass.

This works for anything with a measurable outcome: code performance, ML model quality, bundle size, test coverage, response latency -- if you can extract a number from a command, you can optimize it.

How it works

There are two phases: plan (interactive setup with the user) and loop (autonomous experimentation).

Phase 1: Plan

Before the loop starts, gather the configuration through a short conversation. Ask these questions one at a time, waiting for the user's answer before proceeding.

1. Goal

Ask: "What are you trying to optimize?"

This is a free-text description of the objective. Examples: "Reduce API p95 response time", "Lower validation loss on the language model", "Minimize Docker image size".

2. Verify command

Ask: "What command should I run to measure the metric? The output should contain the metric value as a number."

This is a shell command whose output contains the metric. Examples:

  • npm run bench | grep "p95"
  • uv run train.py 2>&1 | grep "val_bpb"
  • du -sh dist/ | awk '{print $1}'

3. Metric direction

Based on the goal description, infer whether lower or higher is better, then confirm with the user. For example: "From your goal, I'm assuming lower is better -- is that right?"

4. Guard command (optional)

Ask: "Is there a command that must always pass? For example, a test suite. Leave blank if not needed."

A guard is a safety net: a command that must exit with code 0 for an experiment to be kept. The guard prevents the optimization from breaking things. For example, if you're optimizing response time, npm test as a guard ensures you don't accidentally break functionality in the process.

5. Scope (optional)

Ask: "Do you want to restrict which files I can modify, or is everything fair game?"

If the user provides a list of files or directories, only modify those. If they say everything is fair game, use your judgment based on the goal.

6. Set up the autoresearch branch

Create and push a dedicated autoresearch branch from the current branch (typically main). All experimentation happens on or from this branch -- main stays clean.

git checkout -b autoresearch
git push -u origin autoresearch

7. Dry run

Before starting the loop, run both the verify command and the guard command (if set) once. Confirm that:

  • The verify command succeeds and you can extract a numeric metric from its output
  • The guard command succeeds (exit code 0)

If either fails, ask the user to fix the command before proceeding. This catches misconfigurations before the loop wastes time on them.

Record the metric value from the dry run as the baseline.

Phase 2: Loop

Once the plan is confirmed, the loop runs autonomously. Never stop. Never ask. Each iteration follows these steps:

1. Review

Read the current state to inform your next experiment:

  • The in-scope files (or the relevant project files if no scope was set)
  • The results log (autoresearch-results.tsv) to see what's been tried
  • The experiment branches (git branch -a | grep autoresearch-) to recall past attempts

This is your memory. The TSV tells you what worked and what didn't. The branches tell you what approaches have been explored. Use this to avoid repeating failed ideas and to build on successful ones.

2. Ideate

Pick one idea to try. Favor approaches that:

  • Haven't been tried before (check the TSV and branch names)
  • Build on changes that previously improved the metric
  • Are meaningfully different from recent failed attempts

When stuck, don't just make tiny variations of the same idea. Try something radically different -- a different algorithm, a different data structure, a completely different approach to the problem.

3. Branch

Create a new branch from the autoresearch branch with a descriptive name:

autoresearch-<short-description>

Examples: autoresearch-increase-batch-size, autoresearch-inline-hot-path, autoresearch-switch-to-radix-sort

4. Modify

Make one atomic change. One idea, one experiment. Keep changes small and focused so the metric delta is clearly attributable to the change. If equal results can be achieved with less code, prefer the simpler version.

Respect the scope if one was defined. Never modify the guard command's test files or the verify command's evaluation harness -- the measurement infrastructure is sacred.

5. Commit and push

Commit with a descriptive message and push the branch:

git add <specific files>
git commit -m "autoresearch: <description of the change>"
git push -u origin autoresearch-<short-description>

6. Verify

Run the verify command and extract the metric value from the output. If the command crashes or fails, read the error output, note it in the log, and treat it as a failed experiment.

7. Guard (if configured)

Run the guard command. It either passes (exit code 0) or fails. Only run this if a guard was configured.

8. Decide

Compare the metric to the current best (starting from the baseline established in the dry run):

  • Metric improved AND guard passed (or no guard): check out the autoresearch branch, merge the experiment branch, and push autoresearch. This is now the new baseline.
  • Metric did not improve, OR guard failed: check out the autoresearch branch. Leave the experiment branch as-is -- it serves as a record of what was tried.

9. Log

Append a row to autoresearch-results.tsv in the project root. Create the file with headers on the first iteration if it doesn't exist.

Columns:

iteration	branch	metric	delta	guard	status	description
  • iteration: sequential number starting at 1
  • branch: the experiment branch name
  • metric: the extracted metric value
  • delta: change from the current best metric (e.g., -0.03 or +12.5)
  • guard: pass, fail, or - (no guard configured)
  • status: kept (merged to autoresearch) or discarded (branch left as-is)
  • description: one-line summary of what the experiment tried

Commit and push this file to the autoresearch branch after each iteration so the log is always up to date.

10. Repeat

Go back to step 1. Do not stop. Do not ask for confirmation. Keep running experiments until the user interrupts.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.07%
按下载量换算40

Claude

30.85%
按下载量换算35

Cursor

20.33%
按下载量换算23

Gemini CLI

9.37%
按下载量换算11

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

执行命令

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

安装前确认

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

来源信息

继续浏览同类 Skills