MCPInstall

paper-spine-build

Builds a paper or report from materials using the shared PaperSpine research, motivation, and rationale workflow. (internal /paperspine step)

Installs
344
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/wubing2023/paperspine --skill paper-spine-build
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads paper-spine-build automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

PaperSpine Build From Materials

Use this skill when the user does not have a real manuscript draft yet and instead provides a materials folder with experiment settings, results, figures, notes, PDFs, Word files, TXT/Markdown reports, or partial drafts.

This workflow shares the same research, motivation confirmation, evidence bank, section blueprint, and writing rationale matrix logic as paper-spine-rewrite. It is not a separate shortcut.

Required Inputs

  • paper_rewriting_output/paper_spine_config.json
  • materials_dir
  • target scene and output language
  • paper_rewriting_output/reference_materials/source_index.md
  • paper_rewriting_output/research_dossier.md
  • paper_rewriting_output/exemplar_learning_dossier.md
  • paper_rewriting_output/style_profile.md
  • paper_rewriting_output/sota_gap_map.md
  • paper_rewriting_output/citation_support_bank.md
  • paper_rewriting_output/confirmed_motivation.md with user confirmation

If research or confirmed motivation is missing, do not draft. Return to paper-spine-research and ask the user to confirm the motivation after seeing research-grounded options.

If citation_support_bank.md is missing or shallow, return to paper-spine-citation. From-zero writing still needs literature support for background, Introduction/overview, Discussion, limitations, and applications.

First Pass

Run or emulate:

python scripts/material_inventory.py <materials_dir> --output-dir paper_rewriting_output

Create source_inventory.md before making claims.

Required Outputs

  • paper_rewriting_output/source_inventory.md
  • paper_rewriting_output/evidence_bank.md
  • paper_rewriting_output/figure_asset_map.md
  • paper_rewriting_output/claim_register.md
  • paper_rewriting_output/section_blueprints.md
  • paper_rewriting_output/writing_rationale_matrix.md
  • manuscript draft as an intermediate artifact
  • paper_rewriting_output/final_paper/main.tex
  • paper_rewriting_output/final_paper/paper.pdf when a TeX engine is available
  • paper_rewriting_output/latex_report.md
  • paper_rewriting_output/final_artifact_manifest.md
  • paper_rewriting_output/translation_zh/ when translation_package is zh (via paper-spine-translate)

Writing Rationale Matrix

Before final prose, create writing_rationale_matrix.md and read references/writing-rationale-matrix.md. The matrix is the build plan. It must be ordered by the target document's actual writing units, not by a fixed paper template.

Use this table:

Row IDManuscript UnitPlanned FunctionMotivation LinkReference/SOTA Pattern LearnedTarget Scene or Venue NormUser Evidence or Citation AnchorPlanned Text MoveFinal Text Check

The first data row must deeply justify the whole-work framework or throughline: why this controlling structure is chosen, how SOTA/target examples informed it, how it follows the confirmed motivation, which user evidence anchors it, and how the final manuscript/report will be checked against it. After that, split the work into the smallest useful units for the selected scene: abstract/summary moves, problem restatement, assumptions, model design, methods choices, result/claim units, review synthesis blocks, validation blocks, recommendations, headings, captions, or other argument-bearing fragments.

No row may be generic. Each row must state why that unit exists and how it is connected to the confirmed motivation, learned examples, target-scene norms, or user evidence. If a paragraph or figure claim needs a separate writing decision, it needs its own row.

Humanize Tier

If paper_spine_config.json has humanize_tier set to light, medium, or heavy, route to paper-spine-humanize before writing. The humanize skill provides tier-specific writing constraints enforced during all prose generation.

Build Rules

  • materials_dir and the output path may contain spaces or non-ASCII characters (e.g. exp_lab_en - 副本). Always quote paths and avoid shell globbing such as cp materials/* ...; copy or read files with explicitly quoted paths, prefer Python pathlib or (on Windows) PowerShell for file operations. Unquoted globs silently break on such directories.
  • Treat images as potential figure assets, not as verified evidence unless the user explains what they show.
  • Use existing document/PDF skills for complex PDF, DOCX, or scanned material extraction when available.
  • Do not fabricate missing experiments or results.
  • Copy user-approved figure assets into the final LaTeX project's figures/ folder and reference them with labels and captions.
  • Follow output_language: en or zh.
  • Use citation_support_bank.md to select citations sentence by sentence; do not treat citation candidates as user evidence or insert all candidates.
  • Before routing through paper-spine-latex, run python scripts/integrity_audit.py paper_rewriting_output --markdown --write and python scripts/structured_review.py paper_rewriting_output --dispatch. After dispatch, launch three parallel review sub-agents per review_prompts/dispatch.md, then validate independence. Only proceed when all dimensions PASS.
  • Always finish by routing through paper-spine-latex. A Markdown draft is not a final deliverable for this workflow.
  • Build the final LaTeX project under paper_rewriting_output/final_paper/.
  • If word_output is docx, generate final_paper/paper.docx and run scripts/word_guard.py, saving paper_rewriting_output/word_report.md.
  • If output_language is en and translation_package is zh, create a full paper_rewriting_output/translation_zh/ package. This includes complete row-by-row translation of large intermediate files such as writing_rationale_matrix.md; partial translation or summary translation is a failure.

Read references/build-from-materials.md and references/writing-rationale-matrix.md before building the manuscript.

FAQ

What does the paper-spine-build skill do?

Builds a paper or report from materials using the shared PaperSpine research, motivation, and rationale workflow. (internal /paperspine step)

How do I install paper-spine-build?

Run npx skills add https://github.com/wubing2023/paperspine --skill paper-spine-build in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/paper-spine-build/ (personal) or .claude/skills/paper-spine-build/ (project).

Which AI agents can use paper-spine-build?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is paper-spine-build safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains paper-spine-build?

It is published by wubing2023 in wubing2023/paperspine. It has 344 recorded installs.

More from wubing2023/paperspine

View all →

paper-spine

wubing2023/paperspine

Research, write, review and deliver evidence-bound papers in one task, with user choices, real files, editable outputs and same-task revision.

Education & Science1.2K installs

paper-spine-latex

wubing2023/paperspine

Handles LaTeX project assembly, figure placement, citations, labels, and compile-safe cleanup. (internal /paperspine step)

paper-spine-audit

wubing2023/paperspine

Audits PaperSpine outputs for missing artifacts, shallow revisions, logic transfer, unsupported claims, and translation coverage. (internal /paperspine step)

Security355 installs

paper-spine-rewrite

wubing2023/paperspine

Rewrites an existing manuscript from confirmed motivation, research, paragraph-level rationale, and evidence. (internal /paperspine step)

paper-spine-research

wubing2023/paperspine

Researches target requirements, downloads reference materials, learns strong examples, and prepares motivation options. (internal /paperspine step)

paper-spine-humanize

wubing2023/paperspine

Reduces AI detection rates via tiered stylistic constraints mapped to real AIGC detection dimensions. Produces a teaching humanizematrix.md. (internal /paperspine step)

Popular education & science skills

View category →

teach

mattpocock/skills

Teach the user a new skill or concept, within this workspace.

Education & Science874K installs

scaffold-exercises

mattpocock/skills

Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.

Education & Science488.2K installs

paper-context-resolver

lllllllama/rigorpilot-skills

Rigor Paper Context helper for README-first deep learning repo reproduction. Use only when the README and repository files leave a narrow reproduction-critical gap and the task is to resolve a specific paper detail such as dataset split, preprocessing, evaluation protocol, checkpoint mapping, or runtime assumption from primary paper sources while recording conflicts. Do not use for general paper summary, repo scanning, environment setup, command execution, title-only paper lookup, or replacing README guidance by default.

Education & Science478.3K installs

caveman-learn

juliusbrussee/caveman

Act on a Caveman learn report - review the ranked token sinks, apply cost-lowering fixes with per-edit consent, and report what those fixes returned. Use when asked to lower an agent's token cost, what caveman has saved, to trim a heavy CLAUDE.md, or to offload re-pasted context into cavemem.

Education & Science107.9K installs

gsap-plugins

greensock/gsap-skills

Official GSAP skill for GSAP plugins — registration, ScrollToPlugin, ScrollSmoother, Flip, Draggable, Inertia, Observer, SplitText, ScrambleText, SVG and physics plugins, CustomEase, EasePack, CustomWiggle, CustomBounce, GSDevTools. Use when the user asks about a GSAP plugin, scroll-to, flip animations, draggable, SVG drawing, or plugin registration.

Education & Science67.9K installs

teach-impeccable

pbakaus/impeccable

DEPRECATED: Use /impeccable teach instead. This command has been folded into the impeccable skill.