[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C3RTZ9Y8W8HZ1Q8MAPWYYN":3,"skill-same:01M7C3RTZ9Y8W8HZ1Q8MAPWYYN":65},{"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":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":13,"repositoryHtmlUrl":36,"repositoryHomepageUrl":6,"ownerHtmlUrl":37,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":38,"install":39,"resources":52},"01M7C3RTZ9Y8W8HZ1Q8MAPWYYN","polymarket",null,"Query Polymarket: markets, prices, orderbooks, history.","fengwhang\u002Fmercury","fengwhang","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F325040254?v=4","01M7C3K54Y41KVGPHEMKEP9X70","01M7C3K55NTZ4B36YP2JY1NMJ0",0,"MIT","https:\u002F\u002Fgithub.com\u002Ffengwhang\u002Fmercury\u002Fblob\u002Fmain\u002Fhermes\u002Foptional-skills\u002Ffinance\u002Fpolymarket\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: polymarket\ndescription: \"Query Polymarket: markets, prices, orderbooks, history.\"\nversion: 1.0.0\nauthor: Hermes Agent + Teknium\nlicense: MIT\ntags: [polymarket, prediction-markets, market-data, trading]\nplatforms: [linux, macos, windows]\n---\n\n# Polymarket — Prediction Market Data\n\nQuery prediction market data from Polymarket using their public REST APIs.\nAll endpoints are read-only and require zero authentication.\n\nSee `references\u002Fapi-endpoints.md` for the full endpoint reference with curl examples.\n\n## When to Use\n\n- User asks about prediction markets, betting odds, or event probabilities\n- User wants to know \"what are the odds of X happening?\"\n- User asks about Polymarket specifically\n- User wants market prices, orderbook data, or price history\n- User asks to monitor or track prediction market movements\n\n## Key Concepts\n\n- **Events** contain one or more **Markets** (1:many relationship)\n- **Markets** are binary outcomes with Yes\u002FNo prices between 0.00 and 1.00\n- Prices ARE probabilities: price 0.65 means the market thinks 65% likely\n- `outcomePrices` field: JSON-encoded array like `[\"0.80\", \"0.20\"]`\n- `clobTokenIds` field: JSON-encoded array of two token IDs [Yes, No] for price\u002Fbook queries\n- `conditionId` field: hex string used for price history queries\n- Volume is in USDC (US dollars)\n\n## Three Public APIs\n\n1. **Gamma API** at `gamma-api.polymarket.com` — Discovery, search, browsing\n2. **CLOB API** at `clob.polymarket.com` — Real-time prices, orderbooks, history\n3. **Data API** at `data-api.polymarket.com` — Trades, open interest\n\n## Typical Workflow\n\nWhen a user asks about prediction market odds:\n\n1. **Search** using the Gamma API public-search endpoint with their query\n2. **Parse** the response — extract events and their nested markets\n3. **Present** market question, current prices as percentages, and volume\n4. **Deep dive** if asked — use clobTokenIds for orderbook, conditionId for history\n\n## Presenting Results\n\nFormat prices as percentages for readability:\n- outcomePrices `[\"0.652\", \"0.348\"]` becomes \"Yes: 65.2%, No: 34.8%\"\n- Always show the market question and probability\n- Include volume when available\n\nExample: `\"Will X happen?\" — 65.2% Yes ($1.2M volume)`\n\n## Parsing Double-Encoded Fields\n\nThe Gamma API returns `outcomePrices`, `outcomes`, and `clobTokenIds` as JSON strings\ninside JSON responses (double-encoded). When processing with Python, parse them with\n`json.loads(market['outcomePrices'])` to get the actual array.\n\n## Rate Limits\n\nGenerous — unlikely to hit for normal usage:\n- Gamma: 4,000 requests per 10 seconds (general)\n- CLOB: 9,000 requests per 10 seconds (general)\n- Data: 1,000 requests per 10 seconds (general)\n\n## Limitations\n\n- This skill is read-only — it does not support placing trades\n- Trading requires wallet-based crypto authentication (EIP-712 signatures)\n- Some new markets may have empty price history\n- Geographic restrictions apply to trading but read-only data is globally accessible\n","# Polymarket — Prediction Market Data\n\nQuery prediction market data from Polymarket using their public REST APIs.\nAll endpoints are read-only and require zero authentication.\n\nSee `references\u002Fapi-endpoints.md` for the full endpoint reference with curl examples.\n\n## When to Use\n\n- User asks about prediction markets, betting odds, or event probabilities\n- User wants to know \"what are the odds of X happening?\"\n- User asks about Polymarket specifically\n- User wants market prices, orderbook data, or price history\n- User asks to monitor or track prediction market movements\n\n## Key Concepts\n\n- **Events** contain one or more **Markets** (1:many relationship)\n- **Markets** are binary outcomes with Yes\u002FNo prices between 0.00 and 1.00\n- Prices ARE probabilities: price 0.65 means the market thinks 65% likely\n- `outcomePrices` field: JSON-encoded array like `[\"0.80\", \"0.20\"]`\n- `clobTokenIds` field: JSON-encoded array of two token IDs [Yes, No] for price\u002Fbook queries\n- `conditionId` field: hex string used for price history queries\n- Volume is in USDC (US dollars)\n\n## Three Public APIs\n\n1. **Gamma API** at `gamma-api.polymarket.com` — Discovery, search, browsing\n2. **CLOB API** at `clob.polymarket.com` — Real-time prices, orderbooks, history\n3. **Data API** at `data-api.polymarket.com` — Trades, open interest\n\n## Typical Workflow\n\nWhen a user asks about prediction market odds:\n\n1. **Search** using the Gamma API public-search endpoint with their query\n2. **Parse** the response — extract events and their nested markets\n3. **Present** market question, current prices as percentages, and volume\n4. **Deep dive** if asked — use clobTokenIds for orderbook, conditionId for history\n\n## Presenting Results\n\nFormat prices as percentages for readability:\n- outcomePrices `[\"0.652\", \"0.348\"]` becomes \"Yes: 65.2%, No: 34.8%\"\n- Always show the market question and probability\n- Include volume when available\n\nExample: `\"Will X happen?\" — 65.2% Yes ($1.2M volume)`\n\n## Parsing Double-Encoded Fields\n\nThe Gamma API returns `outcomePrices`, `outcomes`, and `clobTokenIds` as JSON strings\ninside JSON responses (double-encoded). When processing with Python, parse them with\n`json.loads(market['outcomePrices'])` to get the actual array.\n\n## Rate Limits\n\nGenerous — unlikely to hit for normal usage:\n- Gamma: 4,000 requests per 10 seconds (general)\n- CLOB: 9,000 requests per 10 seconds (general)\n- Data: 1,000 requests per 10 seconds (general)\n\n## Limitations\n\n- This skill is read-only — it does not support placing trades\n- Trading requires wallet-based crypto authentication (EIP-712 signatures)\n- Some new markets may have empty price history\n- Geographic restrictions apply to trading but read-only data is globally accessible\n",{"name":5,"tags":23,"author":27,"license":14,"version":28,"platforms":29,"description":7},[5,24,25,26],"prediction-markets","market-data","trading","Hermes Agent + Teknium","1.0.0",[30,31,32],"linux","macos","windows","main","94a12cab2ce32e2020d179b5d579d0cbcbd0f206","hermes\u002Foptional-skills\u002Ffinance\u002Fpolymarket","https:\u002F\u002Fgithub.com\u002Ffengwhang\u002Fmercury","https:\u002F\u002Fgithub.com\u002Ffengwhang","2026-10-09 08:26:42",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add fengwhang\u002Fmercury --skill polymarket",{"tool":45,"command":46},"bunx","bunx skills add fengwhang\u002Fmercury --skill polymarket",{"tool":48,"command":49},"pnpm","pnpm dlx skills add fengwhang\u002Fmercury --skill polymarket","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ffengwhang\u002Fmercury\u002Fblob\u002Fmain\u002Fhermes\u002Foptional-skills\u002Ffinance\u002Fpolymarket\u002FSKILL.md",true,[53,59],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fapi-endpoints.md","REFERENCE","参考文档",4542,"https:\u002F\u002Fgithub.com\u002Ffengwhang\u002Fmercury\u002Fblob\u002Fmain\u002Fhermes\u002Foptional-skills\u002Ffinance\u002Fpolymarket\u002Freferences\u002Fapi-endpoints.md",{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"scripts\u002Fpolymarket.py","SCRIPT","脚本",10215,"https:\u002F\u002Fgithub.com\u002Ffengwhang\u002Fmercury\u002Fblob\u002Fmain\u002Fhermes\u002Foptional-skills\u002Ffinance\u002Fpolymarket\u002Fscripts\u002Fpolymarket.py",[66,73,80,87,93,100],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M7C4BTY3ND38CN200ZCTH6NV","greet","A greeting skill for testing","https:\u002F\u002Fgithub.com\u002Ffengwhang\u002Fmercury\u002Fblob\u002Fmain\u002Fomp\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Fmarketplace\u002Ffixtures\u002Fvalid-marketplace\u002Fplugins\u002Fhello-plugin\u002Fskills\u002Fgreet\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7C4BSNZTPW8JR5NGCQXGSEZ","valid-skill","A valid skill for testing purposes.","https:\u002F\u002Fgithub.com\u002Ffengwhang\u002Fmercury\u002Fblob\u002Fmain\u002Fomp\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fvalid-skill\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M7C4BRA7J8C06KSVW100F1W1","unknown-field","A skill with an unknown frontmatter field.","https:\u002F\u002Fgithub.com\u002Ffengwhang\u002Fmercury\u002Fblob\u002Fmain\u002Fomp\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Funknown-field\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":18},"01M7C4BNB04KQGCJ835JE8AR13","no-frontmatter","https:\u002F\u002Fgithub.com\u002Ffengwhang\u002Fmercury\u002Fblob\u002Fmain\u002Fomp\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fno-frontmatter\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":18},"01M7C4BM38TZFYT1AJ6SKHPZZ2","child-skill","A nested skill in a subdirectory.","https:\u002F\u002Fgithub.com\u002Ffengwhang\u002Fmercury\u002Fblob\u002Fmain\u002Fomp\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fnested\u002Fchild-skill\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":18},"01M7C4BJDN7RFFCM28CGX15Q97","different-name","A skill with a name that doesn't match the directory.","https:\u002F\u002Fgithub.com\u002Ffengwhang\u002Fmercury\u002Fblob\u002Fmain\u002Fomp\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fname-mismatch\u002FSKILL.md",[],[]]