grimoire-polymarket
Query and Manage Polymarket Prediction Markets
Interact with Polymarket prediction markets directly from Claude. Search markets, query CLOB order books, and manage orders through the official Polymarket CLI wrapper.
تنزيل ZIP المهارة
رفع في Claude
اذهب إلى Settings → Capabilities → Skills → Upload skill
فعّل وابدأ الاستخدام
اختبرها
استخدام "grimoire-polymarket". Search for Bitcoin markets that are active and open for trading
النتيجة المتوقعة:
Returns JSON array of market objects including market ID, question text, current odds, liquidity, expiration date, and trading status for Bitcoin-related prediction markets.
استخدام "grimoire-polymarket". Get the order book for token ID 0x1234...
النتيجة المتوقعة:
Returns JSON with bids and asks arrays, current midpoint price, spread, and last trade price for the specified token.
استخدام "grimoire-polymarket". Show my open orders
النتيجة المتوقعة:
Returns JSON list of active orders including order ID, side (buy/sell), size, price, status, and timestamp for all open positions.
التدقيق الأمني
مخاطر منخفضةStatic analysis detected 100 potential issues, all of which are false positives. The 92 external_commands findings are documentation examples (bash commands in backticks), not actual code execution. The 4 env_access findings reference legitimate API authentication configuration (POLYMARKET_PRIVATE_KEY, etc.) which is standard practice for this type of integration. No malicious intent or security risks identified.
مشكلات منخفضة المخاطر (1)
عوامل الخطر
⚙️ الأوامر الخارجية (28)
🔑 متغيرات البيئة (3)
درجة الجودة
ماذا يمكنك بناءه
Market Research
Search and analyze prediction markets on topics like politics, sports, and current events to inform research or decision-making.
Trading Operations
Query order books and manage buy/sell orders on Polymarket CLOB markets through automated Claude workflows.
Bot Development
Build automated trading bots or monitoring tools that interact with Polymarket markets through Claude Code or Codex.
جرّب هذه الموجهات
Search Polymarket for active prediction markets about [topic] and return results in JSON format
Get the current order book and midpoint price for token ID [token_id] on Polymarket
Show my open orders and current positions for Polymarket market [condition_id]
List all active Polymarket markets in the sports category for La Liga, filtered for tradable markets only
أفضل الممارسات
- Always use --format json for programmatic access to market and order data
- Run 'grimoire venue doctor --adapter polymarket' before executing trades to verify CLI health
- Use search-markets with specific filters (category, league, sport) rather than broad text queries for faster results
- Prefer canonical agent commands over legacy compatibility aliases for future-proof workflows
تجنب
- Do not call Polymarket HTTP APIs directly from advisory tools - always use the CLI wrapper
- Avoid using legacy command aliases (market, book, midpoint) - use the canonical clob subcommands instead
- Do not hardcode API credentials in prompts or tool calls - use environment variables only
- Never attempt to use blocked command groups (wallet, bridge, setup) as they are intentionally disabled