Researchclawのロゴ

Researchclaw

コミュニティ
OthmanAdi
researchclaw

Automate setup, configuration, execution, monitoring, and troubleshooting of AutoResearchClaw — the 23-stage autonomous research pipeline that generates conference-grade papers. Use when the user mentions ResearchClaw, wants to write a research paper autonomously, needs to set up or debug the pipeline, or says research paper, autonomous research, or paper generation.

概要

公開者OthmanAdi
リポジトリresearchclaw-skill
スキル名researchclaw
スター
27
フォーク
5
同梱ファイル
10
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 10個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    OthmanAdiがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルResearchclawをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/OthmanAdi/researchclaw-skill/tree/main/.claude/skills/researchclaw
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OthmanAdi/researchclaw-skill.git /tmp/researchclaw-skill
mkdir -p .claude/skills
cp -r /tmp/researchclaw-skill/.claude/skills/researchclaw .claude/skills/researchclaw
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでResearchclawを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にResearchclawを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Researchclawは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

ResearchClaw Skill — Autonomous Research Pipeline

This skill wraps AutoResearchClaw, a 23-stage pipeline that takes a research topic and produces a conference-grade LaTeX paper with real citations, sandbox-executed experiments, multi-agent peer review, and citation verification.

Honesty policy: This skill does not fabricate capabilities. Every command maps to real upstream functionality. If something fails, the skill reports the actual error and suggests concrete fixes — it never pretends the problem does not exist.

Commands

CommandPurpose
/researchclawShow help and available subcommands
/researchclaw:setupCheck and install all prerequisites (Python, Docker, LaTeX, pip packages)
/researchclaw:configInteractive config wizard — generates a working config.yaml
/researchclaw:runStart a research pipeline run
/researchclaw:statusCheck the status of a running or completed pipeline
/researchclaw:resumeResume a pipeline from the last successful stage
/researchclaw:diagnoseAuto-detect and explain common failures
/researchclaw:validateValidate config, dependencies, and connectivity before running

/researchclaw — Help

When invoked without a subcommand, display this command list and a one-line status summary:

  1. Check if researchclaw CLI is installed: which researchclaw
  2. Check if config.yaml exists in the current directory
  3. Print the command table above
  4. Suggest the most logical next step based on what is missing

/researchclaw:setup — Prerequisites Installation

MANDATORY: Ask the user before installing anything. Present what is missing and get explicit approval.

Run the prerequisite check script:

bash
bash "${CLAUDE_SKILL_DIR}/scripts/check-prereqs.sh"

The script checks each dependency and outputs a JSON report. Based on the report:

  1. Python 3.11+: Check python3 --version. If missing or too old, suggest pyenv install 3.11 or system package manager.
  2. pip / uv: Check pip3 --version or uv --version. Suggest uv if not present (faster).
  3. Docker: Check docker info. If Docker daemon is not running, tell the user honestly — this skill cannot start Docker for you on most systems.
  4. LaTeX: Check pdflatex --version. If missing, suggest sudo apt-get install texlive-full (Linux) or brew install --cask mactex (macOS). Be honest: this is a large download (2-4 GB).
  5. AutoResearchClaw: Check pip3 show researchclaw. If not installed:
    bash
    pip3 install researchclaw
    Or from source:
    bash
    git clone https://github.com/aiming-lab/AutoResearchClaw.git
    cd AutoResearchClaw
    pip3 install -e ".[all]"

After installation, re-run the check script to verify everything passes.

What this skill CANNOT do:

  • Start the Docker daemon (requires system-level access)
  • Install LaTeX without sudo on Linux
  • Fix network/firewall issues blocking API access
  • Provide LLM API keys — the user must supply their own

/researchclaw:config — Interactive Configuration Wizard

Generate a working config.yaml by asking the user a series of questions. Use AskUserQuestion for each batch.

Batch 1 — Essential settings (MUST ask):

  1. Research topic: What do you want to research? (free text)
  2. LLM provider: Which LLM API? Options: openai, anthropic, azure, deepseek, local
  3. API key: Provide your API key, or the environment variable name that holds it (e.g., OPENAI_API_KEY)
  4. Model: Which model? Suggest defaults per provider:
    • openai: gpt-4o
    • anthropic: claude-sonnet-4-20250514
    • deepseek: deepseek-chat

Batch 2 — Experiment settings (ask with smart defaults):

  1. Experiment mode: simulated (no code execution, fastest), sandbox (local execution), or ssh_remote (GPU server). Default: simulated
  2. Auto-approve gates: Skip human approval at stages 5, 9, 20? Default: true for first run
  3. Output directory: Where to save artifacts. Default: artifacts/

Batch 3 — Optional advanced settings (offer but don't require):

  1. Paper template: neurips, icml, iclr, or generic. Default: neurips
  2. Max iterations: For iterative pipeline mode. Default: 3
  3. Literature sources: arxiv, semantic_scholar, or both. Default: both

After collecting answers, generate config.yaml using the template in assets/config-template.yaml. Write it to the current directory and show the user the generated file.

Validation: After generating, run:

bash
researchclaw validate --config config.yaml

If validation fails, explain what went wrong and offer to fix it.


/researchclaw:run — Execute the Pipeline

Pre-flight checks (always run before starting):

  1. Run /researchclaw:validate logic silently
  2. If any check fails, report it and ask the user whether to proceed or fix first

Start the pipeline:

bash
researchclaw run --topic "$ARGUMENTS" --config config.yaml --auto-approve 2>&1 | tee researchclaw-run.log

If $ARGUMENTS is empty, read the topic from config.yaml.

During execution:

  • The pipeline runs 23 stages. Each stage produces output in artifacts/<run-id>/stage-N/
  • Monitor progress by checking which stage directories exist
  • If the pipeline fails, capture the error output and run /researchclaw:diagnose logic automatically

After completion:

  • Report which stages succeeded and which failed
  • Show the path to the generated paper (typically artifacts/<run-id>/stage-17/paper_draft.md or the final PDF)
  • Show total execution time

/researchclaw:status — Pipeline Status

Check the current state of a pipeline run:

bash
ls -la artifacts/ 2>/dev/null | tail -5

For the most recent run:

  1. Find the latest artifacts/rc-* directory
  2. Count completed stages: ls -d artifacts/rc-*/stage-* 2>/dev/null | wc -l
  3. Check for pipeline_summary.json — if it exists, the run is complete
  4. If no summary exists, check which stage was last modified to estimate current progress
  5. Report: Stage X/23 complete. Current stage: [stage name]. Status: [running/failed/complete]

Stage name mapping (for human-readable output):

StageName
1Topic Initialization
2Problem Decomposition
3Literature Search
4Literature Analysis
5Research Direction (Gate)
6Hypothesis Generation
7Experiment Design
8Experiment Plan Review
9Experiment Approval (Gate)
10Code Generation
11Code Review
12Experiment Execution
13Result Collection
14Result Analysis
15Paper Outline
16Section Writing
17Paper Draft
18Peer Review
19Revision
20Final Review (Gate)
21Citation Verification
22Visualization
23Final Export

/researchclaw:resume — Resume a Failed Run

Resume from the last successful stage:

  1. Find the latest run directory: ls -td artifacts/rc-* | head -1
  2. Find the last completed stage: check pipeline_summary.json or find the highest-numbered stage-* directory with output files
  3. Determine the next stage name from the stage mapping above
  4. Run:
    bash
    researchclaw run --config config.yaml --from-stage STAGE_NAME --output <run-dir> --auto-approve 2>&1 | tee researchclaw-resume.log

Known issue (upstream): The --from-stage flag may not work correctly in all versions. If resume fails, inform the user honestly and suggest:

  • Starting a fresh run
  • Manually copying successful stage outputs to a new run directory

/researchclaw:diagnose — Auto-Diagnose Failures

Read the most recent log and error output to identify the problem:

bash
tail -100 researchclaw-run.log 2>/dev/null || tail -100 researchclaw-resume.log 2>/dev/null

Common failure patterns and fixes:

Error PatternCauseFix
HTTP 401 or AuthenticationErrorInvalid or expired API keyCheck config.yaml → llm.api_key or the env var
HTTP 429 or RateLimitErrorAPI rate limit hitWait 60 seconds and resume, or switch to a different model
Stage 10 failureCode generation produced invalid PythonCheck artifacts/*/stage-10/experiment.py for syntax errors
Docker errorsDocker not running or permission deniedRun docker info to verify; may need sudo usermod -aG docker $USER
pdflatex not foundLaTeX not installedInstall with sudo apt-get install texlive-full
ModuleNotFoundErrorMissing Python dependencyRun pip3 install researchclaw[all]
quality_score < thresholdQuality gate too strictEdit config.yaml → lower quality.min_score (default 2.0 is very strict)
MemoryError or OOMInsufficient RAM (needs 32GB+)Use simulated experiment mode or reduce max_concurrent_stages
ConnectionError to arxiv/semantic_scholarNetwork issueCheck internet connectivity; try curl https://api.semanticscholar.org/graph/v1/paper/search?query=test
YAML parse error in configMalformed config fileRun python3 -c "import yaml; yaml.safe_load(open('config.yaml'))" to find the error

After diagnosis, suggest the specific fix. If the fix is automatable (e.g., installing a package), offer to do it with user approval.


/researchclaw:validate — Pre-Run Validation

Run all checks without starting the pipeline:

bash
bash "${CLAUDE_SKILL_DIR}/scripts/check-prereqs.sh"

Then additionally:

  1. Config syntax: python3 -c "import yaml; yaml.safe_load(open('config.yaml'))"
  2. Config completeness: Check that llm.api_key or llm.api_key_env is set, research.topic is non-empty
  3. API connectivity: Test the LLM endpoint with a minimal request
  4. Docker health: docker info (if experiment mode is sandbox)
  5. Disk space: df -h . — warn if less than 10 GB free
  6. Write permissions: touch artifacts/.write-test && rm artifacts/.write-test

Report results as a checklist with pass/fail for each item.


Additional Resources


Principles

  1. Never lie. If something is broken, say so. If a feature does not exist upstream, do not pretend it does.
  2. Always test. Run validation before every pipeline execution. Check results after every action.
  3. Ask before acting. Never install packages, modify configs, or start long-running processes without explicit user approval.
  4. Report honestly. Show actual error messages, not sanitized summaries. The user needs real information to debug.
  5. Stay current. This skill targets AutoResearchClaw v0.3.x. If the upstream version changes significantly, some commands may need updating.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Researchclaw」では何ができますか?

Automate setup, configuration, execution, monitoring, and troubleshooting of AutoResearchClaw — the 23-stage autonomous research pipeline that generates conference-grade papers. Use when the user mentions ResearchClaw, wants to write a research paper autonomously, needs to set up or debug the pipeline, or says research paper, autonomous research, or paper generation.

TypingMindでResearchclawを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Researchclawはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにResearchclawをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/OthmanAdi/researchclaw-skill/tree/main/.claude/skills/researchclawを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Researchclawを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Researchclawは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもResearchclawを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Researchclaw」は無料ですか?

はい。OthmanAdiがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇