AIDEN
Built at Built with Opus 4.7: a Claude Code hackathon · Apr 21, 2026 · Remote

PACT is a semantic compression format that beats ZIP by 40% on codebases and replaces Claude Code's /compact with an 18.4x lossless compaction engine. Three things in one tool: 1. File compression — brotli solid archive that concatenates all files into one compression stream. Cross-file pattern deduplication that ZIP physically cannot do. 40% smaller on a 79-file real project. Semantic inspection shows every function, import, and class without decompressing. 2. Claude Code compaction plugin — one command (pact install --global) hooks into every session. Heuristic structural extraction at 50% context, zero API calls. 18.4x compression vs /compact's 4.0x, with 92% information retention vs 68%. The AI keeps structured state instead of lossy prose summaries. 3. Native OS integration — right-click any file on macOS, Windows, or Linux to pack/unpack. Native Swift progress UI on macOS. One command setup: npx pact-cc setup. BARUTU SNAKE: PACT compressed the Claude Code session that built PACT. 179 turns, 1.6M tokens → 46K tokens, 34.3x lossless. Reproducible: node benchmarks/run.mjs --tasks 012-barutu-snake. 150 tests passing. Built in 5 days. pact.zip