backup-setup SKILL.md skillA
backup-setup from thedotmack/claude-mem is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add thedotmack/claude-mem/backup-setup@git:20261028.8e91e3aPins git:20261028.8e91e3a in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- thedotmack/claude-mem
- Path
plugin/skills/backup-setup/SKILL.md- Versions recorded
- 2
- Latest version
- git:20261028.8e91e3a, committed Oct 28, 2026
- First version recorded
- Oct 26, 2026
- Size
- 4,548 bytes
- Repository stars
- 113,797
- License
- Apache-2.0
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".
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 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 ```bash npx claude-mem backup status ``` - Snapshot details printed: backups run. Report the last snapshot time, the snapshot count and any last error; stop unless the user asked for a change or a restore. - "Automatic backups are not enabled": continue to step 2 if setting up. - A "Last restore" line reports the outcome of the most recent restore. - "Worker is not running": start it with `npx claude-mem start` and retry. - "Unknown command: backup" or "Backup status failed: HTTP 404": this claude-mem (CLI or running worker) has no backup support yet, so the …
Read the whole file at its exact version.
How to install
mdr add thedotmack/claude-mem/backup-setup@sha256:f91a65d592ae32adThe line at the top of this page pins the label git:20261028.8e91e3a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_jbpmgqcsg7k7k5vg)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Oct 26, 2026 and Oct 28, 2026, about one every 2 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261028.8e91e3a latest | 2026-10-28 | 8e91e3a | 4,548 B | A | view · diff |
| git:20261026.7325fb7 | 2026-10-26 | 7325fb7 | 3,621 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4548 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
thedotmack/claude-mem · 113,797 stars · license Apache-2.0 · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_jbpmgqcsg7k7k5vg GET https://markdownregistry.com/api/v1/resolve?ref=thedotmack/claude-mem/backup-setup GET https://markdownregistry.com/api/v1/blob/f91a65d592ae32ad765c2d617a859ac60e08c4dcdcc7db6b8c060f27d9c79a0c
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.