Claude Code is Anthropic's official terminal coding agent. Compresh integrates as a hook that fires on every user prompt and rewrites the conversation context before it reaches the model.
Hook (UserPromptSubmit) SOON
A bash wrapper hook on the UserPromptSubmit event reads the transcript, sends history to api.compre.sh/v1/tul1, and substitutes the compressed result. Status: under verification — install steps will be published once end-to-end testing passes.
MCP (compresh-mcp) SOON
Opt-in tool — the agent calls compress explicitly when it judges the context needs compaction. Documented after Claude Desktop MCP verification.
Proxy SOON
Not applicable. Claude Code uses Anthropic's first-party transport and does not expose a swappable base URL.
Related
- OpenClaw Hook — similar architecture, different agent host
- Claude Desktop — MCP-only path