Arbitrage
Find, validate, and compare arbitrage opportunities across markets with fee-aware math, execution sequencing, and failure-mode checks.
от clawic★ 23 звезды на GitHub
Установить Arbitrage в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
When to Use
User is evaluating an apparent price gap, hedge, surebet, basis trade, multi-leg basket, or cross-venue spread. Agent handles fee-aware arbitrage math, execution planning, settlement checks, and fast rejection of fake edge.
Architecture
Memory lives in ~/Clawic/data/arbitrage/. If ~/Clawic/data/arbitrage/ does not exist, run setup.md. See memory-template.md for structure.
~/Clawic/data/arbitrage/
├── memory.md # Preferences, constraints, and activation rules
├── opportunities.md # Active ideas, status, and next checks
├── venue-notes.md # Withdrawal, fill, and settlement notes by venue
└── archive/ # Old opportunities and retired notes
Quick Reference
| Topic | File |
|---|---|
| Setup guide | setup.md |
| Memory template | memory-template.md |
| Locked Spread Protocol | workflow.md |
| Fee-aware formulas | calculator.md |
| Venue and settlement checks | venue-checks.md |
| Scenario playbooks | playbooks.md |
| Safe language and disclaimers | legal.md |
Requirements
- No credentials required
- No extra binaries required
- Live data only when the user provides it or explicitly asks you to fetch it
Locked Spread Protocol
Use the full protocol in workflow.md. At minimum, every opportunity passes these gates:
- Confirm the legs really describe the same economic outcome
- Normalize prices, fees, financing, transfer, and timing costs with
calculator.md - Decide whether the position is fully locked, soft-locked, or only expected value
- Check venue rules, fill depth, and settlement mechanics with
venue-checks.md - Classify the trade and explain the remaining failure modes before discussing size
Core Rules
1. Define the Exact Arbitrage
- Write each leg with venue, instrument, side, price, size limit, timestamp, and settlement rule
- If the legs do not resolve to the same outcome, currency, or unit of risk, it is not arbitrage yet
2. Normalize Every Dollar of Friction
- Always include fees, spread, gas, borrow, financing, FX, transfer, and any user-stated tax or settlement drag
- Use
calculator.mdto convert headline edge into net edge before calling anything profitable
3. Sequence for Fill Risk, Not for Hope
- Identify the constrained leg first: shallow book, max bet, slow venue, borrow dependence, or promo cap
- Prefer structures that can be locked immediately; otherwise label them soft lock or directional exposure
4. Treat Settlement as First-Class Risk
- Compare rules, expiry, void conditions, collateral type, withdrawal limits, transfer time, and counterparty exposure
- Use
venue-checks.mdandplaybooks.mdwhenever the opportunity crosses venues or products
5. Reject Fake Edge Fast
- Stale quotes, hidden min or max size, promo-only pricing, mismatched markets, and low depth are default failure modes
- If the residual risk is execution, model drift, or rule mismatch rather than a true lock, say so explicitly
6. Output a Decision Memo, Not Hype
- Return the classification, net edge, max realistic size, required sequence, open checks, and kill conditions
- Good output ends with a clear next action: proceed, verify one item, downgrade to watchlist, or reject
7. Analysis Never Becomes Advice
- Never call a trade risk-free, guaranteed, or suitable for the user personally
- Provide analysis and trade structure only; do not execute trades or give portfolio-specific recommendations
Opportunity Types
| Type | Typical Setup | What Makes It Real |
|---|---|---|
| Cross-venue spot | Buy cheaper on venue A, sell higher on venue B | Enough depth, transferable inventory, fees covered |
| Surebet or matched book | Opposite sides across books or exchanges | Implied probability sum below 100 percent after fees |
| Prediction market basket | Buy outcomes whose total cost is below guaranteed payout | Resolution rules and outcome partition match exactly |
| Basis or carry | Spot versus future, perp, or synthetic hedge | Funding, carry, borrow, and expiry all modeled |
| Retail or pricing mismatch | Same item or service priced differently by channel | Shipping, returns, fraud, tax, and inventory verified |
Arbitrage Traps
| Trap | Why It Fails | Better Move |
|---|---|---|
| Matching names instead of resolution rules | Similar labels can settle differently | Compare exact payout and settlement language |
| Using top-of-book only | Apparent edge disappears after first fill | Calculate size against real depth |
| Ignoring transfer time | Edge can vanish before hedge arrives | Price latency as a cost, not a note |
| Forgetting limits and KYC | One leg fills, the other is capped or blocked | Check limits, region, and account status first |
| Treating rebates as guaranteed | Rebates or promos can change net economics | Separate hard edge from conditional incentives |
| Mixing currencies loosely | FX and spread can erase |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- _meta.json
- calculator.md
- legal.md
- memory-template.md
- playbooks.md
- setup.md
- venue-checks.md
- workflow.md
FAQ
Что делает скилл Arbitrage?
Find, validate, and compare arbitrage opportunities across markets with fee-aware math, execution sequencing, and failure-mode checks.
Как установить скилл Arbitrage?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Arbitrage запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…