المهارات grimoire-polymarket
📊

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.

يدعم: Claude Codex Code(CC)
⚠️ 66 ضعيف
1

تنزيل ZIP المهارة

2

رفع في Claude

اذهب إلى Settings → Capabilities → Skills → Upload skill

3

فعّل وابدأ الاستخدام

اختبرها

استخدام "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.

التدقيق الأمني

مخاطر منخفضة
v1 • 3/17/2026

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
الملفات التي تم فحصها
119
الأسطر التي تم تحليلها
3
النتائج
1
إجمالي عمليات التدقيق
مشكلات منخفضة المخاطر (1)
API Credential Configuration Required
Skill requires POLYMARKET_PRIVATE_KEY environment variable for authenticated operations. This is legitimate configuration for the Polymarket CLI integration, but users should be aware these credentials are needed for order management features.
تم تدقيقه بواسطة: claude

درجة الجودة

38
الهندسة المعمارية
100
قابلية الصيانة
87
المحتوى
20
المجتمع
88
الأمان
83
الامتثال للمواصفات

ماذا يمكنك بناءه

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 Markets
Search Polymarket for active prediction markets about [topic] and return results in JSON format
Query Order Book
Get the current order book and midpoint price for token ID [token_id] on Polymarket
View Positions
Show my open orders and current positions for Polymarket market [condition_id]
Market Analysis
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

الأسئلة المتكررة

Does this skill require Polymarket API credentials?
Authenticated operations like viewing orders and positions require POLYMARKET_PRIVATE_KEY. Market searches and public data queries work without credentials.
Can I execute trades directly through this skill?
Yes, when authenticated with API credentials, you can create and cancel orders through the CLOB order management commands. Wallet and bridge operations are blocked for safety.
Do I need to install the Polymarket CLI separately?
Yes, you must install the official polymarket binary via 'brew tap Polymarket/polymarket-cli && brew install polymarket' before using this skill.
What is the difference between search-markets and markets search?
search-markets is the agent-oriented normalized command with better filtering. markets search is a thinner passthrough to the official CLI with more raw output.
Are my API credentials secure?
Credentials are stored as environment variables (POLYMARKET_PRIVATE_KEY, etc.) and only accessed by the underlying Polymarket CLI. This skill does not handle credentials directly.
Can I use this skill for automated trading bots?
Yes, but rate limiting and API restrictions may apply. Always test order flows with small sizes first and implement proper error handling for production trading systems.

تفاصيل المطور

المؤلف

franalgaba

الترخيص

MIT

مرجع

main

بنية الملفات

📄 SKILL.md