Paper bootstrap

From Chanw-research/claude-code-paper-writing · View interactive version

Paper bootstrap is an AI agent skill from the GitHub repository Chanw-research/claude-code-paper-writing. Use when starting a new manuscript project or cleaning up an existing paper directory and you need a standard structure, active source files, project memory, and venue defaults before deeper writing begins.

How to use this skill

Skill file

Paper Bootstrap

Overview

Use this skill to make a paper project writable before trying to make it good. The goal is not to generate boilerplate. The goal is to identify the real manuscript source of truth, create only the folders that help the workflow, and lock the project onto the correct venue and contribution framing early.

Default assumption: broad-impact journal work should start from the global Nature-style preference unless the user explicitly overrides the venue.

When the manuscript depends on experiments, figures, or results produced across multiple rounds, initialize lightweight project-state documents early so writing does not depend on memory alone: project_truth.md, decision_log.md, result_summary.md, and paper_handoff.md.

Use the helper script when you need a clean baseline layout quickly:

python ~/.codex/skills/paper-bootstrap/scripts/init_paper_layout.py path/to/paper
# Claude Code (global install): replace ~/.codex/skills with ~/.claude/skills
# Claude Code (project-local install): replace ~/.codex/skills with .claude/skills

When To Use

Use this skill when:

Do not use this skill for:

Bootstrap Order

  1. Inspect the current paper directory before creating anything.
  2. Identify the active manuscript source of truth.
  3. Classify the paper's contribution type:
  1. Lock the working venue style:
  1. Create only the directories that the project actually needs.
  2. Create or reuse lightweight state files when they will reduce drift:
  1. Save or update project memory with the stable local constraints.
  2. End with a short startup summary:

Preferred Project Layout

Do not force this layout mechanically. Use it as the default skeleton when the repository is messy or empty.

Default state files inside notes/ when the project does not already have equivalents:

If the project already has an established structure, preserve it and map the workflow onto that structure instead of rebuilding everything.

Memory Rules

Write project memory only for stable local facts such as:

Do not write project memory for:

Common Mistakes

Output Standard

When you finish bootstrapping, report:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.