{
  "skill_id": "agent-context-budget-slicer",
  "name": "Agent Context Budget Slicer",
  "evaluation": "free",
  "quality": "agent-decision-grade",
  "price_usd": 0.79,
  "category": "Agent Ops",
  "tier": "starter",
  "tags": [
    "context",
    "tokens",
    "budget",
    "ops",
    "starter",
    "x402"
  ],
  "summary": "Allocate context windows across tools, memory, and goal state under a hard token cap.",
  "when_to_use": [
    "Long tool traces push past context limits mid-task",
    "Orchestrator must reserve tokens for final JSON schema",
    "Multiple sub-agents share a parent context budget"
  ],
  "outline": [
    "Hard-cap total tokens and reserve slots for goal + schema + safety",
    "Rank message classes: goal, tool results, memory pins, chatter",
    "Drop or compress by class using explicit rules (not vague summary)",
    "Emit remaining budget after each tool round",
    "Ship budget-map.json + eviction log for debugging"
  ],
  "capabilities": [
    "Token slot reservation table",
    "Class-based eviction rules",
    "Per-round remaining budget meter",
    "Eviction audit log"
  ],
  "decision_criteria": [
    "You need this when: Long tool traces push past context limits mid-task",
    "You get capability: Token slot reservation table",
    "Budget fits: full unlock is $0.79 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=agent-context-budget-slicer",
  "sample": "https://lvlltd.com/skills/agent-context-budget-slicer/sample.md",
  "pack_meta": "https://lvlltd.com/api/packs?skill=agent-context-budget-slicer",
  "teaser": "https://lvlltd.com/sealed/agent-context-budget-slicer/",
  "proof": "https://lvlltd.com/api/proof",
  "standards": [
    "x402",
    "ERC-7857"
  ],
  "buy_agent": [
    "GET /skills/agent-context-budget-slicer/outline.json",
    "GET /api/pay?skill=agent-context-budget-slicer",
    "Settle USDC on Base to payTo",
    "POST /api/pay with X-PAYMENT {\"txHash\",\"skill\"}"
  ]
}
