# Metric Definition Version Ledger AI

> Reconcile KPI definitions and effective-date changes. Built for bi teams and analytics managers, with source-linked

Metric Definition Version Ledger AI is a paid AI agent skill on Agensi by Pitiko Studio. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9.99 (one-time purchase)
- Creator: [Pitiko Studio](https://www.agensi.io/creators/pitikostudio)
- Version: 1.0
- Last updated: 2026-11-28
- Security: scan passed (2026-11-28); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/metric-definition-version-ledger-ai
- Tags: bi-and-metrics, business-intelligence-and-metrics, metric, definition, version, evidence-based

## 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
1. **Inventory Sources** by registering metric specifications, source tables, and representative data records with stable IDs.
2. **Define Acceptance Criteria** to establish the ground truth for what constitutes a "match" before the analysis begins.
3. **Execute Reconciliation** by joining baseline and target records on approved reference keys and validating uniqueness.
4. **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 this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Metric Definition Version Ledger AI skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill differ from a standard SQL or logic comparison prompt?

This skill creates a formal reconciliation ledger that maps numerators, denominators, and filters between two versions of a metric, specifically flagging logic drift and missing evidence that simple comparisons often miss.

### Which AI agents and platforms are compatible with the Metric Definition Version Ledger AI?

The skill is compatible with any AI agent capable of processing structured text and document artifacts, such as those working with SQL, LookML, dbt documentation, or spreadsheet exports.

### Do I need to provide the agent with direct access to my live data warehouse?

No, this skill does not require direct database access; it operates on the 'artifact level' by analyzing provided SQL snippets, schema definitions, and specification documents to identify logic gaps.

### What is included in the purchase of this skill?

You receive the core logic framework, the structured reconciliation templates, and a set of predefined acceptance criteria used to generate the evidence-linked ledger.

### Can this skill be used to reconcile metrics during a migration from legacy BI tools to a modern data stack?

Yes, it is specifically designed for migrations, allowing you to pin a 'baseline' version from your legacy tool against a 'target' version in your modern stack to ensure 1:1 logic parity.

### How does the skill handle discrepancies where the 'grain' of the data has changed between versions?

The skill handles complexity by identifying grain mismatches and enforcing a structured output contract that requires the agent to explicitly flag and assign owners to any unmatched rows or logic conflicts.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
