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
npx -y skills add sisodiabhumca/agent-skills --skill kpi-definition-consistency-checkerAssembled 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
- Normalize names and detect near-duplicates.
- Validate required fields and flag missing owners/windows/grain.
- Detect potential conflicts:
- Same KPI name but different numerator/denominator
- Different grain (user vs account vs event)
- Window mismatch (7d vs 30d)
- Emit a report with issues and a suggested canonicalization list.
Output format
- JSON report:
summaryissues[](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.pyreads KPI JSON and outputs a consistency report.
What ships with it: 2 files
4.7 KB alongside SKILL.md, 1 of them executable
- kpi_definition_consistency_checker.pyruns4.4 KB
- README.md370 B