CloddsBot is a self-hosted AI trading terminal that lets users interact through conversation while trading prediction markets, cryptocurrencies, and futures. It scans markets, executes trades, manages risk, and supports portfolio activities across the exchanges and blockchains listed by the project. The catalogue contains skills for extending or guiding the trading agent.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add alsk1992/CloddsBot --skill sizinggit clone --depth 1 https://github.com/alsk1992/CloddsBotWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/alsk1992/cloddsbot/sizing)<a href="https://agentmods.dev/skills/alsk1992/cloddsbot/sizing"><img src="https://agentmods.dev/badge/skills/alsk1992/cloddsbot/sizing/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/alsk1992/cloddsbot/sizing"><img src="https://agentmods.dev/badge/skills/alsk1992/cloddsbot/sizing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00011 | $0.01570 |
| Opus 5.5 | $0.00004 | $0.00628 |
| Sonnet 5.5 | $0.00002 | $0.00314 |
| Haiku 4.5 | $0.00001 | $0.00157 |
Grade A, and why
sizing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 239 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sizing - Complete API Reference
Calculate optimal position sizes using Kelly criterion, fractional Kelly, and portfolio-level allocation.
Chat Commands
Kelly Calculator
/kelly 0.45 0.55 10000 Market price, your prob, bankroll
/kelly "Trump 2028" 0.55 --bank 10k Calculate for specific market
/kelly --half 0.45 0.55 10000 Half Kelly (safer)
/kelly --quarter 0.45 0.55 10000 Quarter Kelly (conservative)
Position Sizing
/size 10000 --risk 2% Size for 2% risk per trade
/size 10000 --max-position 25% Max 25% in single position
/size portfolio --rebalance Rebalance to target weights
Edge Calculation
/edge 0.45 0.55 Calculate edge (prob - price)
/edge "Trump 2028" --estimate 0.55 Edge vs market price
TypeScript API Reference
Create Sizing Calculator
import { createSizingCalculator } from 'clodds/sizing';
const sizing = createSizingCalculator({
// Bankroll
bankroll: 10000,
// Kelly fraction (1 = full, 0.5 = half)
kellyFraction: 0.5,
// Limits
maxPositionPercent: 25,
maxTotalExposure: 80,
});
Basic Kelly
// Binary outcome (YES/NO market)
const size = sizing.kelly({
marketPrice: 0.45, // Current price
estimatedProb: 0.55, // Your probability estimate
bankroll: 10000,
});
console.log(`Optimal bet: $${size.optimalSize}`);
console.log(`Edge: ${size.edge}%`);
console.log(`Kelly %: ${size.kellyPercent}%`);
console.log(`Expected value: $${size.expectedValue}`);
Fractional Kelly
// Half Kelly (recommended for most traders)
const halfKelly = sizing.kelly({
marketPrice: 0.45,
estimatedProb: 0.55,
bankroll: 10000,
fraction: 0.5, // Half Kelly
});
// Quarter Kelly (very conservative)
const quarterKelly = sizing.kelly({
marketPrice: 0.45,
estimatedProb: 0.55,
bankroll: 10000,
fraction: 0.25,
});
console.log(`Full Kelly: $${sizing.kelly({...}).optimalSize}`);
console.log(`Half Kelly: $${halfKelly.optimalSize}`);
console.log(`Quarter Kelly: $${quarterKelly.optimalSize}`);
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 239 lines · 11 tokens per session scan A e8fce0a6f29e
sizing is a skill published in the GitHub repository alsk1992/CloddsBot (3,143 stars, last pushed 16d ago), licensed MIT. It adds 11 tokens to every session and 1,570 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
sizing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sizingalsk1992/CloddsBot | Skill | 3.1k | 16d ago | MIT | A | 11 | Claude Code, Codex |
| perp-clihypurrquant/perp-cli | Skill | 45 | 15d ago | MIT | A | 291 | Claude Code |
| philidor-mcpPhilidor-Labs/philidor-mcp | Skill | 5 | 1mo ago | MIT | A | 86 | Cursor |
| philidor-api-handoffPhilidor-Labs/philidor-mcp | Skill | 5 | 1mo ago | MIT | A | 64 | Cursor |
| pre-deposit-safety-checkPhilidor-Labs/philidor-mcp | Skill | 5 | 1mo ago | MIT | A | 52 | Cursor |
| market-incident-monitoringPhilidor-Labs/philidor-mcp | Skill | 5 | 1mo ago | MIT | A | 48 | Cursor |
| vault-due-diligencePhilidor-Labs/philidor-mcp | Skill | 5 | 1mo ago | MIT | A | 50 | Cursor |