ac-cost-aware-engineering
Treating running cost as a design constraint rather than an afterthought: unit economics per request and per tenant, the cost drivers that dominate at scale, storage and egress and their tiers, cost attribution and tagging, the build-versus-buy line where cost crosses, budget alarms that act rather than notify, and the written cost record. Use when asking "cloud cost", "FinOps", "cost per request", "egress cost", "cost attribution", "why is our bill so high", "cost per tenant", "storage tiering", "reserved capacity", "cost as a non-functional requirement". Not for performance profiling and latency (ac-performance), not for capacity measurement and headroom (ac-chaos-and-capacity-testing), not for vendor contract negotiation.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 81
- Forks
- 17
01 前言 Front Matter
- name
- ac-cost-aware-engineering
- status
- seedling
- license
- MIT
- metadata
- { "domain": "software-engineering" }
- description
- Treating running cost as a design constraint rather than an afterthought: unit economics per request and per tenant, the cost drivers that dominate at scale, storage and egress and their tiers, cost attribution and tagging, the build-versus-buy line where cost crosses, budget alarms that act rather than notify, and the written cost record. Use when asking "cloud cost", "FinOps", "cost per request", "egress cost", "cost attribution", "why is our bill so high", "cost per tenant", "storage tiering", "reserved capacity", "cost as a non-functional requirement". Not for performance profiling and latency (ac-performance), not for capacity measurement and headroom (ac-chaos-and-capacity-testing), not for vendor contract negotiation.
02 资源文件 10
- 许可证LICENSE1.0 KB
- 参考文档SOURCE.md381 B
- 参考文档subskills/budget-alarms.md2.8 KB
- 参考文档subskills/build-versus-buy.md2.9 KB
- 参考文档subskills/cost-attribution.md2.9 KB
- 参考文档subskills/cost-drivers-at-scale.md3.2 KB
- 参考文档subskills/cost-record.md2.8 KB
- 参考文档subskills/storage-and-egress.md2.9 KB
- 参考文档subskills/unit-economics.md3.0 KB
- 参考文档TRUST.auto.yaml2.2 KB
03 SKILL.md 正文
Cost-aware engineering
Overview
Running cost is a property of the architecture, and it is decided early whether or not anyone decides it deliberately. A design that stores every event forever, calls a managed service per request, or moves data across regions has chosen a cost profile, and the choice is invisible until the invoice arrives at scale.
This skill covers the engineering of that constraint: how to compute unit economics rather than totals, which drivers dominate as volume grows, how storage and egress pricing shapes design, how attribution makes a cost visible to the team that causes it, where building becomes cheaper than buying, and how a budget alarm becomes an action rather than a notification. Performance and capacity measurement belong to other skills.
Primary sources: https://www.finops.org/ and https://www.cncf.io/.
When to use
- When designing a system whose cost will scale with usage.
- When a bill has grown faster than the traffic that justifies it.
- When attribution is needed to make a cost actionable.
- When evaluating whether to build a component or buy it.
When NOT to use
- For latency and profiling work (use ac-performance).
- For capacity headroom measurement (use ac-chaos-and-capacity-testing).
- For contract negotiation and vendor pricing terms (outside engineering).
Subskill Index
| Leaf | Domain segment | Scope (one line) |
|---|---|---|
subskills/unit-economics.md |
software-engineering/unit-economics |
Cost per request, per tenant, and per unit of business value. |
subskills/cost-drivers-at-scale.md |
software-engineering/cost-drivers-at-scale |
What dominates as volume grows, and what does not. |
subskills/storage-and-egress.md |
software-engineering/storage-and-egress |
Tiers, retention, and the transfer costs that surprise. |
subskills/cost-attribution.md |
software-engineering/cost-attribution |
Tagging, shared-cost allocation, and making a cost visible to its owner. |
subskills/build-versus-buy.md |
software-engineering/build-versus-buy |
The volume at which building beats buying, and the costs both hide. |
subskills/budget-alarms.md |
software-engineering/budget-alarms |
Alarms that trigger an action rather than a notification. |
subskills/cost-record.md |
software-engineering/cost-record |
The written record: unit cost, drivers, attribution, and trend. |
Status and honest limits
Pricing is vendor-specific, changes without notice, and is frequently discounted in ways that make list prices a poor guide to actual spend. The engineering principles here are stable; the numbers are not, and every figure in a cost record should carry its date and its source. Nothing here substitutes for reading a current price list, and a unit cost computed from list prices can be wrong by a large factor against a negotiated bill.
04 同仓库更多 Skills
troves
Deposit and withdraw from Troves DeFi yield vault strategies on Starknet. View available strategies, check positions, and manage vault deposits. Use this skill when the user mentions Troves, vault, yield vault, DeFi vault, strategy, yield farming, vault deposit, vault withdraw, earning yield through vaults, passive yield strategies, or wants to deposit into or withdraw from a yield strategy — even if they don't say "Troves" explicitly.
trade
Swap tokens on Starknet via Fibrous DEX aggregator. Supports per-provider selection (avnu, ekubo, or auto to race all). Use this skill when the user wants to swap, exchange, trade, convert, buy, or sell one token for another on Starknet. Also use when the user asks about token prices, exchange rates, DEX routing, best swap route, or wants to check how much they would receive for a given amount — even if they don't explicitly say "swap".
staking
Stake, unstake, claim, and compound rewards for STRK, WBTC, tBTC, SolvBTC, and LBTC on Starknet. View validators, pools, and staking positions. Use this skill when the user mentions staking, delegating, validators, staking pools, rewards, compounding, unstaking, earning yield, passive income on crypto, or wants to earn on their STRK or BTC tokens — even if they don't say "stake" explicitly.
send
Send STRK, ETH, or any ERC-20 token to a Starknet address. Supports simulation (dry-run) before execution. Use this skill when the user wants to send, transfer, pay, tip, or move tokens to another wallet address on Starknet. Also trigger when the user mentions sending funds to someone, making a payment, transferring assets, or moving crypto to a specific address — even if they just say "pay 10 STRK to 0x...".
portfolio
View a comprehensive DeFi portfolio dashboard and optimize portfolio allocation via automated rebalancing. Use this skill when the user wants an overview, summary, dashboard, total value, net worth, portfolio rebalancing, target allocation, or wants to see all their DeFi positions across Starknet at once. Also trigger when the user asks "what do I have", "show me everything", "how much am I worth", "my positions", "my investments", "rebalance my portfolio", "I want 50% ETH", "optimize my holdings", or any request for a holistic view of their Starknet holdings — even if they don't explicitly say "portfolio".
multi-swap
Execute multiple token swaps in a single Starknet transaction via Fibrous (default). Supports per-provider selection (avnu, ekubo, or auto to race all). Supports 2-3 swap pairs bundled into one multicall. Use this skill when the user wants to swap multiple token pairs at once, do batch swaps, execute several trades simultaneously, perform parallel swaps, or do bulk trading in one transaction. Also trigger when the user mentions "two swaps", "three swaps", "swap X and Y at the same time", or wants to convert multiple tokens in a single call.