xmemo-memory

xmemo-memory is a skill for Claude Code, Codex from yonro/memory-os-cli. It costs 68 tokens per session (4,099 once invoked), scanned A, original, MIT.

A persistent memory skill for agents that stores information across sessions and projects, including restart continuity, tasks, and expenses.

In plain words
What is it for?
Use it to remember, recall, search, and preserve information, manage TODOs and expenses, or diagnose XMemo when MCP tools are unavailable.
Why use it?
It prevents useful context from being lost when a session ends and includes commands for checking the service and authentication.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions CLAUDE.md; mentions AGENTS.md; built for openclaw.

Good fit Use it to remember, recall, search, and preserve information, manage TODOs and expenses, or diagnose XMemo when MCP tools are unavailable.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yonro/memory-os-cli/xmemo
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add yonro/memory-os-cli --skill xmemo
Clone the repo
git clone --depth 1 https://github.com/yonro/memory-os-cli

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for xmemo-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/yonro/memory-os-cli/xmemo/github.svg)](https://agentmods.dev/skills/yonro/memory-os-cli/xmemo)
Your own site
<a href="https://agentmods.dev/skills/yonro/memory-os-cli/xmemo"><img src="https://agentmods.dev/badge/skills/yonro/memory-os-cli/xmemo/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for xmemo-memory

Your own site · 80×15
<a href="https://agentmods.dev/skills/yonro/memory-os-cli/xmemo"><img src="https://agentmods.dev/badge/skills/yonro/memory-os-cli/xmemo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,099 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 118
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.04099
Opus 5.5 $0.00027 $0.01640
Sonnet 5.5 $0.00014 $0.00820
Haiku 4.5 $0.00007 $0.00410

Measured 6d ago against content hash 96193a23470d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

xmemo-memory scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 20 executable files (scripts/commands/account.mjs, scripts/commands/auth-login.mjs, scripts/commands/auth-manage.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/xmemo/SKILL.md · 269 lines

How it starts

The opening of the file, as written. The whole thing — 269 lines — stays where its author put it; the contents beside it link to each section on GitHub.

XMemo Memory

Give your agent durable memory that survives across sessions, projects, and tools.

First Successful Run

After ClawHub installs this Skill, follow First-run sign-in below:

First-run sign-in (keep it short)

When no credential exists, follow this exact sequence:

  1. Ask once in the user's language using this canonical first-message template (translate when addressing the user in another language, but keep the template in English): "XMemo is your personal cloud memory — it lets AI remember your projects, preferences, and todos across sessions and tools, so you never have to repeat yourself. Using XMemo requires an account; you can create a new account or sign in to an existing one in your browser. Sign in or create an account to get started?" Show only this simple introduction and login question first, without doctor, MCP, token, commands, diagnostics, or technical setup.
  2. On yes: run node scripts/xmemo-skill.mjs login --allow-plaintext directly so output is visible while the command is waiting (for example a background task or streaming shell). As soon as the verification URL and one-time code appear, show only those plus "approve it in your browser" — nothing else. Then wait for the command to exit. A short tool timeout must not kill it before approval or expiry.
  3. When login succeeds: run node scripts/xmemo-skill.mjs auth status --verify, tell the user in one line that XMemo is connected, and continue the original task. Silently run node scripts/xmemo-skill.mjs profile --status later --if-unset with no user prompt, so the existing recall re-offer turns on.
  4. On no: do not start login or create temporary access; continue the original task without XMemo; do not ask again in the same session unless the user brings it up.
  5. Do not explain runtime selection, doctor details, secret-store setup, or other features during sign-in unless the user asks.

Diagnostics and Advanced Setup

For troubleshooting or non-interactive environments:

  • Check public service reachability: node scripts/xmemo-skill.mjs doctor --anonymous
  • For account-backed memory, prefer an XMEMO_KEY supplied by a managed secret store (see references/auth-setup.md).
  • Inspect or verify credentials: node scripts/xmemo-skill.mjs auth status --verify

Read the full file on GitHub · 269 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago Changed · +7 lines 96193a23470d
  2. 13d ago Changed b0745c0b8b1e
  3. 14d ago Changed · -6 lines 1ab0c7136c1d
  4. 16d ago Changed befcfdab3680
  5. 18d ago Changed · +6 lines 07aad30bb0a7
  6. 19d ago Changed c9609c1cc09b
  7. 20d ago Changed · -220 lines · +16 tokens per session scan C → A 399dbb0f6523
  8. 21d ago Changed · +37 lines ee87dc7d071a
  9. 22d ago Changed · +9 tokens per session scan A → C a76bfc7b537e
  10. 23d ago First seen · 445 lines · 43 tokens per session scan A e49f0d6044c5

Subscribe to this mod's changes

xmemo-memory is a skill published in the GitHub repository yonro/memory-os-cli (12 stars, last pushed today), licensed MIT. It adds 68 tokens to every session and 4,099 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

perenna-memory

Use Perenna when a non-trivial task may depend on prior decisions or preferences, when durable knowledge should survive the session, or when the user asks to remember, forget, or consolidate memories. Skip self-contained tasks and facts already authoritative in the current workspace.

scarletkc/Perenna · 57 tokens

membrain

Shared long-term memory over MCP. Call memorycontext once at the start of any session/task to load what is already known; use searchmemory before answering questions about the user or their projects; save durable facts, preferences, and decisions with savememory / savememories. All agents and the user share the same…

SIDDHU123M/membrain-mcp · 67 tokens

stickies

Capture and recall persistent sticky notes — decisions, blockers, todos, preferences, and context — that survive across Claude sessions, kept in a local SQLite store (no account, no API key). Use this skill whenever the user wants to remember something for later, jot a note, park a todo or follow-up, record a decision…

dumbspacecookie/stickies · 162 tokens

lesson

Store a lesson learned from the current conversation. Triggered by /lesson command. Use when Master signals that the recent conversation contains a pitfall, fix, or key insight that should be persisted to long-term memory.

cablate/memory-lancedb-mcp · 45 tokens

recall

Recall this repository's OwnMem local memory before changing code, and keep it healthy. Use when a repository contains .ownmem/, when past debugging lessons could apply ("have we hit this before", "why is it done this way"), or when the user mentions ownmem, project memory, or recalling across sessions.

grpcer/ownmem · 66 tokens

Effective Memory

The essential habits for an AI agent with memory — session bookends, learning triggers, verification, safety, and the operational discipline that turns raw recall into compounding intelligence. Keyword-matched after installation.

plur-ai/plur · 43 tokens