Cost optimizer

From ApiliumCode/mayros · View interactive version

Cost optimizer is an AI agent skill from the GitHub repository ApiliumCode/mayros. Detects cost optimization opportunities for Claude API usage

How to use this skill

Skill file

cost-optimizer

Detect cost optimization opportunities for Claude API usage by analyzing usage patterns and recommending pricing-aware strategies.

When to Use

Use when analyzing API usage costs, planning batch processing workflows, or optimizing prompt engineering for cost efficiency. The skill evaluates 6 optimization rules: prompt caching, model downgrade, Batch API, streaming, output limits, and context trimming.

Instructions

  1. Recall previous cost analysis with skill_memory_context using predicate cost:opportunity
  2. The skill scans usage data for patterns indicating optimization potential
  3. Each detected opportunity includes an estimated savings percentage
  4. Review recommendations and apply the most impactful changes first
  5. Re-run periodically to track cost reduction progress over time
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.