PaperSpine Update
Use this skill when the user asks to update PaperSpine, check whether
PaperSpine is the latest version, reinstall the local suite from GitHub, or
upgrade the locally installed PaperSpine skill copies while preserving settings.
Repository Adaptation Notice
The academic-toolkit/skills/spine-* copies in this repository are a deeply
adapted fork of the upstream PaperSpine suite (skill renaming, R1 dead-path
remediation, guard enhancements; provenance in ASSET-GAP.md). Updating a
host-installed PaperSpine copy from GitHub main can overwrite those
adaptations on the host side; port any upstream changes back into this
repository by hand instead of letting the updater rewrite repo files.
Inside this repository, do NOT run the updater with --yes against the
repo's own skill files. Prefer --check-only to inspect drift, and let a
human decide before any in-repo update.
Required Behavior
Run the bundled updater using the full path to the installed skill:
Windows:
$script = Join-Path (git rev-parse --show-toplevel) "academic-toolkit\skills\spine-update\scripts\paperspine_update.py"
python $script --yes
macOS / Linux:
python3 <repo>/academic-toolkit/skills/spine-update/scripts/paperspine_update.py --yes
For a version check only, use --check-only instead of --yes.
The updater must:
- read the local install state from
~/.paperspine/install_state.jsonwhen
present,
- fall back to this skill's bundled
paperspine_version.jsonwhen install
state is missing,
- compare against the GitHub
mainmanifest at
dist/paperspine_version.json,
- update all installed skill copies by default (the concrete target list is
defined by the bundled updater),
- preserve
~/.paperspine/config.json, including UI language preferences, - never touch project artifacts such as
paper_rewriting_output/, - print a clear already-latest message when no update is needed,
- after installing or updating, remove any stale
skillOverridesentries for
PaperSpine skills (the sync script does this automatically).
Advanced Usage
- Use
--target <name>only when the user explicitly asks to update one
target; allowed values follow the script's --help / argparse choices.
- Use
--repo-archive <path-or-url>for local testing or offline update from a
downloaded PaperSpine archive.
- Use
--config-home <path>only for tests or when the user has explicitly
configured a non-default PaperSpine global config directory.
If network access fails, report the updater error and suggest running the
installer manually from a freshly downloaded repository. Do not delete local
skills after a failed download or failed package validation.