[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77RTMQ54AMMNFPA5YWW1YBX":3,"skill-same:01M77RTMQ54AMMNFPA5YWW1YBX":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M77RTMQ54AMMNFPA5YWW1YBX","polymarket-portfolio-tracker-v2",null,"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\u002Fp\u002Fpolymarket-portfolio-tracker-v2\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# Polymarket Portfolio Tracker\n\nReal-time Polymarket position monitor with P&L tracking, profit alerts, and auto-reinvestment. Runs as a cron job every 30 minutes or as a standalone daemon. Sends Telegram alerts on resolved positions, big price moves, and reinvestment activity.\n\n## What It Does\n\n- Fetches all open positions from Polymarket Data API\n- Detects resolved positions (WIN\u002FLOSS) and calculates P&L\n- Alerts on 20%+ price moves on open positions\n- **Circuit breaker:** Pauses all new trades if daily loss > 15%\n- **Auto-reinvest:** When cash ≥ $40, triggers reinvestment scripts\n- Tracks cumulative P&L, ROI, and progress toward your goal\n- Silent HEARTBEAT_OK when nothing notable (no notification spam)\n\n## Features\n\n| Feature | Detail |\n|---------|--------|\n| Position tracking | All open Polymarket positions |\n| Resolved detection | WIN\u002FLOSS with P&L calculation |\n| Price move alerts | 20%+ moves on meaningful positions |\n| Circuit breaker | 15% daily loss limit |\n| Auto-reinvest | Triggers when cash ≥ $40 |\n| Goal tracking | Progress toward $ target |\n| Telegram alerts | Resolved positions + big moves |\n\n## Setup\n\n```bash\npip install requests\n```\n\nEdit constants at the top of `monitor.py`:\n```python\nWALLET = \"0xYourPolymarketWallet\"\n```\n\nOr set via environment:\n```\nPRIVATE_KEY=your_polygon_private_key\nWALLET_ADDRESS=0xYourPolymarketWallet\nTELEGRAM_BOT_TOKEN=your_bot_token\nTELEGRAM_CHAT_ID=your_chat_id\n```\n\n## Usage\n\n```bash\n# Run once\npython3 monitor.py\n\n# Run via cron every 30 minutes\n*\u002F30 * * * * cd \u002Fpath\u002Fto\u002Fscripts && python3 monitor.py >> logs\u002Fmonitor.log 2>&1\n```\n\n## Output Example (Telegram Alert)\n\n```\n🦞 Polymarket Update — 2025-03-15 14:30 UTC\n\nResolved\u002FMoved:\n  ✅ WON +$18.40 — YES | Will Bitcoin exceed $90k by March?\n  📈 MOVE +22% — YES now 73% | Will Fed pause in March?\n\nPortfolio: $1,247.82 | 12 open positions\nTotal P&L: +$183.40 on $892.00 wagered (20.6% ROI)\nCash: $156.20\nGoal: $5,000 (3.7% there) 🏁\n\nAuto-reinvested: Deployed $80 into 2 plays\n```\n\n## Circuit Breaker\n\nAutomatically triggers if daily portfolio loss exceeds 15%:\n- Pauses ALL new reinvestment\n- Sends alert: \"⛔ CIRCUIT BREAKER ACTIVE\"\n- Resets at midnight UTC\n\n## State Files\n\n- `.monitor_state.json` — position snapshots and cumulative P&L\n- `.daily_pnl.json` — daily P&L tracking for circuit breaker\n\n## Integration\n\nWorks alongside:\n- `auto_reinvest.py` — sports plays reinvestment\n- `weather_scanner.py` — weather market reinvestment  \n- `exit_manager.py` — stop-loss\u002Ftake-profit on Kalshi\n\n## Requirements\n\n- Python 3.9+\n- `py_clob_client`: `pip install polymarket-clob-client`\n- Polymarket wallet on Polygon\n",{},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fp\u002Fpolymarket-portfolio-tracker-v2",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":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill polymarket-portfolio-tracker-v2",{"tool":37,"command":38},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill polymarket-portfolio-tracker-v2",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill polymarket-portfolio-tracker-v2","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fp\u002Fpolymarket-portfolio-tracker-v2\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"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":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"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":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"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":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"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":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"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":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"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",[],[]]