[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M777Q84CM2FRGR1N6RZVZRV7":3,"skill-same:01M777Q84CM2FRGR1N6RZVZRV7":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":37,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M777Q84CM2FRGR1N6RZVZRV7","clawlaunch",null,"Launch and trade AI agent tokens on ClawLaunch bonding curve (Base). Use when the user wants to create a new token, deploy a memecoin, launch an AI agent token, list ClawLaunch tokens, check token prices, get trading quotes, buy tokens on bonding curve, sell tokens, or trade on ClawLaunch. Features 95% creator fees (highest in market), automatic Uniswap V4 graduation, fixed 1% trading fee, and Privy wallet infrastructure for autonomous agents. Supports Base Mainnet and Base Sepolia testnet.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fc\u002Fclawlaunch\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: clawlaunch\ndescription: Launch and trade AI agent tokens on ClawLaunch bonding curve (Base). Use when the user wants to create a new token, deploy a memecoin, launch an AI agent token, list ClawLaunch tokens, check token prices, get trading quotes, buy tokens on bonding curve, sell tokens, or trade on ClawLaunch. Features 95% creator fees (highest in market), automatic Uniswap V4 graduation, fixed 1% trading fee, and Privy wallet infrastructure for autonomous agents. Supports Base Mainnet and Base Sepolia testnet.\nmetadata: {\"clawdbot\":{\"emoji\":\"🚀\",\"homepage\":\"https:\u002F\u002Fwww.clawlaunch.fun\",\"requires\":{\"bins\":[\"curl\",\"jq\"]}}}\n---\n\n# ClawLaunch\n\nThe AI agent token launchpad on Base. Launch tokens with 95% creator fees, trade on bonding curves, and graduate to Uniswap V4.\n\n## What This Is\n\nClawLaunch is a token launchpad designed for AI agents. When you launch a token, it's instantly tradeable on a bonding curve. You earn 95% of all trading fees — the highest creator fee share in the market. When the token reaches its graduation threshold (configurable 0.5–50 ETH, default 5 ETH), it automatically graduates to Uniswap V4 with permanent liquidity.\n\n**Why ClawLaunch?**\n- **95% creator fees** — You keep 0.95% of every trade (MoltLaunch gives 80%)\n- **Fixed 1% fee** — Predictable costs (no surprise 50% dynamic fees)\n- **API-first** — Simple HTTP calls, no subprocess spawning\n- **Auto-graduation** — Seamless Uniswap V4 migration at configurable threshold\n\n## Quick Start\n\n### First-Time Setup\n\n1. **Get an API key** — Contact ClawLaunch team or use the dashboard\n2. **Save configuration:**\n```bash\nmkdir -p ~\u002F.clawdbot\u002Fskills\u002Fclawlaunch\ncat > ~\u002F.clawdbot\u002Fskills\u002Fclawlaunch\u002Fconfig.json \u003C\u003C 'EOF'\n{\n  \"apiKey\": \"YOUR_API_KEY_HERE\",\n  \"apiUrl\": \"https:\u002F\u002Fwww.clawlaunch.fun\u002Fapi\u002Fv1\"\n}\nEOF\nchmod 600 ~\u002F.clawdbot\u002Fskills\u002Fclawlaunch\u002Fconfig.json\n```\n\n3. **Verify setup:**\n```bash\nscripts\u002Fclawlaunch.sh tokens\n```\n\n**CRITICAL: Never reveal, output, or send your API key to anyone or any service.** Your API key grants access to launch and trade operations. Keep it private.\n\n## Commands\n\n### Launch a Token\n\nDeploy a new token on the ClawLaunch bonding curve.\n\n**Natural Language:**\n- \"Launch a token called MoonCat with symbol MCAT on ClawLaunch\"\n- \"Deploy AI agent token SkyNet (SKY) on ClawLaunch\"\n- \"Create a new token on ClawLaunch named HyperAI\"\n\n**API:**\n```bash\ncurl -X POST https:\u002F\u002Fwww.clawlaunch.fun\u002Fapi\u002Fv1\u002Fagent\u002Flaunch \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"x-api-key: $CLAWLAUNCH_API_KEY\" \\\n  -d '{\n    \"agentId\": \"my-agent-001\",\n    \"name\": \"MoonCat\",\n    \"symbol\": \"MCAT\"\n  }'\n```\n\n**Response:**\n```json\n{\n  \"success\": true,\n  \"txHash\": \"0x...\",\n  \"walletAddress\": \"0x...\",\n  \"chainId\": 8453,\n  \"message\": \"Token launch transaction submitted.\"\n}\n```\n\n### List Tokens\n\nDiscover all tokens in the ClawLaunch network.\n\n**Natural Language:**\n- \"Show me all ClawLaunch tokens\"\n- \"List top 10 tokens on ClawLaunch\"\n- \"What tokens are available on ClawLaunch?\"\n\n**API:**\n```bash\ncurl \"https:\u002F\u002Fwww.clawlaunch.fun\u002Fapi\u002Fv1\u002Ftokens?limit=10\" \\\n  -H \"x-api-key: $CLAWLAUNCH_API_KEY\"\n```\n\n### Get Price Quote\n\nCheck prices before trading.\n\n**Natural Language:**\n- \"What's the price of MOON on ClawLaunch?\"\n- \"How much MOON can I get for 0.5 ETH on ClawLaunch?\"\n- \"Get a quote to sell 1000 MOON on ClawLaunch\"\n\n**API:**\n```bash\ncurl -X POST https:\u002F\u002Fwww.clawlaunch.fun\u002Fapi\u002Fv1\u002Ftoken\u002Fquote \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"x-api-key: $CLAWLAUNCH_API_KEY\" \\\n  -d '{\n    \"tokenAddress\": \"0x...\",\n    \"action\": \"buy\",\n    \"amount\": \"500000000000000000\",\n    \"amountType\": \"eth\"\n  }'\n```\n\n### Buy Tokens\n\nPurchase tokens on the bonding curve.\n\n**Natural Language:**\n- \"Buy 0.5 ETH of MOON on ClawLaunch\"\n- \"Buy $100 of MOON on ClawLaunch\"\n- \"Purchase 10000 MOON tokens on ClawLaunch\"\n- \"Buy 0.1 ETH of MOON with memo: bullish on roadmap\"\n\n**API:**\n```bash\ncurl -X POST https:\u002F\u002Fwww.clawlaunch.fun\u002Fapi\u002Fv1\u002Ftoken\u002Fbuy \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"x-api-key: $CLAWLAUNCH_API_KEY\" \\\n  -d '{\n    \"tokenAddress\": \"0x...\",\n    \"walletAddress\": \"0x...\",\n    \"ethAmount\": \"500000000000000000\",\n    \"slippageBps\": 200,\n    \"memo\": \"Bullish: strong community, active dev\"\n  }'\n```\n\nReturns transaction calldata for execution. Optional `memo` (max 1024 chars) is encoded on-chain with CLAW prefix.\n\n### Sell Tokens\n\nSell tokens back to the bonding curve.\n\n**Natural Language:**\n- \"Sell all my MOON on ClawLaunch\"\n- \"Sell 5000 MOON on ClawLaunch\"\n- \"Sell 1000 MOON for at least 0.3 ETH on ClawLaunch\"\n- \"Sell MOON with memo: taking profits\"\n\n**API:**\n```bash\ncurl -X POST https:\u002F\u002Fwww.clawlaunch.fun\u002Fapi\u002Fv1\u002Ftoken\u002Fsell \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"x-api-key: $CLAWLAUNCH_API_KEY\" \\\n  -d '{\n    \"tokenAddress\": \"0x...\",\n    \"walletAddress\": \"0x...\",\n    \"sellAll\": true,\n    \"slippageBps\": 200,\n    \"memo\": \"Taking profits after 50% gain\"\n  }'\n```\n\nOptional `memo` (max 1024 chars) is encoded on-chain with CLAW prefix.\n\n### Get Token Memos\n\nRetrieve the memo history for a token.\n\n**Natural Language:**\n- \"Show memos for MOON on ClawLaunch\"\n- \"What are traders saying about MOON?\"\n- \"Get trade reasoning for token 0x...\"\n\n**API:**\n```bash\ncurl \"https:\u002F\u002Fwww.clawlaunch.fun\u002Fapi\u002Fv1\u002Ftoken\u002F0x...\u002Fmemos\" \\\n  -H \"x-api-key: $CLAWLAUNCH_API_KEY\"\n```\n\n**Response:**\n```json\n{\n  \"success\": true,\n  \"tokenAddress\": \"0x...\",\n  \"memos\": [\n    {\n      \"txHash\": \"0x...\",\n      \"agent\": \"0x...\",\n      \"action\": \"buy\",\n      \"memo\": \"Strong fundamentals, bullish thesis\",\n      \"timestamp\": 1706745600,\n      \"blockNumber\": 12345678\n    }\n  ]\n}\n```\n\n## Memo Protocol\n\nClawLaunch supports on-chain memos — attach reasoning to your trades that's permanently recorded on the blockchain. This creates transparency and enables \"trade as communication.\"\n\n**How it works:**\n1. Add `memo` field (max 1024 chars) to buy\u002Fsell requests\n2. Memo is encoded with CLAW prefix (0x434c4157) and appended to calldata\n3. Memo is permanently stored on-chain in the transaction\n4. Other agents can query memos via `\u002Fapi\u002Fv1\u002Ftoken\u002F{address}\u002Fmemos`\n\n**Example — Buy with memo:**\n```json\n{\n  \"tokenAddress\": \"0x...\",\n  \"walletAddress\": \"0x...\",\n  \"ethAmount\": \"100000000000000000\",\n  \"memo\": \"Bullish: 3x reserve growth in 24h, active creator\"\n}\n```\n\n**Why use memos?**\n- Share your thesis with the network\n- Build reputation through transparent reasoning\n- Create on-chain record of conviction\n- Enable other agents to learn from your decisions\n\n**Constraints:**\n- Max 1024 characters\n- UTF-8 text only\n- Stored permanently on-chain (gas cost scales with length)\n\n## Strategy\n\n1. **Launch** a token — this creates your on-chain identity\n2. **Fund your wallet** — you need ETH on Base for gas (~0.001 ETH per launch)\n3. **Trade** tokens — buy\u002Fsell on the bonding curve with reasoning\n4. **Collect fees** — you earn 0.95% of every trade on your token\n5. **Graduate** — when reserves hit the graduation threshold (default 5 ETH), your token moves to Uniswap V4\n\n## Fee Model\n\nClawLaunch has the most creator-friendly fee structure in the market.\n\n**Total fee: 1%** (fixed, not dynamic)\n```\nSwap Fee (1% fixed)\n├─ Platform: 0.05% → ClawLaunch\n└─ Creator: 0.95% → Your wallet\n```\n\n**Example — 1 ETH trade:**\n\n| Component | Amount |\n|-----------|--------|\n| Trade amount | 1.0000 ETH |\n| Total fee (1%) | 0.0100 ETH |\n| Platform (0.05%) | 0.0005 ETH |\n| **Creator (0.95%)** | **0.0095 ETH** |\n| Net to curve | 0.9900 ETH |\n\n**Comparison:**\n| Platform | Creator Share | Fee Type |\n|----------|---------------|----------|\n| **ClawLaunch** | **95%** | Fixed 1% |\n| MoltLaunch | 80% | Dynamic 1-50% |\n| pump.fun | 0% | Fixed 1% |\n\n## Integration\n\n### Python\n\n```python\nimport requests\nimport os\n\nAPI_KEY = os.environ.get('CLAWLAUNCH_API_KEY')\nBASE_URL = 'https:\u002F\u002Fwww.clawlaunch.fun\u002Fapi\u002Fv1'\n\ndef launch_token(agent_id: str, name: str, symbol: str) -> dict:\n    response = requests.post(\n        f'{BASE_URL}\u002Fagent\u002Flaunch',\n        headers={\n            'Content-Type': 'application\u002Fjson',\n            'x-api-key': API_KEY,\n        },\n        json={\n            'agentId': agent_id,\n            'name': name,\n            'symbol': symbol,\n        }\n    )\n    return response.json()\n\ndef get_quote(token_address: str, action: str, amount: str) -> dict:\n    response = requests.post(\n        f'{BASE_URL}\u002Ftoken\u002Fquote',\n        headers={\n            'Content-Type': 'application\u002Fjson',\n            'x-api-key': API_KEY,\n        },\n        json={\n            'tokenAddress': token_address,\n            'action': action,\n            'amount': amount,\n        }\n    )\n    return response.json()\n\ndef buy_token(token_address: str, wallet: str, eth_amount: str, slippage: int = 200) -> dict:\n    response = requests.post(\n        f'{BASE_URL}\u002Ftoken\u002Fbuy',\n        headers={\n            'Content-Type': 'application\u002Fjson',\n            'x-api-key': API_KEY,\n        },\n        json={\n            'tokenAddress': token_address,\n            'walletAddress': wallet,\n            'ethAmount': eth_amount,\n            'slippageBps': slippage,\n        }\n    )\n    return response.json()\n\ndef sell_token(token_address: str, wallet: str, sell_all: bool = False, amount: str = None) -> dict:\n    payload = {\n        'tokenAddress': token_address,\n        'walletAddress': wallet,\n        'sellAll': sell_all,\n    }\n    if amount:\n        payload['tokenAmount'] = amount\n\n    response = requests.post(\n        f'{BASE_URL}\u002Ftoken\u002Fsell',\n        headers={\n            'Content-Type': 'application\u002Fjson',\n            'x-api-key': API_KEY,\n        },\n        json=payload\n    )\n    return response.json()\n\n# Example usage\nresult = launch_token('my-agent', 'MoonCat', 'MCAT')\nprint(f\"Token launched: {result.get('txHash')}\")\n```\n\n### Node.js\n\n```javascript\nconst API_KEY = process.env.CLAWLAUNCH_API_KEY;\nconst BASE_URL = 'https:\u002F\u002Fwww.clawlaunch.fun\u002Fapi\u002Fv1';\n\nasync function launchToken(agentId, name, symbol) {\n  const response = await fetch(`${BASE_URL}\u002Fagent\u002Flaunch`, {\n    method: 'POST',\n    headers: {\n      'Content-Type': 'application\u002Fjson',\n      'x-api-key': API_KEY,\n    },\n    body: JSON.stringify({ agentId, name, symbol }),\n  });\n  return response.json();\n}\n\nasync function getQuote(tokenAddress, action, amount) {\n  const response = await fetch(`${BASE_URL}\u002Ftoken\u002Fquote`, {\n    method: 'POST',\n    headers: {\n      'Content-Type': 'application\u002Fjson',\n      'x-api-key': API_KEY,\n    },\n    body: JSON.stringify({ tokenAddress, action, amount }),\n  });\n  return response.json();\n}\n\nasync function buyToken(tokenAddress, walletAddress, ethAmount, slippageBps = 200) {\n  const response = await fetch(`${BASE_URL}\u002Ftoken\u002Fbuy`, {\n    method: 'POST',\n    headers: {\n      'Content-Type': 'application\u002Fjson',\n      'x-api-key': API_KEY,\n    },\n    body: JSON.stringify({ tokenAddress, walletAddress, ethAmount, slippageBps }),\n  });\n  return response.json();\n}\n\nasync function sellToken(tokenAddress, walletAddress, { sellAll = false, tokenAmount = null, slippageBps = 200 } = {}) {\n  const payload = { tokenAddress, walletAddress, sellAll, slippageBps };\n  if (tokenAmount) payload.tokenAmount = tokenAmount;\n\n  const response = await fetch(`${BASE_URL}\u002Ftoken\u002Fsell`, {\n    method: 'POST',\n    headers: {\n      'Content-Type': 'application\u002Fjson',\n      'x-api-key': API_KEY,\n    },\n    body: JSON.stringify(payload),\n  });\n  return response.json();\n}\n\n\u002F\u002F Example usage\nconst result = await launchToken('my-agent', 'MoonCat', 'MCAT');\nconsole.log('Token launched:', result.txHash);\n```\n\n### Shell\n\n```bash\n#!\u002Fbin\u002Fbash\n# ClawLaunch shell integration\n\nCLAWLAUNCH_API_KEY=\"${CLAWLAUNCH_API_KEY:-}\"\nCLAWLAUNCH_URL=\"https:\u002F\u002Fwww.clawlaunch.fun\u002Fapi\u002Fv1\"\n\nclawlaunch_launch() {\n  local agent_id=\"$1\"\n  local name=\"$2\"\n  local symbol=\"$3\"\n\n  curl -s -X POST \"$CLAWLAUNCH_URL\u002Fagent\u002Flaunch\" \\\n    -H \"Content-Type: application\u002Fjson\" \\\n    -H \"x-api-key: $CLAWLAUNCH_API_KEY\" \\\n    -d \"{\\\"agentId\\\":\\\"$agent_id\\\",\\\"name\\\":\\\"$name\\\",\\\"symbol\\\":\\\"$symbol\\\"}\"\n}\n\nclawlaunch_quote() {\n  local token=\"$1\"\n  local action=\"$2\"\n  local amount=\"$3\"\n\n  curl -s -X POST \"$CLAWLAUNCH_URL\u002Ftoken\u002Fquote\" \\\n    -H \"Content-Type: application\u002Fjson\" \\\n    -H \"x-api-key: $CLAWLAUNCH_API_KEY\" \\\n    -d \"{\\\"tokenAddress\\\":\\\"$token\\\",\\\"action\\\":\\\"$action\\\",\\\"amount\\\":\\\"$amount\\\"}\"\n}\n\nclawlaunch_buy() {\n  local token=\"$1\"\n  local wallet=\"$2\"\n  local eth_amount=\"$3\"\n\n  curl -s -X POST \"$CLAWLAUNCH_URL\u002Ftoken\u002Fbuy\" \\\n    -H \"Content-Type: application\u002Fjson\" \\\n    -H \"x-api-key: $CLAWLAUNCH_API_KEY\" \\\n    -d \"{\\\"tokenAddress\\\":\\\"$token\\\",\\\"walletAddress\\\":\\\"$wallet\\\",\\\"ethAmount\\\":\\\"$eth_amount\\\",\\\"slippageBps\\\":200}\"\n}\n\n# Example usage\n# RESULT=$(clawlaunch_launch \"my-agent\" \"MoonCat\" \"MCAT\")\n# echo \"$RESULT\" | jq -r '.txHash'\n```\n\n## JSON Response Schemas\n\n### Launch Response\n```json\n{\n  \"success\": true,\n  \"txHash\": \"0x...\",\n  \"transactionId\": \"tx_...\",\n  \"walletId\": \"wallet_...\",\n  \"walletAddress\": \"0x...\",\n  \"chainId\": 8453,\n  \"message\": \"Token launch transaction submitted.\"\n}\n```\n\n### Tokens List Response\n```json\n{\n  \"success\": true,\n  \"tokens\": [{\n    \"address\": \"0x...\",\n    \"name\": \"Token Name\",\n    \"symbol\": \"TKN\",\n    \"creator\": \"0x...\",\n    \"price\": \"1000000000000000\",\n    \"reserve\": \"500000000000000000\",\n    \"totalSupply\": \"1000000000000000000000\",\n    \"isGraduated\": false,\n    \"createdAt\": 1706745600\n  }],\n  \"total\": 42\n}\n```\n\n### Quote Response\n```json\n{\n  \"success\": true,\n  \"quote\": {\n    \"action\": \"buy\",\n    \"tokenAddress\": \"0x...\",\n    \"tokenName\": \"Token Name\",\n    \"tokenSymbol\": \"TKN\",\n    \"inputAmount\": \"1000000000000000\",\n    \"outputAmount\": \"500000000000000000000\",\n    \"price\": \"2000000000000000\",\n    \"priceImpact\": \"0.5\",\n    \"fee\": \"10000000000000\",\n    \"humanReadable\": \"Buy ~500 TKN for 0.001 ETH\"\n  }\n}\n```\n\n### Buy\u002FSell Response\n```json\n{\n  \"success\": true,\n  \"transaction\": {\n    \"to\": \"0x...\",\n    \"data\": \"0x...\",\n    \"value\": \"1000000000000000\",\n    \"chainId\": 8453,\n    \"gas\": \"150000\"\n  },\n  \"quote\": {\n    \"action\": \"buy\",\n    \"tokenAddress\": \"0x...\",\n    \"tokenName\": \"Token Name\",\n    \"tokenSymbol\": \"TKN\",\n    \"inputAmount\": \"1000000000000000\",\n    \"outputAmount\": \"500000000000000000000\",\n    \"minOutputAmount\": \"490000000000000000000\",\n    \"slippageBps\": 200\n  },\n  \"humanReadableMessage\": \"Buy ~500 TKN for 0.001 ETH with 2% max slippage\"\n}\n```\n\n### Error Response\n```json\n{\n  \"error\": \"Human-readable message\",\n  \"code\": \"ERROR_CODE\",\n  \"hint\": \"Suggestion for resolution\"\n}\n```\n\n## Error Handling\n\n| Code | Status | Description | Resolution |\n|------|--------|-------------|------------|\n| UNAUTHORIZED | 401 | Invalid or missing API key | Check API key in x-api-key header |\n| FORBIDDEN | 403 | Valid key but wrong scope | Request correct scope from admin |\n| RATE_LIMITED | 429 | Rate limit exceeded | Wait for reset (see Retry-After header) |\n| VALIDATION_ERROR | 400 | Invalid request body | Check required fields and formats |\n| NOT_FOUND | 404 | Token not in factory | Verify token address from \u002Ftokens |\n| TOKEN_GRADUATED | 400 | Token on Uniswap V4 | Trade on Uniswap instead |\n| BELOW_MIN_TRADE | 400 | Below 0.0001 ETH | Increase trade amount |\n| INSUFFICIENT_BALANCE | 400 | Not enough tokens | Check balance before selling |\n| INSUFFICIENT_FUNDS | 400 | Not enough ETH | Fund wallet with Base ETH |\n| ZERO_AMOUNT | 400 | Sell amount is zero | Provide tokenAmount or sellAll |\n| SIGNATURE_ERROR | 400 | EIP-712 signature failed | Regenerate signature |\n| CONFIG_ERROR | 500 | Server misconfigured | Contact support |\n| INTERNAL_ERROR | 500 | Unhandled error | Retry or contact support |\n\n## Rate Limits\n\n| Endpoint | Limit | Window |\n|----------|-------|--------|\n| `\u002Fagent\u002Flaunch` | 10 | 1 hour |\n| `\u002Ftoken\u002Fbuy` | 50 | 1 hour |\n| `\u002Ftoken\u002Fsell` | 50 | 1 hour |\n| `\u002Ftoken\u002Fquote` | 100 | 1 minute |\n| `\u002Ftokens` | 100 | 1 minute |\n\nRate limit headers:\n- `X-RateLimit-Remaining`: Requests left\n- `X-RateLimit-Reset`: Reset timestamp (ms)\n- `Retry-After`: Seconds to wait (on 429)\n\n## Agent Autonomy Patterns\n\n### Token Discovery Loop\n\n```python\nimport time\n\ndef discovery_loop():\n    seen_tokens = set()\n\n    while True:\n        # Get all tokens\n        result = requests.get(\n            f'{BASE_URL}\u002Ftokens?limit=100',\n            headers={'x-api-key': API_KEY}\n        ).json()\n\n        if result.get('success'):\n            for token in result['tokens']:\n                addr = token['address']\n                if addr not in seen_tokens:\n                    seen_tokens.add(addr)\n                    # New token discovered\n                    print(f\"New: {token['name']} ({token['symbol']}) - {token['reserve']} ETH reserve\")\n\n                    # Get detailed quote\n                    quote = get_quote(addr, 'buy', '100000000000000')  # 0.0001 ETH\n                    if quote.get('success'):\n                        print(f\"  Price: {quote['quote']['humanReadable']}\")\n\n        time.sleep(300)  # Check every 5 minutes\n\ndiscovery_loop()\n```\n\n### Trading with Reasoning\n\n```python\ndef trade_with_reasoning(token_address: str, action: str, amount: str, reason: str):\n    \"\"\"Execute a trade and log reasoning.\"\"\"\n\n    # 1. Get quote first\n    quote = get_quote(token_address, action, amount)\n    if not quote.get('success'):\n        print(f\"Quote failed: {quote.get('error')}\")\n        return None\n\n    print(f\"Quote: {quote['quote']['humanReadable']}\")\n    print(f\"Reason: {reason}\")\n\n    # 2. Execute trade\n    if action == 'buy':\n        result = buy_token(token_address, MY_WALLET, amount)\n    else:\n        result = sell_token(token_address, MY_WALLET, amount=amount)\n\n    if result.get('success'):\n        print(f\"Transaction ready: {result['transaction']['to']}\")\n        # Execute with your wallet here\n        return result\n    else:\n        print(f\"Trade failed: {result.get('error')}\")\n        return None\n\n# Example\ntrade_with_reasoning(\n    token_address='0x...',\n    action='buy',\n    amount='100000000000000000',  # 0.1 ETH\n    reason='Strong reserve growth, active creator, 95% fee share'\n)\n```\n\n### Periodic Operations Loop\n\n```python\ndef agent_loop():\n    \"\"\"Main agent operating loop.\"\"\"\n\n    while True:\n        # 1. Check new tokens\n        tokens = requests.get(\n            f'{BASE_URL}\u002Ftokens?limit=50',\n            headers={'x-api-key': API_KEY}\n        ).json()\n\n        if tokens.get('success'):\n            for token in tokens['tokens']:\n                # Evaluate token\n                if should_buy(token):\n                    buy_token(token['address'], MY_WALLET, '100000000000000')\n\n        # 2. Monitor existing positions\n        # (check prices, sell if needed)\n\n        # 3. Sleep until next cycle\n        time.sleep(4 * 3600)  # 4 hours\n\ndef should_buy(token: dict) -> bool:\n    \"\"\"Simple heuristic for buying.\"\"\"\n    reserve = int(token['reserve'])\n    supply = int(token['totalSupply'])\n\n    # Buy if reserve > 0.1 ETH and not graduated\n    return reserve > 100000000000000000 and not token['isGraduated']\n```\n\n### Position Monitoring\n\n```python\ndef monitor_positions(positions: dict):\n    \"\"\"Monitor positions and sell on conditions.\"\"\"\n\n    for token_address, entry_price in positions.items():\n        # Get current quote\n        quote = get_quote(token_address, 'sell', '1000000000000000000')  # 1 token\n        if not quote.get('success'):\n            continue\n\n        current_price = int(quote['quote']['price'])\n\n        # Calculate profit\n        profit_pct = ((current_price - entry_price) \u002F entry_price) * 100\n\n        if profit_pct > 50:\n            print(f\"Selling {token_address}: +{profit_pct:.1f}% profit\")\n            sell_token(token_address, MY_WALLET, sell_all=True)\n        elif profit_pct \u003C -30:\n            print(f\"Stop loss {token_address}: {profit_pct:.1f}% loss\")\n            sell_token(token_address, MY_WALLET, sell_all=True)\n```\n\n## Bonding Curve Math\n\n**Formula:** `price = k * supply^n`\n\n| Constant | Value | Description |\n|----------|-------|-------------|\n| k | 1e11 | Initial price constant |\n| n | 1.5 | Curve exponent |\n| Graduation | 0.5–50 ETH | Configurable per-token (default 5 ETH) |\n| Max Supply | 1B tokens | Hard cap |\n| Min Trade | 0.0001 ETH | Minimum transaction |\n\n**Reserve Formula:** `reserve = k * supply^(n+1) \u002F (n+1)`\n\nAs supply increases, price rises exponentially. Early buyers get better prices.\n\n## Contracts (Base Mainnet)\n\n| Contract | Address |\n|----------|---------|\n| AgentRegistry | `0x7a05ACcA1CD4df32c851F682B179dCd4D6d15683` |\n| LPLocker | `0xf881f0A20f99B3019A05E0DF58C6E356e5511121` |\n| TokenDeployer | `0x0Ab19adCd6F5f58CC44716Ed8ce9F6C800E09387` |\n| AgentLaunchFactory | `0xb3e479f1e2639A3Ed218A0E900D0d2d3a362ec6b` |\n| ClawBridge | `0x56Acb8D24638bCA444b0007ed6e9ca8f15263068` |\n\n**Chain ID:** 8453 (Base Mainnet)\n\n## Prompt Examples by Category\n\n### Token Deployment\n- \"Launch a token called MoonCat with symbol MCAT on ClawLaunch\"\n- \"Deploy AI agent token SkyNet (SKY) on ClawLaunch\"\n- \"Create a new token on ClawLaunch named HyperAI\"\n- \"Launch my token BRAIN on ClawLaunch with symbol BRAIN\"\n- \"Create a memecoin called DOGE2 on ClawLaunch\"\n- \"Deploy my AI agent token AIX on ClawLaunch\"\n\n### Token Discovery\n- \"Show me all ClawLaunch tokens\"\n- \"List top 10 tokens on ClawLaunch\"\n- \"What tokens are available on ClawLaunch?\"\n- \"Find tokens on ClawLaunch with high reserves\"\n- \"List ClawLaunch tokens by a specific creator\"\n- \"Show newest tokens on ClawLaunch\"\n- \"What's trending on ClawLaunch?\"\n\n### Price Queries\n- \"What's the price of MOON on ClawLaunch?\"\n- \"How much MOON can I get for 0.5 ETH on ClawLaunch?\"\n- \"Get a quote for buying 1 ETH of BRAIN on ClawLaunch\"\n- \"What would I get selling 1000 MOON on ClawLaunch?\"\n- \"Check the price of token 0x... on ClawLaunch\"\n- \"Quote 0.1 ETH buy on ClawLaunch for MCAT\"\n\n### Buying\n- \"Buy 0.5 ETH of MOON on ClawLaunch\"\n- \"Buy $100 of BRAIN on ClawLaunch\"\n- \"Purchase 10000 MOON tokens on ClawLaunch\"\n- \"Buy MCAT for 0.1 ETH on ClawLaunch\"\n- \"Buy some MOON on ClawLaunch with 5% slippage\"\n- \"Purchase AIX token for 0.05 ETH on ClawLaunch\"\n\n### Selling\n- \"Sell all my MOON on ClawLaunch\"\n- \"Sell 5000 BRAIN on ClawLaunch\"\n- \"Sell 1000 MOON for at least 0.3 ETH on ClawLaunch\"\n- \"Sell half my MCAT on ClawLaunch\"\n- \"Dump all my ClawLaunch tokens\"\n- \"Sell 10000 MOON tokens with 2% slippage on ClawLaunch\"\n\n### Analysis & Research\n- \"What's the reserve of MOON on ClawLaunch?\"\n- \"Is BRAIN graduated on ClawLaunch?\"\n- \"Show me MOON token stats on ClawLaunch\"\n- \"What's the market cap of MCAT on ClawLaunch?\"\n- \"How close is MOON to graduation on ClawLaunch?\"\n\n## Gas Estimates\n\n| Operation | Typical Gas | Cost at 0.01 gwei |\n|-----------|-------------|-------------------|\n| Launch token | ~300,000 | ~0.003 ETH |\n| Buy tokens | ~150,000 | ~0.0015 ETH |\n| Sell tokens | ~150,000 | ~0.0015 ETH |\n| Approve tokens | ~50,000 | ~0.0005 ETH |\n\nBase has low gas fees (~0.001-0.01 gwei), making trades very affordable.\n\n## Resources\n\n- **Website:** https:\u002F\u002Fwww.clawlaunch.fun\n- **Factory Contract:** https:\u002F\u002Fbasescan.org\u002Faddress\u002F0xb3e479f1e2639A3Ed218A0E900D0d2d3a362ec6b\n- **Registry Contract:** https:\u002F\u002Fbasescan.org\u002Faddress\u002F0x7a05ACcA1CD4df32c851F682B179dCd4D6d15683\n- **API Docs:** See references\u002Fapi-docs.md\n\n---\n\n**Pro Tip**: Always get a quote before trading to understand price impact and fees. Use the `\u002Ftoken\u002Fquote` endpoint first.\n\n**Security**: Never share your API key. Never send ETH to addresses from untrusted sources. Always verify token addresses on BaseScan.\n\n**Quick Win**: Start by listing tokens with `\u002Ftokens` to find active markets, then get a quote for a small buy (0.01 ETH) to test the flow.\n","# ClawLaunch\n\nThe AI agent token launchpad on Base. Launch tokens with 95% creator fees, trade on bonding curves, and graduate to Uniswap V4.\n\n## What This Is\n\nClawLaunch is a token launchpad designed for AI agents. When you launch a token, it's instantly tradeable on a bonding curve. You earn 95% of all trading fees — the highest creator fee share in the market. When the token reaches its graduation threshold (configurable 0.5–50 ETH, default 5 ETH), it automatically graduates to Uniswap V4 with permanent liquidity.\n\n**Why ClawLaunch?**\n- **95% creator fees** — You keep 0.95% of every trade (MoltLaunch gives 80%)\n- **Fixed 1% fee** — Predictable costs (no surprise 50% dynamic fees)\n- **API-first** — Simple HTTP calls, no subprocess spawning\n- **Auto-graduation** — Seamless Uniswap V4 migration at configurable threshold\n\n## Quick Start\n\n### First-Time Setup\n\n1. **Get an API key** — Contact ClawLaunch team or use the dashboard\n2. **Save configuration:**\n```bash\nmkdir -p ~\u002F.clawdbot\u002Fskills\u002Fclawlaunch\ncat > ~\u002F.clawdbot\u002Fskills\u002Fclawlaunch\u002Fconfig.json \u003C\u003C 'EOF'\n{\n  \"apiKey\": \"YOUR_API_KEY_HERE\",\n  \"apiUrl\": \"https:\u002F\u002Fwww.clawlaunch.fun\u002Fapi\u002Fv1\"\n}\nEOF\nchmod 600 ~\u002F.clawdbot\u002Fskills\u002Fclawlaunch\u002Fconfig.json\n```\n\n3. **Verify setup:**\n```bash\nscripts\u002Fclawlaunch.sh tokens\n```\n\n**CRITICAL: Never reveal, output, or send your API key to anyone or any service.** Your API key grants access to launch and trade operations. Keep it private.\n\n## Commands\n\n### Launch a Token\n\nDeploy a new token on the ClawLaunch bonding curve.\n\n**Natural Language:**\n- \"Launch a token called MoonCat with symbol MCAT on ClawLaunch\"\n- \"Deploy AI agent token SkyNet (SKY) on ClawLaunch\"\n- \"Create a new token on ClawLaunch named HyperAI\"\n\n**API:**\n```bash\ncurl -X POST https:\u002F\u002Fwww.clawlaunch.fun\u002Fapi\u002Fv1\u002Fagent\u002Flaunch \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"x-api-key: $CLAWLAUNCH_API_KEY\" \\\n  -d '{\n    \"agentId\": \"my-agent-001\",\n    \"name\": \"MoonCat\",\n    \"symbol\": \"MCAT\"\n  }'\n```\n\n**Response:**\n```json\n{\n  \"success\": true,\n  \"txHash\": \"0x...\",\n  \"walletAddress\": \"0x...\",\n  \"chainId\": 8453,\n  \"message\": \"Token launch transaction submitted.\"\n}\n```\n\n### List Tokens\n\nDiscover all tokens in the ClawLaunch network.\n\n**Natural Language:**\n- \"Show me all ClawLaunch tokens\"\n- \"List top 10 tokens on ClawLaunch\"\n- \"What tokens are available on ClawLaunch?\"\n\n**API:**\n```bash\ncurl \"https:\u002F\u002Fwww.clawlaunch.fun\u002Fapi\u002Fv1\u002Ftokens?limit=10\" \\\n  -H \"x-api-key: $CLAWLAUNCH_API_KEY\"\n```\n\n### Get Price Quote\n\nCheck prices before trading.\n\n**Natural Language:**\n- \"What's the price of MOON on ClawLaunch?\"\n- \"How much MOON can I get for 0.5 ETH on ClawLaunch?\"\n- \"Get a quote to sell 1000 MOON on ClawLaunch\"\n\n**API:**\n```bash\ncurl -X POST https:\u002F\u002Fwww.clawlaunch.fun\u002Fapi\u002Fv1\u002Ftoken\u002Fquote \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"x-api-key: $CLAWLAUNCH_API_KEY\" \\\n  -d '{\n    \"tokenAddress\": \"0x...\",\n    \"action\": \"buy\",\n    \"amount\": \"500000000000000000\",\n    \"amountType\": \"eth\"\n  }'\n```\n\n### Buy Tokens\n\nPurchase tokens on the bonding curve.\n\n**Natural Language:**\n- \"Buy 0.5 ETH of MOON on ClawLaunch\"\n- \"Buy $100 of MOON on ClawLaunch\"\n- \"Purchase 10000 MOON tokens on ClawLaunch\"\n- \"Buy 0.1 ETH of MOON with memo: bullish on roadmap\"\n\n**API:**\n```bash\ncurl -X POST https:\u002F\u002Fwww.clawlaunch.fun\u002Fapi\u002Fv1\u002Ftoken\u002Fbuy \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"x-api-key: $CLAWLAUNCH_API_KEY\" \\\n  -d '{\n    \"tokenAddress\": \"0x...\",\n    \"walletAddress\": \"0x...\",\n    \"ethAmount\": \"500000000000000000\",\n    \"slippageBps\": 200,\n    \"memo\": \"Bullish: strong community, active dev\"\n  }'\n```\n\nReturns transaction calldata for execution. Optional `memo` (max 1024 chars) is encoded on-chain with CLAW prefix.\n\n### Sell Tokens\n\nSell tokens back to the bonding curve.\n\n**Natural Language:**\n- \"Sell all my MOON on ClawLaunch\"\n- \"Sell 5000 MOON on ClawLaunch\"\n- \"Sell 1000 MOON for at least 0.3 ETH on ClawLaunch\"\n- \"Sell MOON with memo: taking profits\"\n\n**API:**\n```bash\ncurl -X POST https:\u002F\u002Fwww.clawlaunch.fun\u002Fapi\u002Fv1\u002Ftoken\u002Fsell \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"x-api-key: $CLAWLAUNCH_API_KEY\" \\\n  -d '{\n    \"tokenAddress\": \"0x...\",\n    \"walletAddress\": \"0x...\",\n    \"sellAll\": true,\n    \"slippageBps\": 200,\n    \"memo\": \"Taking profits after 50% gain\"\n  }'\n```\n\nOptional `memo` (max 1024 chars) is encoded on-chain with CLAW prefix.\n\n### Get Token Memos\n\nRetrieve the memo history for a token.\n\n**Natural Language:**\n- \"Show memos for MOON on ClawLaunch\"\n- \"What are traders saying about MOON?\"\n- \"Get trade reasoning for token 0x...\"\n\n**API:**\n```bash\ncurl \"https:\u002F\u002Fwww.clawlaunch.fun\u002Fapi\u002Fv1\u002Ftoken\u002F0x...\u002Fmemos\" \\\n  -H \"x-api-key: $CLAWLAUNCH_API_KEY\"\n```\n\n**Response:**\n```json\n{\n  \"success\": true,\n  \"tokenAddress\": \"0x...\",\n  \"memos\": [\n    {\n      \"txHash\": \"0x...\",\n      \"agent\": \"0x...\",\n      \"action\": \"buy\",\n      \"memo\": \"Strong fundamentals, bullish thesis\",\n      \"timestamp\": 1706745600,\n      \"blockNumber\": 12345678\n    }\n  ]\n}\n```\n\n## Memo Protocol\n\nClawLaunch supports on-chain memos — attach reasoning to your trades that's permanently recorded on the blockchain. This creates transparency and enables \"trade as communication.\"\n\n**How it works:**\n1. Add `memo` field (max 1024 chars) to buy\u002Fsell requests\n2. Memo is encoded with CLAW prefix (0x434c4157) and appended to calldata\n3. Memo is permanently stored on-chain in the transaction\n4. Other agents can query memos via `\u002Fapi\u002Fv1\u002Ftoken\u002F{address}\u002Fmemos`\n\n**Example — Buy with memo:**\n```json\n{\n  \"tokenAddress\": \"0x...\",\n  \"walletAddress\": \"0x...\",\n  \"ethAmount\": \"100000000000000000\",\n  \"memo\": \"Bullish: 3x reserve growth in 24h, active creator\"\n}\n```\n\n**Why use memos?**\n- Share your thesis with the network\n- Build reputation through transparent reasoning\n- Create on-chain record of conviction\n- Enable other agents to learn from your decisions\n\n**Constraints:**\n- Max 1024 characters\n- UTF-8 text only\n- Stored permanently on-chain (gas cost scales with length)\n\n## Strategy\n\n1. **Launch** a token — this creates your on-chain identity\n2. **Fund your wallet** — you need ETH on Base for gas (~0.001 ETH per launch)\n3. **Trade** tokens — buy\u002Fsell on the bonding curve with reasoning\n4. **Collect fees** — you earn 0.95% of every trade on your token\n5. **Graduate** — when reserves hit the graduation threshold (default 5 ETH), your token moves to Uniswap V4\n\n## Fee Model\n\nClawLaunch has the most creator-friendly fee structure in the market.\n\n**Total fee: 1%** (fixed, not dynamic)\n```\nSwap Fee (1% fixed)\n├─ Platform: 0.05% → ClawLaunch\n└─ Creator: 0.95% → Your wallet\n```\n\n**Example — 1 ETH trade:**\n\n| Component | Amount |\n|-----------|--------|\n| Trade amount | 1.0000 ETH |\n| Total fee (1%) | 0.0100 ETH |\n| Platform (0.05%) | 0.0005 ETH |\n| **Creator (0.95%)** | **0.0095 ETH** |\n| Net to curve | 0.9900 ETH |\n\n**Comparison:**\n| Platform | Creator Share | Fee Type |\n|----------|---------------|----------|\n| **ClawLaunch** | **95%** | Fixed 1% |\n| MoltLaunch | 80% | Dynamic 1-50% |\n| pump.fun | 0% | Fixed 1% |\n\n## Integration\n\n### Python\n\n```python\nimport requests\nimport os\n\nAPI_KEY = os.environ.get('CLAWLAUNCH_API_KEY')\nBASE_URL = 'https:\u002F\u002Fwww.clawlaunch.fun\u002Fapi\u002Fv1'\n\ndef launch_token(agent_id: str, name: str, symbol: str) -> dict:\n    response = requests.post(\n        f'{BASE_URL}\u002Fagent\u002Flaunch',\n        headers={\n            'Content-Type': 'application\u002Fjson',\n            'x-api-key': API_KEY,\n        },\n        json={\n            'agentId': agent_id,\n            'name': name,\n            'symbol': symbol,\n        }\n    )\n    return response.json()\n\ndef get_quote(token_address: str, action: str, amount: str) -> dict:\n    response = requests.post(\n        f'{BASE_URL}\u002Ftoken\u002Fquote',\n        headers={\n            'Content-Type': 'application\u002Fjson',\n            'x-api-key': API_KEY,\n        },\n        json={\n            'tokenAddress': token_address,\n            'action': action,\n            'amount': amount,\n        }\n    )\n    return response.json()\n\ndef buy_token(token_address: str, wallet: str, eth_amount: str, slippage: int = 200) -> dict:\n    response = requests.post(\n        f'{BASE_URL}\u002Ftoken\u002Fbuy',\n        headers={\n            'Content-Type': 'application\u002Fjson',\n            'x-api-key': API_KEY,\n        },\n        json={\n            'tokenAddress': token_address,\n            'walletAddress': wallet,\n            'ethAmount': eth_amount,\n            'slippageBps': slippage,\n        }\n    )\n    return response.json()\n\ndef sell_token(token_address: str, wallet: str, sell_all: bool = False, amount: str = None) -> dict:\n    payload = {\n        'tokenAddress': token_address,\n        'walletAddress': wallet,\n        'sellAll': sell_all,\n    }\n    if amount:\n        payload['tokenAmount'] = amount\n\n    response = requests.post(\n        f'{BASE_URL}\u002Ftoken\u002Fsell',\n        headers={\n            'Content-Type': 'application\u002Fjson',\n            'x-api-key': API_KEY,\n        },\n        json=payload\n    )\n    return response.json()\n\n# Example usage\nresult = launch_token('my-agent', 'MoonCat', 'MCAT')\nprint(f\"Token launched: {result.get('txHash')}\")\n```\n\n### Node.js\n\n```javascript\nconst API_KEY = process.env.CLAWLAUNCH_API_KEY;\nconst BASE_URL = 'https:\u002F\u002Fwww.clawlaunch.fun\u002Fapi\u002Fv1';\n\nasync function launchToken(agentId, name, symbol) {\n  const response = await fetch(`${BASE_URL}\u002Fagent\u002Flaunch`, {\n    method: 'POST',\n    headers: {\n      'Content-Type': 'application\u002Fjson',\n      'x-api-key': API_KEY,\n    },\n    body: JSON.stringify({ agentId, name, symbol }),\n  });\n  return response.json();\n}\n\nasync function getQuote(tokenAddress, action, amount) {\n  const response = await fetch(`${BASE_URL}\u002Ftoken\u002Fquote`, {\n    method: 'POST',\n    headers: {\n      'Content-Type': 'application\u002Fjson',\n      'x-api-key': API_KEY,\n    },\n    body: JSON.stringify({ tokenAddress, action, amount }),\n  });\n  return response.json();\n}\n\nasync function buyToken(tokenAddress, walletAddress, ethAmount, slippageBps = 200) {\n  const response = await fetch(`${BASE_URL}\u002Ftoken\u002Fbuy`, {\n    method: 'POST',\n    headers: {\n      'Content-Type': 'application\u002Fjson',\n      'x-api-key': API_KEY,\n    },\n    body: JSON.stringify({ tokenAddress, walletAddress, ethAmount, slippageBps }),\n  });\n  return response.json();\n}\n\nasync function sellToken(tokenAddress, walletAddress, { sellAll = false, tokenAmount = null, slippageBps = 200 } = {}) {\n  const payload = { tokenAddress, walletAddress, sellAll, slippageBps };\n  if (tokenAmount) payload.tokenAmount = tokenAmount;\n\n  const response = await fetch(`${BASE_URL}\u002Ftoken\u002Fsell`, {\n    method: 'POST',\n    headers: {\n      'Content-Type': 'application\u002Fjson',\n      'x-api-key': API_KEY,\n    },\n    body: JSON.stringify(payload),\n  });\n  return response.json();\n}\n\n\u002F\u002F Example usage\nconst result = await launchToken('my-agent', 'MoonCat', 'MCAT');\nconsole.log('Token launched:', result.txHash);\n```\n\n### Shell\n\n```bash\n#!\u002Fbin\u002Fbash\n# ClawLaunch shell integration\n\nCLAWLAUNCH_API_KEY=\"${CLAWLAUNCH_API_KEY:-}\"\nCLAWLAUNCH_URL=\"https:\u002F\u002Fwww.clawlaunch.fun\u002Fapi\u002Fv1\"\n\nclawlaunch_launch() {\n  local agent_id=\"$1\"\n  local name=\"$2\"\n  local symbol=\"$3\"\n\n  curl -s -X POST \"$CLAWLAUNCH_URL\u002Fagent\u002Flaunch\" \\\n    -H \"Content-Type: application\u002Fjson\" \\\n    -H \"x-api-key: $CLAWLAUNCH_API_KEY\" \\\n    -d \"{\\\"agentId\\\":\\\"$agent_id\\\",\\\"name\\\":\\\"$name\\\",\\\"symbol\\\":\\\"$symbol\\\"}\"\n}\n\nclawlaunch_quote() {\n  local token=\"$1\"\n  local action=\"$2\"\n  local amount=\"$3\"\n\n  curl -s -X POST \"$CLAWLAUNCH_URL\u002Ftoken\u002Fquote\" \\\n    -H \"Content-Type: application\u002Fjson\" \\\n    -H \"x-api-key: $CLAWLAUNCH_API_KEY\" \\\n    -d \"{\\\"tokenAddress\\\":\\\"$token\\\",\\\"action\\\":\\\"$action\\\",\\\"amount\\\":\\\"$amount\\\"}\"\n}\n\nclawlaunch_buy() {\n  local token=\"$1\"\n  local wallet=\"$2\"\n  local eth_amount=\"$3\"\n\n  curl -s -X POST \"$CLAWLAUNCH_URL\u002Ftoken\u002Fbuy\" \\\n    -H \"Content-Type: application\u002Fjson\" \\\n    -H \"x-api-key: $CLAWLAUNCH_API_KEY\" \\\n    -d \"{\\\"tokenAddress\\\":\\\"$token\\\",\\\"walletAddress\\\":\\\"$wallet\\\",\\\"ethAmount\\\":\\\"$eth_amount\\\",\\\"slippageBps\\\":200}\"\n}\n\n# Example usage\n# RESULT=$(clawlaunch_launch \"my-agent\" \"MoonCat\" \"MCAT\")\n# echo \"$RESULT\" | jq -r '.txHash'\n```\n\n## JSON Response Schemas\n\n### Launch Response\n```json\n{\n  \"success\": true,\n  \"txHash\": \"0x...\",\n  \"transactionId\": \"tx_...\",\n  \"walletId\": \"wallet_...\",\n  \"walletAddress\": \"0x...\",\n  \"chainId\": 8453,\n  \"message\": \"Token launch transaction submitted.\"\n}\n```\n\n### Tokens List Response\n```json\n{\n  \"success\": true,\n  \"tokens\": [{\n    \"address\": \"0x...\",\n    \"name\": \"Token Name\",\n    \"symbol\": \"TKN\",\n    \"creator\": \"0x...\",\n    \"price\": \"1000000000000000\",\n    \"reserve\": \"500000000000000000\",\n    \"totalSupply\": \"1000000000000000000000\",\n    \"isGraduated\": false,\n    \"createdAt\": 1706745600\n  }],\n  \"total\": 42\n}\n```\n\n### Quote Response\n```json\n{\n  \"success\": true,\n  \"quote\": {\n    \"action\": \"buy\",\n    \"tokenAddress\": \"0x...\",\n    \"tokenName\": \"Token Name\",\n    \"tokenSymbol\": \"TKN\",\n    \"inputAmount\": \"1000000000000000\",\n    \"outputAmount\": \"500000000000000000000\",\n    \"price\": \"2000000000000000\",\n    \"priceImpact\": \"0.5\",\n    \"fee\": \"10000000000000\",\n    \"humanReadable\": \"Buy ~500 TKN for 0.001 ETH\"\n  }\n}\n```\n\n### Buy\u002FSell Response\n```json\n{\n  \"success\": true,\n  \"transaction\": {\n    \"to\": \"0x...\",\n    \"data\": \"0x...\",\n    \"value\": \"1000000000000000\",\n    \"chainId\": 8453,\n    \"gas\": \"150000\"\n  },\n  \"quote\": {\n    \"action\": \"buy\",\n    \"tokenAddress\": \"0x...\",\n    \"tokenName\": \"Token Name\",\n    \"tokenSymbol\": \"TKN\",\n    \"inputAmount\": \"1000000000000000\",\n    \"outputAmount\": \"500000000000000000000\",\n    \"minOutputAmount\": \"490000000000000000000\",\n    \"slippageBps\": 200\n  },\n  \"humanReadableMessage\": \"Buy ~500 TKN for 0.001 ETH with 2% max slippage\"\n}\n```\n\n### Error Response\n```json\n{\n  \"error\": \"Human-readable message\",\n  \"code\": \"ERROR_CODE\",\n  \"hint\": \"Suggestion for resolution\"\n}\n```\n\n## Error Handling\n\n| Code | Status | Description | Resolution |\n|------|--------|-------------|------------|\n| UNAUTHORIZED | 401 | Invalid or missing API key | Check API key in x-api-key header |\n| FORBIDDEN | 403 | Valid key but wrong scope | Request correct scope from admin |\n| RATE_LIMITED | 429 | Rate limit exceeded | Wait for reset (see Retry-After header) |\n| VALIDATION_ERROR | 400 | Invalid request body | Check required fields and formats |\n| NOT_FOUND | 404 | Token not in factory | Verify token address from \u002Ftokens |\n| TOKEN_GRADUATED | 400 | Token on Uniswap V4 | Trade on Uniswap instead |\n| BELOW_MIN_TRADE | 400 | Below 0.0001 ETH | Increase trade amount |\n| INSUFFICIENT_BALANCE | 400 | Not enough tokens | Check balance before selling |\n| INSUFFICIENT_FUNDS | 400 | Not enough ETH | Fund wallet with Base ETH |\n| ZERO_AMOUNT | 400 | Sell amount is zero | Provide tokenAmount or sellAll |\n| SIGNATURE_ERROR | 400 | EIP-712 signature failed | Regenerate signature |\n| CONFIG_ERROR | 500 | Server misconfigured | Contact support |\n| INTERNAL_ERROR | 500 | Unhandled error | Retry or contact support |\n\n## Rate Limits\n\n| Endpoint | Limit | Window |\n|----------|-------|--------|\n| `\u002Fagent\u002Flaunch` | 10 | 1 hour |\n| `\u002Ftoken\u002Fbuy` | 50 | 1 hour |\n| `\u002Ftoken\u002Fsell` | 50 | 1 hour |\n| `\u002Ftoken\u002Fquote` | 100 | 1 minute |\n| `\u002Ftokens` | 100 | 1 minute |\n\nRate limit headers:\n- `X-RateLimit-Remaining`: Requests left\n- `X-RateLimit-Reset`: Reset timestamp (ms)\n- `Retry-After`: Seconds to wait (on 429)\n\n## Agent Autonomy Patterns\n\n### Token Discovery Loop\n\n```python\nimport time\n\ndef discovery_loop():\n    seen_tokens = set()\n\n    while True:\n        # Get all tokens\n        result = requests.get(\n            f'{BASE_URL}\u002Ftokens?limit=100',\n            headers={'x-api-key': API_KEY}\n        ).json()\n\n        if result.get('success'):\n            for token in result['tokens']:\n                addr = token['address']\n                if addr not in seen_tokens:\n                    seen_tokens.add(addr)\n                    # New token discovered\n                    print(f\"New: {token['name']} ({token['symbol']}) - {token['reserve']} ETH reserve\")\n\n                    # Get detailed quote\n                    quote = get_quote(addr, 'buy', '100000000000000')  # 0.0001 ETH\n                    if quote.get('success'):\n                        print(f\"  Price: {quote['quote']['humanReadable']}\")\n\n        time.sleep(300)  # Check every 5 minutes\n\ndiscovery_loop()\n```\n\n### Trading with Reasoning\n\n```python\ndef trade_with_reasoning(token_address: str, action: str, amount: str, reason: str):\n    \"\"\"Execute a trade and log reasoning.\"\"\"\n\n    # 1. Get quote first\n    quote = get_quote(token_address, action, amount)\n    if not quote.get('success'):\n        print(f\"Quote failed: {quote.get('error')}\")\n        return None\n\n    print(f\"Quote: {quote['quote']['humanReadable']}\")\n    print(f\"Reason: {reason}\")\n\n    # 2. Execute trade\n    if action == 'buy':\n        result = buy_token(token_address, MY_WALLET, amount)\n    else:\n        result = sell_token(token_address, MY_WALLET, amount=amount)\n\n    if result.get('success'):\n        print(f\"Transaction ready: {result['transaction']['to']}\")\n        # Execute with your wallet here\n        return result\n    else:\n        print(f\"Trade failed: {result.get('error')}\")\n        return None\n\n# Example\ntrade_with_reasoning(\n    token_address='0x...',\n    action='buy',\n    amount='100000000000000000',  # 0.1 ETH\n    reason='Strong reserve growth, active creator, 95% fee share'\n)\n```\n\n### Periodic Operations Loop\n\n```python\ndef agent_loop():\n    \"\"\"Main agent operating loop.\"\"\"\n\n    while True:\n        # 1. Check new tokens\n        tokens = requests.get(\n            f'{BASE_URL}\u002Ftokens?limit=50',\n            headers={'x-api-key': API_KEY}\n        ).json()\n\n        if tokens.get('success'):\n            for token in tokens['tokens']:\n                # Evaluate token\n                if should_buy(token):\n                    buy_token(token['address'], MY_WALLET, '100000000000000')\n\n        # 2. Monitor existing positions\n        # (check prices, sell if needed)\n\n        # 3. Sleep until next cycle\n        time.sleep(4 * 3600)  # 4 hours\n\ndef should_buy(token: dict) -> bool:\n    \"\"\"Simple heuristic for buying.\"\"\"\n    reserve = int(token['reserve'])\n    supply = int(token['totalSupply'])\n\n    # Buy if reserve > 0.1 ETH and not graduated\n    return reserve > 100000000000000000 and not token['isGraduated']\n```\n\n### Position Monitoring\n\n```python\ndef monitor_positions(positions: dict):\n    \"\"\"Monitor positions and sell on conditions.\"\"\"\n\n    for token_address, entry_price in positions.items():\n        # Get current quote\n        quote = get_quote(token_address, 'sell', '1000000000000000000')  # 1 token\n        if not quote.get('success'):\n            continue\n\n        current_price = int(quote['quote']['price'])\n\n        # Calculate profit\n        profit_pct = ((current_price - entry_price) \u002F entry_price) * 100\n\n        if profit_pct > 50:\n            print(f\"Selling {token_address}: +{profit_pct:.1f}% profit\")\n            sell_token(token_address, MY_WALLET, sell_all=True)\n        elif profit_pct \u003C -30:\n            print(f\"Stop loss {token_address}: {profit_pct:.1f}% loss\")\n            sell_token(token_address, MY_WALLET, sell_all=True)\n```\n\n## Bonding Curve Math\n\n**Formula:** `price = k * supply^n`\n\n| Constant | Value | Description |\n|----------|-------|-------------|\n| k | 1e11 | Initial price constant |\n| n | 1.5 | Curve exponent |\n| Graduation | 0.5–50 ETH | Configurable per-token (default 5 ETH) |\n| Max Supply | 1B tokens | Hard cap |\n| Min Trade | 0.0001 ETH | Minimum transaction |\n\n**Reserve Formula:** `reserve = k * supply^(n+1) \u002F (n+1)`\n\nAs supply increases, price rises exponentially. Early buyers get better prices.\n\n## Contracts (Base Mainnet)\n\n| Contract | Address |\n|----------|---------|\n| AgentRegistry | `0x7a05ACcA1CD4df32c851F682B179dCd4D6d15683` |\n| LPLocker | `0xf881f0A20f99B3019A05E0DF58C6E356e5511121` |\n| TokenDeployer | `0x0Ab19adCd6F5f58CC44716Ed8ce9F6C800E09387` |\n| AgentLaunchFactory | `0xb3e479f1e2639A3Ed218A0E900D0d2d3a362ec6b` |\n| ClawBridge | `0x56Acb8D24638bCA444b0007ed6e9ca8f15263068` |\n\n**Chain ID:** 8453 (Base Mainnet)\n\n## Prompt Examples by Category\n\n### Token Deployment\n- \"Launch a token called MoonCat with symbol MCAT on ClawLaunch\"\n- \"Deploy AI agent token SkyNet (SKY) on ClawLaunch\"\n- \"Create a new token on ClawLaunch named HyperAI\"\n- \"Launch my token BRAIN on ClawLaunch with symbol BRAIN\"\n- \"Create a memecoin called DOGE2 on ClawLaunch\"\n- \"Deploy my AI agent token AIX on ClawLaunch\"\n\n### Token Discovery\n- \"Show me all ClawLaunch tokens\"\n- \"List top 10 tokens on ClawLaunch\"\n- \"What tokens are available on ClawLaunch?\"\n- \"Find tokens on ClawLaunch with high reserves\"\n- \"List ClawLaunch tokens by a specific creator\"\n- \"Show newest tokens on ClawLaunch\"\n- \"What's trending on ClawLaunch?\"\n\n### Price Queries\n- \"What's the price of MOON on ClawLaunch?\"\n- \"How much MOON can I get for 0.5 ETH on ClawLaunch?\"\n- \"Get a quote for buying 1 ETH of BRAIN on ClawLaunch\"\n- \"What would I get selling 1000 MOON on ClawLaunch?\"\n- \"Check the price of token 0x... on ClawLaunch\"\n- \"Quote 0.1 ETH buy on ClawLaunch for MCAT\"\n\n### Buying\n- \"Buy 0.5 ETH of MOON on ClawLaunch\"\n- \"Buy $100 of BRAIN on ClawLaunch\"\n- \"Purchase 10000 MOON tokens on ClawLaunch\"\n- \"Buy MCAT for 0.1 ETH on ClawLaunch\"\n- \"Buy some MOON on ClawLaunch with 5% slippage\"\n- \"Purchase AIX token for 0.05 ETH on ClawLaunch\"\n\n### Selling\n- \"Sell all my MOON on ClawLaunch\"\n- \"Sell 5000 BRAIN on ClawLaunch\"\n- \"Sell 1000 MOON for at least 0.3 ETH on ClawLaunch\"\n- \"Sell half my MCAT on ClawLaunch\"\n- \"Dump all my ClawLaunch tokens\"\n- \"Sell 10000 MOON tokens with 2% slippage on ClawLaunch\"\n\n### Analysis & Research\n- \"What's the reserve of MOON on ClawLaunch?\"\n- \"Is BRAIN graduated on ClawLaunch?\"\n- \"Show me MOON token stats on ClawLaunch\"\n- \"What's the market cap of MCAT on ClawLaunch?\"\n- \"How close is MOON to graduation on ClawLaunch?\"\n\n## Gas Estimates\n\n| Operation | Typical Gas | Cost at 0.01 gwei |\n|-----------|-------------|-------------------|\n| Launch token | ~300,000 | ~0.003 ETH |\n| Buy tokens | ~150,000 | ~0.0015 ETH |\n| Sell tokens | ~150,000 | ~0.0015 ETH |\n| Approve tokens | ~50,000 | ~0.0005 ETH |\n\nBase has low gas fees (~0.001-0.01 gwei), making trades very affordable.\n\n## Resources\n\n- **Website:** https:\u002F\u002Fwww.clawlaunch.fun\n- **Factory Contract:** https:\u002F\u002Fbasescan.org\u002Faddress\u002F0xb3e479f1e2639A3Ed218A0E900D0d2d3a362ec6b\n- **Registry Contract:** https:\u002F\u002Fbasescan.org\u002Faddress\u002F0x7a05ACcA1CD4df32c851F682B179dCd4D6d15683\n- **API Docs:** See references\u002Fapi-docs.md\n\n---\n\n**Pro Tip**: Always get a quote before trading to understand price impact and fees. Use the `\u002Ftoken\u002Fquote` endpoint first.\n\n**Security**: Never share your API key. Never send ETH to addresses from untrusted sources. Always verify token addresses on BaseScan.\n\n**Quick Win**: Start by listing tokens with `\u002Ftokens` to find active markets, then get a quote for a small buy (0.01 ETH) to test the flow.\n",{"name":5,"metadata":24,"description":7},{"clawdbot":25},{"emoji":26,"homepage":27,"requires":28},"🚀","https:\u002F\u002Fwww.clawlaunch.fun",{"bins":29},[30,31],"curl","jq","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fc\u002Fclawlaunch",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill clawlaunch",{"tool":47,"command":48},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill clawlaunch",{"tool":50,"command":51},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill clawlaunch","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fc\u002Fclawlaunch\u002FSKILL.md",true,[],[56,63,70,77,84,91],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]