{
  "skill_id": "gf-ops-rate-limit-playbook",
  "name": "Rate-Limit Playbook",
  "evaluation": "free",
  "quality": "agent-decision-grade",
  "functional": true,
  "price_usd": 6.49,
  "category": "Agent Ops",
  "tier": "standard",
  "kind": "service",
  "tags": [
    "x402",
    "goods-factory",
    "service",
    "functional",
    "sealed-runtime",
    "gf-complete"
  ],
  "summary": "Rate-limit and backpressure playbooks for agent tool calls, public APIs, and webhook bursts with client and edge tactics.",
  "when_to_use": [
    "Agent tool storms or user bursts trigger 429s and retry storms that make the outage worse.",
    "You need shared language for per-key, per-IP, and per-tenant budgets across edge and app layers.",
    "Webhook or unlock traffic spikes and you lack a documented shed vs queue decision."
  ],
  "outline": [
    "Define budgets: per-IP, per-API-key, per-tenant, and per-agent-tool limits with burst and sustained rates.",
    "Specify client behavior: Retry-After respect, jittered exponential backoff, and circuit breakers for agent loops.",
    "Configure edge and app layers: Cloudflare-style rate rules, app middleware, and queue admission for webhooks.",
    "Write shed vs queue criteria: what drops first (expensive tools, anonymous traffic) vs what must buffer.",
    "Add observability: limit-hit dashboards, top offenders, and a weekly budget review with owners."
  ],
  "capabilities": [
    "Multi-dimension rate budget templates for IP, key, tenant, and tool scopes",
    "Client retry and circuit-breaker guidance that stops agent retry amplification",
    "Edge-plus-app coordinated limit design with shed-vs-queue criteria",
    "Limit-hit observability and offender review checklist"
  ],
  "artifact_outputs": [
    "rate-limit-playbook.md",
    "budget-matrix.yaml",
    "retry-circuit-policy.md"
  ],
  "decision_criteria": [
    "Outline steps are specific to this skill (not generic templates)",
    "Sealed pack exposes createSkill().run with outline-driven steps",
    "Artifacts are named concrete deliverables",
    "No revenue guarantees or banned claims",
    "Free eval path works without payment"
  ],
  "sealed_after_pay": [
    "Full src/index.js runtime (createSkill, run, plan)",
    "src/runbook.js with skill-specific steps",
    "src/tools.js registry for agent ToolRegistry",
    "WORKBOOK.md operator procedure",
    "templates/ checklist and artifact shells",
    "schemas/output.schema.json"
  ],
  "runtime": {
    "entry": "src/index.js",
    "export": "createSkill",
    "install": "node scripts/install-unlocked-pack.mjs unlock.json ./skills"
  },
  "challenge": "https://lvlltd.com/api/pay?skill=gf-ops-rate-limit-playbook",
  "sample": "https://lvlltd.com/skills/gf-ops-rate-limit-playbook/sample.md",
  "pack_meta": "https://lvlltd.com/api/packs?skill=gf-ops-rate-limit-playbook",
  "teaser": "https://lvlltd.com/sealed/gf-ops-rate-limit-playbook/",
  "proof": "https://lvlltd.com/api/proof",
  "standards": [
    "x402",
    "ERC-7857"
  ],
  "operator_notes": [
    "Confirm pay path with GET /api/pay before purchasing.",
    "Dry-run createSkill().run({ goal, dry_run: true }) after unlock.",
    "Persist payment.txHash with skill_id for re-redeem.",
    "Never commit private keys or OPS_SECRET into pack usage.",
    "Category focus: Agent Ops. Kind: service.",
    "Claim scrub: no guaranteed ROI, no fake testimonials.",
    "If outline 404s on production, redeploy public/skills after completion pass."
  ]
}