Agent skill

Finding Arbitrage Opportunities

by aAAaqwq in aAAaqwq/AGI-Super-Team

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

MITAuto-check passedBusiness, Finance & HR

Install Finding Arbitrage Opportunities

skills CLI
$ npx skills add aAAaqwq/AGI-Super-Team --skill finding-arbitrage-opportunities -a claude-code

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

GitHub CLI
$ gh skill install aAAaqwq/AGI-Super-Team 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/aAAaqwq/AGI-Super-Team.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/arbitrage-opportunity-finder .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
105
Token cost
~1.6k tokens
SKILL.md length
494 words
Files
13 (incl. scripts, references)
Skills in repo
167
Repo updated
First seen
Licence
MIT

At a glance

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

  • Works in 9 steps: Configure Data Sources → Quick Spread Scan → Multi-Exchange Comparison → …
  • Scanning for price spreads
  • SKILL.md covers Overview, Prerequisites, Instructions and Output, plus 5 more sections
  • Runs Python scripts from its folder; calls python; reaches api.coingecko.com; needs BINANCE_API_KEY and COINBASE_API_KEY

What it does

Finding Arbitrage Opportunities is an agent skill from aAAaqwq/AGI-Super-Team. This skill detects and analyzes arbitrage opportunities across cryptocurrency exchanges and DeFi protocols. It aggregates prices from multiple sources 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…

Its SKILL.md is about 1.6k 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`).

It sits in Business, Finance & HR, covering Crypto and DeFi analysis. The repository describes itself as: An installable, cross-framework AI organization: C-suite agents, expert subagents, curated skills, independent review, and one-command setup across 18 AI client/runtime adapters. 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
  • A credential in BINANCE_API_KEY
  • A credential in COINBASE_API_KEY
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Grep, Glob, Bash(crypto:arbitrage-*)

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. Configure Data Sources
  2. Quick Spread Scan
  3. Multi-Exchange Comparison
  4. DEX Price Comparison
  5. Triangular Arbitrage Discovery
  6. Cross-Chain Opportunities
  7. Real-Time Monitoring
  8. Profit Calculator
  9. JSON Export

What it can do on your machine

Read from SKILL.md and the folder at commit 7cefd81. 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

    Hosts in commands or code, which the agent is likely to contact:

    • api.coingecko.com

    Also links to:

    • coingecko.com
    • github.com
    • thegraph.com
    • etherscan.io

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

  • Credentials

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

    • BINANCE_API_KEY
    • COINBASE_API_KEY

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

Context cost

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

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

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 aAAaqwq/AGI-Super-Team at commit 7cefd81, republished under its MIT licence (© aAAaqwq). 494 words, ~1,639 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
This skill detects and analyzes arbitrage opportunities across cryptocurrency exchanges and DeFi protocols. It aggregates prices from multiple sources 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-*)
version
1.0.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT

Finding Arbitrage Opportunities

Overview

This skill detects and analyzes arbitrage opportunities across cryptocurrency exchanges and DeFi protocols. It aggregates prices from multiple sources, calculates net profit after fees and costs, and identifies both direct and triangular arbitrage paths.

Prerequisites

Before using this skill, ensure you have:

  • 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

Step 1: Configure Data Sources

Configure your price sources in {baseDir}/config/settings.yaml:

yaml
# Primary data sources
data_sources:
  coingecko:
    enabled: true
    base_url: "https://api.coingecko.com/api/v3"
    rate_limit: 10  # calls per minute (free tier)

exchanges:
  - binance
  - coinbase
  - kraken
  - kucoin
  - okx

Or use environment variables for API keys:

bash
export BINANCE_API_KEY="your-key"
export COINBASE_API_KEY="your-key"
Step 2: Quick Spread Scan

Scan for arbitrage opportunities on a specific pair:

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

This shows:

  • Current prices on each exchange
  • Spread percentage
  • Estimated profit after fees
  • Recommended action
Step 3: Multi-Exchange Comparison

Compare prices across specific exchanges:

bash
python {baseDir}/scripts/arb_finder.py scan ETH USDC \
  --exchanges binance,coinbase,kraken,kucoin,okx

Output includes:

ExchangeBidAskSpreadNet Profit
Binance2541.202541.500.01%-
Coinbase2543.802544.100.01%+$2.30
Step 4: DEX Price Comparison

Scan decentralized exchanges for arbitrage:

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

Compares:

  • Uniswap V3
  • SushiSwap
  • Curve
  • Balancer

Includes gas cost estimates for on-chain execution.

Step 5: Triangular Arbitrage Discovery

Find profitable circular paths within an exchange:

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

Example output:

Path: ETH → BTC → USDT → ETH
Gross: +0.82%
Fees:  -0.30% (3 × 0.10%)
─────────────────────────────
Net:   +0.52%
Step 6: Cross-Chain Opportunities

Compare prices across different blockchains:

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

Shows:

  • Price on each chain
  • Bridge fees and times
  • Net profit after bridging
Step 7: Real-Time Monitoring

Continuously monitor for opportunities:

bash
python {baseDir}/scripts/arb_finder.py monitor ETH USDC \
  --threshold 0.5 \
  --interval 5

Alerts when spread exceeds threshold:

[ALERT] ETH/USDC spread 0.62% (Binance → Coinbase)
        Buy: $2,541.20 | Sell: $2,556.98
        Net Profit: +$12.34 (after fees)
Step 8: Profit Calculator

Calculate exact profit for a trade:

bash
python {baseDir}/scripts/arb_finder.py calc \
  --buy-exchange binance \
  --sell-exchange coinbase \
  --pair ETH/USDC \
  --amount 10

Shows detailed breakdown:

  • Gross profit
  • Trading fees (both exchanges)
  • Withdrawal fees
  • Net profit
  • Breakeven spread
Step 9: JSON Export

Export opportunities for bot integration:

bash
python {baseDir}/scripts/arb_finder.py scan ETH USDC --output json > opportunities.json

Output

The scanner provides:

Quick Mode (default):

  • Best opportunity with profit estimate
  • Buy/sell recommendation
  • Risk level indicator

Detailed Mode (--detailed):

  • All exchange prices
  • Fee breakdown
  • Slippage estimates
  • Historical spread context

Monitor Mode:

  • Real-time updates
  • Threshold alerts
  • Trend indicators
Show full SKILL.md (195 more words)Show less

Supported Exchanges

Centralized Exchanges (CEX)
ExchangeMaker FeeTaker FeeWithdrawal
Binance0.10%0.10%Variable
Coinbase0.40%0.60%Variable
Kraken0.16%0.26%Variable
KuCoin0.10%0.10%Variable
OKX0.08%0.10%Variable
Decentralized Exchanges (DEX)
DEXFee RangeGas (ETH)Chains
Uniswap V30.01-1%~150kETH, Polygon, Arbitrum
SushiSwap0.30%~150kMulti-chain
Curve0.04%~200kETH, Polygon, Arbitrum
Balancer0.01-10%~180kETH, Polygon, Arbitrum

Error Handling

See {baseDir}/references/errors.md for comprehensive error handling.

Common issues:

  • Rate Limited: Reduce polling frequency or use API key
  • Stale Prices: Data older than 10s flagged with warning
  • No Spread: All exchanges at similar prices (efficient market)
  • Insufficient Liquidity: Trade size exceeds order book depth

Examples

See {baseDir}/references/examples.md for detailed examples including:

  • ETH/USDC CEX arbitrage scan
  • DEX triangular arbitrage discovery
  • Cross-chain USDC opportunity
  • Automated monitoring setup

Educational Disclaimer

FOR EDUCATIONAL PURPOSES ONLY

Arbitrage trading involves significant risks:

  • Opportunities may disappear before execution
  • Price data may be delayed or inaccurate
  • Fees can exceed profits on small trades
  • Market conditions change rapidly

This tool provides analysis only. Do not trade without understanding the risks.

Resources

© aAAaqwq, 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/arbitrage-opportunity-finder of aAAaqwq/AGI-Super-Team.

  • 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 7cefd81

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 skillaAAaqwq/AGI-Super-Team105—~1.6kAutomated safety check: PassMIT
Technical Analysttradermonty/claude-trading-skills3k4 repos~4.6kAutomated safety check: PassMIT
Polyclawchainstacklabs/polyclaw3591 repos~2kAutomated safety check: PassApache-2.0
Longbridge Researchhelsome/folio2713 repos~2.1kAutomated safety check: PassMIT
Stock Analysis24mlight/StockClaw1012 repos~2kAutomated safety check: NotesMIT
Swapper Depositswapperfinance/swapper-toolkit852—~1.8kAutomated 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
  • Polyclaw

    chainstacklabs/polyclaw

    Trade on Polymarket via split + CLOB execution. An agent skill from chainstacklabs/polyclaw.

    359 GitHub starsUsed in 1 repo~2k tokens
    Business, Finance & HRAuto-check passed
  • Longbridge Research

    helsome/folio

    Institution ratings, consensus price targets, EPS/revenue forecasts, finance calendar, shareholder data, fund holders, insider trades (SEC Form 4), short interest, industry rankings, peer group…

    271 GitHub starsUsed in 3 repos~2.1k tokens
    Business, Finance & HRAuto-check passed
  • Stock Analysis

    24mlight/StockClaw

    Analyze stocks and cryptocurrencies using Yahoo Finance data.

    101 GitHub starsUsed in 2 repos~2k tokens
    Business, Finance & HRAuto-check: notes
  • Swapper Deposit

    swapperfinance/swapper-toolkit

    Deposit and bridge funds into a wallet or protocol using Swapper Finance.

    852 GitHub stars~1.8k tokensUpdated 6 mo ago
    Business, Finance & HRAuto-check passed
  • Okx Cex Earn

    okx/agent-skills

    Manages OKX Simple Earn (flexible savings/lending), Flash Earn, On-chain Earn (staking/DeFi), Dual Investment (DCD/双币赢), and AutoEarn (自动赚币) via the okx CLI.

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

More from aAAaqwq/AGI-Super-Team

All 167 skills in this repo
  • Content Creator

    aAAaqwq/AGI-Super-Team

    Create SEO-optimized marketing content with consistent brand voice.

    105 GitHub starsUsed in 3 repos~1.9k tokens
    Auto-check passed
  • Financial Calculator

    aAAaqwq/AGI-Super-Team

    Advanced financial calculator with future value tables, present value, discount calculations, markup pricing, and compound interest.

    105 GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check passed
  • Bankr Signals

    aAAaqwq/AGI-Super-Team

    Transaction-verified trading signals on Base blockchain. An agent skill from aAAaqwq/AGI-Super-Team.

    105 GitHub starsUsed in 2 repos~3.3k tokens
    Auto-check passed
  • Erc 8004

    aAAaqwq/AGI-Super-Team

    Register AI agents on Ethereum mainnet using ERC-8004 (Trustless Agents).

    105 GitHub starsUsed in 2 repos~1.2k tokens
    Auto-check passed
  • Frontend Design Ultimate

    aAAaqwq/AGI-Super-Team

    Create distinctive, production-grade static sites with React, Tailwind CSS, and shadcn/ui — no mockups needed.

    105 GitHub starsUsed in 2 repos~2.7k tokens
    Auto-check passed
  • Zsxq Smart Publish

    aAAaqwq/AGI-Super-Team

    Publish and manage content on 知识星球 (zsxq.com). An agent skill from aAAaqwq/AGI-Super-Team.

    105 GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed

Questions about Finding Arbitrage Opportunities

What does Finding Arbitrage Opportunities do?

This skill detects and analyzes arbitrage opportunities across cryptocurrency exchanges and DeFi protocols. Finding Arbitrage Opportunities is an agent skill from aAAaqwq/AGI-Super-Team. This skill detects and analyzes arbitrage opportunities across cryptocurrency exchanges and DeFi protocols.

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 aAAaqwq/AGI-Super-Team --skill finding-arbitrage-opportunities -a claude-code`. Or copy the skill folder (skills/arbitrage-opportunity-finder in aAAaqwq/AGI-Super-Team) 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 aAAaqwq/AGI-Super-Team --skill finding-arbitrage-opportunities -a codex`. Or copy the skill folder (skills/arbitrage-opportunity-finder in aAAaqwq/AGI-Super-Team) 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 aAAaqwq/AGI-Super-Team --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, the command-line tools its instructions call (python) and credentials named BINANCE_API_KEY and COINBASE_API_KEY. Our summary lists: Python 3; A credential in BINANCE_API_KEY; A credential in COINBASE_API_KEY. Its frontmatter pre-approves these tools: Read, Write, Edit, Grep, Glob, Bash(crypto:arbitrage-*).

Does Finding Arbitrage Opportunities access the network?

SKILL.md names 5 domains. In commands or code: api.coingecko.com; the agent is likely to contact it when it follows the instructions. As links in the text: coingecko.com, github.com, thegraph.com and etherscan.io. 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.6k tokens (SKILL.md is roughly 6.6k 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 7.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: Technical Analyst (tradermonty/claude-trading-skills, 3k stars), Polyclaw (chainstacklabs/polyclaw, 359 stars), Longbridge Research (helsome/folio, 271 stars) and Stock Analysis (24mlight/StockClaw, 101 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?

aAAaqwq (a GitHub user) maintains it in aAAaqwq/AGI-Super-Team, which has 105 GitHub stars. The repository holds 167 skills in this directory. The repository was last updated on October 8, 2026.

Source: aAAaqwq/AGI-Super-Team on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.