
paper-spine-rewrite
Rewrites an existing manuscript from confirmed motivation, research, paragraph-level rationale, and evidence. (internal /paperspine step)
- Installs
- 353
- 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-rewrite- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads paper-spine-rewrite automatically when relevant.
- 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 Rewrite
Use this skill when the user already has a draft and wants a substantive manuscript improvement.
Required Inputs
paper_rewriting_output/paper_spine_config.json- user draft from
draft_pathor the conversation paper_rewriting_output/reference_materials/source_index.mdpaper_rewriting_output/research_dossier.mdpaper_rewriting_output/exemplar_learning_dossier.mdpaper_rewriting_output/style_profile.mdpaper_rewriting_output/sota_gap_map.mdpaper_rewriting_output/citation_support_bank.mdpaper_rewriting_output/confirmed_motivation.mdwith user confirmation- evidence from the user's draft, figures, tables, data, or notes
If research or confirmed motivation is missing, do not rewrite. 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 before final writing. Introduction, background, related
work, and Discussion claims should draw from that bank when they need
literature support.
Required Outputs
paper_rewriting_output/original_logic_map.mdpaper_rewriting_output/evidence_bank.mdpaper_rewriting_output/section_blueprints.mdpaper_rewriting_output/writing_rationale_matrix.mdpaper_rewriting_output/rewrite_matrix.mdpaper_rewriting_output/logic_transfer_audit.md- revised manuscript or revised sections
translation_zh/package whentranslation_packageiszh(viapaper-spine-translate)
Original Logic Map
Before rewriting, map the existing manuscript in order:
| Original Unit | Current Text Role | Evidence Used | Motivation Link | Problem | Keep / Move / Rewrite / Delete |
|---|
This is required so the rewrite can be compared against the original logic, not only against surface wording.
Writing Rationale Matrix
Before final prose, create writing_rationale_matrix.md and read
references/writing-rationale-matrix.md. The matrix is the rewrite plan. It
must be ordered by the manuscript's actual writing units, not by a fixed IMRaD
or journal-paper template.
Use this table:
| Row ID | Manuscript Unit | Original Problem or Planned Function | Motivation Link | Reference/SOTA Pattern Learned | Target Scene or Venue Norm | User Evidence or Citation Anchor | Planned Change | Final 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 will be checked against it. After that, split the draft into the smallest useful units for this target scene: paragraphs, paragraph groups, result/claim units, model steps, assumptions, review synthesis blocks, competition solution blocks, headings, captions, or other argument-bearing fragments. Do not force reports, reviews, or competition papers into Abstract/Introduction/Methods/Results/Discussion if that is not the right structure.
Each row must explain concrete anchors across multiple dimensions. Acceptable reasons include: confirms or narrows the central motivation, transfers a structural move from a strong example without copying wording, matches target-scene expectation, moves evidence next to the claim, fixes a weak transition, creates a front/back echo, or constrains a claim to available evidence. If a row cannot teach the user why this writing move is better, it is too shallow.
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.
Rewrite Rules
- Rewrite from
writing_rationale_matrix.md, not by appending sentences to old paragraphs. - A paragraph should survive unchanged only if the matrix explicitly says why it already serves the confirmed motivation.
- Preserve user claims only when supported by user evidence.
- Preserve LaTeX commands, labels, citations, equations, figures, and tables unless the user asks to change structure.
- Use
output_languagefrom config:enfor English,zhfor Chinese. - Select citations from
citation_support_bank.mdonly when they support a specific sentence. Do not add citation clusters without a clear claim. - Keep target-scene style subordinate to the confirmed motivation.
rewrite_matrix.mdmust map original units to final units and state whether each change is structural, rhetorical, evidence-related, or only language.
Pre-LaTeX Gate
Before routing output to paper-spine-latex, run:
python scripts/integrity_audit.py paper_rewriting_output --markdown --write
python scripts/structured_review.py paper_rewriting_output --dispatch
integrity_audit.md must show no BLOCKED findings. After dispatch, launch
three parallel review sub-agents per review_prompts/dispatch.md. Validate
independence with structured_review.py --validate review_prompts.
Read references/writing-rationale-matrix.md,
references/motivation-thread-writing.md, references/deep-imitation-protocol.md,
and references/rewrite-matrix.md when doing substantive rewriting.
FAQ
What does the paper-spine-rewrite skill do?
Rewrites an existing manuscript from confirmed motivation, research, paragraph-level rationale, and evidence. (internal /paperspine step)
How do I install paper-spine-rewrite?
Run npx skills add https://github.com/wubing2023/paperspine --skill paper-spine-rewrite 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-rewrite/ (personal) or .claude/skills/paper-spine-rewrite/ (project).
Which AI agents can use paper-spine-rewrite?
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-rewrite 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-rewrite?
It is published by wubing2023 in wubing2023/paperspine. It has 353 recorded installs.
More from wubing2023/paperspine
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.
paper-spine-latex
wubing2023/paperspine
Open the skill to read its SKILL.md instructions.
paper-spine-audit
wubing2023/paperspine
Open the skill to read its SKILL.md instructions.
paper-spine-build
wubing2023/paperspine
Open the skill to read its SKILL.md instructions.
paper-spine-research
wubing2023/paperspine
Open the skill to read its SKILL.md instructions.
paper-spine-humanize
wubing2023/paperspine
Open the skill to read its SKILL.md instructions.
Popular education & science skills
teach
mattpocock/skills
Teach the user a new skill or concept, within this workspace.
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.
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.
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.
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.
teach-impeccable
pbakaus/impeccable
DEPRECATED: Use /impeccable teach instead. This command has been folded into the impeccable skill.