atxp-memory
Agent memory management — cloud backup, restore, and local vector search of .md memory files
What this skill does
# ATXP Memory — Agent Memory Management 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. ## Capabilities | 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 | ## Security Model - **Only `.md` files** are collected and transmitted (push/pull). No credentials, JSON configs, binaries, or other file types are ever sent. - Files are sent to ATXP servers over **HTTPS**, associated with the authenticated agent's identity. - `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. - **Local search index** is stored in a `.atxp-memory-index/` subdirectory inside `--path`. It never leaves the local machine. - **index** and **search** do not require authentication or network access. - **Filesystem access**: reads from `--path` directory (push/index), writes to `--path` directory (pull) and `--path/.atxp-memory-index/` (index). No other directories are touched. - **No modification** of OpenClaw config or auth files. ## When to Use | 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` | ## Commands Reference | 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 | ### Options | 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) | ## How Local Search Works 1. **Indexing** (`memory index`): - Scans all `.md` files recursively from `--path` - Splits each file into chunks at heading boundaries (h1/h2/h3) - Converts each chunk into a 256-dimensional feature vector using locality-sensitive hashing (unigrams + bigrams) - Stores vectors and metadata in a local zvec database (HNSW index) at `<path>/.atxp-memory-index/` 2. **Searching** (`memory search`): - Converts the query text into the same vector representation - Performs approximate nearest neighbor search via zvec's HNSW index - Returns the top-k most similar chunks with file paths, headings, line numbers, and similarity scores The search is purely local — no network requests, no API keys, no cost. Re-index after modifying memory files. ## Path Conventions 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 ``` ## Backward Compatibility The `backup` command is still accepted as an alias for `memory`: ```bash 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 ``` ## Limitations - **`.md` files only** — all other file types are ignored during push/index and not present in pull. - **Latest snapshot only** — each push overwrites the previous backup. There is no version history. - **Requires ATXP auth for cloud operations** — run `npx atxp@latest login` or `npx atxp@latest agent register` first. - **`--path` is required** — there is no auto-detection of workspace location. - **Local search requires @zvec/zvec** — install with `npm install @zvec/zvec` before using index/search. - **Feature-hash embeddings** — local search uses statistical text hashing, not neural embeddings. It works well for keyword and phrase matching but is not a full semantic search. For best results, use specific terms from your memory files.
Related in Cloud & DevOps
appbuilder-action-scaffolder
IncludedCreate, implement, deploy, and debug Adobe Runtime actions with consistent layout, validation, and error handling. Use this skill whenever the user needs to add actions to an App Builder project, understand action structure (params, response format, web/raw actions), configure actions in the manifest, use App Builder SDKs (State, Files, Events, database), deploy and invoke actions via CLI, debug action issues, or implement patterns such as webhook receivers, custom event providers, journaling consumers, large payload redirects, action sequence pipelines, and Asset Compute workers. Also trigger when users mention serverless functions in Adobe context, action logging, IMS authentication for actions, or cron-style scheduled actions.
orchestrating-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. Use this skill when the user needs a multi-step Data Cloud pipeline, cross-phase troubleshooting, or data space and data kit management. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase sf data360 workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching phase-specific skill), the task is STDM/session tracing/parquet telemetry (use observing-agentforce), standard CRM SOQL (use querying-soql), or Apex implementation (use generating-apex).
github-project-automation
IncludedAutomate GitHub repository setup with CI/CD workflows, issue templates, Dependabot, and CodeQL security scanning. Includes 12 production-tested workflows and prevents 18 errors: YAML syntax, action pinning, and configuration. Use when: setting up GitHub Actions CI/CD, creating issue/PR templates, enabling Dependabot or CodeQL scanning, deploying to Cloudflare Workers, implementing matrix testing, or troubleshooting YAML indentation, action version pinning, secrets syntax, runner versions, or CodeQL configuration. Keywords: github actions, github workflow, ci/cd, issue templates, pull request templates, dependabot, codeql, security scanning, yaml syntax, github automation, repository setup, workflow templates, github actions matrix, secrets management, branch protection, codeowners, github projects, continuous integration, continuous deployment, workflow syntax error, action version pinning, runner version, github context, yaml indentation error
sf-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase `sf data360` workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching sf-datacloud-* skill), the task is STDM/session tracing/parquet telemetry (use sf-ai-agentforce-observability), standard CRM SOQL (use sf-soql), or Apex implementation (use sf-apex).
fabric-cli
IncludedUse this skill for Fabric.so CLI workflows with the `fabric` terminal command: diagnose/install/login, search or browse a Fabric library, save notes/links/files, create folders, ask the Fabric AI assistant, manage tasks/workspaces, generate shell completion, check subscription usage, produce JSON output, and use Fabric as persistent agent memory. Do not use for Microsoft Fabric/Azure/Power BI `fab`, Daniel Miessler's Fabric framework, Python Fabric SSH, Fabric.js, or textile/fashion fabric.
lark
IncludedLark/Feishu CLI skills: lark-cli operations for docs, markdown, sheets, base, calendar, im, mail, task, okr, drive, wiki, slides, whiteboard, apps, approval, attendance, contact, vc, minutes, event. Use when the user needs to operate Lark/Feishu resources via lark-cli, send messages, manage documents, spreadsheets, calendars, tasks, OKRs, deploy web pages, or any Feishu/Lark workspace operations.