{
  "schemaVersion": "1.0",
  "item": {
    "slug": "prediction-trade-journal",
    "name": "Prediction Trade Journal",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/adlai88/prediction-trade-journal",
    "canonicalUrl": "https://clawhub.ai/adlai88/prediction-trade-journal",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/prediction-trade-journal",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=prediction-trade-journal",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "clawhub.json",
      "scripts/status.py",
      "tradejournal.py"
    ],
    "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/prediction-trade-journal"
    },
    "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/prediction-trade-journal",
    "agentPageUrl": "https://openagent3.xyz/skills/prediction-trade-journal/agent",
    "manifestUrl": "https://openagent3.xyz/skills/prediction-trade-journal/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/prediction-trade-journal/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": "Prediction Trade Journal",
        "body": "Track every trade, learn from outcomes, improve your edge."
      },
      {
        "title": "When to Use This Skill",
        "body": "Use this skill when the user wants to:\n\nSee their trade history\nTrack win rate and P&L\nGenerate trading reports\nAnalyze which strategies work best"
      },
      {
        "title": "Quick Commands",
        "body": "# Sync trades from API\npython tradejournal.py --sync\n\n# Show recent trades\npython tradejournal.py --history 10\n\n# Generate weekly report\npython tradejournal.py --report weekly\n\n# Export to CSV\npython tradejournal.py --export trades.csv\n\nAPI Reference:\n\nBase URL: https://api.simmer.markets\nAuth: Authorization: Bearer $SIMMER_API_KEY\nTrades: GET /api/sdk/trades"
      },
      {
        "title": "How It Works",
        "body": "Sync - Polls /api/sdk/trades to fetch trade history\nStore - Saves trades locally with outcome tracking\nTrack - Updates outcomes when markets resolve\nReport - Generates win rate, P&L, and calibration analysis"
      },
      {
        "title": "CLI Reference",
        "body": "CommandDescription--syncFetch new trades from API--history NShow last N trades (default: 10)--sync-outcomesUpdate resolved markets--report daily/weekly/monthlyGenerate summary report--configShow configuration--export FILE.csvExport to CSV--dry-runPreview without making changes"
      },
      {
        "title": "Configuration",
        "body": "SettingEnvironment VariableDefaultAPI KeySIMMER_API_KEY(required)"
      },
      {
        "title": "Storage",
        "body": "Trades are stored locally in data/trades.json:\n\n{\n  \"trades\": [{\n    \"id\": \"uuid\",\n    \"market_question\": \"Will X happen?\",\n    \"side\": \"yes\",\n    \"shares\": 10.5,\n    \"cost\": 6.83,\n    \"outcome\": {\n      \"resolved\": false,\n      \"winning_side\": null,\n      \"pnl_usd\": null\n    }\n  }],\n  \"metadata\": {\n    \"last_sync\": \"2025-01-29T...\",\n    \"total_trades\": 50\n  }\n}"
      },
      {
        "title": "Skill Integration",
        "body": "Other skills can enrich trades with context:\n\nfrom tradejournal import log_trade\n\n# After executing a trade\nlog_trade(\n    trade_id=result['trade_id'],\n    source=\"copytrading\",\n    thesis=\"Mirroring whale 0x123...\",\n    confidence=0.70\n)\n\nThis adds thesis, confidence, and source to the trade record for better analysis."
      },
      {
        "title": "Example Report",
        "body": "📓 Weekly Report\n========================================\nPeriod: Last 7 days\nTrades: 15\nTotal cost: $125.50\nResolved: 8 / 15\nWin rate: 62.5%\nP&L: +$18.30\n\nBy side: 10 YES, 5 NO"
      },
      {
        "title": "Troubleshooting",
        "body": "\"SIMMER_API_KEY environment variable not set\"\n\nSet your API key: export SIMMER_API_KEY=sk_live_...\n\n\"No trades recorded yet\"\n\nRun python tradejournal.py --sync to fetch trades from API\n\nTrades not showing outcomes\n\nRun python tradejournal.py --sync-outcomes to update resolved markets"
      }
    ],
    "body": "Prediction Trade Journal\n\nTrack every trade, learn from outcomes, improve your edge.\n\nWhen to Use This Skill\n\nUse this skill when the user wants to:\n\nSee their trade history\nTrack win rate and P&L\nGenerate trading reports\nAnalyze which strategies work best\nQuick Commands\n# Sync trades from API\npython tradejournal.py --sync\n\n# Show recent trades\npython tradejournal.py --history 10\n\n# Generate weekly report\npython tradejournal.py --report weekly\n\n# Export to CSV\npython tradejournal.py --export trades.csv\n\n\nAPI Reference:\n\nBase URL: https://api.simmer.markets\nAuth: Authorization: Bearer $SIMMER_API_KEY\nTrades: GET /api/sdk/trades\nHow It Works\nSync - Polls /api/sdk/trades to fetch trade history\nStore - Saves trades locally with outcome tracking\nTrack - Updates outcomes when markets resolve\nReport - Generates win rate, P&L, and calibration analysis\nCLI Reference\nCommand\tDescription\n--sync\tFetch new trades from API\n--history N\tShow last N trades (default: 10)\n--sync-outcomes\tUpdate resolved markets\n--report daily/weekly/monthly\tGenerate summary report\n--config\tShow configuration\n--export FILE.csv\tExport to CSV\n--dry-run\tPreview without making changes\nConfiguration\nSetting\tEnvironment Variable\tDefault\nAPI Key\tSIMMER_API_KEY\t(required)\nStorage\n\nTrades are stored locally in data/trades.json:\n\n{\n  \"trades\": [{\n    \"id\": \"uuid\",\n    \"market_question\": \"Will X happen?\",\n    \"side\": \"yes\",\n    \"shares\": 10.5,\n    \"cost\": 6.83,\n    \"outcome\": {\n      \"resolved\": false,\n      \"winning_side\": null,\n      \"pnl_usd\": null\n    }\n  }],\n  \"metadata\": {\n    \"last_sync\": \"2025-01-29T...\",\n    \"total_trades\": 50\n  }\n}\n\nSkill Integration\n\nOther skills can enrich trades with context:\n\nfrom tradejournal import log_trade\n\n# After executing a trade\nlog_trade(\n    trade_id=result['trade_id'],\n    source=\"copytrading\",\n    thesis=\"Mirroring whale 0x123...\",\n    confidence=0.70\n)\n\n\nThis adds thesis, confidence, and source to the trade record for better analysis.\n\nExample Report\n📓 Weekly Report\n========================================\nPeriod: Last 7 days\nTrades: 15\nTotal cost: $125.50\nResolved: 8 / 15\nWin rate: 62.5%\nP&L: +$18.30\n\nBy side: 10 YES, 5 NO\n\nTroubleshooting\n\n\"SIMMER_API_KEY environment variable not set\"\n\nSet your API key: export SIMMER_API_KEY=sk_live_...\n\n\"No trades recorded yet\"\n\nRun python tradejournal.py --sync to fetch trades from API\n\nTrades not showing outcomes\n\nRun python tradejournal.py --sync-outcomes to update resolved markets"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/adlai88/prediction-trade-journal",
    "publisherUrl": "https://clawhub.ai/adlai88/prediction-trade-journal",
    "owner": "adlai88",
    "version": "1.1.11",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/prediction-trade-journal",
    "downloadUrl": "https://openagent3.xyz/downloads/prediction-trade-journal",
    "agentUrl": "https://openagent3.xyz/skills/prediction-trade-journal/agent",
    "manifestUrl": "https://openagent3.xyz/skills/prediction-trade-journal/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/prediction-trade-journal/agent.md"
  }
}