claude-skills/engineering/skills/cloud-finops/SKILL.md
Alireza Rezvani 13566ae423
feat: mobile-release, cloud-finops and support-ops plugins (#1153)
* feat: mobile-release, cloud-finops and support-ops plugins

Three new plugins for gaps the library had no skill for:

- engineering/mobile-release: iOS privacy-manifest and Play release
  checks, plus a PROCEED/HOLD/HALT staged-rollout gate.
- engineering/cloud-finops: FOCUS-export allocation coverage,
  commitment utilization/coverage/ESR, robust cost anomalies.
- business-growth/support-ops: business-hours SLA attainment,
  Erlang C staffing, ticket deflection finder.

Each ships 3 stdlib scripts, 3 cited references, a cs-* agent and
commands, mirrors into its domain bundle, trigger and behaviour eval
cases with fixtures, and refreshed counters, mirrors and baselines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L8KYFKgTBNWHqHJNQWHwnq

* feat: trigger tuning, skill-router hooks and eval cases for the new plugins

- Descriptions rewritten in user words after held-out trigger evals
  (cloud-finops 12/24 -> 19/24 positives, 0 near-miss fires).
- Skill-router UserPromptSubmit hooks in mobile-release, cloud-finops,
  support-ops and both bundles; 0 wrong hints across 2,355 eval prompts.
- support-ops scoped to interval scheduling; headcount and hiring stay
  with capacity-planner (the old note wrongly said it had no queueing).
- support-ops Report section and mobile-release reason-code rule from
  behaviour-eval transcripts; behaviour eval prompt names the review.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L8KYFKgTBNWHqHJNQWHwnq

* fix(mobile-release, support-ops): small-sample HALTs, platform check, backlog drain

From review on #1153:
- rollout_gate: Play thresholds judged on the 95% Wilson lower bound;
  below --min-users a significant regression or device breach is a HOLD,
  not a HALT (1 crash among 40 users no longer halts a 1% rollout).
- rollout_gate: baseline and release on different platforms exit 3;
  an Android row without anr_users says ANR was not checked.
- staffing_plan: backlog drain spread over the first --drain-hours rows
  only, at the arrivals' effective AHT (divided by concurrency); footer
  states one row = one hour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L8KYFKgTBNWHqHJNQWHwnq

* fix(mobile-release, support-ops): input validation and documented caveats

From the second review on #1153:
- rollout_gate: inf/NaN counts and out-of-range percentages exit 3;
  exactly two rows required, matching the docstring; repeated looks
  across stages and the staged-cohort bias documented.
- staffing_plan: non-finite inputs exit 3; staffed is defined as paid
  agents rostered before shrinkage.
- business-growth/CLAUDE.md lists all six skills.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L8KYFKgTBNWHqHJNQWHwnq

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-17 09:26:05 +01:00

5.2 KiB

name description argument-hint license metadata
cloud-finops Use for any cloud cost question on AWS, Azure or Google Cloud - a bill that jumped or one service that spiked (NAT gateway, egress, storage), cost anomaly alert thresholds, untagged or unallocated spend and tag cleanup for showback or chargeback, Savings Plans, Reserved Instances or committed use discounts (utilization, coverage, unused commitment, effective savings rate, whether to buy more), or whether cost per order or per customer got worse. Reads a FOCUS billing export with stdlib scripts. <focus_export.csv> [--required-tags team,env] [--units units.csv] MIT
version build_pattern distinct_from
1.0.0 Three deterministic stdlib scripts over a FOCUS 1.x CSV (allocation coverage and tag hygiene, commitment utilization/coverage/ESR with a sizing floor, robust anomaly and unit-cost detector) with typed exit codes; definitions cited to the FOCUS v1.4 specification and the FinOps Foundation Framework and ESR working-group paper llm-cost-optimizer (LLM API token spend); procurement-optimizer (SaaS vendor spend); aws-solution-architect, azure-cloud-architect, gcp-cloud-architect (architecture design, not billing data); cfo-advisor (company finance)

Cloud FinOps

Portability: 3 stdlib Python scripts plus a shared loader. Input is a CSV you export; no cloud credentials, no API calls. Definitions verified 2026-11-17 against FOCUS v1.4 and the FinOps Foundation.

A cloud bill answers "how much"; it rarely answers "whose", "was the discount worth it" or "is this spike real". FOCUS, the open billing schema that AWS, Azure and Google Cloud all export, makes the three questions computable the same way on every provider. This skill computes them and refuses the common shortcuts: allocating by BilledCost, measuring coverage in discounted dollars, buying commitments while existing ones sit idle, and alerting on percentages alone.

Workflow

# 0 - Export FOCUS: AWS Data Exports (FOCUS 1.x), Azure Cost Management export (FOCUS), GCP BigQuery FOCUS view
# 1 - Who owns the spend?
python scripts/allocation_check.py --input focus.csv --required-tags team,env,cost-center
# 2 - Are the commitments earning their keep? Should we buy more?
python scripts/commitment_check.py --input focus.csv --eligible Compute
# 3 - What changed, and is it the business or the bill?
python scripts/cost_anomaly.py --input focus.csv --units orders.csv

Step 1 reports the share of EffectiveCost carrying every required tag, the largest unallocated resources, and tag values that split one owner (Prod/prod). Cost with no ResourceId (shared charges, unused commitment) needs a split rule, not a tag.

Step 2 computes utilization, coverage in on-demand equivalent (ListCost), and the effective savings rate with unused commitment counted as negative savings. It names under-used commitments, says "fix utilization first" when coverage is low and commitments are idle, and gives the lowest daily uncovered spend as the size a new commitment would keep fully used.

Step 3 flags a group-day only when it beats a robust z-score (median and MAD), a relative floor and a money floor together, and compares cost per business unit between the two halves of the period. Under 14 days it refuses.

Hard rules

  • EffectiveCost for ownership and trends; BilledCost only for the invoice. Purchases are spread by EffectiveCost.
  • Never recommend a commitment purchase while utilization is under target. Move workloads onto what is paid for first.
  • Size new commitments to the floor, not the average. Above the floor is a growth bet; say it is one.
  • Thresholds and targets are policy. State every default you used (--target, --min-coverage, -k, --min-abs).
  • A total that rises with the business is not an anomaly. Check unit cost before calling a spike waste.
  • Read-only. Never change tags, buy or exchange commitments, or delete resources; produce the recommendation and its numbers.

Scripts

Script Role Exit codes
scripts/allocation_check.py Allocation coverage, spend by category and account, unallocated resources, tag hygiene 0 at target · 2 findings · 3 bad input
scripts/commitment_check.py Utilization, coverage, ESR, per-commitment waste, sizing floor 0 healthy · 2 findings · 3 bad input
scripts/cost_anomaly.py Robust daily anomalies by service or account, unit-cost drift 0 none · 2 findings · 3 bad input

All support --help, --sample and --output json. scripts/focus_common.py is the shared loader.

References and assets