AGENT SKILL

mm:backup

Backs up the production memory database

使用场景后端与接口
License 许可
MIT
最近更新
2026-11-10
Stars
★ 21
Forks
12

01 前言 Front Matter

name
mm:backup
description
Backs up the production memory database
user-invocable
true

03 SKILL.md 正文

Memory Database Backup

Runs a backup of the configured production database.

mirror backup

This command:

  • Archives a consistent snapshot of the database, one memory.db in WAL mode, readable only by its owner
  • Removes backups older than 30 days
  • Also runs automatically at session end through the SessionEnd hook

The backup succeeded only when the command exits 0 and prints a Backup created: line. Then tell the user: "Memory database backed up." and show that line.

If the command exits non-zero, or prints a line starting with backup: no archive was written:, the backup failed. Tell the user so, quote that line, and never say the database was backed up.

04 同仓库更多 Skills