kpi-alert-handling

kpi-alert-handling is a skill for Claude Code from vivy-yi/finance-skills. It costs 94 tokens per session (2,099 once invoked), scanned A, original, MIT.

A workflow for investigating KPI warnings when a business measure falls below a target, changes unusually, or worsens over time. A KPI is a number used to track business performance.

In plain words
What is it for?
It helps handle warnings about measures such as collection delays, profit margins, or closing times, then assign actions and follow them until the warning is closed.
Why use it?
A warning alone does not explain what caused the problem or who should respond. This process checks the data, traces possible causes, assesses impact, and tracks corrective actions.

Skill for Claude Code

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

Good fit It helps handle warnings about measures such as collection delays, profit margins, or closing times, then assign actions and follow them until the warning is closed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vivy-yi/finance-skills/kpi-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 kpi-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 kpi-alert-handling

README.md
[![agentmods](https://agentmods.dev/badge/skills/vivy-yi/finance-skills/kpi-alert-handling/github.svg)](https://agentmods.dev/skills/vivy-yi/finance-skills/kpi-alert-handling)
Your own site
<a href="https://agentmods.dev/skills/vivy-yi/finance-skills/kpi-alert-handling"><img src="https://agentmods.dev/badge/skills/vivy-yi/finance-skills/kpi-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 kpi-alert-handling

Your own site · 80×15
<a href="https://agentmods.dev/skills/vivy-yi/finance-skills/kpi-alert-handling"><img src="https://agentmods.dev/badge/skills/vivy-yi/finance-skills/kpi-alert-handling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,099 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.00094 $0.02099
Opus 5 $0.00047 $0.01050
Sonnet 5 $0.00019 $0.00420
Haiku 4.5 $0.00009 $0.00210

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

Security

Grade A, and why

kpi-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/kpi-management/skills/kpi-alert-handling/SKILL.md · 245 lines

How it starts

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

加载上下文

首次使用时: 读取 ../../CLAUDE.md 获取场景级配置(预警规则/升级矩阵/责任分工)。


/kpi-alert-handling — KPI 预警处理

Examples

→ 示例:用户说"应收账款周转天数触发了红色预警,超过了 90 天上限",系统应调用本技能,分析原因并给出处理建议。

→ 示例:用户说"毛利率预警了,但业务说是因为大项目交付延期,不是真实问题",系统应调用本技能,区分真实风险和口径差异。

→ 示例:用户说"月度关闭提前期超标了,这个月又晚了两天",系统应调用本技能,分析延迟原因并制定改进计划。

预警分级定义

预警等级:
🔴 红线预警(Red):达成率 < [X]%(如 70%),或连续 [X] 期未达标
🟡 黄线预警(Amber):达成率 < [X]%(如 85%),或单期异常波动 >[X]%
⚠️  蓝线预警(Blue):趋势恶化,连续 [X] 期环比下降

预警类型:
  跌破阈值:实际值跌破预设目标线
  异常波动:短期内大幅波动,超出正常范围
  趋势恶化:连续 [X] 期走势与目标背离

第一步:预警确认

确认预警信息:

□ KPI 名称:[名称]
□ 预警类型:[跌破阈值/异常波动/趋势恶化]
□ 预警等级:[🔴红线/🟡黄线/⚠️蓝线]
□ 当前值:[X]
□ 预警阈值:[X]
□ 触发时间:[YYYY-MM-DD HH:MM]
□ 目标值:[X]
□ 缺口:[X](当前 - 目标)
□ 达成率:[X]%

核实数据准确性:

□ 数据来源:[系统名称]
□ 数据最新时间:[YYYY-MM-DD HH:MM]
□ 数据异常排查:[✅ 数据确认 / ⚠️ 需核实]

第二步:影响评估

影响范围评估:

□ 对公司级目标影响:
  → 关联的公司 KPI:[KPI 名称]
  → 影响幅度:[X]%(预计拖累公司 KPI 达成率 [X]%)

□ 对财务影响(如适用):
  → 收入影响:[±X] 万
  → 利润影响:[±X] 万
  → 现金流影响:[±X] 万

□ 对业务连续性影响:
  → 客户影响:[有/无] — [描述]
  → 运营影响:[有/无] — [描述]

紧急程度判断:

□ 紧急程度:[🔴 紧急 / 🟡 一般 / ⚠️ 观察]
□ 须在 [X] 小时内响应:[是/否]

第三步:根因分析

数据层面分析:

□ 近期数据趋势:
| 期间   | 目标值 | 实际值 | 达成率 | 趋势 |
|--------|--------|--------|--------|------|
| [上期] | [X]    | [X]    | [X]%   | —    |
| [本期] | [X]    | [X]    | [X]%   | [↑↓—] |

□ 波动分析:
  → 实际 vs 预期:[±X]%(偏离度)
  → 是否在正常波动范围内:[✅ 是 / 🔴 否]

业务层面分析:

□ 外部因素:
  → 市场环境变化:[有/无] — [描述]
  → 竞争对手行动:[有/无] — [描述]
  → 政策/监管变化:[有/无] — [描述]

□ 内部因素:
  → 执行问题:[有/无] — [描述]
  → 资源不足:[有/无] — [描述]
  → 计划变更:[有/无] — [描述]

根因判定:

□ 根因(最可能的原因):[描述]
□ 次要原因:[描述]
□ 置信度:[高/中/低] — 依据 [说明]

第四步:应对措施制定

短期措施(立即执行):

□ 措施 1:[描述]
  → 责任人:[姓名]
  → 执行期限:[YYYY-MM-DD]
  → 预计效果:[X](对 KPI 达成率的改善)

□ 措施 2:[描述]
  → 责任人:[姓名]
  → 执行期限:[YYYY-MM-DD]
  → 预计效果:[X]

中期措施([X] 天内):

□ 措施:[描述]
  → 责任人:[姓名]
  → 执行期限:[YYYY-MM-DD]
  → 预计效果:[X]

目标调整评估(如有必要):

□ 是否建议调整目标:[是/否]
□ 调整理由:[描述]
□ 调整方案:目标值从 [X] 调整为 [X]
□ 调整后达成率预估:[X]%
□ 调整须经:[审批人] 审批

Read the full file on GitHub · 245 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 · 245 lines · 94 tokens per session scan A e4944191cc3f

Subscribe to this mod's changes

kpi-alert-handling is a skill published in the GitHub repository vivy-yi/finance-skills (29 stars, last pushed 3mo ago), licensed MIT. It adds 94 tokens to every session and 2,099 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

infographics

Create professional infographics using Nano Banana Pro AI with smart iterative refinement. Uses Gemini 3 Pro for quality review. Integrates research-lookup and web search for accurate data. Supports 10 infographic types, 8 industry styles, and colorblind-safe palettes.

foryourhealth111-pixel/Vibe-Skills · 55 tokens

similarity-search-patterns

Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or optimizing retrieval performance.

foryourhealth111-pixel/Vibe-Skills · 30 tokens

figma-implement-design

Translate Figma nodes into production-ready code with 1:1 visual fidelity using the Figma MCP workflow (design context, screenshots, assets, and project-convention translation). Trigger when the user provides Figma URLs or node IDs, or asks to implement designs or components that must match Figma specs. Requires a…

foryourhealth111-pixel/Vibe-Skills · 76 tokens

datavis

Comprehensive data visualization toolkit for creating beautiful, mathematically elegant visualizations with D3.js, Chart.js, and custom SVG. Use when (1) building interactive data visualizations, (2) designing color palettes for charts, (3) choosing scales and visual encodings, (4) creating data pipelines from…

foryourhealth111-pixel/Vibe-Skills · 106 tokens

spec-kit-vibe-compat

Compatibility router for /speckit. workflows into /vibe-first Codex execution.

foryourhealth111-pixel/Vibe-Skills · 25 tokens

detecting-data-anomalies

Investigate outliers, rare events, spikes, and suspicious records in datasets. Use as an explicit anomaly-analysis helper when you want concrete anomaly-detection workflow guidance, not generic data validation or end-to-end ML ownership.

foryourhealth111-pixel/Vibe-Skills · 51 tokens