"""
S2 Decomposed: cost-optimizer
==========================================

Auto-generated by S2 Auto-Decomposer.

Original skill: enterprise/cost-optimizer
Scale structure:
  L0 (Micro): 4 operations
  L1 (Meso): 2 operations
  L2 (Macro): 1 operations
  L3 (Meta): 1 orchestrator

Model routing:
  L0 -> codegemma
  L1 -> qwen3
  L2 -> qwen3
  L3 -> deepseek_r1
"""




# Skill metadata
SKILL_METADATA = {
    "original_id": "enterprise/cost-optimizer",
    "original_name": "cost-optimizer",
    "scale_structure": {
    "L0": [
        "parse_cost_logs: Extract specific cost metrics from structured logs or report",
        "fetch_slo_data: Retrieve SLO definitions and target values for relevant serv",
        "extract_pricing_info: Pull base pricing information (e.g., hourly rates per instan",
        "retrieve_utilization_stats: Get resource utilization data (CPU, memory, network) over a "
    ],
    "L1": [
        "calculate_optimal_spend: Combines `fetch_pricing_data` and `analyze_resource_utilizat",
        "compare_actual_vs_target: Bundles `gather_actual_spend`, `fetch_optimal_spend_estimate"
    ],
    "L2": [
        "analyze_cost_structure: Bundles `fetch_slo_data`, `retrieve_utilization_stats` (or r"
    ],
    "L3": [
        "enterprise_cost_optimizer_orchestrator"
    ]
},
    "skill_tree": {
    "enterprise/cost_optimizer/orchestrator": [
        "enterprise/cost_optimizer/analyze_cost_structure"
    ],
    "enterprise/cost_optimizer/analyze_cost_structure": [
        "enterprise/cost_optimizer/calculate_optimal_spend",
        "enterprise/cost_optimizer/compare_actual_vs_target"
    ],
    "enterprise/cost_optimizer/calculate_optimal_spend": [
        "enterprise/cost_optimizer/parse_cost_logs",
        "enterprise/cost_optimizer/fetch_slo_data",
        "enterprise/cost_optimizer/extract_pricing_info"
    ],
    "enterprise/cost_optimizer/compare_actual_vs_target": [
        "enterprise/cost_optimizer/parse_cost_logs",
        "enterprise/cost_optimizer/fetch_slo_data",
        "enterprise/cost_optimizer/extract_pricing_info"
    ]
},
    "model_routing": {
    "L0": "codegemma",
    "L1": "qwen3",
    "L2": "qwen3",
    "L3": "deepseek_r1"
},
}
