{
  "schemaVersion": "1.0",
  "item": {
    "slug": "moltmarkets-trading",
    "name": "MoltMarkets Trading Agent",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/shirtlessfounder/moltmarkets-trading",
    "canonicalUrl": "https://clawhub.ai/shirtlessfounder/moltmarkets-trading",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/moltmarkets-trading",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=moltmarkets-trading",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/api-reference.md",
      "references/cron-definitions.md",
      "references/kelly-formula.md",
      "references/memory-templates.md",
      "scripts/setup.js"
    ],
    "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-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/moltmarkets-trading"
    },
    "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/moltmarkets-trading",
    "agentPageUrl": "https://openagent3.xyz/skills/moltmarkets-trading/agent",
    "manifestUrl": "https://openagent3.xyz/skills/moltmarkets-trading/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/moltmarkets-trading/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": "MoltMarkets Agent",
        "body": "Complete autonomous agent setup for MoltMarkets prediction market trading."
      },
      {
        "title": "What This Skill Provides",
        "body": "Trader Agent — Evaluates markets, places bets using Kelly criterion, posts funny comments\nCreator Agent — Creates markets optimized for volume (ROI-focused)\nResolution Agent — Auto-resolves markets using oracle data (Binance, HN Algolia)\nLearning Loop — Tracks performance, adjusts strategy based on wins/losses\nCoordination — Shared state between agents, notification controls"
      },
      {
        "title": "1. Get MoltMarkets Credentials",
        "body": "# Create config directory\nmkdir -p ~/.config/moltmarkets\n\n# Save your credentials (get API key from moltmarkets.com settings)\ncat > ~/.config/moltmarkets/credentials.json << 'EOF'\n{\n  \"api_key\": \"mm_your_api_key_here\",\n  \"user_id\": \"your-user-uuid\",\n  \"username\": \"your_username\"\n}\nEOF"
      },
      {
        "title": "2. Initialize Memory Files",
        "body": "Run the setup script:\n\nnode skills/moltmarkets-agent/scripts/setup.js\n\nOr manually create the required files — see references/memory-templates.md."
      },
      {
        "title": "3. Create Cron Jobs",
        "body": "Use the cron tool to create each agent. See references/cron-definitions.md for complete job definitions.\n\nTrader (every 5 min):\n\ncron({ action: 'add', job: { /* see references/cron-definitions.md */ } })\n\nCreator (every 10 min):\n\ncron({ action: 'add', job: { /* see references/cron-definitions.md */ } })\n\nResolution (every 7 min):\n\ncron({ action: 'add', job: { /* see references/cron-definitions.md */ } })"
      },
      {
        "title": "Architecture Overview",
        "body": "┌─────────────────────────────────────────────────────────┐\n│                    CRON SCHEDULER                        │\n│  trader (*/5)  │  creator (*/10)  │  resolution (*/7)   │\n└────────┬───────┴────────┬─────────┴──────────┬──────────┘\n         │                │                    │\n         ▼                ▼                    ▼\n┌─────────────┐  ┌─────────────┐     ┌─────────────────┐\n│   TRADER    │  │   CREATOR   │     │   RESOLUTION    │\n│             │  │             │     │                 │\n│ • Kelly bet │  │ • Find opps │     │ • Fetch oracle  │\n│ • Post cmnt │  │ • Create mkt│     │ • Resolve mkt   │\n│ • Learn     │  │ • Log ROI   │     │ • Update ROI    │\n└──────┬──────┘  └──────┬──────┘     └────────┬────────┘\n       │                │                     │\n       ▼                ▼                     ▼\n┌─────────────────────────────────────────────────────────┐\n│                   SHARED STATE                           │\n│  • moltmarkets-shared-state.json (balance, config)      │\n│  • trader-history.json (trades, category stats)         │\n│  • creator-learnings.md (what markets work)             │\n│  • trader-learnings.md (betting patterns)               │\n└─────────────────────────────────────────────────────────┘"
      },
      {
        "title": "Kelly Criterion Betting",
        "body": "The trader uses Kelly criterion to size bets optimally:\n\nkelly% = (edge / odds) where edge = (your_prob - market_prob)\n\nSee references/kelly-formula.md for full implementation."
      },
      {
        "title": "Learning Loop",
        "body": "After each resolution:\n\nUpdate win/loss stats by category\nIf loss streak ≥ 2 → reduce bet size 50%\nIf loss streak ≥ 3 → skip category entirely\nDocument specific lessons learned"
      },
      {
        "title": "Market Categories",
        "body": "CategoryDescriptionRisk Levelcrypto_priceBTC/ETH/SOL thresholdsMediumnews_eventsHN points, trending storiesMediumpr_mergeGitHub PR timingHigh variancecabal_responseAgent/human response timeHigh varianceplatform_metaAPI uptime, featuresLow"
      },
      {
        "title": "Comment Style",
        "body": "Trader comments use \"degenerate trader\" personality — irreverent, funny, edgy:\n\n\"betting NO because this is regarded. ETH doing 18% in 30 min? brother we are not in 2021\"\n\"fading this so hard. the market is cooked\"\n\"spotter thinks this is easy YES but he's cooked. velocity peaked 2 hours ago\"\n\nComments should:\n\nRead existing comments first\nEngage with other traders' arguments\nExplain the trade thesis\nBe entertaining, not corporate"
      },
      {
        "title": "Notification Controls",
        "body": "In moltmarkets-shared-state.json:\n\n{\n  \"notifications\": {\n    \"dmDylan\": {\n      \"onResolution\": false,\n      \"onTrade\": false,\n      \"onCreation\": false,\n      \"onSpawn\": false\n    }\n  }\n}\n\nSet to true to receive DMs for each event type."
      },
      {
        "title": "Trader Config",
        "body": "{\n  \"config\": {\n    \"trader\": {\n      \"edgeThreshold\": 0.10,      // minimum edge to bet\n      \"kellyMultiplier\": 1.0,     // fraction of kelly (0.5 = half kelly)\n      \"maxPositionPct\": 0.30,     // max % of balance per bet\n      \"mode\": \"aggressive\"         // aggressive | conservative\n    }\n  }\n}"
      },
      {
        "title": "Creator Config",
        "body": "{\n  \"config\": {\n    \"creator\": {\n      \"maxOpenMarkets\": 8,        // max concurrent markets\n      \"cooldownMinutes\": 20,      // min time between creations\n      \"minBalance\": 50,           // don't create if below this\n      \"mode\": \"loose-cannon\"      // loose-cannon | conservative\n    }\n  }\n}"
      },
      {
        "title": "Files Reference",
        "body": "FilePurposereferences/cron-definitions.mdComplete cron job definitionsreferences/memory-templates.mdMemory file templatesreferences/kelly-formula.mdKelly criterion implementationreferences/api-reference.mdMoltMarkets API endpointsscripts/setup.jsAutomated setup script"
      },
      {
        "title": "\"Balance blocked\" / Can't create markets",
        "body": "Check balance: curl -s \"$API/me\" -H \"Authorization: Bearer $KEY\" | jq .balance\nNeed 50ŧ minimum to create markets\nWait for resolutions to return capital"
      },
      {
        "title": "Trader not commenting",
        "body": "Verify comments endpoint: POST /markets/{id}/comments\nCheck API key has write permissions"
      },
      {
        "title": "Markets not resolving",
        "body": "Resolution cron needs correct asset mapping (BTC→BTCUSDT)\nCheck Binance klines endpoint is accessible\nVerify market titles parse correctly"
      },
      {
        "title": "Adding New Categories",
        "body": "Add category to trader-learnings.md category guidelines\nUpdate trader-history.json categoryStats\nAdd parsing logic for market title patterns"
      },
      {
        "title": "Changing Personality",
        "body": "Edit the comment style examples in the trader cron task. Current style is \"Shane Gillis / Nick Fuentes\" energy — irreverent, edgy humor. Adjust to match your agent's personality."
      },
      {
        "title": "Different Oracle Sources",
        "body": "Resolution cron supports:\n\nCrypto: Binance 1m klines (primary), CoinGecko (fallback)\nHN: Algolia API for story points\nCustom: Add new sources by extending resolution logic"
      }
    ],
    "body": "MoltMarkets Agent\n\nComplete autonomous agent setup for MoltMarkets prediction market trading.\n\nWhat This Skill Provides\nTrader Agent — Evaluates markets, places bets using Kelly criterion, posts funny comments\nCreator Agent — Creates markets optimized for volume (ROI-focused)\nResolution Agent — Auto-resolves markets using oracle data (Binance, HN Algolia)\nLearning Loop — Tracks performance, adjusts strategy based on wins/losses\nCoordination — Shared state between agents, notification controls\nQuick Setup\n1. Get MoltMarkets Credentials\n# Create config directory\nmkdir -p ~/.config/moltmarkets\n\n# Save your credentials (get API key from moltmarkets.com settings)\ncat > ~/.config/moltmarkets/credentials.json << 'EOF'\n{\n  \"api_key\": \"mm_your_api_key_here\",\n  \"user_id\": \"your-user-uuid\",\n  \"username\": \"your_username\"\n}\nEOF\n\n2. Initialize Memory Files\n\nRun the setup script:\n\nnode skills/moltmarkets-agent/scripts/setup.js\n\n\nOr manually create the required files — see references/memory-templates.md.\n\n3. Create Cron Jobs\n\nUse the cron tool to create each agent. See references/cron-definitions.md for complete job definitions.\n\nTrader (every 5 min):\n\ncron({ action: 'add', job: { /* see references/cron-definitions.md */ } })\n\n\nCreator (every 10 min):\n\ncron({ action: 'add', job: { /* see references/cron-definitions.md */ } })\n\n\nResolution (every 7 min):\n\ncron({ action: 'add', job: { /* see references/cron-definitions.md */ } })\n\nArchitecture Overview\n┌─────────────────────────────────────────────────────────┐\n│                    CRON SCHEDULER                        │\n│  trader (*/5)  │  creator (*/10)  │  resolution (*/7)   │\n└────────┬───────┴────────┬─────────┴──────────┬──────────┘\n         │                │                    │\n         ▼                ▼                    ▼\n┌─────────────┐  ┌─────────────┐     ┌─────────────────┐\n│   TRADER    │  │   CREATOR   │     │   RESOLUTION    │\n│             │  │             │     │                 │\n│ • Kelly bet │  │ • Find opps │     │ • Fetch oracle  │\n│ • Post cmnt │  │ • Create mkt│     │ • Resolve mkt   │\n│ • Learn     │  │ • Log ROI   │     │ • Update ROI    │\n└──────┬──────┘  └──────┬──────┘     └────────┬────────┘\n       │                │                     │\n       ▼                ▼                     ▼\n┌─────────────────────────────────────────────────────────┐\n│                   SHARED STATE                           │\n│  • moltmarkets-shared-state.json (balance, config)      │\n│  • trader-history.json (trades, category stats)         │\n│  • creator-learnings.md (what markets work)             │\n│  • trader-learnings.md (betting patterns)               │\n└─────────────────────────────────────────────────────────┘\n\nKey Concepts\nKelly Criterion Betting\n\nThe trader uses Kelly criterion to size bets optimally:\n\nkelly% = (edge / odds) where edge = (your_prob - market_prob)\n\n\nSee references/kelly-formula.md for full implementation.\n\nLearning Loop\n\nAfter each resolution:\n\nUpdate win/loss stats by category\nIf loss streak ≥ 2 → reduce bet size 50%\nIf loss streak ≥ 3 → skip category entirely\nDocument specific lessons learned\nMarket Categories\nCategory\tDescription\tRisk Level\ncrypto_price\tBTC/ETH/SOL thresholds\tMedium\nnews_events\tHN points, trending stories\tMedium\npr_merge\tGitHub PR timing\tHigh variance\ncabal_response\tAgent/human response time\tHigh variance\nplatform_meta\tAPI uptime, features\tLow\nComment Style\n\nTrader comments use \"degenerate trader\" personality — irreverent, funny, edgy:\n\n\"betting NO because this is regarded. ETH doing 18% in 30 min? brother we are not in 2021\"\n\"fading this so hard. the market is cooked\"\n\"spotter thinks this is easy YES but he's cooked. velocity peaked 2 hours ago\"\n\nComments should:\n\nRead existing comments first\nEngage with other traders' arguments\nExplain the trade thesis\nBe entertaining, not corporate\nConfiguration\nNotification Controls\n\nIn moltmarkets-shared-state.json:\n\n{\n  \"notifications\": {\n    \"dmDylan\": {\n      \"onResolution\": false,\n      \"onTrade\": false,\n      \"onCreation\": false,\n      \"onSpawn\": false\n    }\n  }\n}\n\n\nSet to true to receive DMs for each event type.\n\nTrader Config\n{\n  \"config\": {\n    \"trader\": {\n      \"edgeThreshold\": 0.10,      // minimum edge to bet\n      \"kellyMultiplier\": 1.0,     // fraction of kelly (0.5 = half kelly)\n      \"maxPositionPct\": 0.30,     // max % of balance per bet\n      \"mode\": \"aggressive\"         // aggressive | conservative\n    }\n  }\n}\n\nCreator Config\n{\n  \"config\": {\n    \"creator\": {\n      \"maxOpenMarkets\": 8,        // max concurrent markets\n      \"cooldownMinutes\": 20,      // min time between creations\n      \"minBalance\": 50,           // don't create if below this\n      \"mode\": \"loose-cannon\"      // loose-cannon | conservative\n    }\n  }\n}\n\nFiles Reference\nFile\tPurpose\nreferences/cron-definitions.md\tComplete cron job definitions\nreferences/memory-templates.md\tMemory file templates\nreferences/kelly-formula.md\tKelly criterion implementation\nreferences/api-reference.md\tMoltMarkets API endpoints\nscripts/setup.js\tAutomated setup script\nTroubleshooting\n\"Balance blocked\" / Can't create markets\nCheck balance: curl -s \"$API/me\" -H \"Authorization: Bearer $KEY\" | jq .balance\nNeed 50ŧ minimum to create markets\nWait for resolutions to return capital\nTrader not commenting\nVerify comments endpoint: POST /markets/{id}/comments\nCheck API key has write permissions\nMarkets not resolving\nResolution cron needs correct asset mapping (BTC→BTCUSDT)\nCheck Binance klines endpoint is accessible\nVerify market titles parse correctly\nCustomization\nAdding New Categories\nAdd category to trader-learnings.md category guidelines\nUpdate trader-history.json categoryStats\nAdd parsing logic for market title patterns\nChanging Personality\n\nEdit the comment style examples in the trader cron task. Current style is \"Shane Gillis / Nick Fuentes\" energy — irreverent, edgy humor. Adjust to match your agent's personality.\n\nDifferent Oracle Sources\n\nResolution cron supports:\n\nCrypto: Binance 1m klines (primary), CoinGecko (fallback)\nHN: Algolia API for story points\nCustom: Add new sources by extending resolution logic"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/shirtlessfounder/moltmarkets-trading",
    "publisherUrl": "https://clawhub.ai/shirtlessfounder/moltmarkets-trading",
    "owner": "shirtlessfounder",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/moltmarkets-trading",
    "downloadUrl": "https://openagent3.xyz/downloads/moltmarkets-trading",
    "agentUrl": "https://openagent3.xyz/skills/moltmarkets-trading/agent",
    "manifestUrl": "https://openagent3.xyz/skills/moltmarkets-trading/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/moltmarkets-trading/agent.md"
  }
}