# paper-assembly

Runs a research-paper workflow from literature and experiments through LaTeX, PDF compilation, and review, with checkpoints for resuming work.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1600 installs · ★ 435
- Author: lingzhi227
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/lingzhi227/agent-research-skills/tree/HEAD/skills/paper-assembly/SKILL.md
- Updated: 2026-02-27
- HTML: https://affpapa.org/en/nevibecode/skills/paper-assembly

## What it does

This skill inspects a paper project, separates finished work from pending phases, and orders the remaining tasks. It connects literature work, planning, experiment code, results, figures, tables, writing, citations, formatting, compilation, and self-review.

The package includes `assembly_checker.py`. It scans a directory, checks the pipeline phases, reports missing artifacts, and can write `checkpoint.json`. After each phase, outputs move to later phases and the checkpoint is updated; gates also check files, citation keys, figures, and tables before work continues.

The workflow takes a paper directory or a paper plan. It uses Python for the checker script. Phases are not optional here: changing an upstream result means downstream phases need to run again.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add lingzhi227/agent-research-skills --skill paper-assembly -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/paper-assembly/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/paper-assembly/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add lingzhi227/agent-research-skills --skill paper-assembly -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/paper-assembly/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add lingzhi227/agent-research-skills --skill paper-assembly -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/paper-assembly/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install lingzhi227/agent-research-skills paper-assembly
```

2. **Manually: put the files in place**
- File: `.github/skills/paper-assembly/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add lingzhi227/agent-research-skills --skill paper-assembly -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/lingzhi227/agent-research-skills --path skills/paper-assembly
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/paper-assembly/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add lingzhi227/agent-research-skills --skill paper-assembly -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/lingzhi227/agent-research-skills/tree/HEAD/skills/paper-assembly/SKILL.md

## When to use it
- assemble a paper from existing project artifacts
- locate unfinished pipeline phases
- resume work from a saved checkpoint
- check citation keys and generated figures
- compile the final PDF and run self-review

## Example prompts
- Assemble the paper in `paper/` from its current state.
- Scan `paper/` and save a pipeline checkpoint to `checkpoint.json`.
- Resume the paper workflow from the last completed phase, then compile the PDF and run self-review.

## Similar
- [assembly-x86](https://affpapa.org/en/nevibecode/skills/assembly-x86.md) — skill · 665 installs
- [assembly-arm](https://affpapa.org/en/nevibecode/skills/assembly-arm.md) — skill · 656 installs
- [nature-paper-to-patent](https://affpapa.org/en/nevibecode/skills/nature-paper-to-patent.md) — skill · 12600 installs
- [academic-paper](https://affpapa.org/en/nevibecode/skills/academic-paper.md) — skill · 10900 installs
- [nature-paper-card](https://affpapa.org/en/nevibecode/skills/nature-paper-card.md) — skill · 10500 installs
- [academic-paper-reviewer](https://affpapa.org/en/nevibecode/skills/academic-paper-reviewer.md) — skill · 9900 installs

From the same set: [lingzhi227/agent-research-skills](https://affpapa.org/en/nevibecode/by/lingzhi227/agent-research-skills.md) — 31 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
