backup-setup
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".
Before you install
- Last update
- Files in folder
- 1
- Scripts
- No script files found
- SKILL.md size
- 4.4 KB (about 1,137 tokens of context each time it loads)
- License
- Apache-2.0
- Source on GitHub
- thedotmack/claude-mem
Skills are plain text instructions the agent follows, sometimes with scripts. Check the source, prefer repositories with many installs and stars, and read any script it ships.
Install
npx skills add thedotmack/claude-mem@backup-setupRuns in a terminal with Node.js 18 or newer. Add -y to skip the prompts and -g to install for every project instead of this one.
Install for your agent
npx skills add thedotmack/claude-mem@backup-setup --agent claude-code -y- Project install writes to
.claude/skills/backup-setup- Global install writes to
~/.claude/skills/backup-setup
Start a new session afterwards so the agent picks the skill up. In Claude Code you can also call it directly with /backup-setup.
What it does
Backups (local snapshots) The installed worker snapshots ~/.claude-mem/claude-mem.db on a schedule (VACUUM INTO, consistent while sessions run) and keeps the newest N under ~/.claude-mem/backups/auto/. Each snapshot is one standalone SQLite file. Snapshots stay on this machine. Preserve every unrelated setting and keep ~/.claude-mem/settings.json mode 0600. Never print the file's contents: it holds credentials. Routing Based on $ARGUMENTS: - setup or empty: 1. Check status, then 2. Enable snapshots - restore: 3. Restore - status: 1. Check status only 1. Check status - Snapshot details…
Excerpt from the skill's own SKILL.md. Read the full file on GitHub before installing: skills run with your agent's permissions.
Categories
Related skills
- mem-search
thedotmack/claude-mem
Use this when the user asks to search memory, "did we already solve this?", "how did we do X last time?", or wants work from previous sessions.
- mem-search
thedotmack/claude-mem
Use this when the user asks to search memory, "did we already solve this?", "how did we do X last time?", or wants work from previous sessions.
- mem-search
thedotmack/claude-mem
This skill should be used when the user asks to "search memory", "what do you remember about X", "check claude-mem", "mem search", "find past observations", "what did we do last session", or wants prior-session context about a project, decision, file, or task. Searches the user's Claude-Mem (cmem.ai) memory.
- mem-search
thedotmack/claude-mem
Smart search (default). Search claude-mem's persistent cross-session memory database in three steps — search, timeline, then selected get_observations. Use when user asks "did we already solve this?", "how did we do X last time?", or needs work from previous sessions.
- smart-explore
thedotmack/claude-mem
Token-optimized structural code search using tree-sitter AST parsing. Use instead of reading full files when you need to understand code structure, find functions, or explore a codebase efficiently.
- make-plan
thedotmack/claude-mem
../../../plugin/skills/make-plan/SKILL.md
8.1K installs 122K