Agent skill

Finding Arbitrage Opportunities

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Detect profitable arbitrage opportunities across CEX, DEX, and cross-chain markets in real-time.

MITAuto-check passed

Install Finding Arbitrage Opportunities

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill finding-arbitrage-opportunities -a claude-code

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

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace finding-arbitrage-opportunities --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/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/finding-arbitrage-opportunities .claude/skills/finding-arbitrage-opportunities && 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
finding-arbitrage-opportunities
GitHub stars
2.8k
Token cost
~1.2k tokens
SKILL.md length
307 words
Files
13 (incl. scripts, references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Detect profitable arbitrage opportunities across CEX, DEX, and cross-chain markets in real-time.

  • Works in 7 steps: Quick spread scan on a specific pair → Multi-exchange comparison across… → DEX price comparison across… → …
  • Scanning for price spreads
  • SKILL.md covers Overview, Prerequisites, Instructions and Output, plus 3 more sections
  • Runs Python scripts from its folder; calls python

What it does

Finding Arbitrage Opportunities is an agent skill from jeremylongshore/tons-of-skills-marketplace. Detect profitable arbitrage opportunities across CEX, DEX, and cross-chain markets in real-time. Use when scanning for price spreads, finding arbitrage paths, comparing exchange prices, or analyzing triangular arbitrage opportunities. Trigger with phrases like "find arbitrage", "scan for arb", "price spread", "exchange arbitrage", "triangular arb", "DEX price difference", or "cross-exchange opportunity".

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 15 other files, including scripts and reference files (for example `ARD.md`, `PRD.md` and `config/settings.yaml`). Compatibility notes: Designed for Claude Code

The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Scanning for price spreads
  • Finding arbitrage paths
  • Comparing exchange prices
  • Analyzing triangular arbitrage opportunities

Example prompts

  • “find arbitrage”
  • “scan for arb”
  • “price spread”
  • “/finding-arbitrage-opportunities”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Grep, Glob, Bash(crypto:arbitrage-*)

Workflow steps

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

  1. Quick spread scan on a specific pair
  2. Multi-exchange comparison across specific exchanges
  3. DEX price comparison across decentralized exchanges
  4. Triangular arbitrage discovery within a single exchange
  5. Cross-chain opportunities across different blockchains
  6. Real-time monitoring with threshold alerts
  7. Export opportunities for bot integration

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Grep
    • Glob
    • Bash(crypto:arbitrage-*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 6 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

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

    • coingecko.com
    • github.com

    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.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Finding Arbitrage Opportunities loads about 1.2k tokens when it runs, and up to ~7k if it reads all its reference files. Until then it costs about 110 tokens; SKILL.md has 307 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~110
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~7k

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); the scripts in this folder are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 307 words, ~1,205 tokens.

Download SKILL.mdSave it as .claude/skills/finding-arbitrage-opportunities/SKILL.md (or your agent's skills folder). This skill also uses 12 other files; get the full folder from GitHub.
name
finding-arbitrage-opportunities
description
Detect profitable arbitrage opportunities across CEX, DEX, and cross-chain markets in real-time. Use when scanning for price spreads, finding arbitrage paths, comparing exchange prices, or analyzing triangular arbitrage opportunities. Trigger with phrases like "find arbitrage", "scan for arb", "price spread", "exchange arbitrage", "triangular arb", "DEX price difference", or "cross-exchange opportunity".
allowed-tools
Read, Write, Edit, Grep, Glob, Bash(crypto:arbitrage-*)
compatibility
Designed for Claude Code
version
1.26.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
tags
crypto, finding-arbitrage

Finding Arbitrage Opportunities

Overview

Detect and analyze arbitrage opportunities across cryptocurrency exchanges and DeFi protocols. Aggregates prices from CEX and DEX sources, calculates net profit after fees, and identifies direct, triangular, and cross-chain arbitrage paths.

Prerequisites

  • Python 3.9+ with httpx, rich, and networkx packages
  • Internet access for API calls (no API keys required for basic use)
  • Optional: Exchange API keys for real-time order book access
  • Understanding of arbitrage concepts and trading fees

Instructions

  1. Quick spread scan on a specific pair:

    bash
    python ${CLAUDE_SKILL_DIR}/scripts/arb_finder.py scan ETH USDC

    Shows current prices per exchange, spread %, estimated profit after fees, and recommended action.

  2. Multi-exchange comparison across specific exchanges:

    bash
    python ${CLAUDE_SKILL_DIR}/scripts/arb_finder.py scan ETH USDC \
      --exchanges binance,coinbase,kraken,kucoin,okx
  3. DEX price comparison across decentralized exchanges:

    bash
    python ${CLAUDE_SKILL_DIR}/scripts/arb_finder.py scan ETH USDC --dex-only

    Compares Uniswap V3, SushiSwap, Curve, Balancer with gas cost estimates.

  4. Triangular arbitrage discovery within a single exchange:

    bash
    python ${CLAUDE_SKILL_DIR}/scripts/arb_finder.py triangular binance --min-profit 0.5
  5. Cross-chain opportunities across different blockchains:

    bash
    python ${CLAUDE_SKILL_DIR}/scripts/arb_finder.py cross-chain USDC \
      --chains ethereum,polygon,arbitrum
  6. Real-time monitoring with threshold alerts:

    bash
    python ${CLAUDE_SKILL_DIR}/scripts/arb_finder.py monitor ETH USDC \
      --threshold 0.5 --interval 5
  7. Export opportunities for bot integration:

    bash
    python ${CLAUDE_SKILL_DIR}/scripts/arb_finder.py scan ETH USDC --output json > opportunities.json
Show full SKILL.md (164 more words)Show less

Output

  • Quick mode (default): Best opportunity with profit estimate, buy/sell recommendation, risk level
  • Detailed mode (--detailed): All exchange prices, fee breakdown, slippage estimates, historical spread context
  • Monitor mode: Real-time updates with threshold alerts and trend indicators

See ${CLAUDE_SKILL_DIR}/references/implementation.md for exchange fee tables and output format examples.

Error Handling

ErrorCauseFix
Rate limitedToo many API requestsReduce polling frequency or add API key
Stale pricesData older than 10sFlagged with warning; retry
No spreadEfficient market pricingNormal condition; try different pairs
Insufficient liquidityTrade exceeds order book depthReduce trade size

Examples

Quick ETH/USDC spread scan - Find best buy/sell across all CEX exchanges:

bash
python ${CLAUDE_SKILL_DIR}/scripts/arb_finder.py scan ETH USDC

Sample detection output:

  ARB OPPORTUNITY: ETH/USDC
  Buy:  Binance  @ $3,198.50  |  Sell: Coinbase @ $3,214.20
  Spread: 0.49%  |  Net Profit (after fees): 0.29% ($9.27 per ETH)
  Risk: LOW  |  Confidence: HIGH  |  Window: ~30s

Triangular arb on Binance - Discover circular paths with minimum 0.5% net profit:

bash
python ${CLAUDE_SKILL_DIR}/scripts/arb_finder.py triangular binance --min-profit 0.5

Cross-chain USDC opportunities - Compare stablecoin prices across L1/L2 chains:

bash
python ${CLAUDE_SKILL_DIR}/scripts/arb_finder.py cross-chain USDC --chains ethereum,polygon,arbitrum

Calculate exact profit - Detailed fee breakdown for a specific trade:

bash
python ${CLAUDE_SKILL_DIR}/scripts/arb_finder.py calc \
  --buy-exchange binance --sell-exchange coinbase --pair ETH/USDC --amount 10  # 10 = trade size in ETH

Resources

  • CoinGecko API - Free price data
  • CCXT Library - Unified exchange API
  • Uniswap Subgraph - DEX data
  • ${CLAUDE_SKILL_DIR}/references/implementation.md - Exchange fee tables, configuration, advanced arbitrage types, disclaimer

© jeremylongshore, 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 12 other files (scripts, references) in skills/.curated/finding-arbitrage-opportunities of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • ARD.md
  • PRD.md
  • config/settings.yaml
  • references/errors.md
  • references/examples.md
  • references/implementation.md
  • scripts/arb_finder.py
  • scripts/formatters.py
  • scripts/opportunity_scanner.py
  • scripts/price_fetcher.py
  • scripts/profit_calculator.py
  • scripts/triangular_finder.py

Open the folder on GitHubat commit cfae287

Compare with similar skills

Finding Arbitrage Opportunities 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.

Finding Arbitrage Opportunities compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Finding Arbitrage Opportunities this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.2kAutomated safety check: PassMIT
Detecting AWS Guardduty Findings Automationmukul975/Anthropic-Cybersecurity-Skills34k—~2.7kAutomated safety check: PassApache-2.0
Finding Arbitrage OpportunitiesaAAaqwq/AGI-Super-Team105—~1.6kAutomated safety check: PassMIT
Opportunityalsk1992/CloddsBot3k—~2.2kAutomated safety check: PassMIT
Threat Detectionalirezarezvani/claude-skills28k—~3.5kAutomated safety check: PassMIT
Find Releaseflutter/flutter180k—~545Automated safety check: PassBSD-3-Clause

Similar skills

  • Detecting AWS Guardduty Findings Automation

    mukul975/Anthropic-Cybersecurity-Skills

    Build automated AWS GuardDuty finding response pipelines using EventBridge and Lambda to trigger real-time incident response, automatically quarantine compromised resources, and route security…

    34k GitHub stars~2.7k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check passed
  • Finding Arbitrage Opportunities

    aAAaqwq/AGI-Super-Team

    This skill detects and analyzes arbitrage opportunities across cryptocurrency exchanges and DeFi protocols.

    105 GitHub stars~1.6k tokensUpdated 2 days ago
    Business, Finance & HRAuto-check passed
  • Opportunity

    alsk1992/CloddsBot

    Find and execute cross-platform arbitrage opportunities across prediction markets

    3k GitHub stars~2.2k tokensUpdated 8 days ago
    Auto-check passed
  • Threat Detection

    alirezarezvani/claude-skills

    A skill your agent uses when hunting for threats in an environment, analyzing IOCs, or detecting behavioral anomalies in telemetry.

    28k GitHub stars~3.5k tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Find Release

    flutter/flutter

    A skill to find the lowest Dart and Flutter release containing a given commit.

    180k GitHub stars~545 tokensUpdated today
    MobileAuto-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

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Questions about Finding Arbitrage Opportunities

What does Finding Arbitrage Opportunities do?

Detect profitable arbitrage opportunities across CEX, DEX, and cross-chain markets in real-time. Finding Arbitrage Opportunities is an agent skill from jeremylongshore/tons-of-skills-marketplace. Detect profitable arbitrage opportunities across CEX, DEX, and cross-chain markets in real-time.

When should I use Finding Arbitrage Opportunities?

Finding Arbitrage Opportunities fits situations like: scanning for price spreads; finding arbitrage paths; comparing exchange prices; analyzing triangular arbitrage opportunities.

How do I install Finding Arbitrage Opportunities in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill finding-arbitrage-opportunities -a claude-code`. Or copy the skill folder (skills/.curated/finding-arbitrage-opportunities in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/finding-arbitrage-opportunities in your project. Claude Code loads it when a task matches its description.

How do I install Finding Arbitrage Opportunities in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill finding-arbitrage-opportunities -a codex`. Or copy the skill folder (skills/.curated/finding-arbitrage-opportunities in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/finding-arbitrage-opportunities in your project. Codex loads it when a task matches its description.

Can I use Finding Arbitrage Opportunities 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 jeremylongshore/tons-of-skills-marketplace --skill finding-arbitrage-opportunities -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/finding-arbitrage-opportunities, .gemini/skills/finding-arbitrage-opportunities, .github/skills/finding-arbitrage-opportunities and .opencode/skills/finding-arbitrage-opportunities in your project.

What does Finding Arbitrage Opportunities need to run?

Going by SKILL.md and its folder, Finding Arbitrage Opportunities needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Write, Edit, Grep, Glob, Bash(crypto:arbitrage-*). Compatibility (from SKILL.md): Designed for Claude Code.

Does Finding Arbitrage Opportunities access the network?

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

Is Finding Arbitrage Opportunities 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Finding Arbitrage Opportunities use?

Finding Arbitrage Opportunities is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Finding Arbitrage Opportunities use?

About 1.2k tokens (SKILL.md is roughly 4.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.8k tokens, read only when the agent opens those files.

What are the alternatives to Finding Arbitrage Opportunities?

Skills that share tags, products or a category with Finding Arbitrage Opportunities: Detecting AWS Guardduty Findings Automation (mukul975/Anthropic-Cybersecurity-Skills, 34k stars), Finding Arbitrage Opportunities (aAAaqwq/AGI-Super-Team, 105 stars), Opportunity (alsk1992/CloddsBot, 3k stars) and Threat Detection (alirezarezvani/claude-skills, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Finding Arbitrage Opportunities?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.