{
  "skill_id": "memory-compaction-oracle",
  "name": "Memory Compaction Oracle",
  "evaluation": "free",
  "quality": "agent-decision-grade",
  "price_usd": 5.49,
  "category": "Memory",
  "tier": "standard",
  "tags": [
    "memory",
    "x402",
    "factory:master-2026-07-28",
    "depth:deep",
    "depth:standard"
  ],
  "summary": "Oracle for safe memory compaction: score merge/promote/archive/delete candidates, dry-run counts, and apply with backup so memory stays cheap and accurate.",
  "when_to_use": [
    "Memory unbounded",
    "Duplicates degrade retrieval",
    "Need scheduled compaction"
  ],
  "outline": [
    "Measure store health",
    "Score candidates",
    "Dry-run",
    "Apply with backup",
    "Report deltas"
  ],
  "capabilities": [
    "Measure store health",
    "Score candidates",
    "Dry-run",
    "Apply with backup",
    "Report deltas"
  ],
  "decision_criteria": [
    "You need this when: Memory unbounded",
    "You get capability: Measure store health",
    "Budget fits: full unlock is $5.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=memory-compaction-oracle",
  "sample": "https://lvlltd.com/skills/memory-compaction-oracle/sample.md",
  "pack_meta": "https://lvlltd.com/api/packs?skill=memory-compaction-oracle",
  "teaser": "https://lvlltd.com/sealed/memory-compaction-oracle/",
  "proof": "https://lvlltd.com/api/proof",
  "standards": [
    "x402",
    "ERC-7857"
  ],
  "buy_agent": [
    "GET /skills/memory-compaction-oracle/outline.json",
    "GET /api/pay?skill=memory-compaction-oracle",
    "Settle USDC on Base to payTo",
    "POST /api/pay with X-PAYMENT {\"txHash\",\"skill\"}"
  ]
}
