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.

Install it, pinned
mdr add thedotmack/claude-mem/backup-setup@git:20261028.8e91e3a

Pins 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

The exact contents, by fingerprint
mdr add thedotmack/claude-mem/backup-setup@sha256:f91a65d592ae32ad

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_jbpmgqcsg7k7k5vg.svg)](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.

versioncommittedcommitsizeaudit
git:20261028.8e91e3a latest2026-10-28 8e91e3a 4,548 BA view · diff
git:20261026.7325fb72026-10-26 7325fb7 3,621 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from thedotmack/claude-mem

CLAUDE.md@.claude CLAUDE.md file
thedotmack/claude-mem · .claude/CLAUDE.md
git:20261101.f8bdd1a · audit A · 113,797 stars
Agent Cost Report SKILL.md skill
thedotmack/claude-mem · claude-mem-cursor/skills/agent-cost-report/SKILL.md · Believable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from…
git:20261005.57744a0 · audit A · 113,797 stars
claude-mem-install SKILL.md skill
thedotmack/claude-mem · claude-mem-cursor/skills/install/SKILL.md · Use this when setting up claude-mem on Cursor: local or remote worker, local host-login observer or remote cmem.ai…
git:20260902.1c7aaff · audit A · 113,797 stars
mem-search SKILL.md skill
thedotmack/claude-mem · claude-mem-cursor/skills/mem-search/SKILL.md · Use this when the user asks to search memory, "did we already solve this?", "how did we do X last time?", or wants work…
git:20260907.fd0ecf0 · audit A · 113,797 stars
Agent Cost Report SKILL.md skill
thedotmack/claude-mem · claude-mem-grok-bot/skills/agent-cost-report/SKILL.md · Believable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from…
git:20261005.57744a0 · audit A · 113,797 stars
host-observer SKILL.md skill
thedotmack/claude-mem · claude-mem-grok-bot/skills/host-observer/SKILL.md · Use this when fulfilling claude-mem observer jobs on Grok Bot: reply only skip_summary or one full observation XML…
git:20260902.1c7aaff · audit A · 113,797 stars
claude-mem-install SKILL.md skill
thedotmack/claude-mem · claude-mem-grok-bot/skills/install/SKILL.md · Use this when setting up claude-mem on Grok Bot: local worker plus CMEM Pro observer (default), optional host-login…
git:20260916.96f04a9 · audit A · 113,797 stars
mem-search SKILL.md skill
thedotmack/claude-mem · claude-mem-grok-bot/skills/mem-search/SKILL.md · Use this when the user asks to search memory, "did we already solve this?", "how did we do X last time?", or wants work…
git:20260916.96f04a9 · audit A · 113,797 stars
Agent Cost Report SKILL.md skill
thedotmack/claude-mem · cowork/skills/agent-cost-report/SKILL.md · Believable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from…
git:20261005.57744a0 · audit A · 113,797 stars
mem-search SKILL.md skill
thedotmack/claude-mem · cowork/skills/mem-search/SKILL.md · This skill should be used when the user asks to "search memory", "what do you remember about X", "check claude-mem"…
v0.1.0 · audit A · 113,797 stars
mem-setup SKILL.md skill
thedotmack/claude-mem · cowork/skills/mem-setup/SKILL.md · This skill should be used when the user asks to "set up claude-mem", "pair claude-mem", "connect cmem", "add my cmem…
v0.1.0 · audit A · 113,797 stars
openclaw SKILL.md skill
thedotmack/claude-mem · openclaw/SKILL.md
git:20261005.5dcf449 · audit C · 113,797 stars

Every file in thedotmack/claude-mem

Browse by kind, by grade A, or by owner.