cost-aware-llm-pipeline
✓Cost optimization patterns for LLM API usage — model routing by task complexity, budget tracking, retry logic, and prompt caching.
Installation
SKILL.md
Patterns for controlling LLM API costs while maintaining quality. Combines model routing, budget tracking, retry logic, and prompt caching into a composable pipeline.
Automatically select cheaper models for simple tasks, reserving expensive models for complex ones.
Track cumulative spend with frozen dataclasses. Each API call returns a new tracker — never mutates state.
Cost optimization patterns for LLM API usage — model routing by task complexity, budget tracking, retry logic, and prompt caching. Source: affaan-m/everything-claude-code.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/affaan-m/everything-claude-code --skill cost-aware-llm-pipeline- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-17
- Updated
- 2026-02-18
Quick answers
What is cost-aware-llm-pipeline?
Cost optimization patterns for LLM API usage — model routing by task complexity, budget tracking, retry logic, and prompt caching. Source: affaan-m/everything-claude-code.
How do I install cost-aware-llm-pipeline?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/affaan-m/everything-claude-code --skill cost-aware-llm-pipeline Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/affaan-m/everything-claude-code
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-17