/peapods:restore-private-filesfrom PeaPods
Restores private notes, references, manuscripts, and other ignored files from a companion private repository into a Peapods checkout. Useful when setting up a new machine or recovering missing project files.
Ships in PeaPods. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Restore files from PeaBrane/peapods-research into the same relative paths in the selected
Peapods checkout. Resolve that checkout with git rev-parse --show-toplevel and run commands
from its root. The helper uses Git, an authenticated GitHub CLI (gh), and the checkout's
Python 3.11+ environment; it has no third-party Python dependencies.
Use existing GitHub access. Restoring files does not grant access or authorize installing or
authenticating tools. If a prerequisite is missing, report it. If this skill was installed
outside the checkout, locate scripts/private_files.py beside this
SKILL.md and pass its absolute path to the selected checkout's Python.
.venv/bin/python skills/restore-private-files/scripts/private_files.py restore
The helper verifies access to the private repository, clones it into temporary storage,
checks every destination before copying, and removes the temporary clone on completion or
failure. It restores notes/, refs/, and untracked paper/ files. Existing identical files
are left alone. Differing local files, public tracked files, and symlinks block restoration
before any files are copied. Report conflicts without overwriting local work.
restore --dry-run previews which files would be copied; it also downloads the private
snapshot, so a separate preview repeats that download when followed by a real restore.
After restoring, read notes/AGENTS.md for the notes' own workflow. The ledger checker and
mathematical-status policy remain in notes/ledger/; this skill owns file transfer. Bulk
witnesses and datasets may be absent from a lightweight snapshot. Treat that as local
unavailability and leave those artifacts alone unless the user asks for them.
The same bundled helper retains the existing export command for preparing an updated private snapshot when requested:
.venv/bin/python skills/restore-private-files/scripts/private_files.py snapshot <empty-directory>
Use an empty destination outside the source checkout. The export keeps sources, PDFs, figures,
and small text evidence, and omits bulk computational formats, environments, caches, symlinks,
and files already tracked publicly. Other text-like files have a 1 MiB limit. The research database
notes/ledger/research.sqlite is the exception: it is always exported, copied with the SQLite
backup API, while its WAL and journal files and the page-text cache notes/ledger/pages.sqlite are
left out (rebuild that with research.py pages --rebuild). Review exclusions
when important evidence uses an unusual format; these filters classify files by format and
size, not scientific importance. Exporting does not commit or publish the snapshot.
The export also omits every path matched by notes/snapshot-exclude.txt. That file holds one
checkout-relative glob per line: ** crosses directories, * stays within one, a trailing /
drops a whole directory, and # starts a comment. Use it for material that must not persist in
the private repository, such as code already archived publicly. The file itself is exported, so
the list travels with the snapshot. snapshot.json records how many files it excluded.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
5 skills in this plugin
/analyzeAnalyze peapods Monte Carlo output correctly - check equilibration, autocorrelation and parallel-tempering health, compute disorder-averaged observables with jackknife error bars, and locate phase transitions from Binder or correlation-length crossings. Use when a user asks whether a run is equilibrated, how many sweeps or disorder samples they need, how to get error bars, or how to estimate a critical temperature from peapods results./benchmarkMeasure and compare peapods performance - time sweeps from the CLI or Rust bench examples, verify behavior-neutral changes with the state checksum, compare two commits fairly, and pick fast settings for a production run. Use when a user asks how fast peapods is, whether a change slowed it down or sped it up, which update moves or thread settings to use for throughput, or how to profile a hot path./npx claudepluginhub peabrane/peapods --plugin peapodsOther plugins' skills for the same job