Skip to content
Agentmart
Submit a tool

CLAUDE.md · OpenRaiser/NanoResearch

CLAUDE.md from OpenRaiser/NanoResearch: 103 lines covering Core Goal, Pipeline, Workspace Convention, Paper Modes and more.

Template by OpenRaiser

IndexedMIT★ 1,339
Write a review

Install

Works with Claude Code. Read the repository before you give any tool access to your data.

curl -fsSL https://raw.githubusercontent.com/OpenRaiser/NanoResearch/main/CLAUDE.md -o CLAUDE.md

Read it and adapt it to your project before use.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

The CLAUDE.md file that OpenRaiser/NanoResearch (1,339 stars) keeps for coding agents. It has 103 lines in 8 sections: Core Goal; Pipeline; Workspace Convention; Paper Modes; Available Commands; Grounding Rules; Claude Code Role; Claude Code Rules. Use it as a model for your own project's instructions.

Use cases: deep-research, code-generation

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

What's in it

A CLAUDE.md file: project memory Claude Code loads at the start of every session.

For
Claude Code
Length
103 lines
File
CLAUDE.md

Sections

  1. Core Goal
  2. Pipeline
  3. Workspace Convention
  4. Paper Modes
  5. Available Commands
  6. Grounding Rules
  7. Claude Code Role
  8. Claude Code Rules

First lines (shown under the repo's MIT license)

# NanoResearch — Claude Code Integration Mode

NanoResearch is an end-to-end autonomous AI research engine. In Claude Code integration mode, Claude Code should drive the existing pipeline rather than inventing a second workflow.

## Core Goal

Given a research topic, NanoResearch should produce a resumable research workspace containing:
- literature artifacts
- planning artifacts
- runnable experiment code when needed
- execution or literature-analysis evidence
- figures
- a LaTeX paper draft
- review output and final exported assets

## Pipeline

NanoResearch uses a 9-stage pipeline:

```text
IDEATION -> PLANNING -> SETUP -> CODING -> EXECUTION -> ANALYSIS -> FIGURE_GEN -> WRITING -> REVIEW
```

Stage meanings:
- `ideation`: literature search, gap finding, hypothesis or theme extraction
- `planning`: experiment blueprint or survey blueprint generation
- `setup`: environment and resource preparation
- `coding`: runnable experiment generation
- `execution`: local or SLURM-backed experiment execution
- `analysis`: structured evidence extraction from outputs
- `figure_gen`: figure generation for paper assets
- `writing`: LaTeX paper drafting
- `review`: critique, verification, and revision

## Workspace Convention

Workspaces live under `~/.nanoresearch/workspace/research/`.
A typical workspace contains:

```text
{session_dir}/
├── manifest.json
├── papers/
├── plans/
├── experiment/
├── drafts/
├── figures/
├── output/
└── logs/
```

Reuse an existing workspace when the user asks to continue, inspect status, resume, or revise a prior run.

## Paper Modes

Topic prefixes:
- `original: Topic` -> `original_research`
- `survey:short: Topic` -> `survey_short`
- `survey:standard: Topic` -> `survey_standard`
- `survey:long: Topic` -> `survey_long`

Behavior:
- original research follows the full 9-stage pipeline
- survey modes skip experiment-heavy stages and use literature-grounded planning, writing, and review
- the prefix is parsed by the existing CLI and manifest logic; Claude Code should reuse that behavior

## Available Commands

| Command | Description |
| --- | --- |
| `/project:research` | Run the full 9-stage pipeline for a topic |
| `/project:ideation` | Run stage 1 literature search and idea generation |
| `/project:planning` | Run stage 2 planning |
| `/project:experiment` | Run setup, coding, and execution for original research |
| `/project:analysis` | Run experiment analysis |
| `/project:writing` | Run figure generation and writing |
| `/project:review` | Run review and revision |
| `/project:status` | Show workspace status |
| `/project:resume` | Resume from the last checkpoint |

## Grounding Rules

- never fabricate experiment results
- never fabricate citations
- prefer existing CLI / orchestrator behavior over ad hoc scripts
- keep paper claims tied to actual outputs or verified literature
- preserve checkpoint and resume semantics via `manifest.json`

## Claude Code Role

In Claude Code integration mode, Claude Code acts as the research engine using its native tools:
- **WebSearch** for literature retrieval
- **Bash** for code execution, SLURM submission, and LaTeX compilation
- **File read/write** for workspace artifacts, code, and paper drafts

## Claude Code Rules

1. Use the existing workspace and manifest conventions above.
2. Reuse the existing topic prefix syntax for survey modes.
3. Use the existing NanoResearch pipeline and outputs instead of custom one-off scripts.
4. Never fabricate results or citations.
5. Keep workspaces compatible with the Python CLI.

Signals

Stars
1,339
Forks
91
Open issues
6
Last commit (this folder)
May 7, 2026 (5 months ago)
Last release
Mar 19, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from OpenRaiser

Cite this page

CLAUDE.md · OpenRaiser/NanoResearch. Agent Mart. https://agentmart.dev/templates/openraiser-nanoresearch-claude-md (last updated 2026-10-24)