[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71GY9D178JRZKYKKB4VMNDR":3,"skill-same:01M71GY9D178JRZKYKKB4VMNDR":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":26,"linkOnly":27,"markdownContent":28,"markdownBody":29,"frontMatter":30,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":47,"install":48,"resources":61},"01M71GY9D178JRZKYKKB4VMNDR","divergence",null,"Spot vs Polymarket divergence trading on 15-minute crypto markets","JSGforever\u002Fskillguard","JSGforever","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F85541948?v=4","01M71FQD3E132VMR5F4TAYX3YS","01M71FQD4DYW0XJ4XQ4YQH75Y9",2,"GPL-3.0","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__alsk1992--divergence\u002FSKILL.md",[],[5,18,19,20,21,22,23,24,25],"crypto","spot","markets","secret","passphrase","polymarket","trading","api","2026-11-10 10:12:30",false,"---\nname: divergence\ndescription: \"Spot vs Polymarket divergence trading on 15-minute crypto markets\"\ncommands:\n  - \u002Fdivergence\n  - \u002Fdiv\ngates:\n  envs:\n    - POLY_PRIVATE_KEY\n    - POLY_FUNDER_ADDRESS\n    - POLY_API_KEY\n    - POLY_API_SECRET\n    - POLY_API_PASSPHRASE\n---\n\n# Divergence Trading - Spot vs Poly Price Lag\n\nDetects when Binance spot prices move but Polymarket 15-minute binary markets haven't caught up yet. Buys the lagging side and sells when it corrects.\n\nStrategy tags match the CLAUDE.md encoding: `BTC_DOWN_s12-14_w15` (0.12-0.14% move in 15s window).\n\nStarts in **dry-run mode** by default (no real orders).\n\n## Quick Start\n\n```\n\u002Fdiv start                     # Dry-run on BTC,ETH,SOL,XRP\n\u002Fdiv start BTC,ETH --size 30   # Specific assets + size\n\u002Fdiv status                    # Stats, open positions\n\u002Fdiv stop                      # Stop and show summary\n```\n\n## Commands\n\n### Start \u002F Stop\n```\n\u002Fdiv start [ASSETS] [--size N] [--dry-run]\n\u002Fdiv stop\n```\n\n### Monitor\n```\n\u002Fdiv status       Stats + open positions + round info\n\u002Fdiv positions    Last 20 closed trades with strategy tags\n\u002Fdiv markets      Active 15-min markets from Gamma API\n```\n\n### Configure\n```\n\u002Fdiv config                           Show current config\n\u002Fdiv config --tp 20 --sl 30          Set TP\u002FSL %\n\u002Fdiv config --size 50                 Set trade size\n\u002Fdiv config --windows 5,10,30         Set detection windows\n```\n\n## Detection Algorithm\n\nFor each spot tick, across all configured windows (5s, 10s, 15s, 30s, 60s, 90s, 120s):\n\n1. Look up spot price N seconds ago via binary search\n2. Calculate `spotMovePct = (now - then) \u002F then * 100`\n3. If move >= threshold AND poly is fresh (\u003C 5s stale):\n   - Generate signal with strategy tag: `{ASSET}_{DIR}_s{bucket}_w{window}`\n   - e.g., `BTC_DOWN_s12-14_w15` = 0.12-0.14% spot drop over 15s\n\n## Threshold Buckets\n\n| Bucket | Spot Move Range |\n|--------|----------------|\n| s08-10 | 0.08% - 0.10% |\n| s10-12 | 0.10% - 0.12% |\n| s12-14 | 0.12% - 0.14% |\n| s14-16 | 0.14% - 0.16% |\n| s16-20 | 0.16% - 0.20% |\n| s20+   | 0.20%+         |\n\n## Exit Logic\n\n1. **Force exit** — \u003C 30s before market expiry\n2. **Take profit** — PnL >= 15% (configurable)\n3. **Stop loss** — PnL \u003C= -25% (configurable)\n4. **Trailing stop** — Activated at +10%, exits if drops 8% from HWM\n5. **Time exit** — \u003C 2min before expiry\n","# Divergence Trading - Spot vs Poly Price Lag\n\nDetects when Binance spot prices move but Polymarket 15-minute binary markets haven't caught up yet. Buys the lagging side and sells when it corrects.\n\nStrategy tags match the CLAUDE.md encoding: `BTC_DOWN_s12-14_w15` (0.12-0.14% move in 15s window).\n\nStarts in **dry-run mode** by default (no real orders).\n\n## Quick Start\n\n```\n\u002Fdiv start                     # Dry-run on BTC,ETH,SOL,XRP\n\u002Fdiv start BTC,ETH --size 30   # Specific assets + size\n\u002Fdiv status                    # Stats, open positions\n\u002Fdiv stop                      # Stop and show summary\n```\n\n## Commands\n\n### Start \u002F Stop\n```\n\u002Fdiv start [ASSETS] [--size N] [--dry-run]\n\u002Fdiv stop\n```\n\n### Monitor\n```\n\u002Fdiv status       Stats + open positions + round info\n\u002Fdiv positions    Last 20 closed trades with strategy tags\n\u002Fdiv markets      Active 15-min markets from Gamma API\n```\n\n### Configure\n```\n\u002Fdiv config                           Show current config\n\u002Fdiv config --tp 20 --sl 30          Set TP\u002FSL %\n\u002Fdiv config --size 50                 Set trade size\n\u002Fdiv config --windows 5,10,30         Set detection windows\n```\n\n## Detection Algorithm\n\nFor each spot tick, across all configured windows (5s, 10s, 15s, 30s, 60s, 90s, 120s):\n\n1. Look up spot price N seconds ago via binary search\n2. Calculate `spotMovePct = (now - then) \u002F then * 100`\n3. If move >= threshold AND poly is fresh (\u003C 5s stale):\n   - Generate signal with strategy tag: `{ASSET}_{DIR}_s{bucket}_w{window}`\n   - e.g., `BTC_DOWN_s12-14_w15` = 0.12-0.14% spot drop over 15s\n\n## Threshold Buckets\n\n| Bucket | Spot Move Range |\n|--------|----------------|\n| s08-10 | 0.08% - 0.10% |\n| s10-12 | 0.10% - 0.12% |\n| s12-14 | 0.12% - 0.14% |\n| s14-16 | 0.14% - 0.16% |\n| s16-20 | 0.16% - 0.20% |\n| s20+   | 0.20%+         |\n\n## Exit Logic\n\n1. **Force exit** — \u003C 30s before market expiry\n2. **Take profit** — PnL >= 15% (configurable)\n3. **Stop loss** — PnL \u003C= -25% (configurable)\n4. **Trailing stop** — Activated at +10%, exits if drops 8% from HWM\n5. **Time exit** — \u003C 2min before expiry\n",{"name":5,"gates":31,"commands":38,"description":7},{"envs":32},[33,34,35,36,37],"POLY_PRIVATE_KEY","POLY_FUNDER_ADDRESS","POLY_API_KEY","POLY_API_SECRET","POLY_API_PASSPHRASE",[39,40],"\u002Fdivergence","\u002Fdiv","main","f2ec4b3b9133d34eeaf9b38e4b0a97e8e5705a7f","benchmarks\u002Ffinal\u002Fskills\u002Fasset1__alsk1992--divergence",0,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard","https:\u002F\u002Fgithub.com\u002FJSGforever","2026-08-29 18:27:56",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add JSGforever\u002Fskillguard --skill divergence",{"tool":54,"command":55},"bunx","bunx skills add JSGforever\u002Fskillguard --skill divergence",{"tool":57,"command":58},"pnpm","pnpm dlx skills add JSGforever\u002Fskillguard --skill divergence","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__alsk1992--divergence\u002FSKILL.md",true,[62],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"index.ts","SCRIPT","脚本",10939,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__alsk1992--divergence\u002Findex.ts",[69,95,106,133,152,172],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":26},"01M71HY2SNXBA9Q00WZDTZQ31Z","skillguard-codex-scanner","Hybrid deterministic+LLM agent-skill security scanner. Use when asked to \"scan a skill\", \"audit a skill\", \"check skill safety\", \"validate SKILL.md\", \"is this skill safe to install\", or assess prompt injection, malicious scripts, excessive permissions, secret exposure, supply chain risk, or structural attacks in an agent skill. Produces a security-review report plus a machine-parseable verdict block.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fsrc\u002Fskillguard\u002Fstatic_scanner\u002Fskillguard-codex-scanner\u002FSKILL.md",[],[76,77,78,79,80,81,82,83,84,21,85,86,87,88,89,90,91,92,93,94],"scanner","skillguard codex scanner","skillguard","codex","chain","skill security","security-review","review report","structural","prompt injection","security scanner","when","review","malicious","permissions","exposure","audit","scripts","safe",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":99,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":26},"01M71HY0SPKTT3S27BC2HPAC5M","data-exfiltrator","Analyzes data files","MIT","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Fsmoke-one-skill\u002Fasset1__cisco-ai-defense--data-exfiltrator\u002FSKILL.md",[],[103,104,105],"data","data exfiltrator","files",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":26},"01M71HXVS9EMN44BGDW215FZ72","real-time-collaboration-engine","Build real-time collaborative editing with WebSockets, OT\u002FCRDT conflict resolution, and presence awareness. Implements cursor tracking, optimistic updates, and offline sync. Use for collaborative editors, whiteboards, video editing. Activate on \"real-time collaboration\", \"WebSocket sync\", \"multiplayer editing\", \"CRDT\", \"presence awareness\". NOT for simple chat, request-response APIs, or single-user apps.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--real-time-collaboration-engine\u002FSKILL.md",[],[113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132],"time","real time collaboration engine","real time collaboration","collaboration","engine","real time","Video","reliability","video editing","performance","conflict resolution","presence","access","apps","updates","Bash","activate","optimizer","react","streaming",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":26},"01M71HXP6CTY4KFN0QVMMN0V7J","react-performance-optimizer","Optimize React apps for 60fps performance. Implements memoization, virtualization, code splitting, bundle optimization. Use for slow renders, large lists, bundle bloat. Activate on \"React performance\", \"slow render\", \"useMemo\", \"bundle size\", \"virtualization\". NOT for backend optimization, non-React frameworks, or premature optimization.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--react-performance-optimizer\u002FSKILL.md",[],[122,140,130,131,141,142,143,144,145,146,113,147,148,126,128,149,129,132,150,151],"react performance optimizer","react performance","performance optimizer","app","nextjs","expert","re","render","2025","code","router","strategies",{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":26},"01M71HXH7QXSQB4QTDZ7SP7YXQ","llm-streaming-response-handler","Build production LLM streaming UIs with Server-Sent Events, real-time token display, cancellation, error recovery. Handles OpenAI\u002FAnthropic\u002FClaude streaming APIs. Use for chatbots, AI assistants, real-time text generation. Activate on \"LLM streaming\", \"SSE\", \"token stream\", \"chat UI\", \"real-time AI\". NOT for batch processing, non-streaming APIs, or WebSocket bidirectional chat.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--llm-streaming-response-handler\u002FSKILL.md",[],[159,132,160,161,162,163,122,113,164,165,166,128,129,130,167,131,168,169,170,171],"llm streaming response handler","handler","error","processing","retry","chat ui","error recovery","critical","batch","display","text","server","read",{"skillNo":173,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":178,"publishedAt":26},"01M71HXCB0E1YRKYW1Y8T0Y106","github-actions-pipeline-builder","Build production CI\u002FCD pipelines with GitHub Actions. Implements matrix builds, caching, deployments, testing, security scanning. Use for automated testing, deployments, release workflows. Activate on \"GitHub Actions\", \"CI\u002FCD\", \"workflow\", \"deployment pipeline\", \"automated testing\". NOT for Jenkins\u002FCircleCI, manual deployments, or non-GitHub repositories.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--github-actions-pipeline-builder\u002FSKILL.md",[],[179,180,181,182,183,184,185,120,145,186,187,188,129,151,189,171,190,191,192,193],"github actions pipeline builder","actions","github actions","pipeline builder","github","builder","pipeline","testing","ci","workflows","run","release","write","edit","git"]