用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/shreed27/DAIN --skill smarkets命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | smarkets |
| description | Smarkets Exchange betting with 2% commission |
| emoji | 🎰 |
| commands | ["/sm"] |
| gates | {"envs":["SMARKETS_SESSION_TOKEN"]} |
Full integration with Smarkets, a betting exchange with lower fees than Betfair (2% vs 5%). Politics, sports, and entertainment markets.
# Set credentials
export SMARKETS_SESSION_TOKEN="your-session-token"
# Search markets
/sm markets election
# Get market prices
/sm prices 12345
# Place buy order
/sm buy 12345 67890 0.55 10
# Place sell order
/sm sell 12345 67890 0.60 10
| Command | Description |
|---|---|
/sm markets [query] | Search markets |
/sm market <id> | Get market details |
/sm prices <marketId> | Current prices |
/sm book <marketId> <contractId> | Show orderbook |
| Command | Description |
|---|---|
/sm buy <marketId> <contractId> <price> <quantity> | Place buy order |
/sm sell <marketId> <contractId> <price> <quantity> | Place sell order |
/sm cancel <orderId> | Cancel order |
/sm cancelall [marketId] | Cancel all orders |
/sm orders [marketId] | List open orders |
Examples:
/sm buy 123 456 0.55 10 # Buy at 55% price, £10
/sm sell 123 456 0.60 10 # Sell at 60% price, £10
/sm cancel abc123 # Cancel specific order
| Command | Description |
|---|---|
/sm balance | Check account balance |
# Required for trading
export SMARKETS_SESSION_TOKEN="your-session-token"
# Optional - API token for market data only
export SMARKETS_API_TOKEN="your-api-token"
| Domain | Examples |
|---|---|
| politics | Elections, referendums |
| sport | Football, tennis, cricket |
| entertainment | Oscars, Eurovision, reality TV |
| current_affairs | Economic events, news |
| esports | CS:GO, League of Legends |