claudioemmanuel/squeez — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Rust command line tool called squeez that helps people spend fewer tokens when using AI coding CLIs.

I want it to install easily, detect tools like Claude Code, Copilot CLI, OpenCode, Gemini CLI, Codex CLI, and Pi, then register hooks for them. It should shrink noisy bash command output, remove repeated results the agent has already seen, summarize huge outputs, and keep useful errors, file names, test results, and final lines. It should also remember useful session context so the next run can start with a short summary of what happened before.

Please include setup, uninstall, update, and config commands. Add a way to compress agent memory markdown files without calling an LLM. Include an MCP server mode so compatible agents can ask for session memory and token saving info. Keep it fast, local, and dependency light. Add tests, a simple install script, and clear README instructions for macOS, Linux, and Windows Git Bash. Look up current hook docs online if you need to.

Want more depth? Deep Reverse