metric-alert-handling

metric-alert-handling is a skill for Claude Code from vivy-yi/finance-skills. It costs 104 tokens per session (1,666 once invoked), scanned A, original, MIT.

A workflow for investigating warnings on financial or business measures, such as a KPI falling below its target or changing unusually. A KPI is a tracked measure used to judge performance.

In plain words
What is it for?
Use it to verify the data behind an alert, identify likely causes, estimate the impact, and decide whether the issue should be escalated.
Why use it?
It separates real business problems from data errors, missing records, changed definitions, seasonal effects, or one-off events.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md.

Good fit Use it to verify the data behind an alert, identify likely causes, estimate the impact, and decide whether the issue should be escalated.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vivy-yi/finance-skills/metric-alert-handling
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vivy-yi/finance-skills --skill metric-alert-handling
Clone the repo
git clone --depth 1 https://github.com/vivy-yi/finance-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for metric-alert-handling

README.md
[![agentmods](https://agentmods.dev/badge/skills/vivy-yi/finance-skills/metric-alert-handling/github.svg)](https://agentmods.dev/skills/vivy-yi/finance-skills/metric-alert-handling)
Your own site
<a href="https://agentmods.dev/skills/vivy-yi/finance-skills/metric-alert-handling"><img src="https://agentmods.dev/badge/skills/vivy-yi/finance-skills/metric-alert-handling/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for metric-alert-handling

Your own site · 80×15
<a href="https://agentmods.dev/skills/vivy-yi/finance-skills/metric-alert-handling"><img src="https://agentmods.dev/badge/skills/vivy-yi/finance-skills/metric-alert-handling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,666 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00104 $0.01666
Opus 5 $0.00052 $0.00833
Sonnet 5 $0.00021 $0.00333
Haiku 4.5 $0.00010 $0.00167

Measured 9d ago against content hash 2da95c18e1dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

metric-alert-handling scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

finance-skills/skills/management-report/skills/metric-alert-handling/SKILL.md · 198 lines

How it starts

The opening of the file, as written. The whole thing — 198 lines — stays where its author put it; the contents beside it link to each section on GitHub.

加载上下文

首次使用时: 读取 ../../CLAUDE.md 获取场景级配置(预警阈值定义/升级路径/责任人)。


/metric-alert-handling — 指标预警处理

Examples

→ 示例:用户说"有几个指标触发了预警,需要在管理报告里重点说明",系统应调用本技能,生成预警处理说明和应对措施。

→ 示例:用户说"Revenue 的预警后来核实是误报,需要修正数据并向管理层说明",系统应调用本技能,生成误报更正说明。

→ 示例:用户说"现金流预警已经连续 2 个月触发了,需要升级处理吗",系统应调用本技能,判断是否达到升级触发条件。

第一步:预警信息确认

预警基本信息:

□ 触发时间:[YYYY-MM-DD HH:MM]
□ 预警指标:[KPI/指标名称]
□ 预警类型:[跌破阈值/异常波动/趋势恶化/数据缺失]

□ 预警详情:
  → 触发值:[X]
  → 预警阈值:[X]
  → 偏差幅度:[X]%(触发值 vs 阈值)
  → 本期 vs 上期:[X]([+/-X]%)
  → 预警级别:[🔴 严重 / 🟡 中等 / ⚪ 轻微]

预警历史:

□ 同指标历史预警:[X] 次 / 过去 [X] 期
  → 最近一次预警:[YYYY-MM] — [描述]
  → 是否重复预警:[是/否]

第二步:数据核实

数据准确性检查:

□ 数据来源:[系统名称]
□ 数据提取时间:[YYYY-MM-DD HH:MM]
□ 数据口径:[与标准定义一致/存在口径差异]

□ 异常数据排查:
  → 重复计算:[有/无] — [描述]
  → 数据遗漏:[有/无] — [描述]
  → 录入错误:[有/无] — [描述]
  → 口径变化:[有/无] — [描述]

□ 数据核实结果:[✅ 数据准确 / ⚠️ 数据有误但可修正 / 🔴 数据不可用]

排除系统/数据问题后确认:

□ 核实后指标值:[X](vs 阈值 [X])
□ 是否仍触发预警:[✅ 是 / 🔴 否(数据问题导致误报)]

第三步:原因分析

快速归因:

□ 归因方向:
  → [业务因素]:实际业务表现低于预期
  → [数据因素]:数据质量问题
  → [预算/目标因素]:预算设定过于激进
  → [季节性因素]:季节性波动
  → [一次性因素]:偶发事件

□ 核心原因定位:
  → 最可能原因:[描述]
  → 置信度:[高/中/低]
  → 依据:[描述]

影响范围评估:

□ 影响业务范围:[全公司/特定业务线/特定区域]
□ 影响金额估算:[X] 万(对毛利/利润的影响)
□ 可逆性:[完全可逆/部分可逆/不可逆]

第四步:初步应对行动

即时行动:

□ 已采取行动:[描述] — 时间 [YYYY-MM-DD]
□ 初步应对是否有效:[✅ 是 / ⚠️ 待观察 / 🔴 无效]

□ 持续监控计划:
  → 监控频率:[每日/每周]
  → 关注指标:[指标列表]
  → 预警阈值调整:[是/否 — 调整至 [X]]

升级判断:

□ 是否需要升级:[是/否]

□ 升级条件检查:
  → KPI 缺口 > [X]%:[✅/🔴]
  → 预计影响金额 > [X] 万:[✅/🔴]
  → 趋势持续恶化(> [X] 期):[✅/🔴]
  → 涉及多个业务线:[✅/🔴]

□ 升级路径:
  → 升级至:[直属上级/CFO/CEO]
  → 升级理由:[描述]
  → 建议行动:[描述]

第五步:生成预警处理报告

═══════════════════════════════════════
指标预警处理报告
预警时间:[YYYY-MM-DD HH:MM]
处理时间:[YYYY-MM-DD]
═══════════════════════════════════════

【预警信息】
□ 指标:[名称]
□ 预警类型:[类型]
□ 预警级别:[🔴 严重 / 🟡 中等 / ⚪ 轻微]
□ 触发值:[X] | 阈值:[X]

【数据核实】
□ 数据准确性:[✅ 确认 / 🔴 误报]
□ 核实后是否仍触发:[✅ 是 / 🔴 否]

【原因分析】
□ 归因方向:[描述]
□ 核心原因:[描述]
□ 影响范围:[范围]
□ 影响金额:[X] 万

【应对行动】
□ 已采取行动:[描述]
□ 初步效果:[✅/⚠️/🔴]

□ 持续监控:[是/否]
  → 频率:[每 X]
  → 关注指标:[列表]

【升级决策】
□ 是否升级:[是/否]
□ 升级至:[对象]
□ 升级理由:[描述]
□ 建议行动:[描述]

□ 下次评估时间:[YYYY-MM-DD]

═══════════════════════════════════════
置信度:[✅ 高 / ⚠️ 中 / 🔴 低]
预警状态:[✅ 已处理 / ⏳ 监控中 / 🔴 已升级]
═══════════════════════════════════════

Read the full file on GitHub · 198 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 198 lines · 104 tokens per session scan A 2da95c18e1dd

Subscribe to this mod's changes

metric-alert-handling is a skill published in the GitHub repository vivy-yi/finance-skills (29 stars, last pushed 3mo ago), licensed MIT. It adds 104 tokens to every session and 1,666 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

wealth-structure

A framework for thinking about wealth through ownership, responsibility, leverage, and avoiding risks that could end your progress.

kangarooking/cangjie-skill · 141 tokens

alpha-vantage

Access real-time and historical stock market data, forex rates, cryptocurrency prices, commodities, economic indicators, and 50+ technical indicators via the Alpha Vantage API. Use when fetching stock prices (OHLCV), company fundamentals (income statement, balance sheet, cash flow), earnings, options data, market…

foryourhealth111-pixel/Vibe-Skills · 126 tokens

hedgefundmonitor

Query the OFR (Office of Financial Research) Hedge Fund Monitor API for hedge fund data including SEC Form PF aggregated statistics, CFTC Traders in Financial Futures, FICC Sponsored Repo volumes, and FRB SCOOS dealer financing terms. Access time series data on hedge fund size, leverage, counterparties, liquidity…

foryourhealth111-pixel/Vibe-Skills · 123 tokens

edgartools

Python library for accessing, analyzing, and extracting data from SEC EDGAR filings. Use when working with SEC filings, financial statements (income statement, balance sheet, cash flow), XBRL financial data, insider trading (Form 4), institutional holdings (13F), company financials, annual/quarterly reports (10-K…

foryourhealth111-pixel/Vibe-Skills · 110 tokens

asc-ppp-pricing

Set territory-specific pricing for subscriptions and in-app purchases using current asc setup, pricing summary, price import, and price schedule commands. Use when adjusting prices by country or implementing localized PPP strategies.

rorkai/app-store-connect-cli-skills · 45 tokens

fred-economic-data

Query FRED (Federal Reserve Economic Data) API for 800,000+ economic time series from 100+ sources. Access GDP, unemployment, inflation, interest rates, exchange rates, housing, and regional data. Use for macroeconomic analysis, financial research, policy studies, economic forecasting, and academic research requiring…

foryourhealth111-pixel/Vibe-Skills · 75 tokens