cpersona

cpersona is a plugin for Claude Code from Cloto-dev/CPersona. Its manifest loads nothing; the 1 skill, 1 command, 2 hooks it bundles cost 162 tokens per session together, scanned A, original, MIT.

An agent integration that uses CPersona, an external memory service, during work. It looks up relevant memories before acting and answering, saves information as it goes, and restores tasks after the conversation is shortened.

In plain words
What is it for?
It helps an agent recall earlier decisions, preserve useful context, and resume interrupted work across conversation changes.
Why use it?
It reduces the loss of project context when a conversation becomes too long or is compacted. The CPersona service must be connected separately.

Plugin for Claude Code

Written for Claude Code: a Claude Code plugin manifest. Also seen: mentions CLAUDE.md.

Good fit It helps an agent recall earlier decisions, preserve useful context, and resume interrupted work across conversation changes.

Compare 6 plugins from other repositories ↓
Install in Claude Code
/plugin marketplace add Cloto-dev/CPersona
/plugin install cpersona
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.

Clone the repo
git clone --depth 1 https://github.com/Cloto-dev/CPersona

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/plugins/cloto-dev/cpersona/plugin/github.svg)](https://agentmods.dev/plugins/cloto-dev/cpersona/plugin)
Your own site
<a href="https://agentmods.dev/plugins/cloto-dev/cpersona/plugin"><img src="https://agentmods.dev/badge/plugins/cloto-dev/cpersona/plugin/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 cpersona

Your own site · 80×15
<a href="https://agentmods.dev/plugins/cloto-dev/cpersona/plugin"><img src="https://agentmods.dev/badge/plugins/cloto-dev/cpersona/plugin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured The manifest loads nothing itself; its 1 skill, 1 command, 2 hooks cost 162 tokens a session between them.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

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

plugin/.claude-plugin/plugin.json · 26 lines

What it actually says

{
  "name": "cpersona",
  "version": "2.6.14",
  "description": "Hooks and an agent skill that make an agent use CPersona's memory at the right moments: look before the first action and before each answer, store as it goes, and restore the task after the conversation is compacted. Connect the CPersona MCP server separately.",
  "author": {
    "name": "Cloto-dev",
    "url": "https://github.com/Cloto-dev"
  },
  "homepage": "https://cloto-dev.github.io/CPersona/",
  "repository": "https://github.com/Cloto-dev/cpersona",
  "license": "MIT",
  "keywords": [
    "memory",
    "mcp",
    "hooks",
    "compaction"
  ],
  "userConfig": {
    "agent_id": {
      "type": "string",
      "title": "Agent ID",
      "description": "The agent_id this agent stores and recalls its memory under. Use the same one wherever the agent should share that memory. Left empty, the agent uses \"default\", or the agent_id your CLAUDE.md already names."
    }
  }
}
Contents

What it installs

The manifest is a name and a version. 1 skill, 1 command, 2 hooks travel with it, and installing the plugin installs all of them — 162 tokens a session between them. Each is measured on its own page, and each can be installed alone.

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 7f44d5757357
  2. 3d ago Changed 258b9e606fd8
  3. 4d ago Changed · +7 lines 796b906e72bf
  4. 5d ago First seen · 19 lines scan A 4b9f0ea0de7a

Subscribe to this mod's changes

cpersona is a plugin published in the GitHub repository Cloto-dev/CPersona (9 stars, last pushed today), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. 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-10-21.

Related

Other plugins, from other repositories

token-optimizer

Context-window optimization tools (caching, compression, smart file tooling) for the Gemini CLI.

ooples/token-optimizer-mcp · not measured

openloomi

Connect Claude Code to your local OpenLoomi runtime. One-command install, mirror Claude's lifecycle onto the Loomi Pet, and auto-archive every Stop into your OpenLoomi memory. Talks to your local OpenLoomi over HTTP and the OpenLoomi helper CLI. AI provider config is owned by OpenLoomi itself — this plugin never reads.

melandlabs/openloomi · not measured

hypermnesia-mcp

Cortex — persistent memory for Claude Code that remembers across sessions automatically. Install and forget. Scientific retrieval backed by 97 published references. (Renamed from the 'cortex' plugin to match the PyPI/MCP-registry identity.).

cdeust/Cortex · not measured

cortex

Persistent local-first memory MCP server: remember/recall with thermodynamic heat and decay, knowledge graph, autonomous wiki, local SQLite store by default. Requires uv (uvx) on PATH; hooks-based auto-capture is Claude Code-only — on Gemini CLI memory is manual-tool-driven.

cdeust/Cortex · not measured

Elpis

Provider-neutral terminal agent shell for controlled context, persistent memory, safe execution, and session continuity.

MasihMoafi/Elpis · not measured

yantrikdb

Cognitive memory for AI agents — semantic recall, a knowledge graph, contradiction detection and procedural learning. Local-first: one SQLite file, no account, no telemetry.

yantrikos/yantrikdb-mcp · not measured