用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/MikeTreml/MissionControl --skill kpi-tracker命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | kpi-tracker |
| description | KPI definition, calculation, and tracking skill for business intelligence dashboards |
| allowed-tools | ["Read","Write","Glob","Grep","Bash"] |
| metadata | {"specialization":"decision-intelligence","domain":"business","category":"visualization","priority":"high","shared-candidate":true,"tools-libraries":["pandas","polars","great_expectations","pandera"]} |
The KPI Tracker skill provides comprehensive capabilities for defining, calculating, and monitoring Key Performance Indicators. It supports the full KPI lifecycle from definition through tracking, alerting, and reporting for business intelligence and performance management.
# Define KPI structure
kpi_definition = {
"name": "Customer Acquisition Cost",
"code": "CAC",
"category": "Marketing",
"description": "Total cost to acquire a new customer",
"formula": "total_marketing_spend / new_customers_acquired",
"unit": "currency",
"polarity": "lower_is_better",
"frequency": "monthly",
"owner": "Marketing Director",
"data_sources": [
{"name": "marketing_spend", "source": "finance_system", "table": "expenses"},
{"name": "new_customers", "source": "crm", "table": "customers"}
]
}
# Define targets and thresholds
targets = {
"kpi": "CAC",
"period": "2024-Q1",
"target": 150,
"thresholds": {
"green": {"max": 150},
"yellow": {"min": 150, "max": 200},
"red": {"min": 200}
},
"benchmark": {
"industry_average": 180,
"best_in_class": 100,
"previous_period": 175
}
}
# Define drill-down hierarchy
hierarchy = {
"kpi": "Revenue",
"levels": [
{"name": "Total", "aggregation": "sum"},
{"name": "Region", "dimension": "geography", "aggregation": "sum"},
{"name": "Product Line", "dimension": "product", "aggregation": "sum"},
{"name": "Sales Rep", "dimension": "salesperson", "aggregation": "sum"}
]
}
# Configure automated alerts
alert_config = {
"kpi": "CAC",
"conditions": [
{
"type": "threshold_breach",
"threshold": "red",
"consecutive_periods": 2,
"notification": ["email", "slack"]
},
{
"type": "trend",
"direction": "increasing",
"periods": 3,
"min_change_percent": 10,
"notification": ["email"]
},
{
"type": "forecast_breach",
"horizon": 3,
"probability": 0.8,
"notification": ["email", "dashboard"]
}
]
}
| Category | Example KPIs |
|---|---|
| Financial | Revenue, Profit Margin, ROI, CAC, LTV |
| Customer | NPS, Churn Rate, CSAT, Retention |
| Operational | Cycle Time, Defect Rate, Utilization |
| Growth | MRR Growth, User Growth, Market Share |
| Efficiency | Cost per Unit, Revenue per Employee |
{
"operation": "define|calculate|track|alert",
"kpi_definition": {
"name": "string",
"formula": "string",
"unit": "string",
"polarity": "higher_is_better|lower_is_better",
"frequency": "string"
},
"targets": {
"value": "number",
"thresholds": "object"
},
"data": {
"source": "string",
"period": "string",
"values": "object"
},
"analysis_options"
{
"kpi_values": {
"current_value": "number",
"previous_value": "number",
"target": "number",
"variance": "number",
"variance_percent": "number",
"status": "green|yellow|red"
},
"trend_analysis": {
"direction": "improving|stable|declining",
"change_percent": "number",
"periods_analyzed": "number"
},
"forecast": {
"next_period": "number",
"confidence_interval": ["number",
The skill validates: