← 返回 Skills 市场
gigshow

Decker + Polymarket

作者 gigshow · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ⚠ suspicious
212
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install decker-polymarket
功能描述
Use when user asks about Polymarket prediction market via Decker. Triggers: Polymarket, 폴리마켓, 예측시장, PM 매수, PM 시장 검색, PM 카테고리, PM 이벤트, 시장 slug, YES/NO.
使用说明 (SKILL.md)

Decker + Polymarket (예측시장) 스킬

Goal

Decker를 통해 Polymarket 예측시장에서 시장 조회·YES/NO 주문 실행. 메인 decker 스킬을 확장. ClawHub polymarket-odds 흡수.

Quick Reference

사용자 말 액션 비고
"PM 시장 검색 비트코인", "폴리마켓 검색 트럼프" 시장 검색 Gamma API search
"PM 카테고리", "폴리마켓 태그" 태그/카테고리 목록 Gamma tags
"PM 이벤트 crypto", "폴리마켓 이벤트 정치" 이벤트 목록 tag_slug 선택
"PM 시장 will-bitcoin-100k", "폴리마켓 will-x" 시장 slug 상세 Gamma market by slug
"Polymarket will-x-win yes 10 매수", "PM 시장 slug yes 매수" order-request exchange_id=polymarket symbol=market_slug, outcome=yes/no
"Polymarket 시장 가격", "PM 확률" Assistant API 또는 시장 조회
"PM 포지션" Assistant API JWT 필요

DECKER_API_URL

https://api.decker-ai.com

주문 (Polymarket)

order-request에 exchange_id=polymarket 추가:

GET {DECKER_API_URL}/api/v1/link/slack/order-request?slack_user_id={sender_id}&symbol=will-x-win&side=buy&quantity=10&exchange_id=polymarket&outcome=yes&openclaw_secret={OPENCLAW_SECRET}
  • exchange_id=polymarket 필수
  • symbol: Polymarket 시장 slug (예: will-joe-biden-get-coronavirus-before-the-election)
  • outcome: yes | no (YES/NO 토큰)
  • quantity: 주식 수 (shares)
  • price: Limit 주문 시 0.01~0.99 (선택)

전제 조건

  • Decker 가입 + Slack 연동
  • Polymarket 키 연동 (Decker 설정 → 거래소 API 설정)
  • 시장 slug는 Polymarket에서 확인

Polymarket 키 설정 (에이전트 안내용)

  1. Polygon 지갑: MetaMask에서 Polygon 네트워크(Chain ID 137) 추가
  2. Polymarket 가입: https://polymarket.com → 지갑 연결 → USDC.e 입금(거래용)
  3. 개인키 추출: MetaMask → 계정 세부정보 → Export Private Key
  4. Decker 설정: 로그인 → 설정 → 거래소 API 설정 → Polymarket
    • Secret Key: Polygon 지갑 개인키(0x로 시작) — 필수
  5. 거래소 선택: exchange_preference를 "Polymarket"로 설정 후 저장
  6. 주문: "Polymarket 시장-slug yes 10 매수" (slug는 polymarket.com에서 확인)

⚠️ USDC.e 필요. 개인키는 절대 공유하지 마세요.

참고

  • 메인 decker 스킬: docs/openclaw_skills/decker/SKILL.md
  • Polymarket: 예측시장 (YES/NO 이진 시장)
安全使用建议
This skill appears to implement Decker↔Polymarket trading but it has important inconsistencies and insecure guidance you should consider before installing: - The SKILL.md references OPENCLAW_SECRET (sent in a GET URL) but the skill manifest lists no required credentials — ask the author to explicitly declare required secrets and explain how they are protected. - The instructions tell users to export their MetaMask private key and put it into Decker settings. Exporting raw private keys is risky. Prefer integrations that use WalletConnect, a hosted signer with clear security controls, or hardware wallets; never paste private keys into third-party services unless you fully trust and have audited them. - Embedding secrets in a GET query string leaks them to logs and intermediaries. Request that the developer switch to POST with secrets in request body or better: use authenticated headers and avoid including secrets in URLs. - Verify Decker's trustworthiness and how it stores keys (encryption at rest, access controls, key usage audit logs). If possible, test with a separate wallet holding minimal funds first. - Ask the publisher for: (1) explicit list of required env vars/credentials in the manifest, (2) explanation of how secrets are transmitted/stored, and (3) safer usage patterns (no secret-in-URL, recommend non-export signing flows). Because of these unresolved issues, treat the skill with caution until the developer provides clarification and improves secret handling.
功能分析
Type: OpenClaw Skill Name: decker-polymarket Version: 1.1.0 The skill facilitates Polymarket trading via the Decker platform but explicitly instructs users to export their Polygon wallet private keys and provide them to the third-party service (api.decker-ai.com). While this is a common (though highly insecure) pattern for some crypto-trading bots, it represents a severe security risk for credential theft. Additionally, the SKILL.md documentation shows the 'openclaw_secret' being passed as a query parameter in a GET request to the external API, which is a poor security practice that could lead to secret exposure.
能力评估
Purpose & Capability
Functionality (search markets, create Polymarket orders via Decker) matches the description and would legitimately require a key capable of signing transactions. However the SKILL.md references an OPENCLAW_SECRET used in Decker API calls even though the skill metadata declares no required env vars/credentials — this mismatch is unexplained.
Instruction Scope
Runtime instructions tell operators to export a MetaMask private key and place it into Decker settings, and to invoke a Decker API endpoint that embeds OPENCLAW_SECRET in a GET query string. These steps involve collecting and transmitting highly sensitive secrets and encourage insecure handling (secrets in URL), which extends beyond benign query/lookup behavior.
Install Mechanism
Instruction-only skill with no install spec or downloaded code. Low installation risk because nothing is written or executed by the skill files themselves.
Credentials
Skill metadata declares no required env vars, yet SKILL.md uses DECKER_API_URL and expects OPENCLAW_SECRET to be supplied in the request. The requirement to extract a wallet private key is plausible for signing, but the skill does not document where or how secrets should be provided securely, nor does it declare the secret in the manifest — this is disproportionate and under-specified.
Persistence & Privilege
always:false and no install-time persistence requested. The skill can be invoked by agents as normal, but that autonomous use combined with sensitive secret handling increases risk; the skill itself does not request elevated platform privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install decker-polymarket
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /decker-polymarket 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
PM 시장 검색, 카테고리, 이벤트, slug 상세 (ClawHub polymarket-odds 흡수)
元数据
Slug decker-polymarket
版本 1.1.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Decker + Polymarket 是什么?

Use when user asks about Polymarket prediction market via Decker. Triggers: Polymarket, 폴리마켓, 예측시장, PM 매수, PM 시장 검색, PM 카테고리, PM 이벤트, 시장 slug, YES/NO. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 212 次。

如何安装 Decker + Polymarket?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install decker-polymarket」即可一键安装,无需额外配置。

Decker + Polymarket 是免费的吗?

是的,Decker + Polymarket 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Decker + Polymarket 支持哪些平台?

Decker + Polymarket 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Decker + Polymarket?

由 gigshow(@gigshow)开发并维护,当前版本 v1.1.0。

💬 留言讨论