More screenshots

    Works with the AI Agents you already use

    Metric Reconciliation — Why Two Numbers Disagree

    by SHUN

    1

    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.

    Free

    Security scanned
    Metric Reconciliation — Why Two Numbers Disagree

    Metric Reconciliation — Why Two Numbers Disagree

    Example session with this skill installed

    reconcile.json with metric, period, A and B totals plus their definition objects, tolerance, bridge rows and ruled-out causes

    • Read your context and instructions
    • Compiled the metric reconciliation

    reconciliation_memo.md with a one-line verdict, bridge.md with the running table, audit.json with the residual and flags

    reconciliation_memo.md with a one-line verdict, bridge.md

    Connects securely to your tools. The creator never sees your data.

    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.

    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

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 12 days ago

    • Free with an Agensi account

    Software
    Python 3.8+

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

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    File Scopes

    a
    JSON
    file
    with
    the
    two
    totals
    definitions
    and
    bridge
    rows
    output
    folder
    for
    memo
    Listed12 days ago

    What's inside

    Frequently Asked Questions

    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.

    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.

    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.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

    Free