Cost Aware LLM Pipeline — Data skill for Claude Code
Cost optimization patterns for LLM API usage — model routing by task complexity, budget tracking, retry logic, and prompt caching.
How to install Cost Aware LLM Pipeline
Installs to ~/.claude/skills/rustidi-ml-portfolio-cost-aware-llm-pipeline/SKILL.md
mkdir -p ~/.claude/skills/rustidi-ml-portfolio-cost-aware-llm-pipeline && curl -fsSL https://raw.githubusercontent.com/rustidi/ml-portfolio/HEAD/skills/cost-aware-llm-pipeline.md -o ~/.claude/skills/rustidi-ml-portfolio-cost-aware-llm-pipeline/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Cost Aware LLM Pipeline does
name: cost-aware-llm-pipeline description: Cost optimization patterns for LLM API usage — model routing by task complexity, budget tracking, retry logic, and prompt caching.
Cost-Aware LLM Pipeline
Patterns for controlling LLM API costs while maintaining quality. Combines model routing, budget tracking, retry logic, and prompt caching into a composable pipeline.
When to Activate
- Building applications that call LLM APIs (Claude, GPT, etc.)
- Processing batches of items with var
Alternatives in Data
- Graph Engineering — Graph engineering for AI agents: the 9-stage knowledge-graph pipeline (translated from SEU's graduate course) 452 ★
- SEO Rank Tracking — Track search engine rankings 397 ★
- Extraction Pipeline — Extraction Pipeline — Core Domain Logic — GenAI IDP Accelerator 295 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Add Background Job
Implement background job processing with queue system. Set up job queue using Bull/BullMQ with Redis. Create j
Estimate Assistant
Generate accurate task estimates using historical data, complexity analysis, and team velocity metrics
Smg
Engine-agnostic LLM gateway in Rust. Full OpenAI & Anthropic API compatibility across vLLM, TRT-LLM, TokenSpee
Data And Types
Rust Intel — Data, Types, Numerics & Iterators (serde, Eq/Hash, numeric, strings, allocation/complexity cost)
Hot Path
Profile-driven optimization of a measured hot path — data access, concurrency, caching — with results proven b
Wp Perf Review
WordPress performance code review - detects database anti-patterns, caching issues, hook problems, and scalabi
Related Agents
Budget
AI cost engineering — LLM spend tracking, model cost optimization, budget alerts, token efficiency audits
API Cost Scanner
Scans codebase for AI/API cost optimization opportunities including model usage, token estimates, caching stra
Agent Harness Optimizer
Context window, token budget, and agent harness optimization specialist. Analyzes transcript bloat, tunes prom