researchclaw
它能做什么
该技能根据一个主题和一个配置文件启动 ResearchClaw 自主研究流水线。适合希望自动生成完整论文初稿的人。
适用场景
- ✓当你要求智能体研究某个主题或就此撰写论文的时候。
- ✓当你希望从一个主题开始运行自主研究流水线的时候。
- ✓当你提到 ResearchClaw 这个名字的时候。
技能链接
https://github.com/aiming-lab/AutoResearchClaw/blob/main/.claude/skills/researchclaw/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请研究间歇性禁食对睡眠质量的影响,并用 ResearchClaw 流水线撰写一份论文初稿。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会检查是否存在包含你模型 API 密钥的配置文件,如有需要会从示例文件创建一个,然后用你的主题运行 ResearchClaw 命令。流水线随后依次经过各个阶段,并把输出保存到产物文件夹中。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
ResearchClaw — Autonomous Research Pipeline Skill
Description
Run ResearchClaw's 23-stage autonomous research pipeline. Given a research topic, this skill orchestrates the entire research workflow: literature review → hypothesis generation → experiment design → code generation & execution → result analysis → paper writing → peer review → final export.
Trigger Conditions
Activate this skill when the user:
- Asks to "research [topic]", "write a paper about [topic]", or "investigate [topic]"
- Wants to run an autonomous research pipeline
- Asks to generate a research paper from scratch
- Mentions "ResearchClaw" by name
Instructions
Prerequisites Check
- Verify config file exists:
ls config.yaml || ls config.researchclaw.example.yaml - If no
config.yaml, create one from the example:cp config.researchclaw.example.yaml config.yaml - Ensure the user's LLM API key is configured in
config.yamlunderllm.api_keyor viallm.api_key_envenvironment variable.
Running the Pipeline
Option A: CLI (recommended)
researchclaw run --topic "Your research topic here" --auto-approve
Options:
--topic/-t: Override the research topic from config--config/-c: Config file path (default:config.yaml)--output/-o: Output directory (default:artifacts/rc-YYYYMMDD-HHMMSS-HASH/)--from-stage: Resume from a specific stage (e.g.,PAPER_OUTLINE)--auto-approve: Auto-approve gate stages (5, 9, 20) without human input
Option B: Python API
from researchclaw.pipeline.runner import execute_pipeline
from researchclaw.config import RCConfig
from researchclaw.adapters import AdapterBundle
from pathlib import Path
config = RCConfig.load("config.yaml", check_paths=False)
results = execute_pipeline(
run_dir=Path("artifacts/my-run"),
run_id="research-001",
config=config,
adapters=AdapterBundle(),
auto_approve_gates=True,
)
# Check results
for r in results:
print(f"Stage {r.stage.name}: {r.status.value}")
Option C: Iterative Pipeline (multi-round improvement)
from researchclaw.pipeline.runner import execute_iterative_pipeline
results = execute_iterative_pipeline(
run_dir=Path("artifacts/my-run"),
run_id="research-001",
config=config,
adapters=AdapterBundle(),
max_iterations=3,
convergence_rounds=2,
)
Output Structure
After a successful run, the output directory contains:
artifacts/<run-id>/
├── stage-1/ # TOPIC_INIT outputs
├── stage-2/ # PROBLEM_DECOMPOSE outputs
├── ...
├── stage-10/
│ └── experiment.py # Generated experiment code
├── stage-12/
│ └── runs/run-1.json # Experiment execution results
├── stage-14/
│ ├── experiment_summary.json # Aggregated metrics
│ └── results_table.tex # LaTeX results table
├── stage-17/
│ └── paper_draft.md # Full paper draft
├── stage-22/
│ └── charts/ # Generated visualizations
│ ├── metric_trajectory.png
│ └── experiment_comparison.png
└── pipeline_summary.json # Overall pipeline status
Experiment Modes
| Mode | Description | Config |
|---|---|---|
simulated |
LLM generates synthetic results (no code execution) | experiment.mode: simulated |
sandbox |
Execute generated code locally via subprocess | experiment.mode: sandbox |
ssh_remote |
Execute on remote GPU server via SSH | experiment.mode: ssh_remote |
Troubleshooting
- Config validation error: Run
researchclaw validate --config config.yaml - LLM connection failure: Check
llm.base_urland API key - Sandbox execution failure: Verify
experiment.sandbox.python_pathexists and has numpy installed - Gate rejection: Use
--auto-approveor manually approve at stages 5, 9, 20
Tools Required
- File read/write (for config and artifacts)
- Bash (for CLI execution)
- No external MCP servers required for basic operation
常见问题
我的 API 密钥放在哪里?
放在配置文件的 LLM 设置中,或放在配置文件所指定的环境变量中。
流水线会生成什么?
每个阶段的输出,从文献综述、实验到论文初稿和同行评审,都保存在产物文件夹中。
它会暂停等待批准吗?
示例命令使用了自动批准选项,因此各个阶段会直接运行,不会停下来等待审阅。
详情
作者的原始描述
Run the ResearchClaw autonomous research pipeline from a topic, config, and output directory.
热度
- GitHub 星标
- 15k
- 排名
- #11049
- 许可证
- MIT
- 更新时间
- 2026/8/19
评论
- …
同一仓库的更多技能
a-evolve
15k帮你的智能体通过反复运行来不断改进:诊断失败原因,根据错误模式创建有针对性的技能,并记录经验以备日后使用。
biology-biopython
15k帮你的智能体使用 Biopython 处理 DNA、RNA 和蛋白质序列,包括文件解析、序列计算、BLAST 搜索和数据库访问。
chemistry-rdkit
15k帮你的智能体使用 RDKit 分析以 SMILES 字符串表示的分子,包括描述符、指纹、相似性和子结构搜索。
hypothesis-formulation
15k帮你的智能体把一项观察转化为可检验的假设,附上相互竞争的解释,以及能够证伪它们的明确预测。