Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add aliyun/alibabacloud-agent-toolkit --skill alibabacloud-cli-cost-estimationgit clone --depth 1 https://github.com/aliyun/alibabacloud-agent-toolkitWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/aliyun/alibabacloud-agent-toolkit/alibabacloud-cli-cost-estimation)<a href="https://agentmods.dev/skills/aliyun/alibabacloud-agent-toolkit/alibabacloud-cli-cost-estimation"><img src="https://agentmods.dev/badge/skills/aliyun/alibabacloud-agent-toolkit/alibabacloud-cli-cost-estimation/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/aliyun/alibabacloud-agent-toolkit/alibabacloud-cli-cost-estimation"><img src="https://agentmods.dev/badge/skills/aliyun/alibabacloud-agent-toolkit/alibabacloud-cli-cost-estimation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00118 | $0.03072 |
| Opus 5 | $0.00059 | $0.01536 |
| Sonnet 5 | $0.00024 | $0.00614 |
| Haiku 4.5 | $0.00012 | $0.00307 |
Grade A, and why
alibabacloud-cli-cost-estimation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 275 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Alibaba Cloud CLI Cost Estimation
Get an exact price quote for a CLI operation without executing it. The quote comes from the same pricing source as the trade system: for operations that produce an immediate order, the quoted amount equals the order amount you would actually pay (verified across new purchases, spec upgrades, and bandwidth changes — quote and bill match to the cent).
This is the pre-execution half of cost management. The post-hoc half
(bills already incurred) is aliyun bssopenapi QueryAccountBill — see the
reconciliation section below.
Requirements
- Alibaba Cloud CLI ≥ 3.4.2 (
aliyun version) - Product plugins up to date (
aliyun plugin update)
The Agent Rule: Quote Before Chargeable Execution
When you are about to execute an operation that creates, resizes, renews, or otherwise changes billable resources:
- Check whether the API supports quoting (see Discovery below).
- Quote it by appending
--estimate-costto the exact command you intend to run. - Present the amount to the user as part of the confirmation, e.g.
"This will execute
ModifyPrepayInstanceSpec— estimated charge ¥28.89 (prorated upgrade delta). Proceed?" - Execute only after confirmation, by removing
--estimate-costfrom the same command.
Never silently execute a chargeable operation when a quote was obtainable.
--estimate-cost is always safe to add: it only quotes, never executes, and
changes nothing in the account.
Multi-step plans: quote everything first, confirm once. When the user's request decomposes into multiple API calls (a workflow), do NOT interleave execute-and-ask step by step. Instead:
- Quote all chargeable steps up front, before executing step 1 — use
--estimate-cost-contextstate overrides for steps that depend on the state an earlier step will produce. - Present one consolidated cost plan: each step's amount labelled by its nature (immediate order / usage-based estimate with its assumption / refund / free), plus the total of immediate charges.
- Ask for a single confirmation of the whole sequence, then execute the steps in order.
- If a step fails or the account state changes mid-sequence, stop and re-quote the remaining steps before continuing.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 275 lines · 118 tokens per session scan A edfceb3dc56d
alibabacloud-cli-cost-estimation is a skill published in the GitHub repository aliyun/alibabacloud-agent-toolkit (21 stars, last pushed today), licensed Apache-2.0. It adds 118 tokens to every session and 3,072 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
alibabacloud-ecs-windows-os-troubleshooting
Troubleshoot and repair Alibaba Cloud ECS Windows instances from inside the GuestOS or remotely via Cloud Assistant. Use whenever the user reports any Windows symptom or asks for a health check on an ECS Windows instance, even vague ones like "check this machine": boot failures (BSOD, black screen, boot loop, stuck at…
alibabacloud-ecs-linux-os-troubleshooting
Troubleshoot an Alibaba Cloud ECS Linux OS. Use when a user needs to diagnose a specified ECS Linux instance, such as instance stuck in Starting, boot stuck, SSH/VNC/Workbench login failure, network issues, disk/FS issues, performance anomalies, suspected mining or hidden processes, crash/hang, clock drift, or…
x-theme
Change terminal command line prompt theme. Globally manage the display style of all x-cmd interactive components. Supports multiple theme vendors: theme, starship, ohmyposh. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.
loop
Schedule recurring tasks with notifications. Triggered by "/loop " to set up periodic monitoring.
skill0
Root index of x-cmd skill0 sub-skills. Defines the OKR-style agent workflow (goal → rule-verified results → execute), skill discovery, and agent tooling preferences. Style: principle-first, concise, delegate specifics to authoritative external sources.
atmos-custom-commands
Custom CLI commands: command definition in atmos.yaml, arguments, flags, shared native step types, when: conditions, output/UI steps, env vars, custom component types.