researchclaw

GitHub

执行ResearchClaw自主研究流水线,涵盖文献综述、假设生成、实验设计与代码执行、结果分析及论文撰写等23个阶段。支持CLI和Python API调用,适用于从主题到完整学术论文的自动化研究流程。

.claude/skills/researchclaw/SKILL.md aiming-lab/AutoResearchClaw

Trigger Scenarios

用户要求对特定主题进行研究或调查 用户希望从零开始生成研究论文 用户明确提及运行ResearchClaw或自主研究流水线

Install

npx skills add aiming-lab/AutoResearchClaw --skill researchclaw -g -y
More Options

Non-standard path

npx skills add https://github.com/aiming-lab/AutoResearchClaw/tree/main/.claude/skills/researchclaw -g -y

Use without installing

npx skills use aiming-lab/AutoResearchClaw@researchclaw

指定 Agent (Claude Code)

npx skills add aiming-lab/AutoResearchClaw --skill researchclaw -a claude-code -g -y

安装 repo 全部 skill

npx skills add aiming-lab/AutoResearchClaw --all -g -y

预览 repo 内 skill

npx skills add aiming-lab/AutoResearchClaw --list

SKILL.md

Frontmatter
{
    "name": "researchclaw",
    "description": "Run the ResearchClaw autonomous research pipeline from a topic, config, and output directory."
}

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

  1. Verify config file exists:
    ls config.yaml || ls config.researchclaw.example.yaml
    
  2. If no config.yaml, create one from the example:
    cp config.researchclaw.example.yaml config.yaml
    
  3. Ensure the user's LLM API key is configured in config.yaml under llm.api_key or via llm.api_key_env environment 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_url and API key
  • Sandbox execution failure: Verify experiment.sandbox.python_path exists and has numpy installed
  • Gate rejection: Use --auto-approve or 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

Version History

  • e2e23c9 Current 2026-07-25 07:47

Same Skill Collection

.claude/skills/a-evolve/SKILL.md
.claude/skills/biology-biopython/SKILL.md
.claude/skills/chemistry-rdkit/SKILL.md
.claude/skills/hypothesis-formulation/SKILL.md
.claude/skills/literature-search/SKILL.md
.claude/skills/scientific-visualization/SKILL.md
.claude/skills/scientific-writing/SKILL.md
.claude/skills/statistical-reporting/SKILL.md
external/agents/Biology-Agent/skills/fba-simulator/SKILL.md
external/agents/Biology-Agent/skills/flux-analyzer/SKILL.md
external/agents/Biology-Agent/skills/gsmm-builder/SKILL.md
external/agents/Biology-Agent/skills/gsmm-validator/SKILL.md
external/agents/Biology-Agent/skills/metabolic-study-planner/SKILL.md
external/agents/Biology-Agent/skills/mfa-pipeline-orchestrator/SKILL.md
external/agents/stat_research_agent/skills/stat-research-orchestrator/SKILL.md
external/agents/stat_research_agent/skills/stat-result-validator/SKILL.md
external/agents/stat_research_agent/skills/statistical-experimental-evaluation/SKILL.md
external/agents/stat_research_agent/skills/statistical-method-design/SKILL.md
external/agents/stat_research_agent/skills/statistical-problem-formulation/SKILL.md
external/agents/stat_research_agent/skills/statistical-theory-analysis/SKILL.md
researchclaw/skills/builtin/domain/biology-biopython/SKILL.md
researchclaw/skills/builtin/domain/chemistry-rdkit/SKILL.md
researchclaw/skills/builtin/domain/cv-classification/SKILL.md
researchclaw/skills/builtin/domain/cv-detection/SKILL.md
researchclaw/skills/builtin/domain/nlp-alignment/SKILL.md
researchclaw/skills/builtin/domain/nlp-pretraining/SKILL.md
researchclaw/skills/builtin/domain/quantum-qiskit/SKILL.md
researchclaw/skills/builtin/domain/rl-policy-optimization/SKILL.md
researchclaw/skills/builtin/experiment/experimental-design/SKILL.md
researchclaw/skills/builtin/experiment/hypothesis-formulation/SKILL.md
researchclaw/skills/builtin/experiment/literature-search/SKILL.md
researchclaw/skills/builtin/experiment/meta-analysis/SKILL.md
researchclaw/skills/builtin/experiment/scientific-visualization/SKILL.md
researchclaw/skills/builtin/experiment/scientific-writing/SKILL.md
researchclaw/skills/builtin/experiment/statistical-reporting/SKILL.md
researchclaw/skills/builtin/experiment/systematic-review/SKILL.md
researchclaw/skills/builtin/tooling/data-loading/SKILL.md
researchclaw/skills/builtin/tooling/distributed-training/SKILL.md
researchclaw/skills/builtin/tooling/mixed-precision/SKILL.md
researchclaw/skills/builtin/tooling/pytorch-training/SKILL.md

Metadata

Files
0
Version
be4ba47
Hash
9fd3bf5b
Indexed
2026-07-25 07:47

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 05:28
浙ICP备14020137号-1 $mapa de visitantes$