{"id":"io.github.robinlidberg-dot/cap-shield","slug":"io-github-robinlidberg-dot-cap-shield","title":"Cap Shield","description":"Context selection and compression for AI agents - recall measured, not claimed.","version":"0.7.0","publisher":{"kind":"github","id":"robinlidberg-dot","label":"@robinlidberg-dot on GitHub","url":"https://github.com/robinlidberg-dot"},"website":"https://cap-shield-robin.fly.dev","repository":"https://github.com/robinlidberg-dot/cap-shield-mcp","remotes":[{"type":"streamable-http","url":"https://cap-shield-robin.fly.dev/mcp","headers":[{"description":"Bearer <CAP-Shield API key>. Only needed for the tools that store, retrieve or pack data; measure_traffic, list_packages and get_account work without it.","isSecret":true,"name":"Authorization"}]}],"packages":[{"registryType":"pypi","identifier":"cap-shield","version":"0.6.0","transport":{"type":"stdio"},"environmentVariables":[{"description":"Only needed for the tools that store, retrieve or pack data. measure_traffic and list_packages work without it.","format":"string","isSecret":true,"name":"CAP_SHIELD_API_KEY"}]}],"published":"2026-11-17","updated":"2026-11-17","status":"online","auth":"","latency_ms":1582,"checked":"2026-11-19","uptime":100,"checks":3,"tools":[{"name":"measure_traffic","title":"Measure possible savings","description":"Measure how much of your own agent traffic could be saved. NO ACCOUNT OR KEY NEEDED — use this first. Returns byte savings over the wire and, if a query is given, token savings from selective context retrieval. Nothing is stored: the text is compressed in memory and discarded. Rate limited to 20 calls per hour per IP.","read_only":true},{"name":"list_packages","title":"List compression packages","description":"List the available dictionaries with their MEASURED compression, including the ones that perform badly. Each entry says whether it works one message at a time or only batched, and how many messages came out LARGER. No key needed.","read_only":true},{"name":"remember","title":"Store a memory entry","description":"Store a memory entry for later retrieval. REQUIRES A KEY. This does not call any language model — it stores text in an isolated per-tenant archive. Use assemble_context to get relevant entries back.","read_only":false},{"name":"assemble_context","title":"Retrieve relevant memory","description":"Retrieve the memory entries that answer a question, within a token budget. REQUIRES A KEY. Send the returned 'context' to your language model INSTEAD of the whole history. This does not call a model itself — it selects what to send. The budget is a ceiling, not a target: selection stops where relevance runs out, often well below it. The response says how many entries were left behind and why. If t","read_only":true},{"name":"assemble_escalation_context","title":"Retrieve wide dated memory","description":"Retrieve a WIDE context for a question your model could not answer from assemble_context. REQUIRES A KEY. Use it when assemble_context returned escalate_recommended=true, or when the answer depends on dates, counts or several sessions. This does not call a model itself. Returns 'context' (up to token_budget, default 150 000 tokens: lower it if your model's window is smaller), where each stored ent","read_only":true},{"name":"get_account","title":"Create account and API key","description":"Get an account and an API key. Requires an email address. The key is returned ONCE and cannot be shown again — store it immediately. Beta quotas are low by design; they are hard stops, never overage billing.","read_only":false},{"name":"issue_pass","title":"Issue a signed agent pass","description":"Issue a short-lived (15 minute) signed credential (a JWT) stating who the caller acts for. REQUIRES A KEY. Anyone can verify it independently against /.well-known/jwks.json — without calling CAP-Shield again. 'acts_for' and 'scope' are NOT validated against reality: the pass only attests that the key holder claimed this, at this time, and that the claim is recorded in the audit chain. This is iden","read_only":false},{"name":"pack_batch","title":"Compress a batch of messages","description":"Pack several messages into ONE compressed packet instead of packing them one at a time. REQUIRES A KEY. Worth it for many small/medium messages (the per-message header cost is paid once per batch, and zstd shares context across them) — for a single message this has no advantage. Returns packet_b64 (hand it to unpack_batch to get the messages back) plus the measured byte savings versus packing each","read_only":true},{"name":"unpack_batch","title":"Decompress a batch packet","description":"Unpack a batch packet made by pack_batch (or by the /api/v1/pack-batch endpoint) back into the exact original list of messages, in order. REQUIRES A KEY. Not for a packet made by the single-message pack endpoint — that is a different format and this will reject it.","read_only":true}],"server_info":{"name":"cap-shield","version":"0.7.0"},"category":"agents","tags":["project"],"kind":"remote","source":"registry","submitted":{},"first_party":false,"domain_rank":null,"score":100,"indexable":true,"first_seen":"2026-08-26","stars":0,"badges":[],"sponsor":null,"page":"https://agentsindex.org/agents/io-github-robinlidberg-dot-cap-shield/"}