Polymarket via Gina: AI 预测市场交易 - Openclaw Skills

作者:互联网

2026-03-29

AI教程

什么是 Polymarket via Gina?

Polymarket via Gina 是专为 Openclaw Skills 库设计的先进工具,它将 AI 代理与去中心化预测市场联系起来。它允许开发者和交易者通过任何兼容 MCP 的客户端,使用自然语言提示直接与 Polymarket 交互。该技能通过为市场发现、仓位跟踪和 Polygon 网络执行提供无缝接口,简化了链上交易的复杂性。

通过利用 Gina MCP,用户可以绕过手动界面导航,转而使用代理工作流来分析流动性,使用类似 SQL 的精度筛选市场,并通过 Privy 管理自托管钱包。无论您是寻找特定的体育赛事结果还是跟踪宏观经济指标,Openclaw Skills 目录中的这一新增功能都能让您的 AI 代理充当个人交易助手。

下载入口:https://github.com/openclaw/skills/tree/main/skills/sidshekhar/askgina-polymarket

安装与下载

1. ClawHub CLI

从源直接安装技能的最快方式。

npx clawhub@latest install askgina-polymarket

2. 手动安装

将技能文件夹复制到以下位置之一

全局模式 ~/.openclaw/skills/ 工作区 /skills/

优先级:工作区 > 本地 > 内置

3. 提示词安装

将此提示词复制到 OpenClaw 即可自动安装。

请帮我使用 Clawhub 安装 askgina-polymarket。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。

Polymarket via Gina 应用场景

  • 使用自然语言按主题、成交量或到期日搜索特定预测市场。
  • 使用 USDC 在 Polygon 网络上执行市价单和限价单。
  • 实时监控投资组合表现、盈亏 (P&L) 和活跃胜率。
  • 创建用于每日市场简报或赔率波动警报的自动化食谱 (Recipes)。
  • 使用 SQL 查询对市场趋势进行高级数据分析。
Polymarket via Gina 工作原理
  1. 用户从 Gina Agent Setup 仪表板生成安全的 JWT 身份验证令牌。
  2. 将该令牌集成到 MCP 客户端配置中,作为 Openclaw Skills 设置的一部分。
  3. AI 代理通过 HTTP 传输协议连接到 Gina 预测服务器。
  4. 用户提供自然语言提示,代理将其转换为 Polymarket 的 API 调用。
  5. 交易通过自托管的 Privy 钱包在链上执行,由 Gina 提供 Gas 赞助。
  6. 自动化和调度任务在后台运行,提供警报或执行策略。

Polymarket via Gina 配置指南

  1. 访问 askgina.ai 并导航至 Agent Setup 部分以生成新令牌。
  2. 复制仪表板提供的配置对象。
  3. 将以下配置添加到您的 MCP 客户端,以启用 Openclaw Skills 列表中的此项:
{
  "mcpServers": {
    "gina-predictions": {
      "transport": "http",
      "url": "https://askgina.ai/ai/predictions/mcp",
      "headers": {
        "Authorization": "Bearer "
      }
    }
  }
}
  1. 重启客户端并询问代理:"你可以用 Gina 做什么?"来验证连接。

Polymarket via Gina 数据架构与分类体系

该技能使用以下结构围绕预测市场指标和用户账户历史组织数据:

实体 数据描述
市场 包括标题、流动性、成交量、类别和结算日期。
订单 跟踪市价单、限价单和当前状态(开启/已取消)。
投资组合 汇总盈亏、胜率和 Polygon 上的当前 USDC 余额。
食谱 存储预定自动化和警报触发器的元数据。
name: askgina-polymarket
displayName: Polymarket via Gina
description: Fast setup for Claw bots: paste your Gina MCP token and start trading Polymarket in minutes.
version: 0.1.2
metadata:
  tags: polymarket, prediction-markets, trading, betting, gina, mcp, ask gina, crypto, agent, agentic, bot, automated
authors:
  - Gina (@askginadotai)

Polymarket via Gina

Trade Polymarket with AI — search, bet, track positions, and automate strategies from any MCP client.

Server URL: https://askgina.ai/ai/predictions/mcp

Use This Skill For

Searching & discovery

  • Search prediction markets by topic, sport, keyword, or date
  • Analyze market data with SQL (filter by volume, liquidity, end time, category)
  • Find expiring markets about to resolve (last-minute opportunities)
  • Discover recurring markets to set up automated strategies for (BTC, ETH, SOL — 5 min to monthly)
  • Browse stock and index prediction markets (AAPL, S&P 500, Gold)

Trading

  • Place market orders and limit orders on Polymarket
  • Track your positions, P&L, and win rate
  • View and cancel open orders
  • Redeem winnings from resolved markets

Automating

  • Set up Recipes — scheduled automations that trade or alert on your behalf.
  • Daily market briefings, odds swing alerts, portfolio summaries.
  • Set up fully automated trading strategies that scan, filter, trade, and journal for you.

What You Can Do

Just type natural language prompts — no special syntax needed.

Feature Example Prompts
Getting started "What can you do Gina" "Give me some use cases I can try with the Gina MCP"
Search markets "NBA markets tomorrow" "Fed rate decision odds"
Trending "what's trending on Polymarket?" "markets with the most trading volume and liquidity"
Crypto prices "BTC 15 minute up or down" "ETH current hourly up/down market"
Stocks & indices "AAPL daily up or down" "S&P 500 daily"
Expiring markets "markets ending in 2 hours" "NBA games ending tonight"
Place trades "bet $10 on lakers to win" "buy $50 of Yes"
Limit orders "buy Yes at 0.40 or better" "avoid slippage"
View positions "show my Polymarket positions" "what's my P&L?"
Performance "what's my win rate?" "show my trade history"
Manage orders "show my open orders" "cancel all pending limit orders"
Redeem winnings "redeem my winnings" "what can I redeem?"
Data analysis "fetch crypto markets into SQL" "run a query"
Automations "daily market briefing at 9am" "alert me on odds swings"

Quick Start

  1. Sign in at askgina.ai and open Agent Setup (sidebar or https://askgina.ai/agent-setup).
  2. Give your token a name (e.g. "OpenClaw on MacBook") and click Generate Token.
  3. Copy the connection config immediately — the token is only shown once.
  4. Paste the config into your MCP client:
{
  "mcpServers": {
    "gina-predictions": {
      "transport": "http",
      "url": "https://askgina.ai/ai/predictions/mcp",
      "headers": {
        "Authorization": "Bearer "
      }
    }
  }
}
  1. Restart your MCP client and ask: "What can you do with gina". For detailed client setup instructions, see the Quick Start guide.

How It Works

  • Auth: Long-lived JWT token generated at https://askgina.ai/agent-setup. Tokens expire after 90 days. You can have up to 5 active tokens and revoke any of them from the Agent Setup page.
  • Wallets: Self-custodial via Privy. You own your keys.
  • Trades: Execute on-chain on Polymarket (Polygon / USDC).
  • Gas: Gina provides gas sponsorship to help cover transaction fees.
  • Safety: Large trades require explicit confirmation before executing.
  • Automations: Create scheduled jobs (market briefings, alerts) via natural language. Manage anytime.

Safety

  • Treat your token like a private key — never share it publicly
  • Trading uses real money (USDC on Polygon) — always review before confirming
  • Start with read-only prompts (search, trending) before trading
  • Large trades require explicit confirmation
  • Revoke tokens immediately if you suspect exposure (Agent Setup page)
  • If the auth flow asks for private keys, do not proceed
  • App: https://askgina.ai
  • Docs: https://docs.askgina.ai
  • Features: https://docs.askgina.ai/predictions-mcp/features
  • Client setup: https://docs.askgina.ai/predictions-mcp/client-setup
  • Troubleshooting: https://docs.askgina.ai/predictions-mcp/troubleshooting
  • Terms: https://askgina.ai/terms-and-conditions
  • Twitter: https://x.com/askginadotai