/tomstack-skills:backupfrom tomstack-skills
Manage Claude Code backups — sync config and sessions, list/restore sessions, check status. Use when the user asks about backups, restoring sessions, or migrating their Claude environment.
Ships in tomstack-skills. 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.
You operate the claude-backup CLI on behalf of the user.
Always pass --json to get structured output. Never parse human-readable output.
Resolve it in order:
claude-backup when available on PATH.bash ~/.claude/plugins/marketplaces/claude-backup/cli.sh when that legacy standalone-plugin path exists.npx --yes claude-backup when no installed command is available.On first invocation, probe without mutating backup state, then store the working command and reuse it for the rest of the session.
All examples below use $CLI as placeholder. Replace with the resolved path.
| Intent | Command |
|---|---|
| Initialize backup | $CLI init --json |
| Initialize (local only) | $CLI init --local --json |
| Initialize with backend | $CLI init --backend <github|git|local> --json |
| Run a backup | $CLI sync --json |
| Backup config only | $CLI sync --config-only --json |
| Backup sessions only | $CLI sync --sessions-only --json |
| Check backup status | $CLI status --json |
| List all sessions | $CLI restore --list --json |
| List recent N sessions | $CLI restore --last N --json |
| Find sessions by project | $CLI restore --project NAME --json |
| Find sessions by date | $CLI restore --date YYYY-MM-DD --json |
| Preview a session | $CLI peek UUID --json |
| Restore a session | $CLI restore UUID --json |
| Restore (overwrite) | $CLI restore UUID --force --json |
| Export config tarball | $CLI export-config --json |
| Import config tarball | $CLI import-config FILE --json |
| Switch backend mode | $CLI backend set <github|git|local> --json |
| Switch to custom remote | $CLI backend set git --remote URL --json |
| Set backup schedule | $CLI schedule <off|daily|6h|hourly> --json |
| Restore all sessions | $CLI restore --all --json |
| Restore all (overwrite) | $CLI restore --all --force --json |
| Restore from machine | $CLI restore --all --machine SLUG --json |
| Uninstall scheduler | $CLI uninstall |
{"ok": true, …} with exit code 0{"error": "message"} on stderr with exit code 1status response includes "mode": "github", "mode": "git", or "mode": "local", plus "machine", "machineSlug", and "schedule" fields--backend <mode> during init to set backend (github, git, local). --local is kept as alias for --backend localUse peek --json before restoring to confirm the right session. Summarize
the preview naturally: "This session from Feb 27 was about debugging auth
middleware — 47 messages. Want me to restore it?"
export-configrestore --list, then peek to confirmstatus) -> gentle nudgeWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub tombelieber/tomstack --plugin tomstack-skills11 skills in this plugin
/auto-pilotGuide explicit PR or ship requests; PR stops before merge, ship qualifies and verifies production./batch-grill-meInterview unresolved product or architecture decisions in dependency-ordered question batches./chatgpt-share-dumpDump ChatGPT shared conversations from https://chatgpt.com/share/... into agent-readable archives. Use when a user gives an AI agent a ChatGPT share link and asks it to continue, analyze, test, migrate, summarize, implement from, or preserve the full transcript as Markdown, JSON turns, current-state handoff context, and strict media manifests./claude-clean-rebornUse when a user wants guided local Claude Desktop, Claude Code, or browser cleanup before a legitimate fresh sign-in, especially across Chrome profiles or with persistent Claude extension cookies./cleanupScan and kill orphan dev processes (storybook, esbuild, vite, next, etc.) left behind by AI agent sessions. Use when the user mentions slow machine, hot CPU, orphan processes, or asks to clean up dev processes.
/first-principles-xy-problemsFrame ambiguous product, strategy or architecture problems before choosing a solution; design-only.