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.
git clone --depth 1 https://github.com/major7apps/pensyveWrote 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.
[](https://agentmods.dev/commands/major7apps/pensyve/consolidate)<a href="https://agentmods.dev/commands/major7apps/pensyve/consolidate"><img src="https://agentmods.dev/badge/commands/major7apps/pensyve/consolidate/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.
<a href="https://agentmods.dev/commands/major7apps/pensyve/consolidate"><img src="https://agentmods.dev/badge/commands/major7apps/pensyve/consolidate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00009 | $0.00422 |
| Opus 5.5 | $0.00004 | $0.00169 |
| Sonnet 5.5 | $0.00002 | $0.00084 |
| Haiku 4.5 | $0.00001 | $0.00042 |
Grade A, and why
consolidate 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 2mo ago.
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.
What it actually says
/consolidate
Explain how to run consolidation against the user's existing Pensyve store. Consolidation promotes similar episodic records and updates retention values. It does not delete old rows or limit database size.
Instructions
When the user invokes /consolidate, follow these steps:
- Explain that consolidation can promote similar episodic records into semantic
memories and update episodic retention. The
archivedcounter describes retention updates below a threshold; those rows remain stored. - State which interface is available. The current server exposes ten MCP tools,
but none runs consolidation directly. The CLI also has no
consolidatecommand. Python providesp.consolidate(), and a gateway providesPOST /v1/consolidate. MCP episode closure can schedule consolidation in the background. - Use the user's configured gateway and existing authentication if that access is available. Otherwise, provide the relevant instructions from the consolidation recipe. Use the same storage path and namespace for Python, or the same gateway credentials for REST, as the user's existing store. Do not assume a local gateway accesses the stdio server's store.
- If consolidation ran, report the returned status and counts. Report incomplete
work or errors as returned, and describe
archivedas retained rows whose retention values changed. If only instructions were provided, say that consolidation has not run.
Constraints
- Do not read or write Claude Code's own memory files for this operation.
- Do not invent a
pensyve_consolidateMCP tool or a CLI subcommand. - Do not promise that repeated runs have no effects or that consolidation removes stale data. Use the current API response and documented behavior.
- Do not trigger consolidation from this command unless the user invoked it.
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.
- 2mo ago Changed · -18 lines · -2 tokens per session 2271ea33f73f
- 2mo ago Changed 841711ff5b66
- 3mo ago First seen · 59 lines · 11 tokens per session scan A ae813bd5cde8
consolidate is a command published in the GitHub repository major7apps/pensyve (101 stars, last pushed 3d ago), licensed Apache-2.0. It adds 9 tokens to every session and 422 once invoked, about $0.0000 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.
consolidate compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| consolidatemajor7apps/pensyve | Command | 101 | 3d ago | Apache-2.0 | A | 9 | Claude Code |
| save-memory0xK3vin/MegaMemory | Command | 933 | 7mo ago | MIT | A | 0 | Claude Code |
| bootstrap-memory0xK3vin/MegaMemory | Command | 933 | 7mo ago | MIT | A | 0 | Claude Code |
| memory-bootstrapjscott3201/aionforge-memory | Command | 12 | 4mo ago | Apache-2.0 | A | 15 | Claude Code |
| memory-sessionjscott3201/aionforge-memory | Command | 12 | 4mo ago | Apache-2.0 | A | 19 | Claude Code |
| memory-handoffjscott3201/aionforge-memory | Command | 12 | 4mo ago | Apache-2.0 | A | 15 | Claude Code |
| gsd:threadmrboups/xbrain | Command | 2 | 2mo ago | MIT | A | 13 | Claude Code |