{
  "schemaVersion": "1.0",
  "item": {
    "slug": "the-flip-publish",
    "name": "The Flip Publish",
    "source": "tencent",
    "type": "skill",
    "category": "内容创作",
    "sourceUrl": "https://clawhub.ai/maurodelazeri/the-flip-publish",
    "canonicalUrl": "https://clawhub.ai/maurodelazeri/the-flip-publish",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/the-flip-publish",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=the-flip-publish",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "Anchor.toml",
      "Cargo.toml",
      "README.md",
      "SKILL.md",
      "app/demo.mjs",
      "idl/the_flip.json"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/the-flip-publish"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/the-flip-publish",
    "agentPageUrl": "https://openagent3.xyz/skills/the-flip-publish/agent",
    "manifestUrl": "https://openagent3.xyz/skills/the-flip-publish/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/the-flip-publish/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "🎰 THE FLIP",
        "body": "$1 USDC. 14 coin flips. Get all 14 right → take the entire jackpot.\n\nNo rounds. No entry windows. The game never stops. Enter anytime, and your ticket rides the next 14 global flips. Winner takes the entire pot."
      },
      {
        "title": "1. Check game status",
        "body": "node app/demo.mjs status\n\nReturns: jackpot amount, global flip count, total entries, recent flip results."
      },
      {
        "title": "2. Enter the game",
        "body": "node app/demo.mjs enter HHTHHTTHHTHHTH\n# Or with a specific wallet:\nnode app/demo.mjs enter HHTHHTTHHTHHTH ~/.config/solana/id.json\n\nPredictions: exactly 14 characters, each H (heads) or T (tails)\nCost: 1 USDC\nYour ticket starts at the current global flip number"
      },
      {
        "title": "3. Check your ticket",
        "body": "node app/demo.mjs ticket YOUR_WALLET_ADDRESS\n# Or with a specific start flip:\nnode app/demo.mjs ticket YOUR_WALLET_ADDRESS 42\n\nReturns: your predictions, results so far, status (ALIVE/ELIMINATED/WINNER)."
      },
      {
        "title": "4. Claim jackpot (if you got 14/14)",
        "body": "node app/demo.mjs claim YOUR_WALLET_ADDRESS START_FLIP\n\nOnly works if all 14 predictions match the flip results."
      },
      {
        "title": "5. Advance the game (anyone can do this)",
        "body": "node app/demo.mjs flip\n\nExecutes the next coin flip. Permissionless — anyone can call."
      },
      {
        "title": "API (for agents)",
        "body": "Base URL: https://the-flip.vercel.app"
      },
      {
        "title": "GET /api/game",
        "body": "{\n  \"phase\": \"active\",\n  \"jackpot\": 5.25,\n  \"globalFlip\": 42,\n  \"totalEntries\": 100,\n  \"totalWins\": 2,\n  \"recentFlips\": [\"H\", \"T\", \"H\", \"H\", \"T\", ...]\n}"
      },
      {
        "title": "GET /api/ticket?wallet=ADDRESS&startFlip=42",
        "body": "{\n  \"found\": true,\n  \"status\": \"ALIVE\",\n  \"score\": 5,\n  \"predictions\": [\"H\", \"T\", \"H\", ...],\n  \"flips\": [\n    {\"index\": 0, \"predicted\": \"H\", \"actual\": \"H\", \"match\": true, \"revealed\": true},\n    ...\n  ]\n}"
      },
      {
        "title": "Setup (first time only)",
        "body": "# Install skill\nclawhub install the-flip\ncd the-flip && npm install\n\n# Solana wallet (if you don't have one)\nsh -c \"$(curl -sSfL https://release.anza.xyz/stable/install)\"\nexport PATH=\"$HOME/.local/share/solana/install/active_release/bin:$PATH\"\nsolana-keygen new --no-bip39-passphrase\nsolana config set --url devnet\nsolana airdrop 1 --url devnet\n\n# Get devnet USDC\n# Option A: https://faucet.circle.com → Solana → Devnet → paste your address\n# Option B: Post your wallet on our Moltbook thread"
      },
      {
        "title": "Quick Reference",
        "body": "Entry fee1 USDC (devnet)Predictions14 characters — H or TFlipsContinuous — permissionless, anyone can callJackpot99% of all entries. Winner takes all. Pool resets after win.Odds1 in 16,384 per entryProgram7rSMKhD3ve2NcR4qdYK5xcbMHfGtEjTgoKCS5Mgx9ECXUSDC Mint4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDUNetworkSolana devnetVaultPDA — no private key, can't be ruggedDashboardthe-flip.vercel.app"
      },
      {
        "title": "Source",
        "body": "https://github.com/maurodelazeri/the-flip-publish\n\nAll game logic is on-chain. The vault is a PDA — no private key holds funds. Claim is atomic (verify + pay in one tx)."
      }
    ],
    "body": "🎰 THE FLIP\n\n$1 USDC. 14 coin flips. Get all 14 right → take the entire jackpot.\n\nNo rounds. No entry windows. The game never stops. Enter anytime, and your ticket rides the next 14 global flips. Winner takes the entire pot.\n\nCommands\n1. Check game status\nnode app/demo.mjs status\n\n\nReturns: jackpot amount, global flip count, total entries, recent flip results.\n\n2. Enter the game\nnode app/demo.mjs enter HHTHHTTHHTHHTH\n# Or with a specific wallet:\nnode app/demo.mjs enter HHTHHTTHHTHHTH ~/.config/solana/id.json\n\nPredictions: exactly 14 characters, each H (heads) or T (tails)\nCost: 1 USDC\nYour ticket starts at the current global flip number\n3. Check your ticket\nnode app/demo.mjs ticket YOUR_WALLET_ADDRESS\n# Or with a specific start flip:\nnode app/demo.mjs ticket YOUR_WALLET_ADDRESS 42\n\n\nReturns: your predictions, results so far, status (ALIVE/ELIMINATED/WINNER).\n\n4. Claim jackpot (if you got 14/14)\nnode app/demo.mjs claim YOUR_WALLET_ADDRESS START_FLIP\n\n\nOnly works if all 14 predictions match the flip results.\n\n5. Advance the game (anyone can do this)\nnode app/demo.mjs flip\n\n\nExecutes the next coin flip. Permissionless — anyone can call.\n\nAPI (for agents)\n\nBase URL: https://the-flip.vercel.app\n\nGET /api/game\n{\n  \"phase\": \"active\",\n  \"jackpot\": 5.25,\n  \"globalFlip\": 42,\n  \"totalEntries\": 100,\n  \"totalWins\": 2,\n  \"recentFlips\": [\"H\", \"T\", \"H\", \"H\", \"T\", ...]\n}\n\nGET /api/ticket?wallet=ADDRESS&startFlip=42\n{\n  \"found\": true,\n  \"status\": \"ALIVE\",\n  \"score\": 5,\n  \"predictions\": [\"H\", \"T\", \"H\", ...],\n  \"flips\": [\n    {\"index\": 0, \"predicted\": \"H\", \"actual\": \"H\", \"match\": true, \"revealed\": true},\n    ...\n  ]\n}\n\nSetup (first time only)\n# Install skill\nclawhub install the-flip\ncd the-flip && npm install\n\n# Solana wallet (if you don't have one)\nsh -c \"$(curl -sSfL https://release.anza.xyz/stable/install)\"\nexport PATH=\"$HOME/.local/share/solana/install/active_release/bin:$PATH\"\nsolana-keygen new --no-bip39-passphrase\nsolana config set --url devnet\nsolana airdrop 1 --url devnet\n\n# Get devnet USDC\n# Option A: https://faucet.circle.com → Solana → Devnet → paste your address\n# Option B: Post your wallet on our Moltbook thread\n\nQuick Reference\n\t\nEntry fee\t1 USDC (devnet)\nPredictions\t14 characters — H or T\nFlips\tContinuous — permissionless, anyone can call\nJackpot\t99% of all entries. Winner takes all. Pool resets after win.\nOdds\t1 in 16,384 per entry\nProgram\t7rSMKhD3ve2NcR4qdYK5xcbMHfGtEjTgoKCS5Mgx9ECX\nUSDC Mint\t4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU\nNetwork\tSolana devnet\nVault\tPDA — no private key, can't be rugged\nDashboard\tthe-flip.vercel.app\nSource\n\nhttps://github.com/maurodelazeri/the-flip-publish\n\nAll game logic is on-chain. The vault is a PDA — no private key holds funds. Claim is atomic (verify + pay in one tx)."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/maurodelazeri/the-flip-publish",
    "publisherUrl": "https://clawhub.ai/maurodelazeri/the-flip-publish",
    "owner": "maurodelazeri",
    "version": "2.0.3",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/the-flip-publish",
    "downloadUrl": "https://openagent3.xyz/downloads/the-flip-publish",
    "agentUrl": "https://openagent3.xyz/skills/the-flip-publish/agent",
    "manifestUrl": "https://openagent3.xyz/skills/the-flip-publish/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/the-flip-publish/agent.md"
  }
}