Tooluck logoTooluck
SKILL.md

backup-setup

Agent skill fromthedotmack/claude-mem

Set up, check, or restore local claude-mem database snapshots. Use when the user says "set up backups", "back up my memories", "backup status", or "restore my database".

How to install backup-setup

install backup-setup
# install the claude-mem pack with the skills CLI
npx skills add thedotmack/claude-mem

# or add only this skill to Claude Code: copy the folder

plugin/skills/backup-setup/

# into

~/.claude/skills/backup-setup/ (all projects)

.claude/skills/backup-setup/ (one project)

plugin/skills/backup-setup/SKILL.md

Apache-2.0Full file
1# Backups (local snapshots)
2
3The installed worker snapshots `~/.claude-mem/claude-mem.db` on a schedule
4(`VACUUM INTO`, consistent while sessions run) and keeps the newest N under
5`~/.claude-mem/backups/auto/`. Each snapshot is one standalone SQLite file.
6Snapshots stay on this machine.
7
8Preserve every unrelated setting and keep `~/.claude-mem/settings.json` mode
9`0600`. Never print the file's contents: it holds credentials.
10
11## Routing
12
13Based on `$ARGUMENTS`:
14- `setup` or empty: **1. Check status**, then **2. Enable snapshots**
15- `restore`: **3. Restore**
16- `status`: **1. Check status** only
17
18## 1. Check status
19
20```bash
21npx claude-mem backup status
22```
23
24- Snapshot details printed: backups run. Report the last snapshot time, the
25 snapshot count and any last error; stop unless the user asked for a change
26 or a restore.
27- "Automatic backups are not enabled": continue to step 2 if setting up.
28- A "Last restore" line reports the outcome of the most recent restore.
29- "Worker is not running": start it with `npx claude-mem start` and retry.
30- "Unknown command: backup" or "Backup status failed: HTTP 404": this
31 claude-mem (CLI or running worker) has no backup support yet, so the
32 worker would ignore the backup settings.
33 Stop. Tell the user that backups are not available in their installed
34 version and that `npx claude-mem update` brings them once a release
35 includes them. Do not write the settings in step 2, and never say backups
36 are on.
37…

Excerpt shown under the repository's Apache-2.0 license.

More skills in claude-mem

Keep exploring

Similar skill repositories

pbakaus /

impeccable
108k

The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.

2 skills

nexu-io /

open-design
107k

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.

40 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates