This skill helps you securely back up, restore, and locally search memory files with privacy and fast vector-based recall.
npx playbooks add skill atxp-dev/cli --skill atxp-memory
Manage your agent's .md memory files: back up and restore to/from ATXP cloud servers, and search your local memories using zvec vector similarity search.
| Capability | Description |
|------------|-------------|
| Cloud Backup | Push/pull .md files to ATXP servers for disaster recovery |
| Local Search | Index .md files into a local zvec vector database, then search by natural language query |
| Status | View cloud backup info and local index statistics |
.md files are collected and transmitted (push/pull). No credentials, JSON configs, binaries, or other file types are ever sent.push replaces the server snapshot entirely (latest snapshot only, no history).pull is non-destructive — it writes server files to the local directory but does not delete local files absent from the server..atxp-memory-index/ subdirectory inside --path. It never leaves the local machine.--path directory (push/index), writes to --path directory (pull) and --path/.atxp-memory-index/ (index). No other directories are touched.| Situation | Command |
|-----------|---------|
| After meaningful changes to SOUL.md, MEMORY.md, or at end of session | push |
| Bootstrapping a fresh workspace or recovering from environment loss | pull |
| After updating memory files and before starting a task that requires recall | index |
| Looking for relevant context in past memories | search |
| Verify backup exists before risky operations | status |
| Command | Description |
|---------|-------------|
| npx atxp@latest memory push --path <dir> | Recursively collect all *.md files from <dir> and upload to server |
| npx atxp@latest memory pull --path <dir> | Download backup from server and write files to <dir> |
| npx atxp@latest memory index --path <dir> | Chunk .md files by heading and build a local zvec search index |
| npx atxp@latest memory search <query> --path <dir> | Search indexed memories by similarity |
| npx atxp@latest memory status [--path <dir>] | Show cloud backup info and/or local index stats |
| Option | Required | Description |
|--------|----------|-------------|
| --path <dir> | Yes (push/pull/index/search) | Directory to operate on |
| --topk <n> | No (search only) | Number of results to return (default: 10) |
memory index):.md files recursively from --path<path>/.atxp-memory-index/memory search):The search is purely local — no network requests, no API keys, no cost. Re-index after modifying memory files.
Typical OpenClaw workspace paths:
~/.openclaw/workspace-<id>/
~/.openclaw/workspace-<id>/SOUL.md
~/.openclaw/workspace-<id>/MEMORY.md
~/.openclaw/workspace-<id>/memory/
~/.openclaw/workspace-<id>/AGENTS.md
~/.openclaw/workspace-<id>/USER.md
The backup command is still accepted as an alias for memory:
npx atxp@latest backup push --path <dir> # works, same as memory push
npx atxp@latest backup pull --path <dir> # works, same as memory pull
npx atxp@latest backup status # works, same as memory status
.md files only — all other file types are ignored during push/index and not present in pull.npx atxp@latest login or npx atxp@latest agent register first.--path is required — there is no auto-detection of workspace location.npm install @zvec/zvec before using index/search.Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.