agentsclimarketplace

Kpi definition consistency checker

Skill sisodiabhumca/agent-skills/skills/kpi-definition-consistency-checker

Vendor-neutral skill to check a KPI dictionary for conflicting definitions, grain mismatches, and missing ownership.From its SKILL.md

Install
npx -y skills add sisodiabhumca/agent-skills --skill kpi-definition-consistency-checker

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.2 KB, 258 tokens by cl100k_base, as published. Nobody here has run it

When to invoke

  • You maintain a metrics catalog and want consistency across teams.
  • You suspect KPI definitions drifted (different denominators, time windows, or grains).

Inputs needed

  • KPI dictionary JSON: kpis[] where each KPI has:
    • name, description, numerator, denominator, grain, window, owner, source_tables[]

Workflow

  1. Normalize names and detect near-duplicates.
  2. Validate required fields and flag missing owners/windows/grain.
  3. Detect potential conflicts:
    • Same KPI name but different numerator/denominator
    • Different grain (user vs account vs event)
    • Window mismatch (7d vs 30d)
  4. Emit a report with issues and a suggested canonicalization list.

Output format

  • JSON report:
    • summary
    • issues[] (severity, kpi, problem, details)
    • duplicate_groups[]

Guardrails

  • Heuristic checks only; do not claim semantic equivalence.
  • Do not query databases; rely solely on provided dictionary.

Reference code

  • kpi_definition_consistency_checker.py reads KPI JSON and outputs a consistency report.

What ships with it: 2 files

4.7 KB alongside SKILL.md, 1 of them executable

Keep looking

Skills are one crate of 326,835. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.