.claude/skills/cost-optimization/SKILL.md
# /cost-optimization Skill Identify and quantify cost optimization opportunities across systems and infrastructure. ## When to Use This Skill Use `/cost-optimization` when you need to: - Analyze system costs and find savings opportunities - Identify unused or underutilized resources - Compare cost per unit of work (cost per transaction, per user, etc.) - Create business cases for cost reduction initiatives - Optimize cloud infrastructure spending - Negotiate better vendor contracts based on d
npx skillsauth add DavidROliverBA/ArchitectKB .claude/skills/cost-optimizationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Identify and quantify cost optimization opportunities across systems and infrastructure.
Use /cost-optimization when you need to:
/cost-optimization [scope] [options]
| Parameter | Description | Required |
|-----------|-------------|----------|
| scope | What to optimize (system, platform, infrastructure, all) | Optional |
| --threshold | Minimum savings to recommend (£10K, £50K, etc.) | Optional |
| --quick | Quick analysis (5 opportunities) vs comprehensive | Optional |
User specifies:
What to analyze (optional - default: all)
Minimum threshold (optional)
Analysis depth (optional)
quick - Top 5 opportunities, minimal detailstandard - 10-15 opportunities with detailed analysiscomprehensive - All opportunities with ROI modelingThe skill:
Collects cost data
Identifies optimization patterns
Calculates impact
Benchmarks against industry
Creates prioritized list with:
Generates optimization report with:
Opportunities identified:
AWS Reserved Instances
AWS Spot Instances
AWS Right-sizing
S3 Lifecycle Management
EBS Volume Optimization
Opportunities identified:
Snowflake Warehouse Right-sizing
Snowflake Caching
DataPlatform Spark Cluster Right-sizing
Delta Lake Cleanup
Opportunities identified:
SAP License Review
Tableau Retirement
Kafka Open Source
Opportunities identified:
Automate Manual ETL Processes
Reduce On-Call Overhead
Consolidate Databases
Opportunities identified:
Right-size DX Bandwidth
Consolidate VPCs
The skill ranks opportunities by:
Effort
Low │ Easy Quick Wins │ Strategic Bets
│ (do first) │ (plan carefully)
│ │
High │ Nice to Have │ Avoid
│ (low ROI) │ (hard & risky)
└─────────────────┴────────────────
Low High
Impact
Quick Wins (Low Effort, High Impact):
Strategic Bets (Higher Effort, High Impact):
Low Priority (Low Impact):
Cost Optimization Summary Report
════════════════════════════════════════════════════════
Total Annual Cost (Current): £10.9M
Total Potential Savings: £700K/year (6.4%)
Total Implementation Cost: £175K
Payback Period: 3 months (average)
By Category:
────────────
Quick Wins (Implement Immediately):
• Snowflake Auto-suspend: £80K (£0 cost, 0 months)
• S3 Lifecycle: £100K (£10K cost, 1 month)
• Spot Instances: £50K (£0 cost, immediate)
Subtotal: £230K
Medium Term (Next 3 months):
• DataPlatform Autoscaling: £75K (£20K cost, 3 months)
• Delta Cleanup: £30K (£5K cost, 2 months)
• AWS Right-sizing: £30K (£20K cost, 2 months)
Subtotal: £135K
Strategic (Next 6-12 months):
• SAP License Audit: £100K (£30K cost, 4 months)
• Automate ETL: £40K (£30K cost, 9 months)
• Database Consolidation: £25K (£40K cost, 1.6 years)
Subtotal: £165K
Aligned with Roadmap:
• Tableau Retirement: £51K (£72K cost, scheduled Q1-Q3)
Total Realistic Target (12 months): £550K savings
Total Implementation Cost: £175K
Net Benefit (Year 1): £375K
Annual Recurring Benefit: £550K/year after implementation
Ranked by payback period and impact:
| Rank | Opportunity | Savings | Cost | Payback | Effort | Risk | |------|-------------|---------|------|---------|--------|------| | 1 | Snowflake auto-suspend | £80K | £0 | Immediate | 1 day | Low | | 2 | S3 lifecycle | £100K | £10K | 1 month | 2 days | Low | | 3 | Spot instances | £50K | £0 | Immediate | 1 week | Medium | | 4 | AWS right-sizing | £30K | £20K | 2 months | 3 weeks | Low | | 5 | DataPlatform autoscaling | £75K | £20K | 3 months | 2 months | Medium | | 6 | Snowflake caching | £40K | £0 | Immediate | 1 day | Low | | 7 | Delta cleanup | £30K | £5K | 2 months | 2 weeks | Low | | 8 | SAP license audit | £100K | £30K | 4 months | 3 months | Medium | | 9 | Automate ETL | £40K | £30K | 9 months | 2 months | Low |
For each opportunity:
Opportunity #1: Snowflake Warehouse Auto-suspend
═════════════════════════════════════════════════════════
Current State:
──────────────
• 4 warehouses running 24/7
• Average utilization: 15% (mostly idle)
• Cost: £65K/month = £780K/year
Proposed Change:
────────────────
• Configure auto-suspend after 30 minutes idle
• Auto-scale during peak hours (1-6 warehouses)
• Expected utilization increase: 40-50%
Financial Impact:
──────────────────
Annual Savings: £80K (40% cost reduction)
Implementation Cost: £0 (configuration only)
Payback Period: Immediate
Year 1 Benefit: £80K
Year 2+ Benefit: £80K/year
Implementation:
───────────────
1. Analyze current usage patterns (2 days)
2. Configure auto-suspend policies (1 day)
3. Test with non-production first (2 days)
4. Deploy to production (1 day)
5. Monitor for 2 weeks, adjust as needed (2 days)
Total Effort: 5 business days (1 engineer)
Risks & Mitigation:
────────────────────
Risk 1: Ad-hoc queries slower to start (suspension latency)
• Probability: High (will happen)
• Impact: Low (acceptable 30-sec startup)
• Mitigation: Set auto-suspend to 60 min during business hours
• Contingency: Disable if user complaints (easy to revert)
Risk 2: Interactive dashboards freeze temporarily
• Probability: Medium (depends on usage pattern)
• Impact: Medium (user frustration)
• Mitigation: Keep one warehouse always warm for dashboards
• Contingency: Increase warm warehouse count
Recommendation: PROCEED IMMEDIATELY
Low effort, high savings, easy to revert
No business risk if configured carefully
Timeline for implementing opportunities:
Optimization Implementation Roadmap
═══════════════════════════════════════════════════════
Phase 1: Immediate (This Week)
──────────────────────────────
Week of 2026-01-14:
Monday:
• Snowflake auto-suspend implementation (1 day)
• Snowflake result caching enablement (0.5 day)
Owner: Data Platform Lead
Est. Savings: £80K + £40K = £120K
Tuesday-Wednesday:
• S3 lifecycle policy implementation (2 days)
• DLQ cleanup analysis (1 day)
Owner: Cloud Architect
Est. Savings: £100K + £30K = £130K
Friday:
• Review and approve AWS spot instance plan (1 day)
Owner: Cloud Architect
Est. Savings: £50K
Phase 1 Summary:
Effort: 5 engineer-days
Cost: £10K (tools + testing)
Savings: £300K/year
Payback: 0.4 months
---
Phase 2: Short Term (Next Month)
────────────────────────────────
Week of 2026-02-03:
• AWS right-sizing analysis complete (3 weeks)
• DataPlatform autoscaling design & approval (2 weeks)
• SAP licensing audit initiated (1 week)
Phase 2 Summary:
Effort: 6 engineer-weeks (plus vendor audit)
Cost: £50K (analysis + vendor audit)
Savings: £205K/year
Payback: 3 months
---
Phase 3: Medium Term (Q1-Q2 2026)
─────────────────────────────────
• DataPlatform autoscaling implementation (2 months)
• Tableau retirement execution (ongoing)
• AWS Savings Plan purchases (1 month)
• Automate ETL processes (2 months)
Phase 3 Summary:
Effort: 4 engineer-months
Cost: £80K (implementation)
Savings: £150K/year
Payback: 6 months
---
Phase 4: Strategic (Q3 2026+)
──────────────────────────────
• Database consolidation (research → 1.6yr payback)
• DX optimization (if utilization data supports)
• License negotiations annually
Phase 4 Summary:
Effort: Ongoing
Cost: Variable
Savings: £35K/year
Payback: Variable
Measurable outcomes for optimization program:
Success Criteria & Metrics
═════════════════════════════════════════════════════════
Financial Targets:
──────────────────
✓ Phase 1 (Immediate): £300K savings within 4 weeks
✓ Phase 2 (1-3 months): Additional £205K = £505K YTD
✓ Full Year Target: £550K savings (achievable by Q3)
Technical Targets:
──────────────────
✓ Dashboard load time: <10 sec (vs current <5 sec, acceptable)
✓ Query cold-start: <30 sec (vs current <5 sec, during suspension)
✓ System availability: No increase in incidents
✓ Spark job latency: <15% increase during scale-up
Operational Targets:
────────────────────
✓ Budget vs actual: ≤-£550K variance (savings achieved)
✓ Unplanned downtime: Zero incidents from optimization changes
✓ User satisfaction: No decrease (or improvement from faster response)
Monitoring:
───────────
• Monthly cost reporting (actual vs optimized forecast)
• Quarterly review of opportunity status
• Continuous monitoring of savings realization
• Annual optimization review (identify new opportunities)
/cost-optimization --quick
Top 5 opportunities only, minimal detail. Good for:
/cost-optimization --comprehensive
All opportunities with detailed ROI modeling.
/cost-optimization system:DataPlatform
Focus on specific system only.
/cost-optimization --threshold 50000
Only show opportunities with £50K+ annual savings.
The skill compares your costs against:
Your Cost Metrics vs. Industry Benchmarks
═════════════════════════════════════════════════════════
Cost per TB data:
Your: £12.9/TB (AWS + Snowflake)
Benchmark: £10-15/TB
Status: ✓ In range
Cost per user:
Your: £43.6/user (£10.9M / 250 users)
Benchmark: £30-50/user
Status: ✓ In range
Cost per transaction:
Your: £0.31/transaction (£10.9M / 35B annual transactions)
Benchmark: £0.20-0.40
Status: ⚠ Slightly high (optimization opportunity)
Infrastructure % of total:
Your: 47.7% (£5.2M of £10.9M)
Benchmark: 40-50%
Status: ✓ In range
The /cost-optimization skill works with:
/architecture-report - Include cost analysis section/scenario-compare - Compare cost impact of scenarios/system-sync - Sync cost data from CMDB/project - Create optimization project from opportunitiesAfter generating optimization report:
Invoke with: /cost-optimization [scope]
Example: /cost-optimization all --quick → Top 5 cost savings opportunities
tools
--- context: fork --- # /youtube Save a YouTube video as both a Weblink (quick reference) and a detailed Page (full analysis). ## Usage ``` /youtube <url> /youtube <url> <optional title override> ``` ## Examples ``` /youtube https://www.youtube.com/watch?v=0TpON5T-Sw4 /youtube https://youtu.be/abc123 AWS re:Invent Keynote ``` ## Prerequisites This skill uses the MCP Docker YouTube tools: - `mcp__MCP_DOCKER__get_video_info` - Video metadata - `mcp__MCP_DOCKER__get_transcript` - Full trans
data-ai
Create and manage git worktrees for parallel agent sessions
testing
--- context: fork --- # /wipe Generate a context handoff summary, clear the session, and resume in a fresh conversation. Detects environment and provides automated (tmux) or manual workflow. ## Usage ``` /wipe /wipe quick # Minimal handoff, just essentials /wipe detailed # Comprehensive handoff with full context ``` ## Instructions When the user invokes `/wipe`: ### Phase 1: Detect Environment First, check the terminal environment: ```bash echo "Environment Detection:"
data-ai
--- context: fork --- # /weekly-summary Generate comprehensive weekly summary from daily notes, meetings, tasks, and project updates using parallel sub-agents. ## Usage ``` /weekly-summary /weekly-summary --last-week /weekly-summary --from 2026-01-01 --to 2026-01-07 /weekly-summary --output page # Create Page note instead of just outputting ``` ## Instructions This skill uses **5 parallel sub-agents** to gather data concurrently from different vault areas, then synthesizes a comprehensi