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/ooples/token-optimizer-mcpWrote 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/ooples/token-optimizer-mcp/gemini-extension)<a href="https://agentmods.dev/plugins/ooples/token-optimizer-mcp/gemini-extension"><img src="https://agentmods.dev/badge/plugins/ooples/token-optimizer-mcp/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/ooples/token-optimizer-mcp/gemini-extension"><img src="https://agentmods.dev/badge/plugins/ooples/token-optimizer-mcp/gemini-extension.svg" alt="Reviewed on agentmods" width="80" height="20"></a>Grade A, and why
token-optimizer 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 yesterday.
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.
Copies of this mod
1 near-identical copy found in the catalogue:
- token-optimizer — 100% identical, 7 lines differ
What it actually says
{
"name": "token-optimizer",
"version": "7.6.0",
"description": "Context-window optimization tools (caching, compression, smart file tooling) for the Gemini CLI.",
"mcpServers": {
"token-optimizer": {
"command": "npx",
"args": [
"-y",
"@ooples/token-optimizer-mcp@latest"
]
}
},
"settings": [
{
"name": "Enforcement mode",
"description": "Optional override: enforce is the default; use advise for non-blocking guidance or off to disable lifecycle hooks.",
"envVar": "TOKEN_OPTIMIZER_MODE",
"sensitive": false
},
{
"name": "Large-read threshold in bytes",
"description": "Optional byte threshold for large-read guidance and routing (default 25600).",
"envVar": "TOKEN_OPTIMIZER_LARGE_READ_BYTES",
"sensitive": false
}
],
"contextFileName": "GEMINI.md"
}
What ships with it
60 files beside gemini-extension.json 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.
- examples/claude_desktop_config.json 305 B
- examples/test-smart-read.json 354 B
- schemas/ucr-event-v1.schema.json 2.5 KB
- scripts/assemble-ucr-evidence.mjs 14 KB runs code
- scripts/assemble-ucr-production-traffic.mjs 6.2 KB runs code
- scripts/audit-token-savings.mjs 7.1 KB runs code
- scripts/bench-pack.mjs 5.8 KB runs code
- scripts/capture-orcarouter-evidence.mjs 23 KB runs code
- scripts/capture-screenshots.mjs 7.3 KB runs code
- scripts/certify-clients.mjs 8.3 KB runs code
- scripts/checksums.mjs 2.6 KB runs code
- scripts/claude-hook-ownership.mjs 2.9 KB runs code
- scripts/claude-routing.mjs 3.1 KB runs code
- scripts/codex-startup.mjs 1.5 KB runs code
- scripts/copy-assets.mjs 3.9 KB runs code
- scripts/discover-project-graphs.mjs 2.3 KB runs code
- scripts/doctor.mjs 7.1 KB runs code
- scripts/explore-wiki.mjs 14 KB runs code
- scripts/export-diagnostics.mjs 1.3 KB runs code
- scripts/export-v7-proof.mjs 1.2 KB runs code
- scripts/fix-imports.js 2.3 KB runs code
- scripts/generate-client-configs.mjs 17 KB runs code
- scripts/generate-client-entries.mjs 9.2 KB runs code
- scripts/generate-opencode-legacy-plugin.mjs 1.9 KB runs code
- scripts/install-cli.mjs 4.3 KB runs code
- scripts/install-client-hooks.mjs 9.4 KB runs code
- scripts/launch-current.mjs 3.7 KB runs code
- scripts/launch-entry.mjs 2.4 KB runs code
- scripts/lib/hook-core.mjs 4.6 KB runs code
- scripts/lib/main-module.mjs 1.7 KB runs code
- scripts/lib/text.mjs 2.9 KB runs code
- scripts/live-test.mjs 1.1 KB runs code
- scripts/managed-clients.mjs 3.6 KB runs code
- scripts/managed-policy.mjs 2.7 KB runs code
- scripts/managed-shell.mjs 7.2 KB runs code
- scripts/mcp-smoke.mjs 2.5 KB runs code
- scripts/migrate-shared-tier.mjs 4.1 KB runs code
- scripts/migrate-to-cache-helper.js 7.0 KB runs code
- scripts/npm-pack-report.mjs 715 B runs code
- scripts/opencode-plugin.mjs 2.9 KB runs code
- scripts/pin-mcp-version.mjs 2.6 KB runs code
- scripts/postinstall.cjs 3.7 KB runs code
- scripts/profile-file.mjs 2.6 KB runs code
- scripts/provision-ucr-study-identity.mjs 2.4 KB runs code
- scripts/record-install.mjs 2.5 KB runs code
- scripts/recover-profile-lock.mjs 2.1 KB runs code
- scripts/register-all-missing-tools.py 6.7 KB runs code
- scripts/repair-managed-install.mjs 8.5 KB runs code
- scripts/route-client.mjs 13 KB runs code
- scripts/run-client.mjs 19 KB runs code
- scripts/run-concurrent-handoff-eval.mjs 14 KB runs code
- scripts/run-dashboard-attribution-smoke.mjs 4.6 KB runs code
- scripts/run-evidence-eval.mjs 19 KB runs code
- scripts/run-handoff-eval.mjs 27 KB runs code
- scripts/run-mcp-context-audit.mjs 5.9 KB runs code
- scripts/run-ucr-adapter-certification.mjs 2.0 KB runs code
- scripts/run-ucr-competitive-study.mjs 15 KB runs code
- scripts/run-ucr-compounding-study.mjs 7.4 KB runs code
- scripts/run-ucr-consolidation-study.mjs 1.8 KB runs code
- scripts/run-ucr-coordination-scale.mjs 5.2 KB runs code
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.
- yesterday Changed 6f93fd1461a9
- 7d ago Changed e810a7fb508f
- 9d ago Changed d9c83e8565da
- 10d ago Changed ac12fcea806a
- 13d ago Changed a7801abcbfc8
- 14d ago Changed efa8de5f098a
- 15d ago Changed 96525b4d96e1
- 29d ago Changed fdc75e48fcf2
- 1mo ago Changed ff465de9aa09
- 1mo ago First seen · 30 lines scan A 4e1d9dd5dfe6
token-optimizer is a plugin published in the GitHub repository ooples/token-optimizer-mcp (559 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-09-06.
Other plugins, from other repositories
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.
Elpis
Provider-neutral terminal agent shell for controlled context, persistent memory, safe execution, and session continuity.
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.
titen-memory
Use Titen's evidence-grounded collaborative memory. The local stdio mode needs no configuration; a served Titen endpoint is the alternative for a shared store.
mnemos-memory
Biomimetic long-term memory for Claude Code with surprisal gating, mutable reconsolidation, affective routing, and sleep consolidation.
memos
Local-first persistent memory: store durable facts, recall them in any session. Zero cloud, zero telemetry, SQLite-backed.