aliyun-cost-foundation

Query Aliyun bills, trends, and allocations via BSS OpenAPI.

59|4|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/yuki-aigc/pomeloclaw --skill aliyun-cost-foundation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aliyun-cost-foundation
Source: https://github.com/yuki-aigc/pomeloclaw/tree/main/workspace/skills/finops_skills/aliyun-cost-foundation
Command: npx skills add https://github.com/yuki-aigc/pomeloclaw --skill aliyun-cost-foundation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires alibabacloud_bssopenapi20171214, alibabacloud_tea_openapi, alibabacloud_ecs20140526, and includes scripts (resource) and references (resource) components.

What problem does it solve?

成本数据基座,统一暴露 Aliyun 云成本查询能力,覆盖账单、趋势分析与成本分摊,帮助企业快速理解云成本结构、提升成本治理效率与决策质量。

Core Features & Use Cases

  • 账单查询:账户级账单、实例级账单及按产品的费用汇总,支持多种筛选条件。
  • 趋势分析:月度/日级成本趋势、环比变化,帮助对比不同行为周期的 spend 漏洞。
  • 分摊分析:按标签、资源组、区域等维度进行成本分摊与归集,形成可落地的费用分配报告。
  • 价格查询:查询按量和包年包月的价格信息,支持预算与成本预测。
  • Use Case: 预算编制、成本优化、跨团队成本分摊与报告生成场景均可通过该技能实现自动化。

Quick Start

Fetch and summarize last month’s Aliyun cost data to begin cost governance.

Frequently Asked Questions about aliyun-cost-foundation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze Aliyun billing data for monthly cost reviews?

To analyze Aliyun billing data for monthly cost reviews, query account-level and instance-level bills via BSS OpenAPI to summarize expenses by product, supporting automated budgeting and spend optimization.

What is the best way to perform cost allocation across Aliyun tags and resource groups?

The best way to perform cost allocation across Aliyun tags and resource groups is by querying allocation dimensions via BSS OpenAPI, aggregating expenses by tag, region, and resource group to generate actionable chargeback reports.

Does querying Aliyun cloud costs require specific API credentials?

Querying Aliyun cloud costs requires specific API credentials for BSS OpenAPI access. The process supports read-only operations with built-in error handling, ensuring safe retrieval of billing and price data without modifying resources.

Can I track daily and monthly cost trends for Aliyun cloud spend?

You can track daily and monthly cost trends for Aliyun cloud spend by querying BSS OpenAPI trend endpoints. This calculates period-over-period changes to identify anomalies and compare spending behaviors across different intervals.

How do I retrieve pay-as-you-go and subscription pricing for Aliyun instances?

To retrieve pay-as-you-go and subscription pricing for Aliyun instances, query the price data endpoints through BSS OpenAPI. This fetches current rate cards to support budget forecasting and cost prediction modeling.

What are the limitations of using BSS OpenAPI for Aliyun cost governance?

Limitations of using BSS OpenAPI for Aliyun cost governance include dependency on proper credential management and read-only access constraints. Complex cross-account aggregations may require additional external scripting to consolidate data.