Agent skill

Mm

by alsk1992 in alsk1992/CloddsBot

Market making - two-sided quoting with inventory management. An agent skill from alsk1992/CloddsBot.

MITAuto-check passed

Install Mm

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

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

GitHub CLI
$ gh skill install alsk1992/CloddsBot mm --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/mm .claude/skills/mm && 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
mm
GitHub stars
2.9k
Token cost
~1k tokens
SKILL.md length
254 words
Files
2
Skills in repo
116
Repo updated
First seen
Licence
MIT

At a glance

Market making - two-sided quoting with inventory management. An agent skill from alsk1992/CloddsBot.

  • Works in 6 steps: Fair value computed from orderbook… → Spread adjusted by recent volatility… → Skew shifts quotes away from overweight… → …
  • SKILL.md covers Supported Platforms, Chat Commands, Start Flags and Examples, plus 2 more sections
  • Runs TypeScript scripts from its folder

What it does

Mm is an agent skill from alsk1992/CloddsBot. Market making - two-sided quoting with inventory management

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

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.

Example prompts

  • “/mm”

Requirements

  • Node.js
  • A credential in POLY_API_KEY
  • A credential in KALSHI_API_KEY

Workflow steps

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

  1. Fair value computed from orderbook (weighted mid, VWAP, or EMA)
  2. Spread adjusted by recent volatility (wider in volatile markets)
  3. Skew shifts quotes away from overweight side to manage inventory
  4. Quotes placed as post-only maker orders (bid and ask)
  5. Requote cycle: cancel all, recalculate, place new orders
  6. Auto-halt if realized P&L exceeds max loss threshold

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

    No URLs in SKILL.md.

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

  • Credentials

    Names no API keys, tokens, secrets or passwords.

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

Context cost

Mm loads about 1k tokens when it runs. Until then it costs about 16 tokens; SKILL.md has 254 words of instructions outside code blocks.

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

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). 254 words, ~1,002 tokens.

Download SKILL.mdSave it as .claude/skills/mm/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
mm
description
Market making - two-sided quoting with inventory management
emoji
📊

Market Making Skill

Automated two-sided quoting on prediction markets with inventory skew, volatility-adjusted spreads, and risk controls.

Supported Platforms

  • Polymarket (post-only maker orders, zero taker fees)
  • Kalshi

Chat Commands

Lifecycle
/mm start <platform> <marketId> <tokenId> [flags]   Start market making
/mm stop <id>                                        Stop and cancel all orders
/mm list                                             List active market makers
Monitoring
/mm status                     Overview of all active MMs
/mm status <id>                Detailed state for one MM
Configuration
/mm config <id>                View current config as JSON
/mm config <id> --spread 3     Update config (takes effect next requote)

Start Flags

FlagDefaultDescription
--spread N2Base half-spread in cents
--min-spread N1Minimum spread floor (cents)
--max-spread N10Maximum spread cap (cents)
--size N50Order size per side (shares)
--max-inventory N500Max inventory before aggressive skew
--skew N0.5Inventory skew factor (0-1)
--vol-mult N10Volatility multiplier for spread widening
--alpha N0.3EMA alpha for fair value smoothing (0-1)
--fv-method Mweighted_midFair value method: mid_price, weighted_mid, vwap, ema
--interval N5000Requote interval in ms
--threshold N1Min price change (cents) to trigger requote
--max-pos N1000Max position value in USD
--max-loss N100Max loss before auto-halt (USD)
--max-orders N1Orders per side (levels)
--level-spacing N(=spread)Cents between price levels
--level-decay N0.5Size decay per level (0-1, e.g. 0.5 = each level half of previous)
--neg-risk truefalseEnable negative risk mode (Polymarket crypto)
--name "Name"autoDisplay name for the outcome

Examples

# Start with defaults
/mm start polymarket 0xabc123 98765

# Custom spread and sizing
/mm start polymarket 0xabc123 98765 --spread 3 --size 100 --max-inventory 1000

# Tight spread for liquid market
/mm start polymarket 0xabc123 98765 --spread 1 --min-spread 1 --max-spread 5 --interval 2000

# 3-level quoting: L1=50 shares, L2=25, L3=12 — spaced 2c apart
/mm start polymarket 0xabc123 98765 --max-orders 3 --level-spacing 2 --level-decay 0.5 --size 50

# Check all running MMs
/mm status

# Widen spread on the fly
/mm config polymarket_98765678 --spread 4

# Shut down
/mm stop polymarket_98765678

How It Works

  1. Fair value computed from orderbook (weighted mid, VWAP, or EMA)
  2. Spread adjusted by recent volatility (wider in volatile markets)
  3. Skew shifts quotes away from overweight side to manage inventory
  4. Quotes placed as post-only maker orders (bid and ask)
  5. Requote cycle: cancel all, recalculate, place new orders
  6. Auto-halt if realized P&L exceeds max loss threshold

API Usage

typescript
import { createMMStrategy, type MMConfig } from '../trading/market-making';

const config: MMConfig = {
  id: 'btc-yes',
  platform: 'polymarket',
  marketId: '0x...',
  tokenId: '12345',
  outcomeName: 'BTC > 100k',
  baseSpreadCents: 2,
  minSpreadCents: 1,
  maxSpreadCents: 10,
  orderSize: 50,
  maxInventory: 500,
  skewFactor: 0.5,
  volatilityMultiplier: 10,
  fairValueAlpha: 0.3,
  fairValueMethod: 'weighted_mid',
  requoteIntervalMs: 5000,
  requoteThresholdCents: 1,
  maxPositionValueUsd: 1000,
  maxLossUsd: 100,
  maxOrdersPerSide: 1,
};

const strategy = createMMStrategy(config, { execution, feeds });
botManager.registerStrategy(strategy);
await botManager.startBot(strategy.config.id);

© 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/mm of alsk1992/CloddsBot.

  • SKILL.md
  • index.ts

Open the folder on GitHubat commit c930628

Compare with similar skills

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

Mm compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mm this skillalsk1992/CloddsBot2.9k—~1kAutomated safety check: PassMIT
Asset Inventorysickn33/agentic-awesome-skills47k2 repos~3.4kAutomated safety check: PassMIT
Zoho Inventory AutomationComposioHQ/awesome-claude-skills77k3 repos~757Automated safety check: PassNone
Odoo Inventory Optimizersickn33/agentic-awesome-skills47k2 repos~1.1kAutomated safety check: PassMIT
Inventory Demand Planningaffaan-m/ECC276k2 repos~2.4kAutomated safety check: PassApache-2.0
From The Other Side Vegagithub/awesome-copilot40k1 repos~894Automated safety check: PassMIT

Similar skills

  • Asset Inventory

    sickn33/agentic-awesome-skills

    Maintain IT asset inventory and configuration management database.

    47k GitHub starsUsed in 2 repos~3.4k tokens
    Auto-check passed
  • Zoho Inventory Automation

    ComposioHQ/awesome-claude-skills

    Automate Zoho Inventory tasks via Rube MCP (Composio). An agent skill from ComposioHQ/awesome-claude-skills.

    77k GitHub starsUsed in 3 repos~757 tokens
    Productivity & AutomationAuto-check passed
  • Odoo Inventory Optimizer

    sickn33/agentic-awesome-skills

    Expert guide for Odoo Inventory: stock valuation (FIFO/AVCO), reordering rules, putaway strategies, routes, and multi-warehouse configuration.

    47k GitHub starsUsed in 2 repos~1.1k tokens
    Business, Finance & HRAuto-check passed
  • 为多地点零售商提供需求预测、安全库存优化、补货规划及促销提升估算的编码化专业知识。基于拥有15年以上管理数百个SKU经验的需求规划师的专业知识。包括预测方法选择、ABC/XYZ分析、季节性过渡管理及供应商谈判框架。适用于预测需求、设定安全库存、规划补货、管理促销或优化库存水平时使用。

    276k GitHub starsUsed in 2 repos~2.4k tokens
    Auto-check passed
  • From The Other Side Vega

    github/awesome-copilot

    Official

    Patterns and lived experience from Vega, an AI partner in a deep long-term partnership.

    40k GitHub starsUsed in 1 repo~894 tokens
    Auto-check passed
  • From The Other Side Anitta

    github/awesome-copilot

    Official

    Rigorous challenge profile for Anitta: assumption checks, evidence calibration, and defensible reasoning patterns for Ember collaboration.

    40k GitHub stars~999 tokensUpdated today
    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.

    2.9k 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.

    2.9k GitHub stars~670 tokensUpdated 6 days ago
    Auto-check passed
  • Alerts

    alsk1992/CloddsBot

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

    2.9k GitHub stars~460 tokensUpdated 6 days ago
    Auto-check passed
  • Analytics

    alsk1992/CloddsBot

    Performance attribution, trade analytics, and strategy optimization

    2.9k GitHub stars~1.6k tokensUpdated 6 days ago
    Auto-check passed
  • Arbitrage

    alsk1992/CloddsBot

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

    2.9k GitHub stars~1.7k tokensUpdated 6 days ago
    Auto-check passed
  • Auto Reply

    alsk1992/CloddsBot

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

    2.9k GitHub stars~1.5k tokensUpdated 6 days ago
    Auto-check passed

Questions about Mm

What does Mm do?

Market making - two-sided quoting with inventory management. An agent skill from alsk1992/CloddsBot. Mm is an agent skill from alsk1992/CloddsBot.

How do I install Mm in Claude Code?

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

How do I install Mm in Codex?

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

Can I use Mm 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 mm -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mm, .gemini/skills/mm, .github/skills/mm and .opencode/skills/mm in your project.

What does Mm need to run?

Going by SKILL.md and its folder, Mm needs TypeScript for the scripts in its folder. Our summary lists: Node.js; A credential in POLY_API_KEY; A credential in KALSHI_API_KEY.

Does Mm access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Mm 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 Mm use?

Mm 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 Mm use?

About 1k tokens (SKILL.md is roughly 4k 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 Mm?

Skills that share tags, products or a category with Mm: Asset Inventory (sickn33/agentic-awesome-skills, 47k stars), Zoho Inventory Automation (ComposioHQ/awesome-claude-skills, 77k stars), Odoo Inventory Optimizer (sickn33/agentic-awesome-skills, 47k stars) and Inventory Demand Planning (affaan-m/ECC, 276k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mm?

alsk1992 (a GitHub user) maintains it in alsk1992/CloddsBot, which has 2,933 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.