Works with the AI Agents you already use
Metric Definition Version Ledger AI
Reconcile KPI definitions and effective-date changes. Built for bi teams and analytics managers, with source-linked
$9.99
Metric Definition Version Ledger AI
Example session with this skill installed
Reconcile the 'Net Revenue' definition change between v1.2 (gross - returns) and v2.0 (gross - returns - discounts) using the attached spec-v2.pdf and the legacy-sql.txt file.
- Read your context and instructions
- Compiled the metric definition version
- Generated the data export
Illustrative example using synthetic inputs.
The reconciliation between Net Revenue v1.2 and v2.0 is complete. A logic shift in the deduction criteria was identified, specifically the addition of 'Discounts' to the calculation grain.
Disposition: partial result (missing sample data for discount volume validation)
Metric Reconciliation Ledger: Net Revenue
| Source Key | Target Key | Component | v1.2 (Baseline) | v2.0 (Target) | Status | Note |
|---|---|---|---|---|---|---|
| NR-01 | NR-01 | Numerator | Gross_Sales | Gross_Sales | MATCH | No change to top line. |
| NR-02 | NR-02 | Deduction A | Returns | Returns | MATCH | SQL logic sum(return_amt) consistent. |
| NULL | NR-03 | Deduction B | N/A | Discounts | EXTRA | New logic: sum(disc_amt) added. |
| NR-04 | NR-04 | Grain | Order_ID | Order_ID | MATCH | Aggregation level remains consistent. |
Source Register
- SR-001:
legacy-sql.txt(v1.2) - Found in lines 12-45. Access: Local. - SR-002:
spec-v2.pdf(v2.0) - Page 4, Section "Revenue Logic". Access: Local.
Decision & Action Register
| Priority | Action | Owner | Dependency |
|---|---|---|---|
| HIGH | Verify disc_amt column exists in fct_orders | Data Eng | Schema access |
| MED | Quantify impact of discount inclusion on 2023 baseline | BI Lead | v2.0 Logic deployment |
Validation Summary
- Observed: Logic comparison between v1.2 SQL and v2.0 PDF specification.
- Planned: Calculation check against live sample data (pending file upload).
- Not Run: Multi-currency filter validation (no source provided).
Next steps
- Provide a CSV export of
fct_orderscontaininggross_sales,return_amt, anddisc_amtto run a calculation check. - Assign the schema verification task to the Data Engineering lead.
- Update the Looker/Tableau model to reflect the v2.0 deduction logic.
spec-v2.pdf
CSV · data export
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
When BI teams transition metrics or update KPI logic, data integrity often breaks due to undocumented logic shifts or misaligned effective dates. This skill provides a rigorous framework for reconciling metric definitions between baseline and target states. It moves beyond simple comparisons by building a structured reconciliation ledger that maps numerators, denominators, and filter rules against source evidence.
The skill focuses on identifying logic drift, grain mismatches, and version conflicts. It forces an audit trail by linking every finding to specific source records and explicitly flagging missing evidence. Instead of guessing values or making silent assumptions, it produces a decision register that highlights exactly which discrepancies require manual review and who owns the exception.
What it does
- Version Pinning maps baseline and target metric versions to isolate logic changes.
- Component Analysis breaks down KPIs into numerators, denominators, grain, and time windows for line-by-line comparison.
- Discrepancy Logging generates a structured ledger identifying matched, missing, and extra logic components.
- Evidence Mapping links every reconciliation point to a source table, dashboard export, or specification document.
- Uncertainty Quantification explicitly labels derived vs. observed data to prevent false confidence in results.
How it works
- Inventory Sources by registering metric specifications, source tables, and representative data records with stable IDs.
- Define Acceptance Criteria to establish the ground truth for what constitutes a "match" before the analysis begins.
- Execute Reconciliation by joining baseline and target records on approved reference keys and validating uniqueness.
- Generate Ledger producing a structured output that includes source/target keys, match status, and exception owners.
Frameworks & tools
This skill is designed for BI environments and analytics managers working with SQL-based metrics, LookML, dbt semantic layers, or dashboard logic exports. It utilizes agensi:google.serp.organic for public documentation lookups when external logic standards are required for verification.
Why this beats prompting it yourself
Generic prompts often overlook the "grain" of a metric or silently drop exceptions to force a match. This skill enforces a structured output contract that requires explicit handling of one-to-many relationships and unmatched rows, ensuring no logic drift goes unnoticed.
Use cases
- Reconciling KPI definitions during a migration from legacy BI tools to a modern data stack.
- Auditing effective-date changes in financial reporting metrics to ensure historical consistency.
- Identifying logic gaps between documented business requirements and actual SQL implementation.
- Preparing a reviewable ledger for data governance committees before production releases.
Known limitations
Does not perform live data execution or database writes. Requires users to supply source artifacts like SQL snippets or exports. Cannot infer metric values from image-only charts.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 7 days ago
Permissions
What's inside
Frequently Asked Questions
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.