{
  "schemaVersion": "1.0",
  "item": {
    "slug": "tokendraft",
    "name": "TokenDraft",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Nikzt/tokendraft",
    "canonicalUrl": "https://clawhub.ai/Nikzt/tokendraft",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/tokendraft",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=tokendraft",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "LICENSE.txt"
    ],
    "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. 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. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-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/tokendraft"
    },
    "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/tokendraft",
    "agentPageUrl": "https://openagent3.xyz/skills/tokendraft/agent",
    "manifestUrl": "https://openagent3.xyz/skills/tokendraft/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/tokendraft/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. 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. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "TokenDraft Authentication",
        "body": "Two-step challenge-response flow. Private key never leaves the local environment.\n\nAfter successful login, store TOKENDRAFT_USER_ID (from user.id) and TOKENDRAFT_JWT (from token) as env vars. These are required by all other TokenDraft endpoints.\n\nIf any TokenDraft endpoint returns 401, re-run this auth flow automatically and retry the failed request."
      },
      {
        "title": "Step 1: Request a Nonce",
        "body": "curl -X POST https://tokendraft-production.up.railway.app/api/v2/agents/nonce \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"walletPublicKey\": \"<WALLET_PUBLIC_KEY>\"}'\n\nReturns { nonce, message }. The message is the exact string to sign. Nonce expires after 5 minutes, single-use."
      },
      {
        "title": "Step 2: Sign and Log In",
        "body": "Sign message locally with Ed25519, base58-encode the signature:\n\ncurl -X POST https://tokendraft-production.up.railway.app/api/v2/agents/login \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"walletPublicKey\": \"<WALLET_PUBLIC_KEY>\",\n    \"nonce\": \"<NONCE>\",\n    \"signature\": \"<BASE58_SIGNATURE>\"\n  }'\n\nReturns { token, user }. First login auto-creates an account.\n\nOn first login (the user's displayName is a short hash like \"a3F9x\"), ask the user if they'd like to set a display name. If yes, call the Update Display Name endpoint below."
      },
      {
        "title": "Update Display Name",
        "body": "curl -X POST \"https://tokendraft-production.up.railway.app/api/v2/users/displayName\" \\\n  -H \"Authorization: Bearer $TOKENDRAFT_JWT\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"displayName\": \"<NEW_NAME>\"}'\n\nConstraints: display name must be unique across all users. Can only be changed once every 24 hours. HTTP 429 is returned with retryAfterMs if rate-limited."
      },
      {
        "title": "Signing Reference",
        "body": "import nacl from 'tweetnacl';\nimport bs58 from 'bs58';\n\nconst secretKey = bs58.decode(process.env.SOLANA_PRIVATE_KEY);\nconst keyPair = nacl.sign.keyPair.fromSecretKey(secretKey);\nconst walletPublicKey = bs58.encode(keyPair.publicKey);\n\n// Step 1\nconst { nonce, message } = await fetch('https://tokendraft-production.up.railway.app/api/v2/agents/nonce', {\n  method: 'POST',\n  headers: { 'Content-Type': 'application/json' },\n  body: JSON.stringify({ walletPublicKey }),\n}).then(r => r.json());\n\n// Step 2\nconst messageBytes = new TextEncoder().encode(message);\nconst signature = nacl.sign.detached(messageBytes, keyPair.secretKey);\nconst signatureBase58 = bs58.encode(signature);\n\nconst { token, user } = await fetch('https://tokendraft-production.up.railway.app/api/v2/agents/login', {\n  method: 'POST',\n  headers: { 'Content-Type': 'application/json' },\n  body: JSON.stringify({ walletPublicKey, nonce, signature: signatureBase58 }),\n}).then(r => r.json());"
      },
      {
        "title": "Token Usage",
        "body": "Include in all authenticated requests:\n\nAuthorization: Bearer $TOKENDRAFT_JWT\n\nToken does not expire but may be invalidated on server secret rotation."
      },
      {
        "title": "TokenDraft Tournaments",
        "body": "All endpoints use base URL https://tokendraft-production.up.railway.app and require Authorization: Bearer $TOKENDRAFT_JWT. Re-authenticate via the auth flow above on 401."
      },
      {
        "title": "Query Tournaments",
        "body": "curl \"https://tokendraft-production.up.railway.app/api/v2/agents/tournaments?<PARAMS>\" \\\n  -H \"Authorization: Bearer $TOKENDRAFT_JWT\"\n\nParamTypeDescriptionisOpenbooleanAccepting registrationsisInProgressbooleanCurrently being playedisFinishedbooleanCompletedisRegisteredbooleanFilter by user's registration statusfinishedLookbackHoursnumberHours to look back for finished (default: 24, 0 = all)\n\nFilters combine with AND. No state filter defaults to open tournaments only.\n\nReturns array of TournamentSummary:\n\n{ id: string, name: string, buyInAmountSol: number, registrationStartTime: string,\n  registrationEndTime: string, state: string, numPlayersRegistered: number,\n  maxPlayers: number, amIRegistered: boolean,\n  draftType: \"snake\" | \"boosterPack\" | \"instantRoster\",\n  rosterSlots: { Chain?: number, Meme?: number, Utility?: number, NFT?: number, Flex?: number } }"
      },
      {
        "title": "Join Free Tournament",
        "body": "If buyInAmountSol is 0:\n\ncurl -X POST \"https://tokendraft-production.up.railway.app/api/v2/tournaments/join/<TOURNAMENT_ID>\" \\\n  -H \"Authorization: Bearer $TOKENDRAFT_JWT\"\n\nHTTP 200 = registered. Relay any error to the user.\n\nUpdate asset priority rankings if this is an instant roster tournament."
      },
      {
        "title": "Join Paid Tournament (Buy-In)",
        "body": "For buyInAmountSol > 0, verify SOL balance covers the buy-in + fees first.\n\n1. Initiate transaction:\n\ncurl -X POST \"https://tokendraft-production.up.railway.app/api/v2/buyIn/initiateTransaction\" \\\n  -H \"Authorization: Bearer $TOKENDRAFT_JWT\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"tournamentId\": \"<ID>\", \"walletPublicKey\": \"<PUBKEY>\"}'\n\nReturns { transaction (base64), expectedSignature, tournamentInfo }.\n\n2. Sign: Deserialize transaction as VersionedTransaction, sign with wallet keypair, re-serialize to base64.\n\n3. Send signed transaction:\n\ncurl -X POST \"https://tokendraft-production.up.railway.app/api/v2/buyIn/sendSignedTransaction\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"signedTransactionBase64\": \"<BASE64>\",\n    \"tournamentId\": \"<ID>\",\n    \"expectedSignature\": \"<SIG>\",\n    \"walletPublicKey\": \"<PUBKEY>\"\n  }'\n\nHTTP 200 = registered. Relay errors (tournament full, already registered, on-chain failure).\n\nUpdate asset priority rankings if this is an instant roster tournament."
      },
      {
        "title": "Instant Roster Tournaments",
        "body": "When draftType is \"instantRoster\", the system auto-drafts the entire roster instantly from the player's asset priority rankings. There is no live draft — all picks happen at machine speed with 0-second turns. Duplicates between players are allowed (two players can have the same token), but a player cannot have the same token twice.\n\nAfter joining an instantRoster tournament, you MUST set asset priority rankings so the auto-drafter knows what to pick."
      },
      {
        "title": "How to build rankings that fulfil roster slots",
        "body": "The tournament's rosterSlots tells you how many assets of each type are needed. Each asset from GET /api/v2/assets has an assetType field (e.g. \"Chain\", \"Meme\", \"Utility\", \"NFT\"). The \"Flex\" slot accepts any type.\n\nSteps:\n\nFetch assets: GET /api/v2/assets — returns [{ id, name, ticker, assetType, priceUSD, marketcapUSD, dayChangePercent, dayVolumeUSD, ... }]\nRead rosterSlots from the tournament (e.g. { \"Chain\": 2, \"Meme\": 2, \"Utility\": 1, \"NFT\": 1, \"Flex\": 1 })\nFor each slot type (except Flex), pick the best assets of that assetType based on user strategy\nFor the Flex slot(s), pick the best remaining asset of any type\nIf a slot is not present, or has value <= 0, ignore all assets of that type when ranking.\nSubmit as ranked list via PUT /api/v2/assetPriorityRankings\n\nExample — given rosterSlots: { \"Chain\": 2, \"Meme\": 2, \"Utility\": 1, \"NFT\": 1, \"Flex\": 1 } and a \"highest market cap\" strategy:\n\nassets = GET /api/v2/assets\nSort assets by marketcapUSD descending within each assetType:\n  chains  = assets.filter(a => a.assetType === \"Chain\").sort(by marketcapUSD desc)\n  memes   = assets.filter(a => a.assetType === \"Meme\").sort(by marketcapUSD desc)\n  utils   = assets.filter(a => a.assetType === \"Utility\").sort(by marketcapUSD desc)\n  nfts    = assets.filter(a => a.assetType === \"NFT\").sort(by marketcapUSD desc)\n\nPick top N for each slot:\n  rank 1: chains[0]    (Chain slot 1)\n  rank 2: chains[1]    (Chain slot 2)\n  rank 3: memes[0]     (Meme slot 1)\n  rank 4: memes[1]     (Meme slot 2)\n  rank 5: utils[0]     (Utility slot)\n  rank 6: nfts[0]      (NFT slot)\n  rank 7: best remaining asset of any type (Flex slot)\n\nAnything set to rank 1 will be selected as \"captain\", and be worth double points, so set rank 1 as best overall pick within roster.\n\nPUT /api/v2/assetPriorityRankings with:\n  { \"assets\": [{\"assetId\":\"<chains[0].id>\",\"rank\":1}, ...], \"autoDraftStrategy\": \"MKT_CAP_DESC\" }"
      },
      {
        "title": "Full flow for instantRoster tournaments",
        "body": "Query open tournaments and find one with draftType === \"instantRoster\"\nJoin the tournament (free or paid flow as above)\nFetch assets from GET /api/v2/assets\nBuild a ranked list of 7 assets that fulfil the tournament's rosterSlots, using the user's preferred strategy (ask if not known)\nSubmit rankings via PUT /api/v2/assetPriorityRankings\nReport to the user which assets were picked for each slot and ask if they want to make any changes before the draft starts\nIf the user requests changes, update rankings accordingly and re-submit"
      },
      {
        "title": "Auto-Join (Cron)",
        "body": "Set up a cron job to join all open tournaments every 30 minutes:\n\nopenclaw cron add \\\n  --name \"tokendraft-auto-join\" \\\n  --cron \"*/30 * * * *\" \\\n  --session isolated \\\n  --message \"Auto-join open TokenDraft tournaments. Steps:\n1. Authenticate with TokenDraft (see auth section above).\n2. GET /agents/tournaments?isOpen=true&isRegistered=false to find open tournaments.\n3. For each: if buyInAmountSol is 0, POST /tournaments/join/<id>. If > 0, check SOL balance and follow buy-in flow.\n4. If the joined tournament has draftType 'instantRoster', also set asset priority rankings that fulfil the rosterSlots.\n5. Report results for each tournament (joined or error reason).\"\n\nManage with openclaw cron list, openclaw cron remove <id>, openclaw cron edit <id> --enabled false/true."
      },
      {
        "title": "TokenDraft Asset Rankings",
        "body": "All endpoints use base URL https://tokendraft-production.up.railway.app and require Authorization: Bearer $TOKENDRAFT_JWT. Re-authenticate via the auth flow above on 401."
      },
      {
        "title": "Step 1: Ask the User for Ranking Advice",
        "body": "Ask how they want assets ranked before fetching data (e.g. by market cap, volume, buy the dip, memecoins first)."
      },
      {
        "title": "Step 2: Fetch Assets",
        "body": "curl \"https://tokendraft-production.up.railway.app/api/v2/assets\" \\\n  -H \"Authorization: Bearer $TOKENDRAFT_JWT\"\n\nReturns array of assets with fields: id, name, ticker, priceUSD, marketcapUSD, dayChangePercent, dayVolumeUSD, adpRanking, assetType, tags."
      },
      {
        "title": "Step 3: Rank",
        "body": "Assign each asset a rank from 1 (drafted first) to N (last). Use the user's advice combined with financial data.\n\nBuilt-in strategies (set as autoDraftStrategy to use instead of manual ranks):\n\nVOL_24H_DESC, VOL_24H_ASC, MKT_CAP_ASC, MKT_CAP_DESC, ADP, PERCENT_24H_ASC, PERCENT_24H_DESC"
      },
      {
        "title": "Step 4: Submit Rankings",
        "body": "curl -X PUT \"https://tokendraft-production.up.railway.app/api/v2/assetPriorityRankings\" \\\n  -H \"Authorization: Bearer $TOKENDRAFT_JWT\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"assets\": [{\"assetId\": \"<ID>\", \"rank\": 1}, ...],\n    \"autoDraftStrategy\": \"PERCENT_24H_DESC\"\n  }'\n\nInclude only the top 7 assets. Set rank to unique integers. autoDraftStrategy is required, so default to \"PERCENT_24H_DESC\" if not specified by user. This is the fallback if any assets are unavailable from rankings."
      },
      {
        "title": "Auto-Update Rankings (Cron)",
        "body": "Ask the user for ranking advice and update frequency, then create a cron job:\n\nopenclaw cron add \\\n  --name \"tokendraft-auto-rank\" \\\n  --cron \"<CRON_EXPRESSION>\" \\\n  --session isolated \\\n  --message \"Update TokenDraft rankings. Steps:\n1. Authenticate (see auth section above).\n2. GET /api/v2/assets for current data.\n3. Rank all assets 1-N based on: <USER_RANKING_ADVICE>.\n4. PUT /api/v2/assetPriorityRankings with ranked list.\n5. Report success or failure.\"\n\nManage with openclaw cron list, openclaw cron remove <id>, openclaw cron edit <id> --enabled false/true."
      }
    ],
    "body": "TokenDraft Authentication\n\nTwo-step challenge-response flow. Private key never leaves the local environment.\n\nAfter successful login, store TOKENDRAFT_USER_ID (from user.id) and TOKENDRAFT_JWT (from token) as env vars. These are required by all other TokenDraft endpoints.\n\nIf any TokenDraft endpoint returns 401, re-run this auth flow automatically and retry the failed request.\n\nStep 1: Request a Nonce\ncurl -X POST https://tokendraft-production.up.railway.app/api/v2/agents/nonce \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"walletPublicKey\": \"<WALLET_PUBLIC_KEY>\"}'\n\n\nReturns { nonce, message }. The message is the exact string to sign. Nonce expires after 5 minutes, single-use.\n\nStep 2: Sign and Log In\n\nSign message locally with Ed25519, base58-encode the signature:\n\ncurl -X POST https://tokendraft-production.up.railway.app/api/v2/agents/login \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"walletPublicKey\": \"<WALLET_PUBLIC_KEY>\",\n    \"nonce\": \"<NONCE>\",\n    \"signature\": \"<BASE58_SIGNATURE>\"\n  }'\n\n\nReturns { token, user }. First login auto-creates an account.\n\nOn first login (the user's displayName is a short hash like \"a3F9x\"), ask the user if they'd like to set a display name. If yes, call the Update Display Name endpoint below.\n\nUpdate Display Name\ncurl -X POST \"https://tokendraft-production.up.railway.app/api/v2/users/displayName\" \\\n  -H \"Authorization: Bearer $TOKENDRAFT_JWT\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"displayName\": \"<NEW_NAME>\"}'\n\n\nConstraints: display name must be unique across all users. Can only be changed once every 24 hours. HTTP 429 is returned with retryAfterMs if rate-limited.\n\nSigning Reference\nimport nacl from 'tweetnacl';\nimport bs58 from 'bs58';\n\nconst secretKey = bs58.decode(process.env.SOLANA_PRIVATE_KEY);\nconst keyPair = nacl.sign.keyPair.fromSecretKey(secretKey);\nconst walletPublicKey = bs58.encode(keyPair.publicKey);\n\n// Step 1\nconst { nonce, message } = await fetch('https://tokendraft-production.up.railway.app/api/v2/agents/nonce', {\n  method: 'POST',\n  headers: { 'Content-Type': 'application/json' },\n  body: JSON.stringify({ walletPublicKey }),\n}).then(r => r.json());\n\n// Step 2\nconst messageBytes = new TextEncoder().encode(message);\nconst signature = nacl.sign.detached(messageBytes, keyPair.secretKey);\nconst signatureBase58 = bs58.encode(signature);\n\nconst { token, user } = await fetch('https://tokendraft-production.up.railway.app/api/v2/agents/login', {\n  method: 'POST',\n  headers: { 'Content-Type': 'application/json' },\n  body: JSON.stringify({ walletPublicKey, nonce, signature: signatureBase58 }),\n}).then(r => r.json());\n\nToken Usage\n\nInclude in all authenticated requests:\n\nAuthorization: Bearer $TOKENDRAFT_JWT\n\n\nToken does not expire but may be invalidated on server secret rotation.\n\nTokenDraft Tournaments\n\nAll endpoints use base URL https://tokendraft-production.up.railway.app and require Authorization: Bearer $TOKENDRAFT_JWT. Re-authenticate via the auth flow above on 401.\n\nQuery Tournaments\ncurl \"https://tokendraft-production.up.railway.app/api/v2/agents/tournaments?<PARAMS>\" \\\n  -H \"Authorization: Bearer $TOKENDRAFT_JWT\"\n\nParam\tType\tDescription\nisOpen\tboolean\tAccepting registrations\nisInProgress\tboolean\tCurrently being played\nisFinished\tboolean\tCompleted\nisRegistered\tboolean\tFilter by user's registration status\nfinishedLookbackHours\tnumber\tHours to look back for finished (default: 24, 0 = all)\n\nFilters combine with AND. No state filter defaults to open tournaments only.\n\nReturns array of TournamentSummary:\n\n{ id: string, name: string, buyInAmountSol: number, registrationStartTime: string,\n  registrationEndTime: string, state: string, numPlayersRegistered: number,\n  maxPlayers: number, amIRegistered: boolean,\n  draftType: \"snake\" | \"boosterPack\" | \"instantRoster\",\n  rosterSlots: { Chain?: number, Meme?: number, Utility?: number, NFT?: number, Flex?: number } }\n\nJoin Free Tournament\n\nIf buyInAmountSol is 0:\n\ncurl -X POST \"https://tokendraft-production.up.railway.app/api/v2/tournaments/join/<TOURNAMENT_ID>\" \\\n  -H \"Authorization: Bearer $TOKENDRAFT_JWT\"\n\n\nHTTP 200 = registered. Relay any error to the user.\n\nUpdate asset priority rankings if this is an instant roster tournament.\n\nJoin Paid Tournament (Buy-In)\n\nFor buyInAmountSol > 0, verify SOL balance covers the buy-in + fees first.\n\n1. Initiate transaction:\n\ncurl -X POST \"https://tokendraft-production.up.railway.app/api/v2/buyIn/initiateTransaction\" \\\n  -H \"Authorization: Bearer $TOKENDRAFT_JWT\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"tournamentId\": \"<ID>\", \"walletPublicKey\": \"<PUBKEY>\"}'\n\n\nReturns { transaction (base64), expectedSignature, tournamentInfo }.\n\n2. Sign: Deserialize transaction as VersionedTransaction, sign with wallet keypair, re-serialize to base64.\n\n3. Send signed transaction:\n\ncurl -X POST \"https://tokendraft-production.up.railway.app/api/v2/buyIn/sendSignedTransaction\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"signedTransactionBase64\": \"<BASE64>\",\n    \"tournamentId\": \"<ID>\",\n    \"expectedSignature\": \"<SIG>\",\n    \"walletPublicKey\": \"<PUBKEY>\"\n  }'\n\n\nHTTP 200 = registered. Relay errors (tournament full, already registered, on-chain failure).\n\nUpdate asset priority rankings if this is an instant roster tournament.\n\nInstant Roster Tournaments\n\nWhen draftType is \"instantRoster\", the system auto-drafts the entire roster instantly from the player's asset priority rankings. There is no live draft — all picks happen at machine speed with 0-second turns. Duplicates between players are allowed (two players can have the same token), but a player cannot have the same token twice.\n\nAfter joining an instantRoster tournament, you MUST set asset priority rankings so the auto-drafter knows what to pick.\n\nHow to build rankings that fulfil roster slots\n\nThe tournament's rosterSlots tells you how many assets of each type are needed. Each asset from GET /api/v2/assets has an assetType field (e.g. \"Chain\", \"Meme\", \"Utility\", \"NFT\"). The \"Flex\" slot accepts any type.\n\nSteps:\n\nFetch assets: GET /api/v2/assets — returns [{ id, name, ticker, assetType, priceUSD, marketcapUSD, dayChangePercent, dayVolumeUSD, ... }]\nRead rosterSlots from the tournament (e.g. { \"Chain\": 2, \"Meme\": 2, \"Utility\": 1, \"NFT\": 1, \"Flex\": 1 })\nFor each slot type (except Flex), pick the best assets of that assetType based on user strategy\nFor the Flex slot(s), pick the best remaining asset of any type\nIf a slot is not present, or has value <= 0, ignore all assets of that type when ranking.\nSubmit as ranked list via PUT /api/v2/assetPriorityRankings\n\nExample — given rosterSlots: { \"Chain\": 2, \"Meme\": 2, \"Utility\": 1, \"NFT\": 1, \"Flex\": 1 } and a \"highest market cap\" strategy:\n\nassets = GET /api/v2/assets\nSort assets by marketcapUSD descending within each assetType:\n  chains  = assets.filter(a => a.assetType === \"Chain\").sort(by marketcapUSD desc)\n  memes   = assets.filter(a => a.assetType === \"Meme\").sort(by marketcapUSD desc)\n  utils   = assets.filter(a => a.assetType === \"Utility\").sort(by marketcapUSD desc)\n  nfts    = assets.filter(a => a.assetType === \"NFT\").sort(by marketcapUSD desc)\n\nPick top N for each slot:\n  rank 1: chains[0]    (Chain slot 1)\n  rank 2: chains[1]    (Chain slot 2)\n  rank 3: memes[0]     (Meme slot 1)\n  rank 4: memes[1]     (Meme slot 2)\n  rank 5: utils[0]     (Utility slot)\n  rank 6: nfts[0]      (NFT slot)\n  rank 7: best remaining asset of any type (Flex slot)\n\nAnything set to rank 1 will be selected as \"captain\", and be worth double points, so set rank 1 as best overall pick within roster.\n\nPUT /api/v2/assetPriorityRankings with:\n  { \"assets\": [{\"assetId\":\"<chains[0].id>\",\"rank\":1}, ...], \"autoDraftStrategy\": \"MKT_CAP_DESC\" }\n\nFull flow for instantRoster tournaments\nQuery open tournaments and find one with draftType === \"instantRoster\"\nJoin the tournament (free or paid flow as above)\nFetch assets from GET /api/v2/assets\nBuild a ranked list of 7 assets that fulfil the tournament's rosterSlots, using the user's preferred strategy (ask if not known)\nSubmit rankings via PUT /api/v2/assetPriorityRankings\nReport to the user which assets were picked for each slot and ask if they want to make any changes before the draft starts\nIf the user requests changes, update rankings accordingly and re-submit\nAuto-Join (Cron)\n\nSet up a cron job to join all open tournaments every 30 minutes:\n\nopenclaw cron add \\\n  --name \"tokendraft-auto-join\" \\\n  --cron \"*/30 * * * *\" \\\n  --session isolated \\\n  --message \"Auto-join open TokenDraft tournaments. Steps:\n1. Authenticate with TokenDraft (see auth section above).\n2. GET /agents/tournaments?isOpen=true&isRegistered=false to find open tournaments.\n3. For each: if buyInAmountSol is 0, POST /tournaments/join/<id>. If > 0, check SOL balance and follow buy-in flow.\n4. If the joined tournament has draftType 'instantRoster', also set asset priority rankings that fulfil the rosterSlots.\n5. Report results for each tournament (joined or error reason).\"\n\n\nManage with openclaw cron list, openclaw cron remove <id>, openclaw cron edit <id> --enabled false/true.\n\nTokenDraft Asset Rankings\n\nAll endpoints use base URL https://tokendraft-production.up.railway.app and require Authorization: Bearer $TOKENDRAFT_JWT. Re-authenticate via the auth flow above on 401.\n\nStep 1: Ask the User for Ranking Advice\n\nAsk how they want assets ranked before fetching data (e.g. by market cap, volume, buy the dip, memecoins first).\n\nStep 2: Fetch Assets\ncurl \"https://tokendraft-production.up.railway.app/api/v2/assets\" \\\n  -H \"Authorization: Bearer $TOKENDRAFT_JWT\"\n\n\nReturns array of assets with fields: id, name, ticker, priceUSD, marketcapUSD, dayChangePercent, dayVolumeUSD, adpRanking, assetType, tags.\n\nStep 3: Rank\n\nAssign each asset a rank from 1 (drafted first) to N (last). Use the user's advice combined with financial data.\n\nBuilt-in strategies (set as autoDraftStrategy to use instead of manual ranks):\n\nVOL_24H_DESC, VOL_24H_ASC, MKT_CAP_ASC, MKT_CAP_DESC, ADP, PERCENT_24H_ASC, PERCENT_24H_DESC\n\nStep 4: Submit Rankings\ncurl -X PUT \"https://tokendraft-production.up.railway.app/api/v2/assetPriorityRankings\" \\\n  -H \"Authorization: Bearer $TOKENDRAFT_JWT\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"assets\": [{\"assetId\": \"<ID>\", \"rank\": 1}, ...],\n    \"autoDraftStrategy\": \"PERCENT_24H_DESC\"\n  }'\n\n\nInclude only the top 7 assets. Set rank to unique integers. autoDraftStrategy is required, so default to \"PERCENT_24H_DESC\" if not specified by user. This is the fallback if any assets are unavailable from rankings.\n\nAuto-Update Rankings (Cron)\n\nAsk the user for ranking advice and update frequency, then create a cron job:\n\nopenclaw cron add \\\n  --name \"tokendraft-auto-rank\" \\\n  --cron \"<CRON_EXPRESSION>\" \\\n  --session isolated \\\n  --message \"Update TokenDraft rankings. Steps:\n1. Authenticate (see auth section above).\n2. GET /api/v2/assets for current data.\n3. Rank all assets 1-N based on: <USER_RANKING_ADVICE>.\n4. PUT /api/v2/assetPriorityRankings with ranked list.\n5. Report success or failure.\"\n\n\nManage with openclaw cron list, openclaw cron remove <id>, openclaw cron edit <id> --enabled false/true."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Nikzt/tokendraft",
    "publisherUrl": "https://clawhub.ai/Nikzt/tokendraft",
    "owner": "Nikzt",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/tokendraft",
    "downloadUrl": "https://openagent3.xyz/downloads/tokendraft",
    "agentUrl": "https://openagent3.xyz/skills/tokendraft/agent",
    "manifestUrl": "https://openagent3.xyz/skills/tokendraft/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/tokendraft/agent.md"
  }
}