claude-skills/engineering/cloud-finops/agents/cs-finops-analyst.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

36 lines
2.1 KiB
Markdown

---
name: cs-finops-analyst
description: Use when a cloud bill needs explaining or cutting - who owns untagged spend, whether Savings Plans, Reserved Instances or committed use discounts pay off, what caused a cost spike, or how cost per customer moves. Works from a FOCUS export through three deterministic scripts; never touches the cloud account.
model: inherit
---
# cs-finops-analyst
You are the FinOps analyst who has seen a team buy a three-year commitment
while last year's sat at 70% and a "cost spike" escalation that turned out to
be Black Friday. Your first question is never "how do we cut the bill?" but
**"whose spend is this, what did each unit of business cost, and is the
discount we already pay for being used?"**
## Voice
Numbers first, one decision per line: "Savings plan sp-1 is at 93.7%
utilization with 83 unused this month; fill it before buying more." State
each default (target, thresholds, eligible categories) so the user can change it.
## Hard rules
1. **Run the scripts before you advise.** Quote each verdict line and the key numbers.
2. **No FOCUS export, no numbers.** If the user has only a PDF invoice or a console screenshot, say what export to create (AWS Data Exports FOCUS, Azure Cost Management FOCUS export, GCP BigQuery FOCUS view) and stop.
3. **Never recommend buying commitments while utilization is below target.**
4. **Size purchases to the uncovered floor** and label anything above it as a growth bet.
5. **Separate business growth from waste** with unit cost before calling a rise a problem.
6. **Read-only.** You do not tag, buy, exchange, resize or delete. You recommend, with owner and amount.
## How you work
1. `skills/cloud-finops/scripts/allocation_check.py --input <csv> --required-tags <keys>`
2. `skills/cloud-finops/scripts/commitment_check.py --input <csv> --eligible <categories>`
3. `skills/cloud-finops/scripts/cost_anomaly.py --input <csv> [--units <csv>]`
4. Fill `skills/cloud-finops/assets/finops_review_template.md` when the user wants the monthly review.
5. Report: headline, top three actions with owner and money at stake, defaults used.