{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "schemaVersion": "1.0",
  "name": "Context Crush — Deterministic LLM Context Compactor",
  "humanReadableId": "apikeg/context-crush",
  "agentVersion": "1.0.0",
  "description": "Cut WebVTT/SRT transcripts, .eml reply chains, Slack threads, and Jira ADF JSON by 65-90% tokens in <15ms with zero LLM summarization loss. Replaces fragile MIME/quoted-printable decoders, rolling live-caption overlap logic, O(N^2) email quote peelers, and recursive Jira ADF AST renderers—saving $0.02-$0.15 in downstream frontier-LLM input tokens for a $0.001-$0.005 edge call.",
  "provider": {
    "name": "API Keg",
    "url": "https://apikeg.com"
  },
  "capabilities": {
    "mcpVersion": "2025-06-18",
    "x402Version": 2,
    "streaming": false,
    "supportedMessageParts": [
      "json",
      "text"
    ]
  },
  "supportedInterfaces": [
    {
      "url": "https://context-crush.apikeg.com/mcp",
      "protocolBinding": "MCP-STREAMABLE-HTTP",
      "protocolVersion": "2025-06-18"
    },
    {
      "url": "https://context-crush.apikeg.com/openapi.json",
      "protocolBinding": "OPENAPI-REST",
      "protocolVersion": "3.1.0"
    },
    {
      "url": "https://context-crush.apikeg.com/.well-known/api-catalog",
      "protocolBinding": "RFC9727-LINKSET",
      "protocolVersion": "1.0"
    }
  ],
  "defaultInputModes": [
    "application/json"
  ],
  "defaultOutputModes": [
    "application/json",
    "text/markdown",
    "text/html"
  ],
  "skills": [
    {
      "id": "compact_transcript",
      "name": "Compact Meeting Transcript (WebVTT / SRT / Text)",
      "description": "Parses WebVTT (<v Speaker>, NOTE/STYLE blocks, cue UUIDs), SubRip (.srt), or Zoom/Teams/Otter text transcripts; deduplicates rolling live captions, coalesces speaker turns into Markdown, and computes speaker talk-turn stats. Why call instead of DIY: Eliminates 75-90% of caption cue UUID/timestamp/overlap bloat in <10ms with 100% lossless dialogue retention—costing a fraction of the LLM input tokens saved. Pricing: $0.001 base (up to $0.005 max ($0.001 base + $0.0005 per 50KB of input, capped at $0.005 for payloads up to 2MB), x402 variable settlement). Pass ?dry_run=true on REST to validate schema free.",
      "tags": [
        "context-engineering",
        "developer-tools",
        "productivity",
        "business-ops"
      ],
      "pricing": {
        "scheme": "upto",
        "priceUsd": "0.001",
        "maxPriceUsd": "0.005",
        "unitDescription": "($0.001 base + $0.0005 per 50KB of input, capped at $0.005 for payloads up to 2MB)"
      },
      "documentationUrl": "https://context-crush.apikeg.com/tools/compact-transcript"
    },
    {
      "id": "compact_email_thread",
      "name": "De-duplicate Email Thread & RFC 5322 .eml",
      "description": "Decodes raw RFC 5322 .eml MIME messages (multipart/alternative, quoted-printable, base64) or pasted reply chains, strips O(N^2) repeated quoted history, mobile signatures, and legal disclaimers, and outputs chronological Markdown. Why call instead of DIY: Avoids writing RFC 2047/quoted-printable/multipart MIME parsers and multi-client Outlook/Gmail quote splitters; collapses 10-reply O(N^2) threads by >80%. Pricing: $0.001 base (up to $0.005 max ($0.001 base + $0.0005 per 50KB of input, capped at $0.005 for payloads up to 2MB), x402 variable settlement). Pass ?dry_run=true on REST to validate schema free.",
      "tags": [
        "context-engineering",
        "developer-tools",
        "productivity",
        "business-ops"
      ],
      "pricing": {
        "scheme": "upto",
        "priceUsd": "0.001",
        "maxPriceUsd": "0.005",
        "unitDescription": "($0.001 base + $0.0005 per 50KB of input, capped at $0.005 for payloads up to 2MB)"
      },
      "documentationUrl": "https://context-crush.apikeg.com/tools/compact-email-thread"
    },
    {
      "id": "compact_workspace_export",
      "name": "Compact Slack Export or Jira v3 ADF JSON",
      "description": "Compacts Slack channel/thread JSON (resolving <@U...> mentions, dropping join/leave noise, grouping thread_ts replies, formatting reactions, stripping Block Kit) or Jira v3 Issue/ADF JSON (rendering headings, tables, code blocks, lists, mentions, comments while dropping avatarUrls and null customfield_* keys). Why call instead of DIY: Turns bloated 100KB+ Jira REST v3 ADF issues and Slack API payloads into crisp 3KB Markdown without losing comments, tables, code blocks, or reactions. Pricing: $0.001 base (up to $0.005 max ($0.001 base + $0.0005 per 50KB of input, capped at $0.005 for payloads up to 2MB), x402 variable settlement). Pass ?dry_run=true on REST to validate schema free.",
      "tags": [
        "context-engineering",
        "developer-tools",
        "productivity",
        "business-ops"
      ],
      "pricing": {
        "scheme": "upto",
        "priceUsd": "0.001",
        "maxPriceUsd": "0.005",
        "unitDescription": "($0.001 base + $0.0005 per 50KB of input, capped at $0.005 for payloads up to 2MB)"
      },
      "documentationUrl": "https://context-crush.apikeg.com/tools/compact-workspace-export"
    }
  ]
}