reaatech/agents-md-kit/cost-optimization
Claude Code and agent skill by reaatech/agents-md-kit
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Routes requests to minimize inference costs while meeting quality requirements
Install
npx vskill@latest install reaatech/agents-md-kit/cost-optimizationSKILL.md
The same SKILL.md was published earlier as reaatech/agents-md-kit/cost-optimization.
Cost Optimization Skill
Capability
Optimizes LLM routing decisions to minimize inference costs while maintaining acceptable quality thresholds.
MCP Tools
| Tool | Input Schema | Output | Rate Limit | |
|---|---|---|---|---|
estimate_cost | z.object({ prompt_tokens: z.number(), model: z.string() }) | { cost_usd: number } | 100 RPM | |
find_cheapest_model | z.object({ min_quality: z.number(), max_latency_ms: z.number().optional() }) | { model: string, cost_usd: number } | 50 RPM | |
get_pricing | z.object({ provider: z.string().optional() }) | { pricing: array } | 60 RPM |
Tool: estimate_cost
Estimates the cost for a given prompt and model.
Input Schema:
Output:
Usage Examples
Estimate Cost
Request:
Response:
Error Handling
| Error Type | Cause | Recovery | |
|---|---|---|---|
MODEL_NOT_FOUND | Model not in pricing database | Return error with available models | |
INVALID_TOKENS | Negative or zero tokens | Return zero cost |
Security Considerations
- Pricing data is cached and refreshed periodically
- No sensitive prompt data is logged
Testing
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingexamples/router/skills/cost-optimization/skill.md
Popularity
- Repository stars
- 2
- Repository forks
- 1
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 22 Aug 2026, 3 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/reaatech/agents-md-kit/cost-optimization)