Cost Optimization
Overview
This skill defines how to identify and reduce costs without compromising quality or delivery. Every agent should periodically review costs in their domain and apply optimization principles.
When to Use
- When reviewing resource usage or budget allocation
- When costs are higher than expected or trending upward
- When planning new initiatives (evaluate cost alternatives)
- When asked to reduce costs or improve efficiency
- Before provisioning new resources or tools
- Don't use when: Quality, security, or compliance would be compromised by cost reduction
Core Procedures
Step 1: Identify Cost Areas
Map where costs are being incurred:
- Infrastructure: Compute, storage, networking, licenses
- Operations: Processing time, API calls, data transfer
- Development: Tools, services, subscriptions
- Time: Duration of processes, rework, idle time
- External: Vendors, contractors, third-party services
- Quality: Bug fixing, rework, testing, support
Step 2: Analyze Cost Drivers
For each cost area:
- What is the current cost (amount per period)?
- What drives the cost (usage, time, complexity, inefficiency)?
- Is the cost necessary or a result of waste?
- Is the cost fixed or variable?
- Are there alternatives that cost less?
Step 3: Identify Optimization Opportunities
ELIMINATE: Costs that provide no value
- Unused subscriptions, idle resources, redundant processes
- Automated reports nobody reads, redundant approvals
REDUCE: Costs that can be lowered
- Right-size infrastructure (not over-provisioning)
- Batch processing instead of real-time when possible
- Caching and reuse to reduce repeated computation
- Pre-emptible or spot instances for non-critical workloads
- Consolidate redundant tools and services
OPTIMIZE: Costs that can be made more efficient
- Automate manual processes
- Improve algorithms to reduce processing time
- Use more efficient data structures or approaches
- Schedule non-urgent work during off-peak hours
TRANSFER: Costs that can shift to lower-cost alternatives
- Open source alternatives to paid tools
- Build vs buy analysis
- Different vendor with better pricing
- Negotiate volume discounts
Step 4: Evaluate Trade-offs
For each optimization opportunity:
- What is the potential savings?
- What is the effort to implement?
- Is there any impact on quality, security, or performance?
- Only proceed if savings outweigh implementation cost AND no quality degradation
Step 5: Implement and Monitor
For each approved optimization:
COST OPTIMIZATION
=================
Cost area: [what costs are being addressed]
Current cost: [amount per period]
Expected savings: [amount or percentage]
Implementation: [what changes need to be made]
Risk: [impact on quality/security/performance]
Validation: [how to verify savings were achieved]
Timeline: [when to implement and review]
After implementation:
- Verify savings match projections
- Confirm no negative impact on quality
- Document lessons for future optimizations
Quality Checklist
Error Handling
- Error: Optimization causes quality degradation
Response: Rollback immediately, document what went wrong, reassess approach
- Error: Projected savings not materializing
Response: Investigate root cause, adjust projections, revise approach if needed
- Error: Optimization causes operational issues
Response: Disable optimization, fix operational issue, retry with corrected approach
Cross-Team Integration
Related Skills: risk-assessment, testing-strategy, capacity-planning, continuous-improvement
Used By: CEOs, infrastructure agents, project managers, finance agents, ALL agents in cost-conscious operations
1---2name: cost-optimization3description: Use when evaluating costs or looking for ways to reduce expenses in your domain. This skill provides a framework for identifying, analyzing, and reducing costs across all operations, infrastructure, development, and business activities.4---56# Cost Optimization78## Overview9This skill defines how to identify and reduce costs without compromising quality or delivery. Every agent should periodically review costs in their domain and apply optimization principles.1011## When to Use12- When reviewing resource usage or budget allocation13- When costs are higher than expected or trending upward14- When planning new initiatives (evaluate cost alternatives)15- When asked to reduce costs or improve efficiency16- Before provisioning new resources or tools17- **Don't use when:** Quality, security, or compliance would be compromised by cost reduction1819## Core Procedures2021### Step 1: Identify Cost Areas22Map where costs are being incurred:23- **Infrastructure:** Compute, storage, networking, licenses24- **Operations:** Processing time, API calls, data transfer25- **Development:** Tools, services, subscriptions26- **Time:** Duration of processes, rework, idle time27- **External:** Vendors, contractors, third-party services28- **Quality:** Bug fixing, rework, testing, support2930### Step 2: Analyze Cost Drivers31For each cost area:321. What is the current cost (amount per period)?332. What drives the cost (usage, time, complexity, inefficiency)?343. Is the cost necessary or a result of waste?354. Is the cost fixed or variable?365. Are there alternatives that cost less?3738### Step 3: Identify Optimization Opportunities3940**ELIMINATE:** Costs that provide no value41- Unused subscriptions, idle resources, redundant processes42- Automated reports nobody reads, redundant approvals4344**REDUCE:** Costs that can be lowered45- Right-size infrastructure (not over-provisioning)46- Batch processing instead of real-time when possible47- Caching and reuse to reduce repeated computation48- Pre-emptible or spot instances for non-critical workloads49- Consolidate redundant tools and services5051**OPTIMIZE:** Costs that can be made more efficient52- Automate manual processes53- Improve algorithms to reduce processing time54- Use more efficient data structures or approaches55- Schedule non-urgent work during off-peak hours5657**TRANSFER:** Costs that can shift to lower-cost alternatives58- Open source alternatives to paid tools59- Build vs buy analysis60- Different vendor with better pricing61- Negotiate volume discounts6263### Step 4: Evaluate Trade-offs64For each optimization opportunity:65- What is the potential savings?66- What is the effort to implement?67- Is there any impact on quality, security, or performance?68- **Only proceed if savings outweigh implementation cost AND no quality degradation**6970### Step 5: Implement and Monitor71For each approved optimization:72```73COST OPTIMIZATION74=================75Cost area: [what costs are being addressed]76Current cost: [amount per period]77Expected savings: [amount or percentage]78Implementation: [what changes need to be made]79Risk: [impact on quality/security/performance]80Validation: [how to verify savings were achieved]81Timeline: [when to implement and review]82```8384After implementation:85- Verify savings match projections86- Confirm no negative impact on quality87- Document lessons for future optimizations8889## Quality Checklist90- [ ] All cost areas identified and analyzed91- [ ] Optimization opportunities prioritized by savings vs effort92- [ ] Trade-offs evaluated for each optimization93- [ ] Savings validated after implementation94- [ ] No negative impact on quality or security95- [ ] Optimization documented and shared9697## Error Handling98- **Error:** Optimization causes quality degradation99 **Response:** Rollback immediately, document what went wrong, reassess approach100- **Error:** Projected savings not materializing101 **Response:** Investigate root cause, adjust projections, revise approach if needed102- **Error:** Optimization causes operational issues103 **Response:** Disable optimization, fix operational issue, retry with corrected approach104105## Cross-Team Integration106**Related Skills:** risk-assessment, testing-strategy, capacity-planning, continuous-improvement107**Used By:** CEOs, infrastructure agents, project managers, finance agents, ALL agents in cost-conscious operations