Skip to content
Automation
Skill

/aris-infra

ARIS (Auto-claude-code-research-in-sleep) infrastructure setup and configuration. Configures MCP servers for cross-model adversarial review, installs Python tools, and validates environment. Run this first before using any other ARIS skills. Use when: setting up ARIS,

From plugin
dr-claw
1.2k122 skills

Claude Code

$ npx -y skills add OpenLAIR/dr-claw --skill aris-infra --agent claude-code

SKILL.md

aris-infra.SKILL.md
name: aris-infra
description: |
  ARIS (Auto-claude-code-research-in-sleep) infrastructure setup and configuration.
  Configures MCP servers for cross-model adversarial review, installs Python tools,
  and validates environment. Run this first before using any other ARIS skills.
  Use when: setting up ARIS, configuring review servers, "aris setup", "配置ARIS".
license: MIT
metadata:
  author: wanshuiyin/ARIS
  version: "1.0.0"
  repository: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep
allowed-tools: Bash, Read, Write, Edit, Glob, Grep

ARIS Infrastructure Setup

Quick Start (One Command)

bash skills/aris-infra/setup.sh

This interactive script will: check prerequisites → install dependencies → register skills → configure MCP reviewer server.

---

Manual Setup (if you prefer)

Overview

ARIS uses **cross-model adversarial review** — Claude Code executes research tasks while an external LLM (GPT-5.4, Gemini, or others) provides critical review. This avoids the "self-play blind spot" where a single model reviewing its own work produces predictable feedback.

Prerequisites

  • Python 3.10+
  • Claude Code CLI
  • At least one external LLM API key (OpenAI, Google Gemini, or MiniMax)

Step 1: Register MCP Servers

ARIS provides the following MCP servers. Register the ones you need:

Core: Codex reviewer (capability-gated) — Recommended

npm install -g @openai/codex
claude mcp add codex -s user -- python3 "$(pwd)/skills/aris-infra/mcp-servers/codex-exec/server.py"

Inspect any existing registration before replacing it. Authenticate Codex separately. Workflow M pins the requested model/effort and read-only sandbox per call; see [reviewer capability gates](shared-references/reviewer-routing.md). Do not assume that registration proves a model is available.

Alternative: Generic LLM Chat (Any OpenAI-compatible API)

claude mcp add llm-chat -s user -- python skills/aris-infra/mcp-servers/llm-chat/server.py

Environment variables:

  • `LLM_API_KEY` — API key
  • `LLM_BASE_URL` — API base URL (e.g., `https://api.openai.com/v1`)
  • `LLM_MODEL` — Model name (e.g., `gpt-4o`)
  • `LLM_FALLBACK_MODEL` — Fallback model on 504 errors

Alternative: Gemini Review

claude mcp add gemini-review -s user -- python skills/aris-infra/mcp-servers/gemini-review/server.py

Environment variables:

  • `GEMINI_API_KEY` or `GOOGLE_API_KEY` — Google AI API key
  • `GEMINI_REVIEW_MODEL` — Model (default: `gemini-2.5-pro`)

Alternative: Claude Review (Cross-session)

claude mcp add claude-review -s user -- python skills/aris-infra/mcp-servers/claude-review/server.py

Uses the `claude` CLI binary for reviews in a separate session.

Optional: MiniMax Chat

claude mcp add minimax-chat -s user -- python skills/aris-infra/mcp-servers/minimax-chat/server.py

Environment variables:

  • `MINIMAX_API_KEY` — MiniMax API key
  • `MINIMAX_MODEL` — Model (default: `MiniMax-M2.7`)

Optional: Feishu/Lark Notifications

claude mcp add feishu-bridge -s user -- python skills/aris-infra/mcp-servers/feishu-bridge/server.py

Environment variables:

  • `FEISHU_APP_ID`, `FEISHU_APP_SECRET`, `FEISHU_USER_ID`
  • `BRIDGE_PORT` — HTTP server port (default: 9100)

Step 2: Install Python Dependencies

pip install httpx arxiv requests

Step 3: Verify Setup

# Check MCP servers are registered
claude mcp list

# Test a tool call
# If using Codex: mcp__codex__codex should be available
# If using llm-chat: mcp__llm-chat__chat should be available

Available Workflows

After setup, use these one-click workflow skills:

| Skill | Command | Description | |-------|---------|-------------| | `aris-idea-discovery` | `/aris-idea-discovery` | Full idea pipeline: literature → ideas → novelty → review → refine | | `aris-experiment-bridge` | `/aris-experiment-bridge` | Implement experiments, deploy to GPU, collect results | | `aris-auto-review-loop` | `/aris-auto-review-loop` | Multi-round cross-model adversarial review | | `aris-paper-writing` | `/aris-paper-writing` | Plan → figures → write LaTeX → compile → improve | | `aris-rebuttal` | `/aris-rebuttal` | Parse reviews → strategy → draft → stress test | | `aris-research-pipeline` | `/aris-research-pipeline` | End-to-end: idea → experiments → review → paper |

Bundled Resources

MCP Servers (`mcp-servers/`)

  • `codex-exec/server.py` — Codex MCP bridge over current `codex exec`
  • `llm-chat/server.py` — Generic OpenAI-compatible bridge
  • `gemini-review/server.py` — Gemini review with async jobs
  • `claude-review/server.py` — Claude Code CLI review bridge
  • `minimax-chat/server.py` — MiniMax-specific bridge
  • `feishu-bridge/server.py` — Feishu/Lark notification bridge

Python Tools (`tools/`)

  • `arxiv_fetch.py` — arXiv search and PDF download
  • `semantic_scholar_fetch.py` — Semantic Scholar search with filters
  • `research_wiki.py` — Persistent research knowledge base
  • `watchdog.py` — GPU training/download monitoring daemon

Templates (`templates/`)

  • `RESEARCH_BRIEF_TEMPLATE.md` — Research direction input
  • `RESEARCH_CONTRACT_TEMPLATE.md` — Active idea working document
  • `EXPERIMENT_PLAN_TEMPLATE.md` — Claim-driven experiment roadmap
  • `EXPERIMENT_LOG_TEMPLATE.md` — Structured experiment results
  • `NARRATIVE_REPORT_TEMPLATE.md` — Paper writing input
  • `PAPER_PLAN_TEMPLATE.md` — Claims-evidence matrix
  • `IDEA_CANDIDATES_TEMPLATE.md` — Compact top ideas
  • `FINDINGS_TEMPLATE.md` — Cross-stage discovery log

Troubleshooting

  • **MCP server not found**: Ensure `claude mcp add` was run with `-s user` flag
  • **API key errors**: Set environment variables in your shell profile (~/.zshrc or ~/.bashrc)
  • **Python import errors**: Run `pip install httpx arxiv requests`
  • **Codex not installed**: Run `npm install -g @openai/codex`

Workflow M: opt-in self-evolution

See [setup and safety](../../docs/aris-self-evolution.md) before enabling logging. `/aris-meta-optimiz

Read more
@openlair
Ships withdr-claw

A Super AI Lab with massive AI Doctors as Assistants. Best IDE for Research via AI Power.

1.2k122 skills
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.2k
Star history of OpenLAIR/dr-claw on GitHub, a chart by star-history.com

Other skills on dr-claw.

dr-claw

dr-claw

Dr. Claw skill for OpenClaw project discovery, idea intake, waiting-session triage, structured session control, event-driven…

@openlair@openlairInstall Skill
academic-researcher

academic-researcher

Academic research assistant for literature reviews, paper analysis, and scholarly writing. Use when: reviewing academic papers,…

@openlair@openlairInstall Skill
aris-ablation-planner

aris-ablation-planner

Use when main results pass result-to-claim (claim_supported=yes or partial) and ablation studies are needed for paper submission.…

@openlair@openlairInstall Skill
aris-arxiv

aris-arxiv

Search, download, and summarize academic papers from arXiv. Use when user says "search arxiv", "download paper", "fetch arxiv",…

@openlair@openlairInstall Skill
aris-auto-review-loop

aris-auto-review-loop

Autonomous multi-round research review loop. Repeatedly reviews via Codex MCP, implements fixes, and re-reviews until positive…

@openlair@openlairInstall Skill

More skills from other plugins.

agent-builder

agent-builder

Load immediately after an Agent intent, before the first agent_builder_* call. Governs how you create, configure, test, and…

n8n12d209k
@n8n-io@n8n-ioInstall Skill
browser-use

browser-use

Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…

@browser-use@browser-useInstall Skill
agent-browser

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…

@vercel-labs-2@vercel-labs-2Install Skill
add-anydoc

add-anydoc

Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use when…

@nanocoai@nanocoaiInstall Skill

Questions about aris-infra.

Which coding agents can use aris-infra?
aris-infra installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.