← ClaudeAtlas

mycocost-optimization-performance-telemetrylisted

Comprehensive procedures for analyzing, optimizing, and monitoring LLM costs and performance in Myco's agent harness system. Covers cost leak identification, performance bottleneck analysis, resource allocation optimization, SDK execution telemetry, and budget calibration patterns. Use when investigating cost spikes, optimizing agent task efficiency, calibrating turn budgets, or implementing cost control measures, even if the user doesn't explicitly ask for cost optimization analysis.
goondocks-co/myco · ★ 13 · AI & Automation · score 79
Install: claude install-skill goondocks-co/myco
# Cost Optimization & Performance Telemetry Systematic procedures for analyzing, optimizing, and monitoring LLM costs and performance in Myco's agent harness system. With Grove architecture, global daemon coordination affects cost attribution across multiple projects while new MCP transport patterns eliminate HTTP loopback overhead. ## Prerequisites - Understanding of Myco's Grove architecture and global daemon coordination - Access to task logs and cost telemetry data across grove boundaries - Familiarity with model provider APIs (Claude SDK, OpenAI, local models) - Knowledge of turn budget configuration in task definitions - Understanding of map-phase architecture and accelerator systems - Understanding of Grove global daemon cost attribution and multi-project scoping - Familiarity with Bun test isolation and build profile optimization ## Procedure A: LLM Cost Analysis & Budget Calibration Identify cost leak patterns and calibrate budgets for sustainable operation across grove boundaries. 1. **Analyze grove-aware cost leak patterns**: - Check for Claude SDK overhead: Look for 25k+ token requests in logs where actual content is minimal - Monitor vault-evolve cadence: Identify no-op runs burning $158/day - Review tool invocation costs vs token throughput ratios - Examine settingSources configuration causing unnecessary API calls - **Grove-specific**: Analyze global daemon cost allocation across multiple projects and groves - **Grove coordination overhe