KPI 追踪器:Openclaw Skills 的业务绩效监控
作者:互联网
2026-03-30
什么是 KPI 追踪器?
KPI 追踪器是一个全面的解决方案,旨在赋能开发者和企业主直接从其编码环境中监控关键成功指标。作为 Openclaw Skills 生态系统的一部分,它提供了一个结构化框架,将 KPI 划分为收入、运营、营销和客户成功等类别。通过自动计算绩效阈值,该技能可确保团队通过主动报告和数据驱动的见解随时了解业务健康状况。
下载入口:https://github.com/openclaw/skills/tree/main/skills/1kalin/afrexai-kpi-tracker
安装与下载
1. ClawHub CLI
从源直接安装技能的最快方式。
npx clawhub@latest install afrexai-kpi-tracker
2. 手动安装
将技能文件夹复制到以下位置之一
全局模式~/.openclaw/skills/
工作区
/skills/
优先级:工作区 > 本地 > 内置
3. 提示词安装
将此提示词复制到 OpenClaw 即可自动安装。
请帮我使用 Clawhub 安装 afrexai-kpi-tracker。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
KPI 追踪器 应用场景
- 使用 Markdown 导出功能自动进行每周或每月的业务绩效复盘。
- 实时标记表现不佳的指标,如高客户流失率或低潜在客户转化率。
- 通过自然语言命令记录绩效数值,简化数据录入。
- 进行深入的趋势分析,以确定业务增速和目标达成概率。
- 智能体读取 kpi-config.json 文件以建立定义、单位和状态阈值。
- 用户通过智能体输入数据点,这些数据会自动验证并存储在 kpi-data.json 中。
- 根据要求,该技能会基于预设目标计算每个指标的当前状态(绿色、黄色或红色)。
- 智能体使用 Markdown 和表情符号生成可视化状态板,以突出显示需要关注的区域。
- 对于任何被标记为红色的 KPI,该技能会主动提供根因分析提示以协助排查问题。
KPI 追踪器 配置指南
要开始使用 Openclaw Skills 库中的此条目,请在工作区根目录中创建一个 kpi-config.json 文件:
{
"kpis": [
{
"name": "月度经常性收入",
"category": "revenue",
"unit": "$",
"target": 50000,
"redBelow": 35000,
"yellowBelow": 45000
}
]
}
确保智能体具有文件系统访问权限,以便管理同一目录中的 kpi-data.json 存储文件。
KPI 追踪器 数据架构与分类体系
| 组件 | 描述 | 格式 |
|---|---|---|
| 配置 | 定义 KPI、目标和警告阈值 | JSON 对象 (kpi-config.json) |
| 历史数据 | 所有记录的指标条目的时间序列日志 | JSON 数组 (kpi-data.json) |
| 报告 | 按需生成的绩效快照和状态板 | Markdown (.md) |
| 元数据 | 包括单位 ($, %)、日期和定性笔记 | 字符串/数值 |
所有数据均以人类可读的 JSON 格式存储在本地,便于进行版本控制和人工审计。
KPI Tracker Skill
Track, analyze, and report on Key Performance Indicators for any business.
What It Does
When activated, this skill helps you:
- Define and categorize KPIs (revenue, ops, marketing, customer success)
- Set targets and thresholds (green/yellow/red)
- Generate weekly/monthly KPI reports in markdown
- Flag KPIs that are off-track with root cause prompts
- Store historical data in a simple JSON file for trend analysis
Usage
Tell your agent: "Track these KPIs" or "Give me a KPI report" or "Which metrics are off track?"
Setup
Create kpi-config.json in your workspace:
{
"kpis": [
{
"name": "Monthly Recurring Revenue",
"category": "revenue",
"unit": "$",
"target": 50000,
"redBelow": 35000,
"yellowBelow": 45000
},
{
"name": "Customer Churn Rate",
"category": "customer",
"unit": "%",
"target": 3,
"redAbove": 7,
"yellowAbove": 5
}
]
}
Recording Data
Say: "Record MRR at $42,000 for this week"
The agent stores entries in kpi-data.json:
{
"entries": [
{ "kpi": "Monthly Recurring Revenue", "value": 42000, "date": "2026-02-13", "note": "Post-launch week" }
]
}
Reports
Say: "KPI report" and the agent generates a formatted status board:
?? KPI Report — Week of Feb 10, 2026
?? Monthly Recurring Revenue: $48,200 (target: $50,000) — 96.4%
?? Customer Churn Rate: 8.1% (target: 3%) — needs attention
?? Lead Conversion Rate: 11% (target: 15%) — trending up from 9%
?? Action needed on 1 red, 1 yellow KPI
Trend Analysis
Say: "Show MRR trend" — the agent reads historical entries and summarizes direction, velocity, and whether you'll hit target at current pace.
How the Agent Should Behave
- Read
kpi-config.jsonfor KPI definitions - Read/write
kpi-data.jsonfor historical values - When asked for a report: calculate status for each KPI, format with color indicators
- When a KPI is red: proactively suggest investigation areas
- When recording: validate the value makes sense (e.g., churn can't be negative)
File Locations
- Config:
kpi-config.json(workspace root or custom path) - Data:
kpi-data.json(same directory as config) - Reports: generated on-demand, optionally saved to
reports/kpi-YYYY-MM-DD.md
Pro Tip
Pair this with a cron job to generate weekly KPI reports automatically. For deeper business intelligence and pre-built industry KPI templates, check out AfrexAI Context Packs — drop-in configurations that include KPI frameworks for 10+ industries.
相关推荐
专题
+ 收藏
+ 收藏
+ 收藏
+ 收藏
+ 收藏
最新数据
相关文章
信号管道:自动化营销情报工具 - Openclaw Skills
技能收益追踪器:监控 Openclaw 技能并实现变现
AI 合规准备就绪度:评估与治理工具 - Openclaw Skills
FOSMVVM ServerRequest 测试生成器:自动化 API 测试 - Openclaw Skills
酒店搜索器:AI 赋能的住宿与位置情报 - Openclaw Skills
Dub 链接 API:程序化链接管理 - Openclaw Skills
IntercomSwap:P2P BTC 与 USDT 跨链兑换 - Openclaw Skills
spotplay:macOS 原生 Spotify 播放控制 - Openclaw Skills
DeepSeek OCR:AI驱动的图像文本识别 - Openclaw Skills
Web Navigator:自动化网页研究与浏览 - Openclaw Skills
AI精选
