minhvoio/macu_minimize-ai-credit-usage — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a small command line tool called macu that helps me cut wasted AI credits by finding tool definitions I never actually use.

It should read my real tool call history from Claude Code, OpenCode, and Codex if those logs are available, then show which tools I use a lot, which ones are basically dead weight, and roughly how many tokens they are adding to every message just by being loaded. I want the output to feel like a clear report, with usage counts, date range, confidence based on how recently a tool was used, and an estimate of savings per message and across my full history.

The most important part is an action plan. Group suggestions by the config file I need to edit, show conservative and aggressive options when possible, and print the exact JSON snippets I can copy paste to disable unused tools without removing context the AI actually needs.

Keep it simple to run locally, with helpful terminal output and docs. Look up current docs online if you need to.

Want more depth? Deep Reverse