From gamma-pack
Optimize Gamma usage costs and manage API spending. Use when reducing API costs, implementing usage quotas, or planning for scale with budget constraints. Trigger with phrases like "gamma cost", "gamma billing", "gamma budget", "gamma expensive", "gamma pricing".
How this skill is triggered — by the user, by Claude, or both
Slash command
/gamma-pack:gamma-cost-tuningThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- [Overview](#overview)
Optimize Gamma API usage to minimize costs through usage monitoring, quotas, caching, and smart AI generation patterns.
Track daily usage by operation type (presentations, generations, exports, API calls). Alert at 80% of plan limits.
Set quotas per user with auto-reset. Check quotas before API calls and decrement on success.
Use templates with targeted AI generation only for slides that need it, rather than full AI generation for every slide.
Use Redis with 1-hour TTL to eliminate redundant API calls for repeated data.
Replace individual API calls with batch operations. Queue non-urgent work for off-peak processing.
Configure threshold alerts at 50%, 75%, 90%, and 100% of monthly budget. Auto-disable non-critical features at budget cap.
See detailed implementation for advanced patterns.
| Issue | Cause | Solution |
|---|---|---|
| Quota exceeded | Heavy usage | Increase quota or throttle |
| Budget overrun | No alerts set | Configure threshold alerts |
| Cache stale data | Long TTL | Reduce TTL or add invalidation |
| Resource | Free | Pro | Team | Enterprise |
|---|---|---|---|---|
| Presentations/mo | 10 | 100 | 500 | Custom |
| AI generations | 5 | 50 | 200 | Unlimited |
| Exports/mo | 10 | 100 | 500 | Unlimited |
| Strategy | Savings | Implementation |
|---|---|---|
| Caching | 30-50% | Redis/in-memory cache |
| Batching | 20-40% | Batch API calls |
| Templates | 40-60% | Reduce AI usage |
| Off-peak | 10-20% | Queue for low-cost periods |
npx claudepluginhub nickloveinvesting/nick-love-plugins --plugin gamma-packCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.