Agent skill

Smarkets

by alsk1992 in alsk1992/CloddsBot

Smarkets Exchange betting with 2% commission. An agent skill from alsk1992/CloddsBot.

MITAuto-check passedBusiness, Finance & HR

Install Smarkets

skills CLI
$ npx skills add alsk1992/CloddsBot --skill smarkets -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install alsk1992/CloddsBot smarkets --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/alsk1992/CloddsBot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/src/skills/bundled/smarkets .claude/skills/smarkets && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
smarkets
GitHub stars
3k
Token cost
~625 tokens
SKILL.md length
183 words
Files
2
Skills in repo
116
Repo updated
First seen
Licence
MIT

At a glance

Smarkets Exchange betting with 2% commission. An agent skill from alsk1992/CloddsBot.

  • Works in 4 steps: Prices: Expressed as percentages (0.55 =… → Quantities: In GBP → Buy: Betting FOR an outcome → …
  • Business, Finance & HR work in your project
  • SKILL.md covers Quick Start, Commands, Configuration and Features, plus 3 more sections
  • Runs TypeScript scripts from its folder; needs SMARKETS_SESSION_TOKEN and SMARKETS_API_TOKEN

What it does

Smarkets is an agent skill from alsk1992/CloddsBot. Smarkets Exchange betting with 2% commission

Its SKILL.md is about 630 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `index.ts`).

It sits in Business, Finance & HR. The repository describes itself as: Open Source AI trading agent that operates autonomously across 1000+ markets - Polymarket, Kalshi, Binance, Hyperliquid, Solana DEXs, 5 EVM chains. Scans for edge, executes… The licence is MIT.

When your agent uses it

  • Business, Finance & HR work in your project

Example prompts

  • “Use the smarkets skill to smarket Exchange betting with 2% commission. An agent skill from alsk1992/CloddsBot”
  • “/smarkets”

Requirements

  • Node.js
  • A credential in SMARKETS_SESSION_TOKEN
  • A credential in SMARKETS_API_TOKEN

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

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

What it can do on your machine

Read from SKILL.md and the folder at commit c930628. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (TypeScript), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • smarkets.com
    • docs.smarkets.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • SMARKETS_SESSION_TOKEN
    • SMARKETS_API_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Smarkets loads about 625 tokens when it runs. Until then it costs about 13 tokens; SKILL.md has 183 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~13
When it runs · the whole SKILL.md, loaded when a task matches
~625

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from alsk1992/CloddsBot at commit c930628, republished under its MIT licence (© alsk1992). 183 words, ~625 tokens.

Download SKILL.mdSave it as .claude/skills/smarkets/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
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

bash
# 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
CommandDescription
/sm markets [query]Search markets
/sm market <id>Get market details
/sm prices <marketId>Current prices
/sm book <marketId> <contractId>Show orderbook
Trading
CommandDescription
/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:

bash
/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
CommandDescription
/sm balanceCheck account balance

Configuration

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

DomainExamples
politicsElections, referendums
sportFootball, tennis, cricket
entertainmentOscars, Eurovision, reality TV
current_affairsEconomic events, news
esportsCS: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

© alsk1992, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in src/skills/bundled/smarkets of alsk1992/CloddsBot.

  • SKILL.md
  • index.ts

Open the folder on GitHubat commit c930628

Compare with similar skills

Smarkets next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Smarkets compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Smarkets this skillalsk1992/CloddsBot3k—~625Automated safety check: PassMIT
Technical Analysttradermonty/claude-trading-skills3k4 repos~4.6kAutomated safety check: PassMIT
Theme Detectortradermonty/claude-trading-skills3k2 repos~4.9kAutomated safety check: PassMIT
Creating Financial ModelsChen-zexi/open-ptc-agent7293 repos~1.3kAutomated safety check: PassMIT
Stock APIzhangxiangliang/stock-api2k—~507Automated safety check: PassMIT
Itr Walakaranb192/itr-wala871—~3.6kAutomated safety check: PassMIT

Similar skills

  • Technical Analyst

    tradermonty/claude-trading-skills

    This skill should be used when analyzing weekly price charts for stocks, stock indices, cryptocurrencies, or forex pairs.

    3k GitHub starsUsed in 4 repos~4.6k tokens
    Business, Finance & HRAuto-check passed
  • Theme Detector

    tradermonty/claude-trading-skills

    Detect and analyze trending market themes across sectors. An agent skill from tradermonty/claude-trading-skills.

    3k GitHub starsUsed in 2 repos~4.9k tokens
    Business, Finance & HRAuto-check passed
  • Creating Financial Models

    Chen-zexi/open-ptc-agent

    This skill provides an advanced financial modeling suite with DCF analysis, sensitivity testing, Monte Carlo simulations, and scenario planning for investment decisions

    729 GitHub starsUsed in 3 repos~1.3k tokens
    Business, Finance & HRAuto-check passed
  • Stock API

    zhangxiangliang/stock-api

    Fetch real-time stock quotes, K-line (candlestick) history, and search symbols for China A-shares, Hong Kong, and US markets.

    2k GitHub stars~507 tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Itr Wala

    karanb192/itr-wala

    File Indian income tax returns (ITR) for FY 2025-26 / AY 2026-27.

    871 GitHub stars~3.6k tokensUpdated 6 days ago
    Business, Finance & HRAuto-check passed
  • Tushare Data

    zillionare/zillionare

    面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。

    322 GitHub starsUsed in 2 repos~2.3k tokens
    Business, Finance & HRAuto-check passed

More from alsk1992/CloddsBot

All 116 skills in this repo
  • Qmd

    alsk1992/CloddsBot

    Local hybrid search for markdown notes and docs. An agent skill from alsk1992/CloddsBot.

    3k GitHub starsUsed in 3 repos~1.2k tokens
    Auto-check passed
  • AI Strategy

    alsk1992/CloddsBot

    AI Strategy - natural language to trades. An agent skill from alsk1992/CloddsBot.

    3k GitHub stars~670 tokensUpdated 8 days ago
    Auto-check passed
  • Alerts

    alsk1992/CloddsBot

    Create and manage price alerts for prediction markets. An agent skill from alsk1992/CloddsBot.

    3k GitHub stars~460 tokensUpdated 8 days ago
    Auto-check passed
  • Analytics

    alsk1992/CloddsBot

    Performance attribution, trade analytics, and strategy optimization

    3k GitHub stars~1.6k tokensUpdated 8 days ago
    Auto-check passed
  • Arbitrage

    alsk1992/CloddsBot

    Automated cross-platform arbitrage detection and monitoring. An agent skill from alsk1992/CloddsBot.

    3k GitHub stars~1.7k tokensUpdated 8 days ago
    Auto-check passed
  • Auto Reply

    alsk1992/CloddsBot

    Automatic response rules, patterns, and scheduled messages. An agent skill from alsk1992/CloddsBot.

    3k GitHub stars~1.5k tokensUpdated 8 days ago
    Auto-check passed

Questions about Smarkets

What does Smarkets do?

Smarkets Exchange betting with 2% commission. An agent skill from alsk1992/CloddsBot. Smarkets is an agent skill from alsk1992/CloddsBot.

When should I use Smarkets?

Smarkets fits situations like: business, Finance & HR work in your project.

How do I install Smarkets in Claude Code?

Run `npx skills add alsk1992/CloddsBot --skill smarkets -a claude-code`. Or copy the skill folder (src/skills/bundled/smarkets in alsk1992/CloddsBot) into .claude/skills/smarkets in your project. Claude Code loads it when a task matches its description.

How do I install Smarkets in Codex?

Run `npx skills add alsk1992/CloddsBot --skill smarkets -a codex`. Or copy the skill folder (src/skills/bundled/smarkets in alsk1992/CloddsBot) into .agents/skills/smarkets in your project. Codex loads it when a task matches its description.

Can I use Smarkets in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add alsk1992/CloddsBot --skill smarkets -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/smarkets, .gemini/skills/smarkets, .github/skills/smarkets and .opencode/skills/smarkets in your project.

What does Smarkets need to run?

Going by SKILL.md and its folder, Smarkets needs TypeScript for the scripts in its folder and credentials named SMARKETS_SESSION_TOKEN and SMARKETS_API_TOKEN. Our summary lists: Node.js; A credential in SMARKETS_SESSION_TOKEN; A credential in SMARKETS_API_TOKEN.

Does Smarkets access the network?

SKILL.md names 2 domains. As links in the text: smarkets.com and docs.smarkets.com. This is read from the text; nothing was executed.

Is Smarkets safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Smarkets use?

Smarkets is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Smarkets use?

About 625 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Smarkets?

Skills that share tags, products or a category with Smarkets: Technical Analyst (tradermonty/claude-trading-skills, 3k stars), Theme Detector (tradermonty/claude-trading-skills, 3k stars), Creating Financial Models (Chen-zexi/open-ptc-agent, 729 stars) and Stock API (zhangxiangliang/stock-api, 2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Smarkets?

alsk1992 (a GitHub user) maintains it in alsk1992/CloddsBot, which has 2,951 GitHub stars. The repository holds 116 skills in this directory. The repository was last updated on October 2, 2026.

Source: alsk1992/CloddsBot on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.