Configures Claude Code hooks and Codex hooks.json/notify. Use when adding PreToolUse guards, Stop hooks, managed hooks, format-on-save, preflight, audits, or worktree/budget hooks.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Audits SaaS, cloud, payment, and AI spend. Use when analyzing bills, right-sizing plans, sizing Savings Plans or CUDs, cutting payment-processing fees, or LLM self-host breakeven.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
Use this skill to audit, reduce, and monitor infrastructure and SaaS spending. Keep the output operational: cost breakdown, waste identification, optimization actions, and monitoring setup.
| Need | Starting Reference | Notes |
|---|---|---|
| audit a SaaS or infrastructure vendor bill (Vercel, Supabase, Cloudflare, Stripe, GitHub/CI, monitoring, email, domains) | references/vendor-billing-guide.md | vendor lookup step, plan-tier crossover, per-vendor billing dimensions and ranked levers |
| audit payment processing | references/vendor-billing-guide.md#stripe | stacked-fee arithmetic, IC+ rule, payment mix, Radar break-even, volume negotiation |
| audit AI API spend or self-host vs API breakeven | references/ai-api-cost-guide.md | cost-per-success model, prompt caching, batch API, model routing, breakeven formula |
| quantify uncertain cost or budget risk | references/cost-uncertainty-method.md | reproducible Monte Carlo, joint empirical dependence, Morris screening |
| decide on AWS/GCP/Azure commitments or K8s cost allocation | references/cloud-commitment-and-k8s-cost-guide.md | d-quantile commitment sizing, instrument shapes (Savings Plans, RIs, CUDs, Spot), application order, exit rules per provider, when NOT to commit, showback before chargeback, GPU capacity, FinOps Framework vocabulary |
| cut egress or storage-class cost | references/cloud-commitment-and-k8s-cost-guide.md#egress-and-storage-class-traps | cross-AZ and NAT charges, minimum storage duration, retrieval and rehydration, small-object minimums, break-even before a lifecycle rule |
| set up cost monitoring | references/cost-monitoring-setup.md | budget alerts, review cadence, FOCUS normalization |
| track unit economics | references/unit-economics-guide.md | cost per customer/feature/request, ARPC tracking, FOCUS standard |
| IaC cost guardrails in CI | references/vendor-billing-guide.md#iac-cost-guardrails | Infracost PR diffs, budget-threshold merge gates |
| monthly cost review | assets/monthly-cost-review-checklist.md | reusable review template |
| automated cost audit from billing data | agents/cost-auditor.md | parses screenshots/API data, ranks top 5 cost drivers, outputs prioritized actions |
Trigger this only when ranges or dependence can change the decision. Supply bounded distributions with units, dated provenance, distribution rationale, an auditable component formula, budget, draws, and seed; use the example as the input contract. Run python3 scripts/cost_uncertainty.py --input assets/cost-uncertainty-example.json --sensitivity. Read cost quantiles and modeled budget-exceedance probability separately from simulation_error; more draws reduce numerical error, not model uncertainty. Use deterministic arithmetic for fixed inputs, and fall back to low/base/high scenarios when probability weights or dependence cannot be defended.
forecast, observed, or realized; only realized means the saving appeared on a closed bill without an unacceptable SLO, support, security, or recovery regression| Category | Examples | Optimization Lever |
|---|---|---|
| compute | Vercel Functions, Supabase database, edge workers | reduce invocations, optimize cold starts, right-size memory |
| bandwidth | Fast Origin Transfer, database egress, CDN transfer | caching, compression, image optimization, SSG |
| storage | Supabase storage, R2, S3, blob stores | lifecycle policies only past the class minimum duration and read-rate break-even, compression, deduplication |
| per-request | ISR writes/reads, API calls, email sends | batching, caching, debouncing, on-demand invalidation |
| subscriptions | Pro plans, seats, add-ons | right-size plan tier, remove unused seats/add-ons |
| transaction fees | Stripe processing, dispute fees | volume negotiation, reduce disputes, batch payouts |
| AI tokens | LLM APIs, fine-tuning, self-hosted GPU inference | prompt caching, model routing, batch API, shorter prompts, spot/reserved GPU capacity |
| cloud commitments | AWS Savings Plans/RIs, GCP CUDs, Azure Reservations | size at the d-quantile of stable usage, layer flexible + rigid instruments, never commit mid-migration |
| K8s cluster cost | shared node pools, control plane, storage, load balancers | namespace/label cost allocation (OpenCost or a similar allocation tool), showback before chargeback, request-vs-usage rightsizing |
startup-operating-system--pricing file (alias --prices) you copy from the provider pricing pages on the day you estimate: {"checked": "YYYY-MM-DD", "models": {"<id>": {"input_per_1m": ..., "output_per_1m": ...}}}. It carries no prices, prices standard input/output only (cache, batch and long-context tiers are not modelled), and exits 2 on a missing or unreadable price file, a model listed twice, non-positive tokens, a future checked date, or prices older than --max-age-days N. The age limit has no default; set it whenever the estimate feeds a decision. ai-bot-builder's per-conversation estimator reads the same file.startup-operating-systemWhen prior decisions or pitfalls are relevant, consult learnings.consolidated.md if present; use learnings.md only for needed history or as the available fallback. Otherwise skip both.
After applying it, if you encountered a pattern worth remembering, a mistake worth preventing, or a domain fact that surprised you, append one dated bullet to learnings.md via agents-skills-feedback-loop/scripts/append_learning.py. Do not modify SKILL.md itself.
아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
Configures Claude Code hooks and Codex hooks.json/notify. Use when adding PreToolUse guards, Stop hooks, managed hooks, format-on-save, preflight, audits, or worktree/budget hooks.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Configures and hardens Claude Code and Codex MCP servers. Use when connecting databases, APIs, SaaS, building servers, or serving a clearance-filtered knowledge base.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Owns instruction files: AGENTS.md, CLAUDE.md, personal and repo rules. Use when writing, pruning, auditing them, sharing rules across Claude and Codex, or fixing ignored rules.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Creates and audits agent skills: SKILL.md, references, scripts, runtime metadata. Use when writing, validating, or security-reviewing a skill, or fixing truncated skill listings.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Adds per-skill learnings loops for dated patterns, mistakes, and domain facts. Use when wiring skill memory, consolidation, or drift audits.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Chooses subagent, team, workflow, or debate and launches it on Claude Code or Codex. Use when delegating, running agent review boards, or installing shared agents.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.