alibabacloud-odps-cost-analysis

Installation
SKILL.md

MaxCompute Cost Analysis

Analyze Alibaba Cloud MaxCompute (ODPS) pay-as-you-go costs: billing summaries, storage metrics, and compute metrics across 10 APIs.

⚠️ MANDATORY PRODUCT CONSTRAINT: This skill uses ONLY the 10 aliyun maxcompute CLI commands listed in API Overview below (plugin mode, version 2022-01-04). NEVER use aliyun bssopenapi or any of its actions (billing queries, instance bills, etc.). NEVER use other MaxCompute APIs not in the 10-API list (e.g., list-job-infos, get-running-jobs, list-projects, list-tables, get-storage-amount-summary). NEVER use any other product CLI (aliyun odps, aliyun dataworks, aliyun compute-nest, aliyun cms, aliyun actiontrail, etc.). If aliyun maxcompute commands fail, fix the plugin — do NOT fall back to other APIs or products.

Intent → API Mapping (use ONLY these):

  • Billing/费用 → sum-bills, sum-bills-by-date, sum-daily-bills-by-item
  • Daily cost spike/费用突增/每日趋势sum-bills-by-date (MANDATORY for locating spike dates — NOT sum-daily-bills-by-item)
  • Paginated daily billing details/每日账单明细/按计费项的每日账单sum-daily-bills-by-item (MANDATORY — NOT any bssopenapi command)
  • Storage/存储 → sum-storage-metrics-by-type AND sum-storage-metrics-by-date (BOTH MANDATORY — sum-storage-metrics-by-type alone is NOT sufficient)
  • Compute jobs/计算作业/expensive jobs/贵的作业 → list-compute-metrics-by-instance (MANDATORY — NEVER use list-job-infos, get-running-jobs, get-job-resource-usage)
  • SQL signatures/SQL签名/重复SQL/扫描量list-compute-metrics-by-signature (MANDATORY for any SQL pattern analysis)
  • SCAN usage trends/扫描量趋势/CU usagesum-compute-metrics-by-usage (MANDATORY — usageType=SCAN or CU; NEVER use CloudMonitor or ActionTrail)
Related skills
Installs
58
GitHub Stars
95
First Seen
Apr 22, 2026