{
  "skill_id": "gf-x402-error-code-playbook",
  "name": "x402 Error Code Playbook",
  "evaluation": "free",
  "quality": "agent-decision-grade",
  "functional": true,
  "price_usd": 0.99,
  "category": "Agent Ops",
  "tier": "starter",
  "kind": "good",
  "tags": [
    "x402",
    "goods-factory",
    "good",
    "functional",
    "sealed-runtime",
    "gf-complete"
  ],
  "summary": "Agent-facing map of SKILL_REQUIRED, PROOF_REQUIRED, PAYMENT_VERIFICATION_FAILED and retries.",
  "when_to_use": [
    "Implementing a new agent shop client",
    "Debugging unlock failures in logs",
    "Training support macros for pay path"
  ],
  "outline": [
    "Table each error_code with HTTP status and cause",
    "Define retry vs abort for network vs contract classes",
    "Document invalid-tx vs missing-skill paths",
    "Add wait guidance after broadcast before re-POST",
    "Emit playbook.md + client branch pseudocode"
  ],
  "capabilities": [
    "Error code matrix",
    "Retry policy hints",
    "Client branch pseudocode",
    "Support macro snippets"
  ],
  "artifact_outputs": [
    "x402-error-playbook.md",
    "client-branch.pseudo.md",
    "support-macros.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-x402-error-code-playbook",
  "sample": "https://lvlltd.com/skills/gf-x402-error-code-playbook/sample.md",
  "pack_meta": "https://lvlltd.com/api/packs?skill=gf-x402-error-code-playbook",
  "teaser": "https://lvlltd.com/sealed/gf-x402-error-code-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: good.",
    "Claim scrub: no guaranteed ROI, no fake testimonials.",
    "If outline 404s on production, redeploy public/skills after completion pass."
  ]
}