{
  "skill_id": "metric-definition-oracle",
  "name": "Metric Definition Oracle",
  "evaluation": "free",
  "quality": "agent-decision-grade",
  "price_usd": 8.49,
  "category": "Other",
  "tier": "premium",
  "tags": [
    "data",
    "x402",
    "factory:master-p3-2026-07-28",
    "depth:deep",
    "depth:standard"
  ],
  "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"
  ],
  "outline": [
    "List candidate metrics",
    "Write formulas and grain",
    "Owners and freshness",
    "Conflict resolution",
    "Publish registry"
  ],
  "capabilities": [
    "List candidate metrics",
    "Write formulas and grain",
    "Owners and freshness",
    "Conflict resolution",
    "Publish registry"
  ],
  "decision_criteria": [
    "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"
  ],
  "sealed_after_pay": [
    "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"
  ],
  "challenge": "https://lvlltd.com/api/pay?skill=metric-definition-oracle",
  "sample": "https://lvlltd.com/skills/metric-definition-oracle/sample.md",
  "pack_meta": "https://lvlltd.com/api/packs?skill=metric-definition-oracle",
  "teaser": "https://lvlltd.com/sealed/metric-definition-oracle/",
  "proof": "https://lvlltd.com/api/proof",
  "standards": [
    "x402",
    "ERC-7857"
  ],
  "buy_agent": [
    "GET /skills/metric-definition-oracle/outline.json",
    "GET /api/pay?skill=metric-definition-oracle",
    "Settle USDC on Base to payTo",
    "POST /api/pay with X-PAYMENT {\"txHash\",\"skill\"}"
  ]
}
