← 返回 Skills 市场
1kalin

KPI Tracker

作者 1kalin · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
930
总下载
0
收藏
8
当前安装
1
版本数
在 OpenClaw 中安装
/install afrexai-kpi-tracker
功能描述
Track, analyze, and report business KPIs with targets, status flags, trend analysis, and root cause prompts using configurable JSON files.
使用说明 (SKILL.md)

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

  1. Read kpi-config.json for KPI definitions
  2. Read/write kpi-data.json for historical values
  3. When asked for a report: calculate status for each KPI, format with color indicators
  4. When a KPI is red: proactively suggest investigation areas
  5. 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.

安全使用建议
This skill is instruction-only and behaves like a lightweight, local KPI manager: it will read kpi-config.json and read/write kpi-data.json in your workspace and can write markdown reports to reports/*.md. Before using it, (1) review or create the kpi-config.json so it only contains non-sensitive metric names, (2) store kpi-data.json in a location you control (don’t point it at a folder containing secrets), and (3) be cautious if you connect the agent to external channels (Slack/Telegram) or set up automatic cron jobs — those integrations are not implemented by the skill and may require separate credentials and review. No network endpoints, installs, or credentials are requested by the skill itself. If you need stricter isolation, run the agent with a workspace that only contains KPI data.
功能分析
Type: OpenClaw Skill Name: afrexai-kpi-tracker Version: 1.0.0 The OpenClaw AgentSkills bundle for the KPI Tracker skill appears benign. All files, including `_meta.json`, `SKILL.md`, and `README.md`, describe a legitimate business intelligence tool. The instructions for the AI agent in `SKILL.md` are clear, aligned with the stated purpose (reading/writing `kpi-config.json` and `kpi-data.json`), and do not contain any prompt injection attempts, instructions for data exfiltration, malicious execution, or persistence mechanisms. External links provided are for user information and marketing, not for agent interaction leading to execution or data theft.
能力评估
Purpose & Capability
The skill's name and README describe KPI definition, recording, trend analysis, and report generation — and the SKILL.md only requires local config/data JSON files and optional report output, which is proportionate to that purpose.
Instruction Scope
Runtime instructions are explicit and scoped: read kpi-config.json, read/write kpi-data.json, and optionally write reports to reports/*.md. There are no instructions to access unrelated system files, credentials, or external endpoints (links are only references to third-party resources).
Install Mechanism
No install spec or code files are present (instruction-only). The README's example 'clawhub install' is a usage hint but there is no installer payload to write or execute on the system.
Credentials
The skill declares no required environment variables or credentials, which is appropriate for a local KPI tracker that stores data in workspace JSON files.
Persistence & Privilege
The skill does not request permanent/always-on presence and does not modify other skills or system-wide settings. It requires workspace file read/write access (expected and limited in scope).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install afrexai-kpi-tracker
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /afrexai-kpi-tracker 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the KPI Tracker Skill. - Track, categorize, and set targets for multiple business KPIs. - Record and store KPI data in JSON for historical analysis. - Generate weekly/monthly KPI reports in markdown, with visual status indicators. - Automatic flagging of off-track KPIs and root cause prompts. - Summarize trends and forecast target achievement using historical data. - Easy setup with sample config, and support for scheduled report generation.
元数据
Slug afrexai-kpi-tracker
版本 1.0.0
许可证
累计安装 9
当前安装数 8
历史版本数 1
常见问题

KPI Tracker 是什么?

Track, analyze, and report business KPIs with targets, status flags, trend analysis, and root cause prompts using configurable JSON files. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 930 次。

如何安装 KPI Tracker?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install afrexai-kpi-tracker」即可一键安装,无需额外配置。

KPI Tracker 是免费的吗?

是的,KPI Tracker 完全免费(开源免费),可自由下载、安装和使用。

KPI Tracker 支持哪些平台?

KPI Tracker 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 KPI Tracker?

由 1kalin(@1kalin)开发并维护,当前版本 v1.0.0。

💬 留言讨论