# Metric Reconciliation — Why Two Numbers Disagree

> Diffs two definitions of the same metric field by field, sizes every cause into a bridge, and closes the gap with an unexplained-residual verdict.

Metric Reconciliation — Why Two Numbers Disagree is a free AI agent skill on Agensi by SHUN. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [SHUN](https://www.agensi.io/creators/66shun66)
- Version: 1.1
- Last updated: 2026-11-23
- Security: scan passed (2026-11-23); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/metric-reconciliation-why-two-numbers-disagree
- Tags: data-databases, finance-accounting

## About this skill

### What it does

Two reports show different numbers and the meeting starts. This skill ends the argument before it starts: it writes both definitions down, diffs them field by field, sizes each cause, and publishes a memo with a verdict and a residual.

- **Metric contract** — population filter, event definition, window and timezone, timestamp used, dedup key, refund policy, currency and FX date, trial handling, segment joins. Unknown fields are flagged as findings, because an undocumented filter is the most common cause of a gap.
- **Definition diff** — the two definitions compared field by field, limited to what actually differs.
- **Bridge** — each cause carries an amount and a source, with a running total and share of the gap.
- **Residual verdict** — `gap − Σ causes`, checked against a tolerance the sign-off owner sets, not the analyst. A memo whose residual is over tolerance is not presented as reconciled.
- **Prevention** — the agreed definition going forward, an owner, a date, and two monitoring checks so the next gap is caught before a board deck finds it.

### Why there is a script

`scripts/metric_bridge.py` takes the two totals, both definitions and the bridge rows, then writes the memo, the bridge table and an audit file. It blocks the two habits that keep gaps open: a cause with no evidence, and a residual quietly rounded away.

### Ships with

- `references/definition-gaps.md` — eleven candidate causes ranked by how often they actually explain a real gap, each with the query pattern that proves or kills it.
- `references/bridge-methods.md` — the arithmetic: definition bridge one rule at a time, timing bridge, population bridge, mix bridge, rate metrics, currency, plus the five traps that make a bridge look complete when it is not.
- `assets/metric-contract-template.json` — a filled contract you can drop into a repo and point both pipelines at.

### What it refuses to do

It does not declare which team is right, guess a cause, or accept an amount estimated by subtraction — that is the residual wearing a cause's name. It does not change production dashboards; it proposes the contract and the owner approves it.

### Runtime

Python 3.8+ for the bridge script. JSON in, markdown and JSON out, entirely local. No warehouse connection, no credentials, no network calls.

## Requires

- Python 3.8+

Only Python is needed for the bridge script; without it the skill still produces the diff and the memo by hand.

## Known limitations

Does not query the warehouse unless given access and asked; writes the queries and interprets results. Explains past gaps only, not why behaviour changed. Proposal of a contract, not a change to production definitions.

## 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 Reconciliation — Why Two Numbers Disagree skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What does Metric Reconciliation — Why Two Numbers Disagree do?

Diffs two definitions of the same metric field by field, sizes every cause into a bridge, and closes the gap with an unexplained-residual verdict.

### Which AI agents support Metric Reconciliation — Why Two Numbers Disagree?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Metric Reconciliation — Why Two Numbers Disagree?

Connect your AI agent to Agensi through MCP, then ask it to use Metric Reconciliation — Why Two Numbers Disagree on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

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.
