paperspine

paperspine is a command for Claude Code from WUBING2023/PaperSpine. It costs 12 tokens per session (769 once invoked), scanned A, original, MIT.

A command that starts the PaperSpine workflow, a tool for preparing and processing papers, and opens its setup screen when configuration is missing.

In plain words
What is it for?
Use it to start a PaperSpine project, check or change automatic updates, or launch the setup process for an unconfigured project.
Why use it?
It checks for updates and handles initial setup automatically, reducing the need to create configuration files by hand.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Part of the paper-spine plugin — 9 skills, 1 command, 1 MCP server shipped together

Good fit Use it to start a PaperSpine project, check or change automatic updates, or launch the setup process for an unconfigured project.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wubing2023/paperspine/paperspine
About the project

PaperSpine is an academic writing system that guides an agent through studying strong papers, defining a manuscript's contribution, planning its structure, and revising the resulting document. It supports writing tasks such as journal papers, conference papers, reports, reviews, and competition essays, with outputs including LaTeX, PDF, and Word. The catalogue entries package its workflow for supported agent hosts.

WUBING2023/PaperSpine · 6,466 stars · on GitHub · wubing2023.github.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/WUBING2023/PaperSpine

Made for: Claude Code.

Or install paper-spine, the plugin that ships this one along with the rest of its 9 skills, 1 command, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for paperspine

README.md
[![agentmods](https://agentmods.dev/badge/commands/wubing2023/paperspine/paperspine/github.svg)](https://agentmods.dev/commands/wubing2023/paperspine/paperspine)
Your own site
<a href="https://agentmods.dev/commands/wubing2023/paperspine/paperspine"><img src="https://agentmods.dev/badge/commands/wubing2023/paperspine/paperspine/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for paperspine

Your own site · 80×15
<a href="https://agentmods.dev/commands/wubing2023/paperspine/paperspine"><img src="https://agentmods.dev/badge/commands/wubing2023/paperspine/paperspine.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 769 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00012 $0.00769
Opus 5.5 $0.00005 $0.00308
Sonnet 5.5 $0.00002 $0.00154
Haiku 4.5 $0.00001 $0.00077

Measured 3mo ago against content hash 7fa72733dd4e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

paperspine scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

paperspine5/core/01_PaperSpine4/src/adapters/claude/commands/paperspine.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Start the PaperSpine workflow for the current project.

Invocation arguments: $ARGUMENTS

If the arguments request update, update check, or auto-update on|off|status, route immediately through the paper-spine skill's references/update.md. Do not launch intake or start a paper workflow for an update command.

For every other invocation, run the update playbook's --auto preflight before intake. If it installs a new version, stop and ask the user to reload Claude Code and invoke /paperspine again. If it is disabled, not due, already current, or fails without changing the install, continue with the current version.

After update routing and preflight, if paper_rewriting_output/paper_spine_config.json is missing or incomplete, route through the paper-spine skill and launch the PaperSpine intake UI automatically. Do not hand-write the configuration.

Platform-specific launcher

Windows

$config = Join-Path (Get-Location) "paper_rewriting_output\paper_spine_config.json"
$launcher = Join-Path $env:USERPROFILE ".claude\skills\paper-spine\scripts\launch_paperspine_ui.ps1"
if (-not (Test-Path -LiteralPath $launcher)) {
  throw "PaperSpine UI launcher not found at $launcher. Reinstall or resync PaperSpine."
}
if (-not (Test-Path -LiteralPath $config)) {
  powershell.exe -NoProfile -ExecutionPolicy Bypass -File $launcher -OutputDir "paper_rewriting_output"
}
for ($i = 0; $i -lt 120 -and -not (Test-Path -LiteralPath $config); $i++) {
  Start-Sleep -Seconds 5
}
if (-not (Test-Path -LiteralPath $config)) {
  throw "PaperSpine intake config was not created yet. Finish the opened PowerShell UI window, then rerun /paperspine."
}
Get-Content -LiteralPath $config -Raw

macOS / Linux

CONFIG="paper_rewriting_output/paper_spine_config.json"
LAUNCHER="$HOME/.claude/skills/paper-spine/scripts/launch_paperspine_ui.sh"

if [ ! -f "$LAUNCHER" ]; then
  echo "PaperSpine UI launcher not found at $LAUNCHER. Reinstall or resync PaperSpine." >&2
  exit 1
fi

if [ ! -f "$CONFIG" ]; then
  chmod +x "$LAUNCHER"
  bash "$LAUNCHER" "paper_rewriting_output"
fi

for i in $(seq 1 120); do
  if [ -f "$CONFIG" ]; then break; fi
  sleep 5
done

if [ ! -f "$CONFIG" ]; then
  echo "PaperSpine intake config was not created yet. Finish the opened terminal window, then rerun /paperspine." >&2
  exit 1
fi

cat "$CONFIG"

Read the full file on GitHub · 83 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 83 lines · 12 tokens per session scan A 7fa72733dd4e

Subscribe to this mod's changes

paperspine is a command published in the GitHub repository WUBING2023/PaperSpine (6,466 stars, last pushed 2d ago), licensed MIT. It adds 12 tokens to every session and 769 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

paperspine compared with commands from other repositories

paperspine next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
paperspineWUBING2023/PaperSpineCommand6.5k2d agoMITA12Claude Code
camera-readyflonat/flonat-researchCommand15517d agoMITA108Claude Code
bib-filterflonat/flonat-researchCommand15517d agoMITA68Claude Code
latex-polishflonat/flonat-researchCommand15517d agoMITA60Claude Code
latexflonat/flonat-researchCommand15517d agoMITA72Claude Code
pipeline-manifestflonat/flonat-researchCommand15517d agoMITA51Claude Code
wtfp:export-latexakougkas/wtf-pCommand207d agoMITA22Claude Code