天翼云CLI工具 - 企业级命令行工具,帮助您轻松管理天翼云资源。支持ECS、VPC、EBS、ELB、CCE、Redis、MySQL、Kafka、CSS、EMR、监控、账务、IAM、Aone、CloudPC、AIServer、Audit、IMS、APM应用性能监控、LTS、SFS、OceanFS、ZOS、DPS物理机、安全卫士、云间高速EC、微服务引擎MSE、云防火墙CFW等32+服务模块,覆盖943+个API,898+个命令。
Documents
ctyun-analyze-billing
Try itUse when users ask to inspect, explain, reconcile, verify, or analyze CTYUN\天翼云 bills, charges, refunds, adjustments, product or resource costs, usage, billing-period changes, or dialogue billing reports through ctyun-cli.
What it does
Use when users ask to inspect, explain, reconcile, verify, or analyze CTYUN\天翼云 bills, charges, refunds, adjustments, product or resource costs, usage, billing-period changes, or dialogue billing reports through ctyun-cli.
The skill document
CTYUN Billing Analysis
Use fields returned by a bill API as bill facts. For every calculation or resource match, state the input, scope, and source. If data is missing, say “not retrieved” or “cannot determine.” Do not guess.
Safety rules
- Run read-only Actions only. Do not change resources, purchase, renew, or refund.
- Add
--invoke-source ctyun-analyze-billingonly when this Skill runs a concrete product Action, such asbill QueryMonthlyBillSummary. Put this global flag before the product and Action. Do not add it toversion, product help, Action help, or commands the user runs personally. - Never run
ctyun-cli configure, ask for credentials, put real keys on a command line, or enable--log. - Do not show raw bill responses or save real bills in tests, source control, cross-session caches, or external services.
- Use
billfirst. This is a preferred route, not the only route. Check local help before using a new Action. - Get user approval before expanding the account, project, product, region, resource, time, or verification scope.
Read privacy policy before real queries. Read troubleshooting when a command fails.
Required tool: ctyun-cli
ctyun-cli is required. Without a working CLI and local credentials set up by the user, do not use web pages, guessed APIs, or billing conclusions. First run:
ctyun-cli version
ctyun-cli --help
If either command fails, read install ctyun-cli. The agent may install it with an official method only when the user asks or approves. After installation, the user must personally run ctyun-cli configure. The agent must not run it, type values into it, or receive credentials.
Workflow
- Set the billing period or date range, filters, question, and money basis. Keep the original field name when
amount,payableAmount, orpriceis unclear. - Read bill Actions and query catalog. Choose the smallest
billquery that can answer the question. For an Action not in the list, runctyun-cli bill --helpandctyun-cli bill --help. Check that it is read-only and confirm its scope, flags, pagination, and response fields. - Read evidence policy. Use P1 only when the bill does not explain a charge, the user asks for a check, or there is a dispute. Limit each resource query with a bill-derived
resourceId, region, project, order, or time. Use P2 only when P0/P1 is not enough or the user asks. - Check whether all pages were returned. If not, do not claim a full check. If bill and resource data disagree, the bill API is the source of truth. Stop when the question is answered, no useful query remains, an ID is missing, or the next query would expand the scope.
- Read dialogue report specification. Show only the needed redacted result. Label each important amount or conclusion as
Direct bill API value,Checked calculation,Partial data, orCannot determine.
Reference navigation
- bill Actions: choose or find a bill Action.
- query catalog: flags and pagination hints.
- evidence policy: resource checks, money fields, conflicts, and pagination.
- install ctyun-cli: CLI is missing or PATH does not work.
- privacy policy: before real queries and output.
- dialogue report specification: report content.
- troubleshooting: CLI, permission, field, pagination, or money issues.
Related skills
Huawei Cloud BSS billing (not AWS/Azure/other clouds; refuses pricing quotes, real-name review, and any non-billing scope): balance, spend, attribution, reconciliation, coupons, stored-value cards, enterprise/partner billing. One-page briefing via hcloud. Use only when the user explicitly mentions 华为云 / Huawei Cloud / BSS and 余额/账单/对账/资源包/代金券/储值卡/企业或伙伴账务; refuses pay, renew, refund, delete.
Queries Huawei Cloud billing and pricing. Covers balances, bills, coupons, cash coupons, stored-value cards, orders, refunds, costs, free resources, resource...
Queries Huawei Cloud billing and fee details only when Terraform needs a billing or pricing inquiry. Covers balances, bills, coupons, cash coupons, stored-value cards, orders, refunds, costs, free resources, resource usage, enterprise accounts, and on-demand/period/ELB/NAT/DCS pricing. No write operations. Use this skill only when Terraform requires billing details, invoice/bill summaries, coupon or balance status, refund/order billing status, or pricing inquiry. Triggers: Terraform 账单查询, Terraform 费用查询, Terraform 价格询价, Terraform 询价, Terraform billing query, Terraform pricing inquiry, Terraform price quote, Terraform bill summary.
Query the Huawei Cloud account balance (cash/credit account available amount and debt) and the account change records (recharge/consume/refund/adjust) over a configurable time window, defaulting to the last 6 months. Uses the BSS (Business Support System) customer API via the huaweicloudsdkbss SDK, consistent with the console Billing Center. Use when the user wants to: (1) check the current Huawei Cloud account balance, (2) review income/expense records for the last ~half year, (3) verify recharge/consume history, (4) monitor account funds before deployments or renewals. Triggers include: "华为云余额", "账号余额", "账户余额", "查询余额", "余额查询", "近半年流水", "收支明细", "充值记录", "消费记录", "account balance", "Huawei Cloud balance", "balance query", "change records", "spending history", "billing", "BSS"
Manage Tencent Cloud CVM instances with the TCCLI command-line tool. Covers instance creation, querying, deletion, launch template management, price inquiry,...