Synthèse automatique
Détecte et analyse les opportunités d’arbitrage sur les marchés crypto, y compris les écarts de prix entre CEX, DEX et chaînes, avec calcul du profit net après frais.
Points forts
- Agrège les prix de plusieurs exchanges et protocoles DeFi pour comparer rapidement les écarts.
- Identifie les chemins d’arbitrage triangulaire et les opportunités cross-chain avec frais de bridge.
- Fournit un calcul détaillé du profit net, des frais de trading/retrait et du seuil de rentabilité.
- Inclut un mode de surveillance en temps réel avec alertes au-delà d’un seuil de spread.
Limites
- Dépend de la disponibilité et de la latence des API externes ; les prix affichés peuvent ne plus être exécutables.
- Le skill analyse les opportunités mais ne passe pas les ordres ni ne garantit l’exécution des trades.
- Les coûts de gas, frais de bridge et taux d’API peuvent varier ou être estimés de façon approximative.
Utilisez ce skill lorsque vous voulez comparer des prix entre exchanges ou rechercher des spreads et chemins d’arbitrage crypto avec une estimation de profit net.
Ne l’utilisez pas si vous cherchez une exécution automatique des trades, une garantie de profit ou un conseil financier.
Analyse de sécurité
SûrThe skill is a read-only arbitrage scanner: it fetches public price data, computes spreads and fees, and prints/saves results. No file deletion, secret exfiltration, piped remote scripts, or safety-disabling content is present. The only notable observations are the expected network/API-key usage and a mismatch between the documented `python ...` commands and the narrowly scoped Bash allowlist — neither of which constitutes meaningful execution risk.
- •Declared Bash scope is narrow (Bash(crypto:arbitrage-*)) and no destructive, exfiltration, or obfuscated commands appear; all actions are read-only price queries and profit calculations.
- •Handles optional exchange API keys via environment variables but only describes exporting them locally; no instruction sends them to any third-party endpoint.
- •Performs outbound network calls to public price APIs (CoinGecko, CEX/DEX endpoints), which is expected and legitimate for this task.
- •Minor inconsistency: the documented invocations use `python {baseDir}/scripts/arb_finder.py ...`, which does not obviously match the `crypto:arbitrage-*` Bash allowlist prefix, so execution may be blocked or require broader permissions than declared.
Exemples
Find arbitrage opportunities for ETH/USDC across Binance, Coinbase, Kraken, KuCoin, and OKX, and show the net profit after fees.Scan DEX prices for ETH/USDC on Uniswap V3, SushiSwap, Curve, and Balancer, including estimated gas costs.Monitor the ETH/USDC spread every 5 seconds and alert me when the net opportunity exceeds 0.5%.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-*) 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, andnetworkxpackages - 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:
# 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:
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:
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:
python {baseDir}/scripts/arb_finder.py scan ETH USDC \
--exchanges binance,coinbase,kraken,kucoin,okx
Output includes: | Exchange | Bid | Ask | Spread | Net Profit | |----------|-----|-----|--------|------------| | Binance | 2541.20 | 2541.50 | 0.01% | - | | Coinbase | 2543.80 | 2544.10 | 0.01% | +$2.30 |
Step 4: DEX Price Comparison
Scan decentralized exchanges for arbitrage:
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:
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:
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:
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:
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:
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
Supported Exchanges
Centralized Exchanges (CEX)
| Exchange | Maker Fee | Taker Fee | Withdrawal | |----------|-----------|-----------|------------| | Binance | 0.10% | 0.10% | Variable | | Coinbase | 0.40% | 0.60% | Variable | | Kraken | 0.16% | 0.26% | Variable | | KuCoin | 0.10% | 0.10% | Variable | | OKX | 0.08% | 0.10% | Variable |
Decentralized Exchanges (DEX)
| DEX | Fee Range | Gas (ETH) | Chains | |-----|-----------|-----------|--------| | Uniswap V3 | 0.01-1% | ~150k | ETH, Polygon, Arbitrum | | SushiSwap | 0.30% | ~150k | Multi-chain | | Curve | 0.04% | ~200k | ETH, Polygon, Arbitrum | | Balancer | 0.01-10% | ~180k | ETH, 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
- CoinGecko API - Free price data
- CCXT Library - Unified exchange API
- Uniswap Subgraph - DEX data
- Gas Tracker - Ethereum gas prices
Du fichier au premier essai
Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.
Consulter la source et ses fichiers annexesCe téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.
1. Télécharger le fichier
Télécharger SKILL.mdDepuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/finding-arbitrage-opportunities-mm5t8cgy/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.
Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.
mkdir -p '.skill-downloads/finding-arbitrage-opportunities-mm5t8cgy' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/finding-arbitrage-opportunities-mm5t8cgy/download' --output '.skill-downloads/finding-arbitrage-opportunities-mm5t8cgy/SKILL.md.part' && mv '.skill-downloads/finding-arbitrage-opportunities-mm5t8cgy/SKILL.md.part' '.skill-downloads/finding-arbitrage-opportunities-mm5t8cgy/SKILL.md'2. Vérifier les prérequis
Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.
Outils déclarés par l’auteur (à vérifier dans votre agent) : Read, Write, Edit, Grep, Glob, Bash(crypto:arbitrage-*)
Extrait original : Prerequisites
Before using this skill, ensure you have:
- Python 3.9+ with
httpx,rich, andnetworkxpackages - 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
Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.
3. Charger la skill
Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.
Claude Code
test -f '.skill-downloads/finding-arbitrage-opportunities-mm5t8cgy/SKILL.md' && test -s '.skill-downloads/finding-arbitrage-opportunities-mm5t8cgy/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/finding-arbitrage-opportunities' && cp -R '.skill-downloads/finding-arbitrage-opportunities-mm5t8cgy' '.claude/skills/finding-arbitrage-opportunities'OpenSkills
OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.
Installation officielle d’OpenSkillsopenskills install './.skill-downloads/finding-arbitrage-opportunities-mm5t8cgy'openskills read 'finding-arbitrage-opportunities-mm5t8cgy'La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.
Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.
openskills syncMode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.
4. Faire un premier essai
Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :
Lis .skill-downloads/finding-arbitrage-opportunities-mm5t8cgy/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.
Créer des cartes interactives avec kepler.gl
Data & IA
Création de cartes interactives et export HTML autonome avec le package Python keplergl, à partir de données géospatiales (DataFrame, GeoJSON, CSV).
Optimisation de paramètres par agent
Data & IA
Guide d'optimisation de systèmes configurables avec objectif mesurable, via des essais bornés et une recommandation fondée sur des preuves.
Relance des visiteurs ICP
Data & IA
Identifiez les utilisateurs inscrits correspondant au profil client idéal mais qui n'ont pas activé, et rédigez des messages de relance personnalisés pour les réengager.