---
skill_id: metric-definition-oracle
evaluation: free
price_usd_full: 8.49
challenge: https://lvlltd.com/api/pay?skill=metric-definition-oracle
outline: https://lvlltd.com/skills/metric-definition-oracle/outline.json
standards: x402, ERC-7857
---

# Free sample — Metric Definition Oracle

**Skill ID:** `metric-definition-oracle`  
**Full unlock:** $8.49 USDC via x402 on Base  
**Challenge:** https://lvlltd.com/api/pay?skill=metric-definition-oracle  
**Outline JSON:** https://lvlltd.com/skills/metric-definition-oracle/outline.json

## Summary

Create and enforce a metric definition dictionary with formulas, grain, owners, and anti-double-count rules for agents and dashboards.

## When to use

- Dashboard wars over numbers
- Agents invent metrics
- Need single source of truth

## Decision criteria (buy vs skip)

- You need this when: Dashboard wars over numbers
- You get capability: List candidate metrics
- Budget fits: full unlock is $8.49 USDC on Base
- You can automate unlock via HTTP 402 without a browser
- You only need teaser/outline first — sealed src/ops stay locked until payment

## Outline (preview)

1. List candidate metrics
2. Write formulas and grain
3. Owners and freshness
4. Conflict resolution
5. Publish registry

## Capabilities (preview)

- List candidate metrics
- Write formulas and grain
- Owners and freshness
- Conflict resolution
- Publish registry

## What you get after payment

- SKILL.md (teaser public)
- agent-install.json (public meta)
- src/index.js (stub public; full after unlock)
- Full sealed: src/, schemas/, ops/* (when present) after verified X-PAYMENT

## Agent buy path (zero human UI)

```
GET  https://lvlltd.com/skills/metric-definition-oracle/outline.json
GET  https://lvlltd.com/api/pay?skill=metric-definition-oracle   → HTTP 402
# transfer maxAmountRequired USDC to payTo on Base
POST https://lvlltd.com/api/pay
  X-PAYMENT: {"txHash":"0x…","skill":"metric-definition-oracle"}
# response.sealed_pack.files = full pack
```

## Sample excerpt

# Metric Definition Oracle

**Price:** $8.49 / unlock
**Category:** Data

## Summary

Create and enforce a metric definition dictionary with formulas, grain, owners, and anti-double-count rules for agents and dashboards.

---

---
name: metric-definition-oracle
description: Author and guard metric definitions so dashboards and agents share one truth dictionary. Use when metric definition oracle, KPI dictionary, metric registry agent, or /metric-definition-oracle.
---

# Metric Definition Oracle

Create and enforce a metric definition dictionary with formulas, grain, owners, and anti-double-count rules for agents and dashboards.

## Quick Reference
| Item | Value |
|------|-------|
| Category | Data |
| Unlock | $8.49 USDC (x402 Base) |
| Triggers | metric definitions, KPI dictionary, metric registry, /metric-definition-oracle |

## When to use
- Dashboard wars over numbers
- Agents invent metrics
- Need single source of truth

## Core workflow
1. Intake metric requests
2. Define numerator denominator grain
3. Document exclusions
4. Assign owner
5. Version registry
6. Reject undefined use

## Procedures (non-obvious)
### Minimum fields
name, description, formula, grain, filters, owner, source tables, caveats, version.

### Authority
Undefined metrics cannot appear on executive tiles without provisional label.

## Edge cases
- Changing business definitions
- Multi-currency

## Failure modes
- Two formulas same name
- Hidden filters

## Verification
- Registry unique names
- Formulas parseable
- Owners present

## Artifact outputs
- `metric-registry.json`
- `definitions.md`
- `conflicts.md`

## Related skills
- analytics-dashboard-generator
- text-to-sql-agent
- report-narrative-composer

## Super Alignment Contract
- Scalable oversight method: process supervision + human+AI critique before high-blast actions
- Corrigibility guarantees: shutdown, steerability, non-deception; operator may abort mid-run
- Value model: Partnership Agreement + 5 Behavioral Protocols
- Drift detection: flag invented evidence, skipped verification, or revenue-over-truth optimization
- Red-team surface: prompt injection via retrieved content, tool-result poisoning, goal misgeneralization

…(remainder sealed after x402 unlock)…

