协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
polymarket-trading【开发与工程】High-risk Polymarket trading operations — configure wallet-backed CLOB access, place limit/market orders, cancel orders, and view account-specific orders/trades. Requires py-clob-client-v2 and a user-controlled wallet. Use only when the user explicitly asks to trade or manage orders in the current session. Do not use for read-only odds, probabilitie…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: polymarket-trading description: | High-risk Polymarket trading operations — configure wallet-backed CLOB access, place limit/market orders, cancel orders, and view account-specific orders/trades. Requires py-clob-client-v2 and a user-controlled wallet. Use only when the user explicitly asks to trade or manage orders in the current session.
polymarket skill instead. Do not ask the user to paste private keys into chat. Do not place or cancel orders without explicit confirmation of token_id, side, price/amount, and size.
license: MIT
metadata:
author: machina-sports
version: "0.1.0"
risk:
mode: financial_execution
money_movement: true
secrets_required: true
external_network: true
untrusted_content: true
requires_explicit_confirmation: trueThis skill is separate from the read-only polymarket skill. It exists so agents can keep normal market-intelligence workflows read-only and only load trading affordances when the user explicitly requests them.
Before any trading command:
token_id, side, price/amount, size, and order type.Install the optional trading dependency outside the agent chat/session:
python -m pip install 'sports-skills[polymarket]'
Credential setup must happen outside the agent transcript using a secure local environment or secret manager. The runtime expects Polymarket CLOB credentials to be available to the process; do not paste wallet secrets into chat.
Invoke these through the separate CLI namespace:
sports-skills polymarket-trading get_orders
sports-skills polymarket-trading create_order --token_id=<token_id> --side=buy --price=0.50 --size=1
| Command | Required | Optional | Description |
|---|---|---|---|
configure | signature_type, funder | Configure wallet metadata for this process; do not pass secrets through chat | |
create_order | token_id, side, price, size | order_type | Place a limit order |
market_order | token_id, side, amount | Place a market order | |
cancel_order | order_id | Cancel one order | |
cancel_all_orders | Cancel all open orders | ||
get_orders | market | View open orders | |
get_user_trades | View account-specific trades |
User: "Place a $10 market buy on token 123..."
Agent must respond with a confirmation summary before tool execution:
Confirm Polymarket order:
- action: market_order
- side: buy
- token_id: 123...
- amount: 10 USDC
- account: your configured local Polymarket wallet
Reply explicitly with "confirm" to proceed.
Only proceed after explicit confirmation.
polymarket first to fetch the market, then ask the user to confirm the exact token.