Compress images, long prompts, conversations, and RAG documents locally via Ollama before consuming LLM tokens. Reduces token usage by 80% on images and 85% on text. Use proactively when: the user uploads images, processes long context, works with multiple RAG sources, or when approaching token limits.
Compress images, long prompts, conversations, and RAG documents locally via Ollama before consuming LLM tokens. Reduces token usage by 80% on images and 85% on text. Use proactively when: the user uploads images, processes long context, works with multiple RAG sources, or when approaching token limits.
Run an A/B test of the same task at multiple model tiers (Haiku, Sonnet, optionally Opus and Fable). Captures outputs, computes structural and semantic diffs, scores quality, writes a markdown comparison report. Use when the user wants to validate "is Haiku good enough for this task class?" or runs /tokenwise:ab " ".
Install TokenWise routing rules into the user's Claude Code config (CLAUDE.md and settings.json). Probes the user's Claude Code build for known routing bugs first, shows diffs, backs up originals, asks for per-file confirmation. Supports --guided (default), --manual (print copy-paste only), and --dry-run (preview…
Print a TokenWise session report — tokens per model, $ saved vs all-Opus baseline, reclassifications, quality flags. Reads from .tokenwise/log.ndjson filtered to the current session. Use when the user asks "how much did I save", "show me tokenwise stats", or runs /tokenwise:report.
Compress natural language memory files (CLAUDE.md, todos, preferences) into iceage format to save input tokens. Preserves all technical substance, code, URLs, and structure. Compressed version overwrites the original file. Human-readable backup saved as FILE.original.md. Trigger: /iceage:compress or "compress memory…
Batch compress all natural language files in a directory using iceage compression. Parallel workers, progress tracking, dry-run mode. Use when user says "compress all files", "batch compress", "compress this directory", or invokes /iceage-batch.
Exports the current chat session to a clean markdown file. Reconstructs the visible conversation from context — user messages, assistant responses, code blocks, tool output — formatted as readable .md. Use when user says "export chat", "save this conversation", "export to markdown", or invokes /iceage-export. Accepts…