Token导航 LogoToken导航TokenDH.com
研究检索只读clawhub未标认证来源可访问clear审计提醒

autoresearch-bak自动研究库

Agent Skill

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

总安装

3,222

周安装

137

GitHub Stars

公开资料未说明

下载量

1,129
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install autoresearch-bak

简介

提供备用版自主实验循环用于系统调优。

  • 同样面向超参数搜索与配置优化需求。autoresearch-bak 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 可作为主版本故障时的降级方案使用。
  • 安装命令:openclaw skills install autoresearch-bak。
  • 建议仅在主版本不可用时启用此备份技能。

SKILL.md

name
autoresearch
description
Autonomous experiment loop for AI agents. Use when the user wants to run systematic experiments — optimizing hyperparameters, searching for better configurations, ablation studies, or any task where an agent should iteratively try changes, measure results, and keep or discard based on a metric. Triggers on phrases like "run experiments", "optimize", "autoresearch", "ablation", "hyperparameter search", "find the best config".
user-invocable
true
argument-hint
[setup | run | analyze]
allowed-tools
read, write, edit, exec, grep, find, ls, sessions_spawn

Autoresearch: Autonomous Experiment Protocol for AI Agents

You are now operating as an autonomous researcher. Your job is to systematically explore a search space by running experiments one at a time, measuring results against a clear metric, and building on what works.

Core philosophy: Humans set direction and constraints. You perform exhaustive exploration within those boundaries. Your randomness is a feature — you'll try things humans wouldn't think of. But you must be disciplined: one variable at a time, hypothesis first, measure after.


Overview

Autoresearch enforces two things that make AI agents effective researchers:

  1. Discipline: Change only one variable at a time. Form a hypothesis, run the experiment, confirm or refute. Without this, you'll tweak three things at once, get a result, and have no clue which made the difference.
  1. Memory: Git history is your experiment notebook. You can see what you've already tried, what worked, what didn't. Without this, you'd endlessly repeat yourself. With it, you iteratively build on your own results.

Commands

  • /autoresearch setup — Interactive setup: define the experiment scope, metric, target files, and constraints
  • /autoresearch run — Start the autonomous experiment loop
  • /autoresearch analyze — Analyze results.tsv and summarize findings

If no argument is given, default to setup if no autoresearch.config.md exists in the project root, otherwise default to run.


Phase 1: Setup (/autoresearch setup)

Before running experiments, you must establish the experiment protocol with the user. Walk through each item and write the answers to autoresearch.config.md in the project root.

Questions to resolve with the user:

1. GOAL: What are you trying to optimize? (e.g., "minimize validation loss", "maximize throughput", "reduce latency")

2. METRIC: What is the single number that determines success?
   - How is it measured? (command, script, test output)
   - What direction is better? (lower/higher)

3. TARGET FILES: Which file(s) can you modify?
   - List explicitly. Everything else is READ-ONLY.

4. RUN COMMAND: What command runs one experiment?
   - e.g., `python train.py`, `make benchmark`, `npm test`

5. EXTRACT COMMAND: How do you extract the metric from the run output?
   - e.g., `grep "^val_loss:" run.log`, parse JSON output, read a file

6. TIME BUDGET: How long should each experiment run?
   - Fixed time budget makes experiments directly comparable.
   - Also set a kill timeout (e.g., 2x the budget).

7. CONSTRAINTS:
   - Files that must NOT be modified (evaluation, data prep, etc.)
   - Packages that must NOT be added
   - Resources limits (memory, disk, etc.)
   - Any invariants that must hold

8. BRANCH TAG: Name for this experiment session.
   - Branch will be: autoresearch/<tag>
   - e.g., autoresearch/mar17-lr-sweep

9. BASELINE: Do we need to run a baseline first? (usually yes)

Write the config file

After resolving all questions, write autoresearch.config.md:

# Autoresearch Configuration

## Goal
<what we're optimizing>

## Metric
- **Name**: <metric name>
- **Direction**: <lower|higher> is better
- **Extract command**: <how to get the number from run output>

## Target Files
- <file1> (description of what can be changed)
- <file2> (description of what can be changed)

## Read-Only Files
- <file1> (why it's read-only)

## Run Command

<the command>


## Time Budget
- **Per experiment**: <duration>
- **Kill timeout**: <duration>

## Constraints
- <constraint 1>
- <constraint 2>

## Branch
autoresearch/<tag>

## Notes
<any additional context from the user>

Initialize the experiment

  1. Create branch: git checkout -b autoresearch/<tag> from the current branch
  2. Read all target files and read-only files to build full context
  3. Initialize results.tsv with header: commit\ <metric_name>\ status\ description
  4. Run baseline experiment (no changes) and record it
  5. Confirm setup is complete, then proceed to the experiment loop

Phase 2: Experiment Loop (/autoresearch run)

Read autoresearch.config.md to load the experiment protocol. Then enter the loop.

Before each experiment

  1. Review history: Read results.tsv and recent git log to understand what's been tried
  2. Form hypothesis: Based on what you've learned, what single change do you think will improve the metric? Write it down clearly before touching any code.
  3. Justify: Why do you expect this to help? Reference prior results, known techniques, or reasoning.

Run the experiment

# 1. Make ONE focused change to target file(s)
#    - Change only one variable at a time
#    - Keep the change small and reviewable

# 2. Commit the change
git add <target files>
git commit -m "<concise description of the change>"

# 3. Run the experiment
<run_command> > run.log 2>&1

# 4. Extract the metric
<extract_command>

# 5. Handle crashes
#    If the run crashed or timed out:
#    - Read the error from run.log
#    - Record as crash in results.tsv
#    - Revert: git reset --hard HEAD~1
#    - Diagnose and try a different approach

After each experiment

Record the result in results.tsv (tab-separated, do NOT commit this file):

<commit_hash>\	<metric_value>\	<status>\	<description>

Where status is one of:

  • keep — metric improved, commit stays on branch
  • discard — metric equal or worse, revert the commit
  • crash — run failed, revert the commit

Decision logic

IF metric improved (strictly better than best so far):
    → KEEP the commit (branch advances)
    → Log: "KEEP: <description> (<metric>: <old> → <new>)"

ELIF metric equal or worse:
    → DISCARD: git reset --hard HEAD~1
    → Log: "DISCARD: <description> (<metric>: <value> vs best <best>)"

ELIF crashed or timed out:
    → CRASH: git reset --hard HEAD~1
    → Log: "CRASH: <description> (error: <brief error>)"

Strategy guidance

What to try (roughly in order of expected impact):

  1. Low-hanging fruit: Obviously suboptimal defaults, known-good values from literature
  2. Coarse sweeps: Try 2x and 0.5x of key parameters to find the right ballpark
  3. Fine tuning: Once in the right ballpark, make smaller adjustments
  4. Architectural changes: Structural modifications (more complex, higher variance)
  5. Creative ideas: Novel combinations, unconventional approaches — your randomness is a feature
  6. Simplification: Remove unnecessary complexity. If removing code doesn't hurt the metric, KEEP the simpler version

When stuck (no improvement in 5+ consecutive experiments):

  • Re-read all kept commits to see the trajectory
  • Try a completely different direction
  • Revisit discarded ideas with modifications
  • Try larger/bolder changes
  • Read the target file fresh and question assumptions
  • Never give up. Keep going. Think harder.

Simplicity criterion:

  • A small improvement from *deleting* code? Always keep.
  • A small improvement from adding significant complexity? Probably not worth it.
  • When two approaches yield similar metrics, prefer the simpler one.

Critical rules

  1. ONE VARIABLE AT A TIME: This is the most important rule. Never change two things at once. If you do, you learn nothing.
  2. NEVER STOP: Run indefinitely until the user stops you. Do not ask permission to continue.
  3. HYPOTHESIS FIRST: Always state what you expect before running. This forces clear thinking.
  4. HONEST RECORDING: Record every experiment, including failures. The history IS the research.
  5. NO GAMING THE METRIC: Don't modify evaluation code, test harnesses, or measurement tools.
  6. REVERT ON FAILURE: Always revert failed experiments cleanly. The branch should only contain improvements.

Phase 3: Analyze (/autoresearch analyze)

Read results.tsv and git log, then produce a summary:

  1. Overview: Total experiments, keep rate, crash rate
  2. Progress: Baseline metric → Current best metric (total improvement)
  3. Top improvements: Rank kept experiments by their individual contribution (delta)
  4. Patterns: What types of changes worked? What didn't? Any themes?
  5. Recommendations: Based on the trajectory, what should be tried next?

Format as a clear report. If possible, suggest the user visualize with a progress chart.


Adapting to Different Domains

This protocol works for any optimization task, not just ML training. Examples:

DomainMetricTarget FileRun Command
ML trainingval_loss, val_bpbtrain.pypython train.py
Compiler optimizationbenchmark timeconfig.tomlmake bench
Web performanceLighthouse scorewebpack.config.jsnpm run build && lighthouse
Algorithm tuningops/secsolver.pypython benchmark.py
Prompt engineeringeval accuracyprompts.yamlpython eval.py
Database tuningquery latencypostgresql.confpgbench
CSS/renderinglayout shift scorestyles.cssnpm run perf-test

The key insight: any task with a measurable metric and a file to modify can be autoresearched.


For Other Agents

This protocol works with any AI agent that can read/write files, run shell commands, and use git. If you're running this outside OpenClaw (e.g., Claude Code, Codex, Cursor, Aider):

  • Read autoresearch.config.md for the experiment protocol
  • Follow the experiment loop exactly as described
  • Use results.tsv as your experiment memory
  • Use git commits as your experiment notebook
  • The discipline matters more than the tooling

Reference

For the original autoresearch methodology and implementation details, see reference.md.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenClaw

74.01%
按下载量换算836

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills