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/MaxFreedomPollard/CompartmentWrote 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/plugins/maxfreedompollard/compartment/gemini-extension)<a href="https://agentmods.dev/plugins/maxfreedompollard/compartment/gemini-extension"><img src="https://agentmods.dev/badge/plugins/maxfreedompollard/compartment/gemini-extension/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/plugins/maxfreedompollard/compartment/gemini-extension"><img src="https://agentmods.dev/badge/plugins/maxfreedompollard/compartment/gemini-extension.svg" alt="Reviewed on agentmods" width="80" height="20"></a>Grade A, and why
compartment 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 17d 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
{
"name": "compartment",
"version": "4.13.0",
"description": "Encrypted, fully offline long-term memory for Gemini CLI. One vault on your machine, shared by every MCP client. Requires `pip install compartment && compartment init` first.",
"contextFileName": "GEMINI.md",
"mcpServers": {
"compartment": {
"command": "compartment",
"args": [
"--caller",
"gemini",
"serve"
]
}
}
}
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.
- 17d ago Changed 157713b78fa4
- 20d ago Changed 5ff2f4b4ee81
- 1mo ago Changed 6440372fbc1f
- 1mo ago Changed b6b5b36fb5aa
- 1mo ago Changed af4719e01fba
- 2mo ago First seen · 17 lines scan A fe0fc304fa37
compartment is a plugin published in the GitHub repository MaxFreedomPollard/Compartment (576 stars, last pushed 17d ago), licensed Apache-2.0. 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-09-06.
compartment compared with plugins from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| compartmentMaxFreedomPollard/Compartment | Plugin | 576 | 17d ago | Apache-2.0 | A | — | Gemini CLI |
| ownmemgrpcer/ownmem | Plugin | 425 | 23d ago | Apache-2.0 | A | — | Gemini CLI |
| knowldat999zx/knowl | Plugin | 109 | 4d ago | Apache-2.0 | A | — | Claude Code |
| causal-memoryJingxuanC/causal-memory | Plugin | 104 | 2d ago | Apache-2.0 | A | — | Claude Code |
| mnemos-memoryanthony-maio/mnemos | Plugin | 28 | 9d ago | MIT | A | — | Claude Code |
| yantrikdbyantrikos/yantrikdb-mcp | Plugin | 24 | 4d ago | MIT | A | — | Claude Code |
| titen-memoryRamaAditya49/titen | Plugin | 16 | yesterday | Apache-2.0 | A | — | Claude Code |