cpersona-memory

cpersona-memory is a skill for Claude Code, Codex from Cloto-dev/CPersona. It costs 139 tokens per session (6,111 once invoked), scanned A, original, MIT.

A skill for using CPersona, an MCP memory server that stores and searches information in a local SQLite database across sessions.

In plain words
What is it for?
Installing or configuring CPersona and storing or retrieving persistent memories when connected to Claude Desktop, Claude Code, or another MCP host.
Why use it?
It helps an agent recall decisions, rules, and other saved context instead of starting each conversation without that memory.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/cloto-dev/cpersona/cpersona-memory
Any agent
npx skills add Cloto-dev/CPersona --skill cpersona-memory
Clone the repo
git clone --depth 1 https://github.com/Cloto-dev/CPersona

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 cpersona-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/cloto-dev/cpersona/cpersona-memory.svg)](https://agentmods.dev/skills/cloto-dev/cpersona/cpersona-memory)
Your own site
<a href="https://agentmods.dev/skills/cloto-dev/cpersona/cpersona-memory"><img src="https://agentmods.dev/badge/skills/cloto-dev/cpersona/cpersona-memory.svg" alt="Measured on agentmods" height="20"></a>
Per session 139 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,111 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00139 $0.06111
Opus 5 $0.00069 $0.03055
Sonnet 5 $0.00028 $0.01222
Haiku 4.5 $0.00014 $0.00611

Measured today against content hash 45510d83862b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

cpersona-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 today.

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/cpersona-memory/SKILL.md · 451 lines

How it starts

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

CPersona — persistent memory for Claude

CPersona is an MCP server that gives Claude persistent memory across sessions. It stores memories in a single local SQLite file and retrieves them with a 3-layer hybrid search (vector + FTS5 + keyword, merged by Reciprocal Rank Fusion). It has zero LLM dependency — the server never calls a model, so memory adds no generative API cost and stays out of your token budget; the calling agent (you) does all summarization. (Embedding is separate: EMBEDDING_MODE=api bills per store and per recall against CPERSONA_EMBEDDING_API_URL. The local http mode and none cost nothing.)

This skill has two jobs: (1) help the user install and configure CPersona, and (2) use it correctly once it is connected.


When to use this skill

Activate this skill when any of the following is true:

  • The user asks Claude to remember something across sessions, or complains that Claude forgets context between conversations.
  • The user asks to install / set up / configure CPersona or "a memory server".
  • CPersona MCP tools (store, recall, archive_episode, …) are connected and the current turn contains a decision, a standing rule/preference, a bug finding, or a session boundary (start/end).
  • A recall response carries an advisory field, a store response comes back embedded: false, or the user reports that memory search has got worse.

If CPersona tools are not connected and the user wants memory, go to Setup. If they are connected, go to Usage — or to When recall is degraded if a signal in the last bullet is what brought you here.


Setup

CPersona is a Python MCP server. Installing it has two parts: the memory server and a strongly recommended embedding server (it powers the vector-search layer). Running without an embedding backend is supported as a fallback — CPersona then serves FTS5 + keyword only — but it is not recommended for normal operation.

Read the full file on GitHub · 451 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today Changed · +61 lines · +24 tokens per session 45510d83862b
  2. 5d ago First seen · 390 lines · 115 tokens per session scan A 770e380f6eab

Subscribe to this mod's changes

cpersona-memory is a skill published in the GitHub repository Cloto-dev/CPersona (6 stars, last pushed today), licensed MIT. It adds 139 tokens to every session and 6,111 once invoked, about $0.0007 per session on Opus 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-31.

Related

Other skills, from other repositories

using-cortex-memory

Use when connected to a Cortex memory MCP server (tools named memorize, recall, recallabout, recalltimeline, listmemories, forget) — at session start, before asking the user for facts they may have shared before, after learning durable facts/preferences/decisions, when the user says "remember/recall/forget", or when…

fernsdavid25/cortex-protocol · 82 tokens

mnema

Use the Mnema MCP server to give the AI long-term, searchable memory. Use it whenever the user shares durable facts, preferences, decisions, or context worth recalling in future sessions. Mnema stores memories in a vector database and recalls them with semantic + hybrid search, with decay scoring and summarization so…

mienetic/mnema · 130 tokens

graphmind-memory

Работа с постоянной памятью GraphMind по MCP. Восстановить контекст проекта в начале работы (bootstrapmemory), сохранять шаги и решения по ходу (recordaction, proposenewmemory), консолидировать и сохранить в конце (flushsessionmemory). Использовать, когда нужна память между сессиями, семантический поиск по…

kostya-pakhomov/graphmind · 93 tokens

pensieve

The user's personal Pensieve memory — a persistent, self-organising knowledge base that survives across sessions. Use whenever the user mentions "pensieve", asks about "my streams" / "my memory" / "what have I saved", says "add this to pensieve" / "remember this" / "save this", asks "what do I know about ", or wants…

praveen-ilangovan/pensieve · 99 tokens

session-handoff

Preserves context across sessions and IDE switches. Activates for "save session", "handoff", "continue later", "switching IDE", "save context", "what did we do", "summarize session", "end session".

abdullah1854/MCPGateway · 53 tokens

pensieve

Use the user's persistent Pensieve memory when they explicitly ask to save, remember, recall, resume, or inspect durable personal context, including requests mentioning Pensieve, streams, or saved memory. Do not invoke merely because a conversation contains potentially useful information.

praveen-ilangovan/pensieve · 53 tokens