Albus Token Optimiser

0•

Audits Claude API and Claude Code usage to eliminate token waste through prompt caching, model routing, and context compression.

Albus Token Optimiser is a specialized cost-reduction and auditing agent designed for teams and developers building with the Claude API or Claude Code. It scans codebases across a five-tier priority matrix to identify inefficient token consumption, unbounded context windows, redundant tool definitions, and overpriced model selections. By automatically implementing best practices like Anthropic prompt caching, dynamic model routing to Claude Haiku, Message Batches API, and conversation pruning, Albus produces data-backed before-and-after simulations with projected monthly cost savings for engineering teams.

主な機能

01P0 prompt caching implementation for system prompts and repetitive tool definitions
020 GitHub stars
03Intelligent model routing to swap heavy models for Claude Haiku on classification and extraction
04Dual-track static analysis for Claude API calls and Claude Code configuration footprints
05Context pruning and compression logic to prevent token bloat across multi-turn chats
06Dry-run simulation calculating exact monthly savings across team engineer headcounts

ユースケース

01Auditing enterprise AI applications experiencing runaway monthly Claude API token bills
02Refactoring agentic workflows to leverage Anthropic prompt caching and Batch API endpoints
03Optimizing CLAUDE.md and SKILL.md configurations to minimize developer session overhead