Agent skill

Memoria Recovery

by matrixorigin in matrixorigin/memoria

Recover from accidental memory loss with snapshots and rollback.

Apache-2.0Auto-check passedDevOps & Cloud

Install Memoria Recovery

skills CLI
$ npx skills add matrixorigin/memoria --skill memoria-recovery -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install matrixorigin/memoria memoria-recovery --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/matrixorigin/memoria.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/openclaw/skills/memoria-recovery .claude/skills/memoria-recovery && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
memoria-recovery
GitHub stars
610
Token cost
~264 tokens
SKILL.md length
113 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
Apache-2.0

At a glance

Recover from accidental memory loss with snapshots and rollback.

  • Works in 2 steps: If you are about to bulk-delete, purge,… → Tell the user a checkpoint exists and…
  • DevOps & Cloud work in your project
  • SKILL.md covers Before risky changes, After accidental deletion or… and Rules
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Memoria Recovery is an agent skill from matrixorigin/memoria. Recover from accidental memory loss with snapshots and rollback. Triggers: "restore memory", "rollback memory", "undo deleted memory", "recover deleted memory", "take a memory snapshot".

Its SKILL.md is about 260 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud. The repository describes itself as: Secure memory management for AI Agents • Ensures data integrity • Reduces hallucinations • Maintains consistent long-term context. The licence is Apache-2.0.

When your agent uses it

  • DevOps & Cloud work in your project

Example prompts

  • “restore memory”
  • “rollback memory”
  • “undo deleted memory”
  • “/memoria-recovery”

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. If you are about to bulk-delete, purge, or rewrite memory, create a snapshot first with memory_snapshot.
  2. Tell the user a checkpoint exists and can be restored.

What it can do on your machine

Read from SKILL.md and the folder at commit b7600c9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Memoria Recovery loads about 264 tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 113 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~51
When it runs · the whole SKILL.md, loaded when a task matches
~264

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from matrixorigin/memoria at commit b7600c9, republished under its Apache-2.0 licence (© matrixorigin). 113 words, ~264 tokens.

Download SKILL.mdSave it as .claude/skills/memoria-recovery/SKILL.md (or your agent's skills folder).
name
memoria-recovery
description
Recover from accidental memory loss with snapshots and rollback. Triggers: "restore memory", "rollback memory", "undo deleted memory", "recover deleted memory", "take a memory snapshot".

Memoria Recovery

Use Memoria snapshot tools when memory state needs a checkpoint or a rollback.

Before risky changes

  1. If you are about to bulk-delete, purge, or rewrite memory, create a snapshot first with memory_snapshot.
  2. Tell the user a checkpoint exists and can be restored.

After accidental deletion or corruption

  1. Inspect available recovery points with memory_snapshots.
  2. Choose the most recent good snapshot.
  3. Restore with memory_rollback.
  4. Verify recovery with memory_recall, memory_list, or memory_stats.

Rules

  • Prefer rollback over manually re-creating many deleted memories.
  • If the user wants a selective logical fix rather than full restore, use memory_correct or memory_forget instead.
  • After rollback, state what was restored and what you verified.

© matrixorigin, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/openclaw/skills/memoria-recovery of matrixorigin/memoria.

Open the folder on GitHubat commit b7600c9

Compare with similar skills

Memoria Recovery next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Memoria Recovery compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Memoria Recovery this skillmatrixorigin/memoria610—~264Automated safety check: PassApache-2.0
Monitor CInrwl/nx29k6 repos~4.7kAutomated safety check: PassMIT
Terraform and OpenTofu Guideagentscope-ai/QwenPaw36k6 repos~4.2kAutomated safety check: PassApache-2.0
Vercel Optimize Auditvercel-labs/agent-skills32k8 repos~4.3kAutomated safety check: PassNone
Analyze GitHub Action Logswithastro/astro63k1 repos~1.3kAutomated safety check: PassCustom licence
Openclaw Live Updateropenclaw/openclaw392k—~3.7kAutomated safety check: PassMIT

Similar skills

  • Monitor CI

    nrwl/nx

    Monitor Nx Cloud CI pipeline and handle self-healing fixes. An agent skill from nrwl/nx.

    29k GitHub starsUsed in 6 repos~4.7k tokens
    DevOps & CloudAuto-check passed
  • Terraform and OpenTofu Guide

    agentscope-ai/QwenPaw

    Guidance for writing and testing Terraform and OpenTofu code: module structure, naming, test approaches, CI/CD workflows, state handling and security scanning.

    36k GitHub starsUsed in 6 repos~4.2k tokens
    DevOps & CloudAuto-check passed
  • Vercel Optimize Audit

    vercel-labs/agent-skills

    Official

    Runs a metrics-first audit of a deployed Vercel project, gating investigations on real signals to produce ranked, citation-backed cost and performance recommendations.

    32k GitHub starsUsed in 8 repos~4.3k tokens
    DevOps & CloudAuto-check passed
  • Official

    Analyze recent GitHub Actions workflow runs to identify patterns, mistakes, and improvements.

    63k GitHub starsUsed in 1 repo~1.3k tokens
    DevOps & CloudAuto-check passed
  • Openclaw Live Updater

    openclaw/openclaw

    Maintain the canonical live OpenClaw main checkout, macOS LaunchAgent-managed Gateway, local macOS app, exact-head main CI, and recurring full release validation.

    392k GitHub stars~3.7k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Docs Learn PR Preview

    netdata/netdata

    Use only when the user explicitly asks to build, run, preview, inspect, or validate learn.netdata.cloud locally using the contents of a PR or documentation branch before merge.

    81k GitHub stars~2k tokensUpdated today
    DevOps & CloudAuto-check passed

More from matrixorigin/memoria

All 9 skills in this repo
  • Thememoria

    matrixorigin/memoria

    Use Memoria as OpenClaw's durable memory slot. An agent skill from matrixorigin/memoria.

    610 GitHub stars~728 tokensUpdated today
    Auto-check passed
  • API Reference

    matrixorigin/memoria

    Memoria REST API endpoints, request/response formats, auth, rate limits.

    610 GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Architecture

    matrixorigin/memoria

    Memoria codebase structure, workspace layout, key traits, database tables, config patterns, and testing conventions.

    610 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Deployment

    matrixorigin/memoria

    Deploy Memoria with Docker Compose or Kubernetes. An agent skill from matrixorigin/memoria.

    610 GitHub stars~1.6k tokensUpdated today
    Auto-check: notes
  • Local Embedding

    matrixorigin/memoria

    Run embedding on-device with ONNX Runtime. An agent skill from matrixorigin/memoria.

    610 GitHub stars~444 tokensUpdated today
    Auto-check: notes
  • Plugin Development

    matrixorigin/memoria

    Create, test, sign, and publish Memoria governance plugins. An agent skill from matrixorigin/memoria.

    610 GitHub stars~1k tokensUpdated today
    Auto-check passed

Categories

Questions about Memoria Recovery

What does Memoria Recovery do?

Recover from accidental memory loss with snapshots and rollback. Memoria Recovery is an agent skill from matrixorigin/memoria. Recover from accidental memory loss with snapshots and rollback.

When should I use Memoria Recovery?

Memoria Recovery fits situations like: devOps & Cloud work in your project.

How do I install Memoria Recovery in Claude Code?

Run `npx skills add matrixorigin/memoria --skill memoria-recovery -a claude-code`. Or copy the skill folder (plugins/openclaw/skills/memoria-recovery in matrixorigin/memoria) into .claude/skills/memoria-recovery in your project. Claude Code loads it when a task matches its description.

How do I install Memoria Recovery in Codex?

Run `npx skills add matrixorigin/memoria --skill memoria-recovery -a codex`. Or copy the skill folder (plugins/openclaw/skills/memoria-recovery in matrixorigin/memoria) into .agents/skills/memoria-recovery in your project. Codex loads it when a task matches its description.

Can I use Memoria Recovery in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add matrixorigin/memoria --skill memoria-recovery -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/memoria-recovery, .gemini/skills/memoria-recovery, .github/skills/memoria-recovery and .opencode/skills/memoria-recovery in your project.

What does Memoria Recovery need to run?

SKILL.md names no scripts, command-line tools or credentials: Memoria Recovery is instructions for the agent only.

Does Memoria Recovery access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Memoria Recovery safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Memoria Recovery use?

Memoria Recovery is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Memoria Recovery use?

About 264 tokens (SKILL.md is roughly 1.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Memoria Recovery?

Skills that share tags, products or a category with Memoria Recovery: Monitor CI (nrwl/nx, 29k stars), Terraform and OpenTofu Guide (agentscope-ai/QwenPaw, 36k stars), Vercel Optimize Audit (vercel-labs/agent-skills, 32k stars) and Analyze GitHub Action Logs (withastro/astro, 63k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Memoria Recovery?

matrixorigin (a GitHub organization) maintains it in matrixorigin/memoria, which has 610 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 10, 2026.

Source: matrixorigin/memoria on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.