Codex plugin · MCP server · local-first

Spend context on the task, not on repetition.

Capsule is a Codex token efficiency tool and MCP context compression layer. It shows the model the smallest safe evidence view, while keeping the complete local result available on demand.

Illustrative comparison of a broad terminal result and a compact exact-recoverable Capsule view
Illustrative shape only; benchmark your own workload.
Install Capsule Read measured results

Terminal and files

Compresses repetitive stdout, bounded file reads, and safe Get-Content calls without hiding failures or exact recovery.

Projects and memory

Compiles symbols, dependency impact, durable facts, and context handoffs before the model rereads an entire codebase.

Web and tools

Keeps structured results, URLs, and references recoverable while limiting repeated catalog and page payloads.

Conservative by design

Token-negative, unsafe, failed, literal, or explicitly full requests pass through unchanged.

How it works

Every result follows a simple local pipeline:

request → classify → compact evidence view
                    ↘ exact local capsule → expand on demand

Capsule's published A/B figures are workload-specific model-visible measurements, not a promise about hidden reasoning, provider caching, billing, or subscription quotas.

Open source and verifiable

Read the implementation, tests, release history, privacy contract, and reproducible benchmarks in the public repository. Contributions and security reports are welcome.

Guides

Browse all Capsule guides from one crawlable index.

Codex token efficiency

Understand what Capsule can reduce, what it cannot observe, and how to measure it locally.

MCP context compression

See how the single Capsule surface handles terminal, files, projects, web, memory, and recovery.

Install Capsule

Follow the portable Codex plugin and MCP setup, verification, and troubleshooting path.

Codex plugin skills

Verify the bundled map-token-context skill, plugin manifest, and no-match routing safety.

Share and cite

Use canonical links, release-aware references, and measured claims when sharing Capsule.

GitHub discoverability

Measure metadata, traffic, referrals, releases, and repository-search snapshots without ranking claims.

Capsule FAQ

Get concise answers about observable savings, exact recovery, compatibility, privacy, and measurement boundaries.