Skip to content
Automation
Skill

/smarkets

Smarkets Exchange betting with 2% commission

From plugin
cloddsbot
651120 skills
Install
$ npx -y skills add alsk1992/CloddsBot --skill smarkets --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/smarkets

Context preview

The summary Claude sees to decide when to auto-load this skill.

Smarkets Exchange betting with 2% commission

SKILL.md

smarkets.SKILL.md
name: smarkets
description: "Smarkets Exchange betting with 2% commission"
emoji: "🎰"
commands:
  - /sm
gates:
  envs:
    - SMARKETS_SESSION_TOKEN

Smarkets Exchange

Full integration with Smarkets, a betting exchange with lower fees than Betfair (2% vs 5%). Politics, sports, and entertainment markets.

Quick Start

# 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

Commands

Market Data

| Command | Description | |---------|-------------| | `/sm markets [query]` | Search markets | | `/sm market <id>` | Get market details | | `/sm prices <marketId>` | Current prices | | `/sm book <marketId> <contractId>` | Show orderbook |

Trading

| 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

Account

| Command | Description | |---------|-------------| | `/sm balance` | Check account balance |

Configuration

# Required for trading
export SMARKETS_SESSION_TOKEN="your-session-token"

# Optional - API token for market data only
export SMARKETS_API_TOKEN="your-api-token"

Features

  • **Low Fees** - 2% commission vs Betfair's 5%
  • **Politics Markets** - UK, US, EU elections
  • **Sports** - Football, tennis, horse racing
  • **Entertainment** - TV, music, awards
  • **Real-time Streaming** - WebSocket price updates

Market Types

| 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 |

Trading Notes

1. **Prices**: Expressed as percentages (0.55 = 55%) 2. **Quantities**: In GBP 3. **Buy**: Betting FOR an outcome 4. **Sell**: Betting AGAINST an outcome

Resources

  • [Smarkets Exchange](https://smarkets.com/)
  • [Smarkets API Docs](https://docs.smarkets.com/)
Read more
Ships withcloddsbot

Open Source AI trading agent that operates autonomously across 1000+ markets - Polymarket, Kalshi, Binance, Hyperliquid, Solana DEXs, 5 EVM chains. Scans for edge, executes instantly, manages risk while you sleep. Agent commerce protocol for machine-to-machine payments. Self-hosted. Built on Claude.

Get the whole plugin
Stats
651
Stars
139
Forks
Maintained
Maintenance
TypeScript
Language
MIT
License
1mo ago
Last commit
6mo ago
Created

Repo: alsk1992/CloddsBot