# ARIS: overnight ML research, from idea to paper (wanshuiyin/Auto-claude-code-research-in-sleep) — skill card for AI agents

> AgentGid skill card. Checked on 2026-11-02 against commit 18bceb3.
> Every fact comes from the pack's own files at that commit. Numbers marked "as reported" are the author's.
> Human page: https://agentgid.com/skills/wanshuiyin/auto-claude-code-research-in-sleep/

> Note: the pack has changed since this check; re-read its files before relying on details.

## Explain it to a non-programmer
A research assistant kit for machine learning work. You give your assistant a research direction and it searches papers, proposes ideas, runs experiments on your GPU, and writes a LaTeX paper. A second AI model from another company reviews each step, and the loop can run overnight without you.

## Who it is for
- You do machine learning research and use Claude Code, Codex, Cursor, Trae, Antigravity or Copilot
- You want help with a literature search, finding a research idea, or running experiments from a plan
- You need a draft paper, a reply to peer reviewers, or conference slides and a poster
- You also draft patents (China, US, Europe) or grant proposals
- Not for: You don't do research: this is a toolkit for academic papers and experiments
- Not for: You want a single small helper; it ships 87 skills and leans on a second paid AI service for reviews

## What it is
- Kind: command, scripts, knowledge
- License: MIT
- Repository: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep

## What it does
- Workflow 1, ideas: search papers, brainstorm 8 to 12 ideas, check each is new, get a critical review, then refine the best one into a plan
- Workflow 1.5, experiments: turn the plan into code, have the second model review the code, run it on your GPU and collect first results
- Workflow 2, review loop: the second model scores the work, your assistant fixes and runs more experiments, up to 4 rounds
- Workflow 3, paper: outline, figures, LaTeX, PDF, then two rounds of review and polish; citations pulled from DBLP and CrossRef
- Workflow 4, rebuttal: a reply to peer reviewers under the venue's character limit, with three safety gates
- Later stages: move a paper to another venue, make conference slides, a talk or a poster
- Extras: a research wiki that remembers papers and failed ideas, proof writing and checking, patents, grant proposals, GPU rental
- Never cuts: The rebuttal will not finish if any claim has no source, any promise was not approved by you, or any reviewer concern is left out
- Level lite: About 0.4x the tokens, for quick exploration
- Level balanced: Default
- Level max: About 2.5x
- Level beast: 5 to 8x, every setting at maximum

## Skills
| Skill | Call | Changes code? | In plain words |
|---|---|---|---|
| research-pipeline | /research-pipeline "direction" (plugin: /aris:research-pipeline) | yes | Runs the whole chain, from a research direction to a report or a paper |
| idea-discovery | /idea-discovery "direction" | yes | Goes from a broad direction to checked, ranked research ideas and a plan for the best one |
| experiment-bridge | /experiment-bridge | yes | Writes the experiment code from your plan, has it reviewed, runs it and collects first results |
| auto-review-loop | /auto-review-loop "topic" | yes | Review, fix, review again: up to 4 rounds until the reviewer says the work is nearly ready |
| paper-writing | /paper-writing "NARRATIVE_REPORT.md" | yes | Turns a research report into a finished LaTeX paper and PDF |
| rebuttal | /rebuttal "paper/ + reviews" — venue: ICML, character limit: 5000 | no | Drafts your reply to peer reviewers, inside the character limit and without made-up claims |
| research-implement-feature | /research-implement-feature "feature" — base repo: <GitHub link> | yes | Builds a feature step by step, writes down every guess it makes, and has another model check the result |
| paper-slides / paper-talk / paper-poster-html | /paper-slides "paper/", /paper-talk "paper/", /paper-poster-html "paper/" | yes | Makes conference slides with speaker notes, a full talk pack, or a printable poster from your paper |
| research-wiki | /research-wiki init | yes | A notebook in your project that keeps papers, ideas, experiments and failed ideas between sessions |
| research-lit, arxiv, semantic-scholar, openalex, deepxiv, exa-search, keenable-search, firecrawl-search, gemini-search, alphaxiv | /research-lit "topic" and the named search commands | unclear | Finds and summarises papers from arXiv, Semantic Scholar, your Zotero or Obsidian, local PDFs and the web |
| novelty-check, research-review, kill-argument, result-to-claim | /novelty-check, /research-review, /kill-argument, /result-to-claim | unclear | Checks: has someone done this already, what would a harsh reviewer say, what do the results really support |
| run-experiment, experiment-queue, monitor-experiment, training-check, vast-gpu, serverless-modal | /run-experiment and the named commands | yes | Starts training jobs on your own GPU, a remote server, a rented Vast.ai machine or Modal, and watches them |
| paper-claim-audit, citation-audit, citation-crosscheck, experiment-audit, integrity-forensics | the named commands | unclear | Checks that every number and citation in the paper matches the result files and real papers |
| proof-writer, proof-checker, proof-orchestrator, lean-formalize, formula-derivation | the named commands | yes | Writes and checks math proofs, including in the Lean proof checker |
| patent-pipeline and its parts | /patent-pipeline | yes | Drafts a patent application for China, the US or Europe, from claims to the filing format |
| meta-optimize / meta-apply | /meta-optimize, then /meta-apply | yes | Reads your usage log and proposes changes to the skills; nothing lands until you run meta-apply |
| other helpers | /grant-proposal, /resubmit-pipeline, /overleaf-sync, /render-html, /mermaid-diagram, /pixel-art, /feishu-notify, /interview-cheatsheet and more | yes | Grant proposals, moving a paper to a new venue, Overleaf sync, HTML reports, diagrams, phone alerts |

### research-pipeline
- Asks for: A research direction, the more specific the better
- Asks for: Optional: a reference paper (PDF or arXiv link) and a base code project on GitHub
- Asks for: Optional: the target venue, if you want the paper written too
- Gives: Ranked ideas and an experiment plan
- Gives: Experiments run and reviewed
- Gives: NARRATIVE_REPORT.md plus an HTML view
- Gives: A paper only if you turn on auto_write and name a venue
- Say: "/research-pipeline "factorized gap in discrete diffusion LMs" — AUTO_PROCEED: false"

### idea-discovery
- Asks for: A research direction
- Asks for: Optional: which paper sources to search (Zotero, Obsidian, local PDFs, web)
- Gives: idea-stage/IDEA_REPORT.md with ranked ideas
- Gives: refine-logs/FINAL_PROPOSAL.md
- Gives: refine-logs/EXPERIMENT_PLAN.md
- Say: "/idea-discovery "your research direction""

### experiment-bridge
- Asks for: refine-logs/EXPERIMENT_PLAN.md (from idea-discovery or your own)
- Asks for: Your GPU set up in CLAUDE.md, or a Vast.ai account
- Asks for: Optional: a GitHub project to build on
- Gives: Experiment code
- Gives: A code review by the second model before anything runs
- Gives: First results ready for the review loop
- Say: "/experiment-bridge"

### auto-review-loop
- Asks for: The paper topic or scope
- Asks for: Your results and notes in the project
- Asks for: Optional: human checkpoint: true to pause after each round
- Gives: review-stage/AUTO_REVIEW.md with every round
- Gives: A score out of 10 and a verdict each round
- Gives: Fixes and new experiments done by your assistant
- Say: "/auto-review-loop "your paper topic" — human checkpoint: true"

### paper-writing
- Asks for: NARRATIVE_REPORT.md: your story, claims, results and figures
- Asks for: The venue (ICLR by default; NeurIPS, ICML, CVPR, ACL, AAAI, ACM, IEEE)
- Gives: A paper/ folder with LaTeX source and the PDF
- Gives: Figures and tables from your results
- Gives: Two rounds of review and fixes
- Say: "/paper-writing "NARRATIVE_REPORT.md" — venue: NeurIPS"

### rebuttal
- Asks for: Your paper folder and the reviews
- Asks for: The venue and the character limit (required)
- Asks for: Any new results you have, as confirmed evidence
- Gives: PASTE_READY.txt with an exact character count
- Gives: REBUTTAL_DRAFT_rich.md, a longer version to edit
- Gives: Help with follow-up rounds
- Say: "/rebuttal "paper/ + reviews" — venue: ICML, character limit: 5000"

### research-implement-feature
- Asks for: What to build
- Asks for: Optional: the GitHub project to build on
- Gives: A working base first, then one feature at a time with a check each
- Gives: A list of assumptions it made
- Gives: A report that says the checks passed, never that the method works
- Say: "/research-implement-feature "add KV-cache reuse to the decoder""

### paper-slides / paper-talk / paper-poster-html
- Asks for: A compiled paper folder
- Asks for: The venue
- Gives: Beamer PDF and an editable PowerPoint file
- Gives: Speaker notes and a talk script
- Gives: An HTML poster and a print-ready PDF
- Say: "/paper-talk "paper/" — venue: ICLR"

### research-wiki
- Asks for: Nothing: run init once
- Gives: A research-wiki/ folder that other skills read and fill in
- Say: "/research-wiki init"

## Know before installing
- It does not stop at choice points by default: it reports the idea it picked and goes on, including spending GPU time. Add AUTO_PROCEED: false to approve each choice.
- With gpu: vast it rents GPUs on Vast.ai with your account, shows three priced options, and destroys the machine when the experiments finish.
- Your project text and code go to OpenAI through Codex for every review round. Other reviewers (Gemini, Grok, Claude, MiniMax, manual) can be chosen instead.
- The install script adds a managed ARIS block to your project's CLAUDE.md (skip with --no-doc) and tracks what it installed, so uninstall leaves your own skills alone.
- For overnight runs the author suggests allowing Write, Edit and the reviewer without asking. That removes your chance to stop a step.
- The scores in the showcase are AI reviewer scores, not acceptances at real venues; the author says so.

## Install (official commands)
- Claude Code (plugin): `claude plugin marketplace add wanshuiyin/Auto-claude-code-research-in-sleep` && `claude plugin install aris@aris` && `/aris:setup` — Run /aris:setup once, then restart Claude Code. It registers the Codex reviewer bridge and writes ~/.aris/repo. Needs codex logged in and python3. Commands get the aris: prefix. Remove: `The README names no plugin remove command; claude mcp remove codex -s user removes the reviewer bridge`.
- Claude Code (install script, per project): `git clone https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep.git` && `bash Auto-claude-code-research-in-sleep/tools/install_aris.sh ~/your-project` && `npm install -g @openai/codex && codex login` && `claude mcp add codex -s user -- python3 "$(pwd)/Auto-claude-code-research-in-sleep/mcp-servers/codex-exec/server.py"` — Links each skill into <project>/.claude/skills/. --groups or --skills installs only some. Restart Claude Code after adding the reviewer. Remove: `bash tools/install_aris.sh <project> --uninstall`.
- Claude Code (global copy): `cp -r Auto-claude-code-research-in-sleep/skills/* ~/.claude/skills/` Remove: `cd Auto-claude-code-research-in-sleep && ls skills/ | xargs -I{} rm -rf ~/.claude/skills/{}`.
- Codex CLI: `codex plugin marketplace add wanshuiyin/Auto-claude-code-research-in-sleep` && `codex plugin add aris@aris` — Gets the Codex mirror of the skills. Or: bash tools/install_aris_codex.sh ~/your-codex-project
- Cursor, Trae, Antigravity, Copilot CLI: Follow the adaptation guide for your tool in docs/; the reviewer uses the same codex key.

## What runs on the user's machine
- Code on the machine: yes (all installs: skills call bundled Python and shell helpers; the reviewer bridge runs as a local service)
- Network: yes
- Install script: Creates links in <project>/.claude/skills/, writes .aris/installed-skills.txt and updates an ARIS block in CLAUDE.md if that file exists.
- /aris:setup (plugin): Your assistant runs claude mcp add for the codex bridge (user scope) and writes the plugin path to ~/.aris/repo.
- Every review round: The local bridge starts codex exec, which sends the prompt to OpenAI. Thread settings are saved under ~/.codex/state/codex-exec/threads/.
- Paper search and citations: Helpers call arXiv, Semantic Scholar, OpenAlex, DBLP and CrossRef; optional Exa, Firecrawl, Keenable, DeepXiv and Gemini with your keys.
- Experiments: Your assistant writes training scripts, copies them to your GPU server over SSH and runs them; with gpu: vast it rents and destroys Vast.ai machines.
- Optional usage log (you copy the settings file yourself): Hooks after every tool call, prompt and session write events, including the first 100 characters of prompts and 200 of shell commands, to .aris/meta/events.jsonl and ~/.aris/meta/events.jsonl.
- Optional guard hook: Blocks common shell writes into the skills folder before a Bash call.
- Optional Feishu/Lark: Sends status messages to your phone; off by default.
- Optional ARIS-Monitor (macOS): A small window that reads files under ~/.claude to show which session waits for approval; no network.

## Settings
- `AUTO_PROCEED`: true (default) keeps going at choice points; false asks you
- `human checkpoint`: true pauses after each review round
- `effort`: lite | balanced | max | beast
- `difficulty`: medium | hard | nightmare: how harsh the reviewer is
- `reviewer`: codex (default), manual, oracle-pro, and others
- `gpu`: local | remote | vast
- `sources`: zotero, obsidian, local, web, semantic-scholar, deepxiv, exa, gemini, openalex, all
- `GEMINI_API_KEY`: for AI paper illustrations
- `EXA_API_KEY / FIRECRAWL_API_KEY / KEENABLE_API_KEY`: optional web search services

## Examples (from the pack's own files)
- A sample input for /paper-writing: output format defined in docs/NARRATIVE_REPORT_EXAMPLE.md
- What /rebuttal hands back: output format defined in skills/rebuttal/SKILL.md
- The author's overnight review loop, round by round: output format defined in README.md

## Author's numbers (as reported, not run by AgentGid)
- In one overnight 4-round run the AI reviewer's score went from 5.0/10 to 7.5/10, with 20+ GPU experiments (One ML project of the author's; the score is the AI reviewer's own). Source: wanshuiyin/Auto-claude-code-research-in-sleep/README.md
- Paper writing with auto-review: reviewer score 4/10 → 8.5/10. Source: wanshuiyin/Auto-claude-code-research-in-sleep/README.md

## Steps only the person can do
- Install the Codex CLI and log in with a ChatGPT account (default reviewer) (README.md (Quick Start); https://github.com/openai/codex) Then: The assistant registers the codex-exec bridge and runs review rounds through it
- Restart Claude Code after the reviewer bridge is added or /aris:setup has run (README.md (Quick Start)) Then: The codex tools show as connected and the review skills work
- Install LaTeX with latexmk and pdfinfo (only for paper writing) (README.md (9.1 Prerequisites)) Then: /paper-writing compiles the PDF
- Create a Vast.ai account, set its API key in the vastai CLI and upload an SSH public key (only with gpu: vast) (https://cloud.vast.ai/manage-keys/) Then: The assistant shows priced GPU options and rents the one you pick
- Set GEMINI_API_KEY in your environment (only for AI paper illustrations) (Google AI Studio) Then: The paper workflow draws illustrations; without a key use illustration: mermaid

## Mistakes to avoid
- Not: Start /research-pipeline or /idea-discovery with the defaults and leave it running. Instead: Add AUTO_PROCEED: false (and human checkpoint: true) until you trust it. Why: By default it picks an idea and goes on, including spending GPU time
- Not: Register the reviewer with codex mcp-server, as older guides say. Instead: Register the bundled bridge, python3 mcp-servers/codex-exec/server.py from your clone, then restart Claude Code. Why: Newer Codex versions removed that entry point and every review call fails
- Not: Run /paper-writing without a local LaTeX install. Instead: Install LaTeX with latexmk and pdfinfo first; ideas and review loops work without it. Why: Workflow 3 compiles the PDF locally
- Not: Set gpu: vast and add your SSH key on Vast.ai after renting. Instead: Upload the SSH public key on Vast.ai before the first rental. Why: Keys are fixed when the machine is created; otherwise it must be destroyed and rented again
- Not: Read a high review score as a sign the paper will be accepted. Instead: Treat the score as an AI reviewer's signal and judge the work yourself. Why: The author says the scores are AI-review signals

## What leaves the machine
- Review prompts with your project text, results and code → OpenAI, through codex exec and your ChatGPT login, Every review round (and code review before experiments). Opt out: Pick another reviewer, for example reviewer: manual
- Search queries and paper IDs → arXiv, Semantic Scholar, OpenAlex, DBLP and CrossRef (plus Exa, Firecrawl, Keenable, DeepXiv or Gemini if you choose them), Literature search and citation lookup. Opt out: Limit sources, for example sources: zotero, local
- Figure descriptions for AI illustrations → Google Gemini API, Paper writing with the default illustration setting. Opt out: illustration: mermaid or illustration: false
- Your experiment code and data → Your remote GPU server or a rented Vast.ai machine, Experiments with gpu: remote or gpu: vast. Opt out: gpu: local (the default)
- Status messages about the run → Feishu/Lark, Only if you turn Feishu on. Opt out: Leave it off (the default)

## Lines in the pack aimed at agents (ask the person first)
- "When `true`, report the top selection and continue in the same turn without asking or waiting." (skills/research-pipeline/SKILL.md): AUTO_PROCEED is true by default; ask the person whether to set it to false before a run that spends GPU time or money
- "npm install -g @google/gemini-cli" (skills/gemini-search/SKILL.md): A global CLI install plus a Google login; ask the person before installing
- "python3 -c "import pptx" 2>/dev/null || pip install python-pptx" (skills/paper-slides/SKILL.md): Installs a Python package on the fly; ask first or use a virtual environment
- "To run the auto-review loop without clicking permission prompts, add to `.claude/settings.local.json`:" (README.md): Auto-allowing Write, Edit and the reviewer removes the person's chance to stop a step; only the person should decide this

## May I use it like this?
- commercial-app: yes (MIT: keep the license notice)
- client-work: yes (MIT)
- redistribute-files: conditions (MIT: keep the copyright and permission notice; paper-poster-html also carries posterly's MIT license in its LICENSES folder)

## Which one to pick
- If You want ML research run end to end, from idea to experiments on your GPU to a paper, with a second model reviewing: skill:wanshuiyin/Auto-claude-code-research-in-sleep
- If You want an academic workflow of research, writing, review and revision without running ML experiments: skill:Imbad0202/academic-research-skills
- If You want a broad library of science skills for many fields rather than one ML pipeline: skill:K-Dense-AI/scientific-agent-skills
- If You want a goal-driven improve-and-measure loop on your own code, not papers: skill:uditgoenka/autoresearch

## Works well with
- agent:claude-code: The main host: plugin, slash commands and the codex reviewer bridge
- agent:openai-codex: The default reviewer runs through the Codex CLI; Codex can also run the skills as a plugin
- api:semantic-scholar: One of the paper sources the literature search calls
- tool:wandb: Optional experiment logging; /monitor-experiment reads training curves from W&B

## Works in and needs
- Works in Claude Code: plugin or skills folder (install script)
- Works in Codex: plugin
- Works in Cursor, Trae, Antigravity, GitHub Copilot CLI: adaptation guide in docs/
- Works in OpenClaw: adaptation guide in docs/
- Needs Codex CLI with a ChatGPT login: The default cross-model reviewer
- Needs Python 3: The reviewer bridge and helper scripts run with python3
- Needs LaTeX (latexmk, pdfinfo): Only for paper writing
- Needs A GPU (local: Only for the experiment steps
- Needs Gemini API key: Only for AI illustrations

## How to tell it works
After install and the Codex login, run /idea-discovery "your research direction" — AUTO_PROCEED: false. It works if idea-stage/IDEA_REPORT.md appears with ranked ideas, a novelty check and a review section.

## Related
- wanshuiyin/ARIS-in-AI-Offer
- wanshuiyin/HERO-Anti-OverDefense
- wanshuiyin/Anti-Autoresearch
- wanshuiyin/ARIS-Movie-Director
- openai/codex

## Safety
A large toolkit that runs code, uses your GPU accounts and sends your work to a second AI service. Install from github.com/wanshuiyin/Auto-claude-code-research-in-sleep only, keep AUTO_PROCEED off until you trust it, and think twice before the suggested auto-allow settings for overnight runs. The showcase scores are AI reviewer scores.
