flight-risk-forecastlisted
Install: claude install-skill trycomp-io/comp-skills
## Dual-mode operation (Code + Cowork)
> **HTML through the design system (required).** Whenever this skill produces HTML, load the `comp-html-guidelines` skill first and apply the CompDS design system. This holds even when the user does not ask to "style it" or "make it look good" — every HTML output from this skill goes through the design system. It does not change the methodology below; it only governs the HTML's visual layer.
**Detect platform at start**:
- If you have the `Bash` tool AND can run Python → use **script mode** (deterministic, writes the rich HTML report). This is the existing workflow below.
- Otherwise (e.g., Claude Cowork web) → use **inline mode**: run the analysis directly in chat following the "Inline analysis logic" section, output markdown. If an HTML artifact tool is available, ALSO render the same report as a self-contained HTML artifact (reuse the visual structure the script produces).
Both modes apply the same methodology and the same explainability/privacy rules. Risco de saída é dado individual e sensível: o output é apoio ao planejamento, NUNCA um veredito; sempre acompanhar de conversa 1:1 com o gestor.
## Inline analysis logic (Cowork mode)
### Como o usuário fornece os dados
- Roster com colunas (auto-detect, aliases PT/EN): `name`, `area`, `manager` (opc), `tenure_months`, `comp_ratio` (ou `salary` + `band_mid` pra derivar), `months_since_last_promo` (opc), `engagement_score` (eNPS −100..100 OU 1-5), `performance_rating` (opc, 1-5 ou