AI студия Владимира Ломтева
УСЛУГИПРОЕКТЫСТАТЬИБАЗА ЗНАНИЙМаркетплейсПолезные сервисы

Оставьте заявку,
чтобы обсудить проект

Напишите ваш вопрос, не забудьте указать телефон. Мы перезвоним и все расскажем.

Контакты

Москва

Работаем по всей России
и миру (онлайн)

+7 (999) 760-24-41

Ежедневно с 9:00 до 21:00

lamooof@gmail.com

По вопросам сотрудничества

TelegramWhatsApp

Есть предложение?

Напишите нам в мессенджеры

© 2025 AI студия Владимира Ломтева

Политика конфиденциальностиСогласие на обработку ПДн|ИНН 623412173261
    Grimoire Polymarket — Скилл для ИИ-агентов | AI Рассвет

    Grimoire Polymarket

    Queries Polymarket market data and CLOB state, and manages CLOB orders via the Grimoire venue CLI wrapper backed by the official Polymarket CLI.

    Скиллы для операций#GitHub#franalgaba/grimoire#skills.sh
    Скачивания
    0
    В избранном
    0
    Комментарии
    0
    Просмотры
    1

    Установить скилл

    Добавьте инструмент одной командой или скачайте проверенный архив версии.

    npx skills add franalgaba/grimoire --skill grimoire-polymarket
    Скачать ZIP
    Версия
    1.0.0+2cca3994a288
    Автор
    Владимир Ломтев
    Репозиторий
    franalgaba/grimoire
    GitHub: franalgaba/grimoire

    Как установить

    1. 1Скопируйте команду из блока установки.
    2. 2Запустите её в терминале из каталога проекта.

    Документация

    Grimoire Polymarket Skill

    Use this skill for Polymarket market discovery, CLOB market data, and order-management operations through the polymarket venue adapter.

    Preferred invocations:

    • grimoire venue polymarket ...
    • npx -y @grimoirelabs/cli venue polymarket ... (no-install)
    • bun run packages/cli/src/index.ts venue polymarket ... (repo-local)
    • grimoire-polymarket ... (direct binary from @grimoirelabs/venues)

    Recommended preflight:

    • grimoire venue doctor --adapter polymarket --json
    • grimoire venue polymarket info --format json

    Commands

    Canonical agent commands:

    • grimoire venue polymarket info [--format <auto|json|table>]
    • grimoire venue polymarket search-markets [--query <text>] [--slug <slug|url>] [--question <text>] [--event <text>] [--tag <text>] [--category <text>] [--league <text>] [--sport <text>] [--open-only <true|false>] [--active-only <true|false>] [--ignore-end-date <true|false>] [--tradable-only <true|false>] [--all-pages <true|false>] [--max-pages <n>] [--stop-after-empty-pages <n>] [--limit <n>] [--format <auto|json|table>]

    Allowed passthrough groups (official CLI surface, restricted by wrapper policy):

    • markets (list|get|search|tags)
    • data (positions/value/leaderboards/etc.)

    Blocked groups in this wrapper (intentionally not exposed for agents):

    • wallet
    • bridge
    • approve
    • ctf
    • setup
    • upgrade
    • shell

    Legacy compatibility aliases are still supported (market, book, midpoint, spread, price, last-trade-price, tick-size, neg-risk, fee-rate, price-history, order, trades, open-orders, balance-allowance, closed-only-mode, server-time) but should not be used for new agent flows.

    Examples

    ## Wrapper/health
    grimoire venue polymarket info --format json
    grimoire venue polymarket status --format json
    
    ## Canonical discovery
    grimoire venue polymarket search-markets --query bitcoin --active-only true --open-only true --format json
    grimoire venue polymarket search-markets --category sports --league "la liga" --active-only true --open-only true --format json
    
    ## Official passthrough discovery/data
    grimoire venue polymarket markets list --limit 25 --format json
    grimoire venue polymarket markets search "atleti" --limit 25 --format json
    grimoire venue polymarket data positions <address> --limit 25 --format json
    grimoire venue polymarket data trades <address> --limit 25 --format json
    grimoire venue polymarket data leaderboard --period week --order-by vol --limit 25 --format json
    
    ## Legacy compatibility aliases (still supported)
    grimoire venue polymarket book --token-id <token_id> --format json
    grimoire venue polymarket price --token-id <token_id> --side buy --format json
    grimoire venue polymarket order --order-id <order_id> --format json
    grimoire venue polymarket open-orders --market <condition_id> --format json
    

    Runtime Configuration

    Adapter/runtime auth (for spell execution):

    • required by default: POLYMARKET_PRIVATE_KEY
    • optional API creds: POLYMARKET_API_KEY, POLYMARKET_API_SECRET, POLYMARKET_API_PASSPHRASE
    • optional derive toggle (default true): POLYMARKET_DERIVE_API_KEY=true|false
    • optional signature routing: POLYMARKET_SIGNATURE_TYPE (0 EOA, 1 POLY_PROXY, 2 GNOSIS_SAFE), POLYMARKET_FUNDER
    • grimoire cast / grimoire resume key-based flows inject the same wallet-manager key into the Polymarket adapter, so a separate POLYMARKET_PRIVATE_KEY env is not required there.

    Venue CLI backend:

    • Official binary required: polymarket
    • Install: brew tap Polymarket/polymarket-cli && brew install polymarket
    • Optional path override: POLYMARKET_OFFICIAL_CLI=/custom/path/polymarket

    Spell Actions

    Polymarket uses custom action type with op: "order" for order placement:

    polymarket.custom(
      op="order",
      token_id="TOKEN_ID",
      price="0.55",
      size="100",
      side="BUY",
      order_type="GTC",
    )
    

    The adapter does not support runtime constraints (max_slippage, etc.). Order routing:

    • GTC/GTD → limit order (createAndPostOrder)
    • FOK/FAK → market order (createAndPostMarketOrder)

    Metric Surface (Spell Comparisons)

    Polymarket exposes mid_price for CLOB token midpoint comparisons:

    poly_mid = metric("mid_price", polymarket, USDC, "token_id=<clobTokenId>")
    

    Selector keys accepted: token_id, tokenid, market_id, id. If selector is omitted, the metric falls back to the 3rd argument value.

    Adapter Notes

    • Adapter name: polymarket
    • Execution type: offchain
    • Supported chain metadata: 137 (Polygon)
    • Action type: custom
    • Supported custom ops: order, cancel_order, cancel_orders, cancel_all, heartbeat

    Order argument aliases accepted:

    • token: token_id or tokenID or tokenId or coin
    • amount: size or amount
    • side: BUY/SELL
    • order type: GTC/GTD/FOK/FAK
    • extra compatibility aliases: arg0..arg5, reduce_only

    Order type routing:

    • GTC/GTD -> limit order path (createAndPostOrder)
    • FOK/FAK -> market order path (createAndPostMarketOrder)

    Notes

    • Prefer --format json for agent and automation workflows.
    • search-markets is the agent-oriented normalized discovery command; passthrough markets search is thinner and closer to official behavior.
    • Keep prompts/tooling on this CLI surface; do not call Polymarket HTTP APIs directly from advisory tools.

    Требования и возможности

    Источник пакета
    https://github.com/franalgaba/grimoire/tree/2cca3994a28855c550cfb543278a6370fab9a06a/skills/grimoire-polymarket

    Файлы версии

    ПутьРазмерSHA256
    SKILL.md5592ceb3b548ccf5f8be...

    Частые вопросы

    Как установить Grimoire Polymarket?
    Используйте команду npx skills add franalgaba/grimoire --skill grimoire-polymarket или скачайте ZIP-архив.
    Можно ли скачать Grimoire Polymarket бесплатно?
    Да, опубликованную версию можно скачать из маркетплейса бесплатно.

    Похожие инструменты

    Смотреть все
    LangfuseInteract with Langfuse and access its documentation: tracing, monitoring, creating datasets, running experiments, and evaluating AI applications. Use when needing to (1) query or modify Langfuse data, (2) look up Langfuse documentation, concepts, integration guides, a feature or SDK usage, or (3) do any AI engineering task (AI observability, prompt engineering/management, evaluation and evaluator management, experimentation, dataset management, evaluation-driven CI/CD, feedback collection). Invoke it for tasks in this scope even when Langfuse is not configured or explicitly mentioned.Linear Release SetupGenerate CI/CD configuration for Linear Release. Use when setting upThe Newsgives agents real-time and archival access to front-page headlines across 20 countries for breaking news, current events, and comparative media analysis.
    Комментарии

    Войдите, чтобы оставить комментарий.

    Комментариев пока нет.

    Установить скилл

    Добавьте инструмент одной командой или скачайте проверенный архив версии.

    npx skills add franalgaba/grimoire --skill grimoire-polymarket
    Скачать ZIP
    Версия
    1.0.0+2cca3994a288
    Автор
    Владимир Ломтев
    Репозиторий
    franalgaba/grimoire
    GitHub: franalgaba/grimoire
    Ai ElementsBuild AI chat interfaces using ai-elements components — conversations, messages, tool displays, prompt inputs, and more. Use when the user wants to build a chatbot, AI assistant UI, or any AI-powered chat interface.