360 Secure SkillHub
360 安全技能中心

ctyun-analyze-billing

该 Skill 通过 ctyun-cli 只读查询天翼云账单、费用、退款、调账、资源成本与用量,按证据分级核对金额并生成对话式报告;强调最小范围查询、用户授权和缺失数据不臆测,并区分直接账单值、已核对计算与不完整数据。

kqwjyk
kqwjyk
热度 9.68
最近更新 2026-08-12 19:40:14
分类:数据依赖:代码执行 / 第三方 API应用场景:财务 / 报告撰写 / 数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add ctyun-analyze-billing
Metadata
name
ctyun-analyze-billing
description
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.

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-billing only when this Skill runs a concrete product Action, such as bill QueryMonthlyBillSummary. Put this global flag before the product and Action. Do not add it to version, 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 bill first. 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

  1. Set the billing period or date range, filters, question, and money basis. Keep the original field name when amount, payableAmount, or price is unclear.
  2. Read bill Actions and query catalog. Choose the smallest bill query that can answer the question. For an Action not in the list, run ctyun-cli bill --help and ctyun-cli bill <Action> --help. Check that it is read-only and confirm its scope, flags, pagination, and response fields.
  3. 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.
  4. 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.
  5. 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, or Cannot determine.

Reference navigation