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: >4 Use when evaluating costs or looking for ways to reduce expenses in your domain.5 This skill provides a framework for identifying, analyzing, and reducing costs6 across all operations, infrastructure, development, and business activities.7metadata:8 source: https://skillmd.com/skills/construct-ai-primary/cost-optimization9---1011# Cost Optimization1213## Overview14This 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.1516## When to Use17- When reviewing resource usage or budget allocation18- When costs are higher than expected or trending upward19- When planning new initiatives (evaluate cost alternatives)20- When asked to reduce costs or improve efficiency21- Before provisioning new resources or tools22- **Don't use when:** Quality, security, or compliance would be compromised by cost reduction2324## Core Procedures2526### Step 1: Identify Cost Areas27Map where costs are being incurred:28- **Infrastructure:** Compute, storage, networking, licenses29- **Operations:** Processing time, API calls, data transfer30- **Development:** Tools, services, subscriptions31- **Time:** Duration of processes, rework, idle time32- **External:** Vendors, contractors, third-party services33- **Quality:** Bug fixing, rework, testing, support3435### Step 2: Analyze Cost Drivers36For each cost area:371. What is the current cost (amount per period)?382. What drives the cost (usage, time, complexity, inefficiency)?393. Is the cost necessary or a result of waste?404. Is the cost fixed or variable?415. Are there alternatives that cost less?4243### Step 3: Identify Optimization Opportunities4445**ELIMINATE:** Costs that provide no value46- Unused subscriptions, idle resources, redundant processes47- Automated reports nobody reads, redundant approvals4849**REDUCE:** Costs that can be lowered50- Right-size infrastructure (not over-provisioning)51- Batch processing instead of real-time when possible52- Caching and reuse to reduce repeated computation53- Pre-emptible or spot instances for non-critical workloads54- Consolidate redundant tools and services5556**OPTIMIZE:** Costs that can be made more efficient57- Automate manual processes58- Improve algorithms to reduce processing time59- Use more efficient data structures or approaches60- Schedule non-urgent work during off-peak hours6162**TRANSFER:** Costs that can shift to lower-cost alternatives63- Open source alternatives to paid tools64- Build vs buy analysis65- Different vendor with better pricing66- Negotiate volume discounts6768### Step 4: Evaluate Trade-offs69For each optimization opportunity:70- What is the potential savings?71- What is the effort to implement?72- Is there any impact on quality, security, or performance?73- **Only proceed if savings outweigh implementation cost AND no quality degradation**7475### Step 5: Implement and Monitor76For each approved optimization:77```78COST OPTIMIZATION79=================80Cost area: [what costs are being addressed]81Current cost: [amount per period]82Expected savings: [amount or percentage]83Implementation: [what changes need to be made]84Risk: [impact on quality/security/performance]85Validation: [how to verify savings were achieved]86Timeline: [when to implement and review]87```8889After implementation:90- Verify savings match projections91- Confirm no negative impact on quality92- Document lessons for future optimizations9394## Quality Checklist95- [ ] All cost areas identified and analyzed96- [ ] Optimization opportunities prioritized by savings vs effort97- [ ] Trade-offs evaluated for each optimization98- [ ] Savings validated after implementation99- [ ] No negative impact on quality or security100- [ ] Optimization documented and shared101102## Error Handling103- **Error:** Optimization causes quality degradation104 **Response:** Rollback immediately, document what went wrong, reassess approach105- **Error:** Projected savings not materializing106 **Response:** Investigate root cause, adjust projections, revise approach if needed107- **Error:** Optimization causes operational issues108 **Response:** Disable optimization, fix operational issue, retry with corrected approach109110## Cross-Team Integration111**Related Skills:** risk-assessment, testing-strategy, capacity-planning, continuous-improvement112**Used By:** CEOs, infrastructure agents, project managers, finance agents, ALL agents in cost-conscious operations