aris-autonomous-ml-research
```markdown
What this skill does
```markdown
---
name: aris-autonomous-ml-research
description: Autonomous ML research workflows using ARIS (Auto-Research-In-Sleep) — Markdown-only skills for cross-model paper review, idea discovery, experiment automation, and paper writing with Claude Code, Codex, or any LLM agent.
triggers:
- "set up ARIS for autonomous research"
- "run research pipeline while I sleep"
- "automate ML paper writing with Claude Code"
- "cross-model review loop for my paper"
- "use ARIS to find research ideas"
- "run experiment automation with ARIS"
- "set up auto paper review workflow"
- "write rebuttal with ARIS"
---
# ARIS — Auto-Research-In-Sleep
> Skill by [ara.so](https://ara.so) — Daily 2026 Skills collection.
ARIS is a **zero-dependency, Markdown-only** autonomous ML research system. Every "skill" is a plain `SKILL.md` file that any LLM agent can read and execute. It orchestrates cross-model collaboration — one model executes research (Claude Code, Codex, etc.) while another acts as adversarial reviewer (GPT-5.4, Gemini, GLM, MiniMax, etc.) to break self-play blind spots.
**Core value**: going from research direction → paper ideas → experiments → written paper → rebuttal, autonomously, overnight.
---
## Installation
### 1. Clone the Repository
```bash
git clone https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep.git
cd Auto-claude-code-research-in-sleep
```
No `pip install`, no Docker, no daemon. The entire system is Markdown files.
### 2. Install Claude Code (Primary Agent)
```bash
npm install -g @anthropic-ai/claude-code
```
### 3. Install Codex MCP (Cross-Model Reviewer)
```bash
npm install -g @openai/codex
```
Configure Claude Code to use the Codex MCP server by adding to your Claude Code config (`~/.claude/settings.json`):
```json
{
"mcpServers": {
"codex": {
"command": "codex",
"args": ["mcp"],
"env": {
"OPENAI_API_KEY": "$OPENAI_API_KEY"
}
}
}
}
```
### 4. Copy Skills into Claude Code
```bash
# Copy all skills to Claude Code's custom skills directory
cp -r skills/claude-code/ ~/.claude/skills/
# Or symlink to stay up to date
ln -s $(pwd)/skills/claude-code ~/.claude/skills/aris
```
### 5. Set Environment Variables
```bash
# Required for Claude Code
export ANTHROPIC_API_KEY=your_anthropic_key
# Required for cross-model review (GPT-5.4 as reviewer)
export OPENAI_API_KEY=your_openai_key
# Optional: alternative reviewer models (no OpenAI needed)
export LLM_REVIEWER_BASE_URL=https://api.minimax.chat/v1
export LLM_REVIEWER_API_KEY=your_minimax_key
export LLM_REVIEWER_MODEL=MiniMax-M2.7
```
---
## Alternative Model Combinations (No Claude/OpenAI Required)
ARIS works with any OpenAI-compatible API. Configure the `llm-chat` MCP server:
```json
{
"mcpServers": {
"llm-chat": {
"command": "node",
"args": ["mcp-servers/llm-chat/index.js"],
"env": {
"LLM_BASE_URL": "$LLM_REVIEWER_BASE_URL",
"LLM_API_KEY": "$LLM_REVIEWER_API_KEY",
"LLM_MODEL": "$LLM_REVIEWER_MODEL"
}
}
}
}
```
Tested combinations:
| Executor | Reviewer | Config |
|----------|----------|--------|
| Claude Code | GPT-5.4 xhigh | Default |
| Codex CLI | Gemini | [Guide](docs/CODEX_GEMINI_REVIEW_GUIDE.md) |
| Claude Code | MiniMax-M2.7 | `LLM_BASE_URL=https://api.minimax.chat/v1` |
| Claude Code | GLM-5 | `LLM_BASE_URL=https://open.bigmodel.cn/api/paas/v4` |
| MiniMax-M2.7 | GLM-5 | [Guide](docs/MiniMax-GLM-Configuration.md) |
| Codex CLI | Claude | Swap executor/reviewer |
---
## Core Workflows
### Workflow 0: Full Pipeline (Start Here)
```
/research-pipeline "factorized gap in discrete diffusion LMs"
```
**With a reference paper and base repo:**
```
/research-pipeline "improve method X" — ref paper: https://arxiv.org/abs/2406.04329, base repo: https://github.com/org/project
```
ARIS will:
1. Read the paper → find weaknesses
2. Clone the codebase
3. Generate ideas that fix those weaknesses using that code
4. Run experiments
5. Write the paper
**Parameters:**
```
/research-pipeline "topic"
— ref paper: <arxiv_url> # Optional: paper to improve
— base repo: <github_url> # Optional: codebase to build on
— venue: ICML # Target venue (default: ICML)
— compact: true # Lean summaries for short-context models
```
---
### Workflow 1: Idea Discovery
```
/idea-discovery "discrete diffusion language models"
```
Scans literature, identifies gaps, generates novel research directions, scores each idea for novelty/feasibility, and outputs a ranked proposal list.
---
### Workflow 1.5: Experiment Bridge
```
/experiment-bridge "run ablation on temperature scaling" — code review: true
```
Cross-model code review before GPU deployment (enabled by default). Catches bugs, confirms experimental validity, then runs.
```python
# Example: what experiment-bridge automates
# 1. Claude Code writes training script
# 2. GPT-5.4 reviews the code (code review gate)
# 3. If approved → submits to GPU cluster
# 4. Monitors via W&B API
import wandb
api = wandb.Api()
runs = api.runs("your-entity/your-project")
for run in runs:
print(run.name, run.summary.get("val_loss", None))
```
---
### Workflow 2: Paper Writing
```
/paper-writing "results/" — venue: NeurIPS
```
Generates LaTeX paper from experiment results. Anti-hallucination enforced: every citation verified via DBLP → CrossRef → `[VERIFY]` tag if unconfirmed.
**Venue templates available:** ICML, NeurIPS, ICLR, CVPR, ACL, AAAI, ACM MM
---
### Workflow 3: Auto Review Loop
```
/auto-review "paper.pdf"
```
The core ARIS loop:
1. Claude Code reads the paper
2. GPT-5.4 reviews as adversarial critic
3. Claude Code rewrites based on critique
4. Score tracked across rounds (target: 8/10 "clear accept")
5. Loop repeats until convergence or max rounds
```
Score progression: 5.2 → 6.1 → 7.3 → 8.0 ✓
```
---
### Workflow 4: Rebuttal
```
/rebuttal "paper/ + reviews" — venue: ICML, character limit: 5000
```
**Parameters:**
| Parameter | Default | Description |
|-----------|---------|-------------|
| `venue` | `ICML` | Target venue |
| `character limit` | required | Hard limit for submission |
| `quick mode` | `false` | Stop after parsing + strategy (no draft) |
| `auto experiment` | `false` | Auto-run supplementary experiments |
| `max stress test rounds` | `1` | GPT-5.4 stress-test iterations |
| `max followup rounds` | `3` | Per-reviewer follow-up limit |
**Three safety gates** (rebuttal won't finalize if any fails):
- 🔒 No fabrication — every claim maps to paper/review/user-confirmed result
- 🔒 No overpromise — every promise is user-approved
- 🔒 Full coverage — every reviewer concern is tracked
**Outputs:**
- `PASTE_READY.txt` — exact char count, paste directly to venue
- `REBUTTAL_DRAFT_rich.md` — extended version for manual editing
---
### Bonus: Slides and Poster
```bash
# Conference presentation
/paper-slides "paper/" # → Beamer PDF + PPTX + speaker notes + Q&A prep
# Conference poster
/paper-poster "paper/" # → A0/A1 poster PDF + editable PPTX + SVG
```
---
## Standalone Skills
These skills can be invoked independently or are integrated into the core workflows:
| Skill | Command | Description |
|-------|---------|-------------|
| Research Refine | `/research-refine` | Turn vague ideas into anchored proposals |
| Experiment Plan | `/experiment-plan` | Claim-driven experiment roadmaps |
| Training Check | `/training-check` | Validate training runs before full launch |
| Result to Claim | `/result-to-claim` | Convert raw results to paper claims |
| Ablation Planner | `/ablation-planner` | Design ablation study structure |
| Formula Derivation | `/formula-derivation` | Research formula development and verification |
| Grant Proposal | `/grant-proposal` | Write grant proposals from research |
| Paper Illustration | `/paper-illustration` | Generate figures (Gemini-powered) |
| Citation Claw | `/citation-claw` | Verify and format citationRelated in Writing & Docs
jax-development
IncludedUse this skill when the user is writing, debugging, profiling, refactoring, reviewing, benchmarking, parallelising, exporting, or explaining JAX code, or when they mention JAX, jax.numpy, jit, grad, value_and_grad, vmap, scan, lax, random keys, pytrees, jax.Array, sharding, Mesh, PartitionSpec, NamedSharding, pmap, shard_map, Pallas, XLA, StableHLO, checkify, profiler, or the JAX repo. It helps turn NumPy or PyTorch-style code into pure functional JAX, fix tracer/control-flow/shape/PRNG bugs, remove recompiles and host-device syncs, choose transforms and sharding strategies, inspect jaxpr/lowering/IR, and benchmark compiled code correctly.
nature-article-writer
IncludedDrafts, rewrites, diagnostically critiques, and style-calibrates primary research manuscripts for Nature and Nature Portfolio journals. Use when the user wants a Nature-style title, summary paragraph or abstract, introduction, results, discussion, methods, figure legends, presubmission enquiry, cover letter, reviewer response, or when a scientific draft sounds generic, jargon-heavy, structurally weak, or AI-ish and needs precise, broad-reader-friendly prose without inventing data, analyses, or references. Best for primary research articles and letters rather than reviews or press releases unless explicitly adapting one.
deckrd
IncludedDocument-driven framework that derives requirements, specifications, implementation plans, and executable tasks from goals through structured AI dialogue. Use when user says "write requirements", "create spec", "plan implementation", "derive tasks", "structure this feature", "break down into tasks", or "document this module". Also use for reverse engineering existing code into docs (/deckrd rev). Do NOT use for direct code writing — use /deckrd-coder after tasks are generated. Do NOT use when the user only wants to run or fix existing code without planning.
clinical-decision-support
IncludedGenerate professional clinical decision support (CDS) documents for pharmaceutical and clinical research settings, including patient cohort analyses (biomarker-stratified with outcomes) and treatment recommendation reports (evidence-based guidelines with decision algorithms). Supports GRADE evidence grading, statistical analysis (hazard ratios, survival curves, waterfall plots), biomarker integration, and regulatory compliance. Outputs publication-ready LaTeX/PDF format optimized for drug development, clinical research, and evidence synthesis.
handling-sf-data
IncludedSalesforce data operations with 130-point scoring. Use this skill to create, update, delete, bulk import/export, generate test data, and clean up org records using sf CLI and anonymous Apex. TRIGGER when: user creates test data, performs bulk import/export, uses sf data CLI commands, needs data factory patterns for Apex tests, or needs to seed/clean records in a Salesforce org. DO NOT TRIGGER when: SOQL query writing only (use querying-soql), Apex test execution (use running-apex-tests), or metadata deployment (use deploying-metadata).
accelint-ac-to-playwright
IncludedConvert and validate acceptance criteria for Playwright test automation. Use when user asks to (1) review/evaluate/check if AC are ready for automation, (2) assess if AC can be converted as-is, (3) validate AC quality for Playwright, (4) turn AC into tests, (5) generate tests from acceptance criteria, (6) convert .md bullets or .feature Gherkin files to Playwright specs, (7) create test automation from requirements. Handles both bullet-style markdown and Gherkin syntax with JSON test plan generation and validation.