$npx skillfedfor your agent

defi-trading-systems

DeFi Trading Systems guides you through building decentralized trading infrastructure focused on perpetual futures, automated market makers, and risk management. Learn position sizing, liquidation prevention, funding rate arbitrage, and MEV protection strategies to secure your trading operations.

DeFi Trading Systems helps you design perpetual futures trading systems with risk management and MEV protection.

AI-generated summary based on this skill's SKILL.md

14 6 Apache-2.0updated by organvm

Decision gist · record as of 2026-07-22

DeFi Trading Systems helps you design perpetual futures trading systems with risk management and MEV protection. DeFi Trading Systems guides you through building decentralized trading infrastructure focused on perpetual futures, automated market makers, and risk management. Learn position sizing, liquidation prevention, funding rate arbitrage, and MEV protection strategies to secure your trading operations.

manual: git clone https://github.com/organvm/a-i--skills → cp -r a-i--skills/skills/specialized/defi-trading-systems ~/.claude/skills/defi-trading-systems
skills/specialized/defi-trading-systems/SKILL.md · version 99288bd5

Use it when

  • DeFi Trading Systems covers perpetual futures architecture by combining leverage management with liquidation risk calculation.
  • DeFi Trading Systems addresses automated market maker (AMM) strategy design and concentrated liquidity approaches.

Verify before relying

Read SKILL.md below before installing (4 files). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

organvm/a-i--skills/defi-trading-systems · repository language: Python

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I build a DeFi trading bot?

DeFi Trading Systems provides comprehensive guidance for constructing automated trading infrastructure. Start by implementing core modules for perpetual futures execution, automated market maker strategies, and real-time risk monitoring. The system emphasizes position sizing frameworks, liquidation prevention through health metrics tracking, and MEV protection via private mempool submission to prevent frontrunning and sandwich attacks.

What's the best approach to perpetual futures trading system design?

DeFi Trading Systems covers perpetual futures architecture by combining leverage management with liquidation risk calculation. Design your system to monitor position health continuously, implement dynamic position sizing based on account equity, and establish liquidation price thresholds. Integrate funding rate monitoring to capture arbitrage opportunities between perpetual and spot markets, and use TWAP order execution for large positions to minimize slippage.

How can DeFi Trading Systems help with liquidity provision strategies?

DeFi Trading Systems addresses automated market maker (AMM) strategy design and concentrated liquidity approaches. Learn to calculate impermanent loss exposure, optimize fee tier selection, and manage capital allocation across price ranges. The system guides you through liquidity provision risk metrics, portfolio rebalancing triggers, and monitoring techniques to maintain healthy LP positions while capturing trading fees.

What risk management tools does DeFi Trading Systems include?

DeFi Trading Systems integrates position sizing frameworks, liquidation prevention metrics, and portfolio risk monitoring. Calculate Value-at-Risk (VaR), Sharpe ratios, and maximum drawdown thresholds. Monitor position health continuously, set automated stop-loss triggers, and implement drawdown-based deleveraging. Track cross-exchange funding rate spreads to identify basis trading opportunities while maintaining strict risk parameters.

How does DeFi Trading Systems protect against MEV and frontrunning?

DeFi Trading Systems emphasizes MEV protection through private mempool submission strategies and sandwich attack prevention. Integrate Flashbots or similar private relay services to hide trade intent from public mempool. Implement slippage tolerance limits, use batch auctions for order execution, and optimize gas pricing to reduce transaction visibility windows. These techniques secure your trading operations from extractive attacks.

What funding rate arbitrage opportunities can DeFi Trading Systems help capture?

DeFi Trading Systems guides you through funding rate arbitrage by monitoring perpetual-spot basis spreads across exchanges. Identify when funding rates diverge from fair value, execute basis trades by going long spot while shorting perpetuals, and automate position rebalancing. The system helps calculate breakeven points accounting for trading fees and gas costs, enabling profitable arbitrage execution.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

DeFi Trading Systems

This skill provides guidance for building decentralized finance trading systems, with focus on perpetual futures, automated market makers, and risk management.

Core Competencies

  • Perpetual Futures: Funding rates, leverage, liquidation mechanics
  • Automated Market Makers: Liquidity provision, impermanent loss
  • Risk Management: Position sizing, stop losses, portfolio hedging
  • MEV Protection: Sandwich attacks, frontrunning mitigation

DeFi Trading Fundamentals

Perpetual Futures Mechanics

``` Traditional Futures: Perpetual Futures: ┌─────────────────┐ ┌─────────────────┐ │ Expiry Date │ │ No Expiry │ │ Settlement │ │ Funding Rate │ │ Roll Cost │ │ Continuous │ └─────────────────┘

(truncated - see the full file via the links below)

File tree — 4 files
skills/specialized/defi-trading-systems/SKILL.md
skills/specialized/defi-trading-systems/references/amm-formulas.md
skills/specialized/defi-trading-systems/references/mev-protection.md
skills/specialized/defi-trading-systems/references/perpetual-mechanics.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Design and implement perpetual futures trading systems with risk management”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

Polymarket Mcp Server
by Aradotso · Aradotso/mcp-skills

This MCP server connects Claude to Polymarket prediction markets through 45 integrated tools spanning market discovery, analysis, trading execution, and portfolio oversight. It supports both read-only demo mode and full trading with configurable safety limits, WebSocket-based real-time monitoring, and AI-powered trade recommendations.

no license declared → metadata onlyupdated Jul 2026
★ 5repo stars
risk-management
by agiprolabs · agiprolabs/claude-trading-skills

Risk Management establishes a survival-first framework for protecting trading capital through drawdown thresholds, daily and weekly loss limits, and concentration controls across tokens and strategies. It includes automated circuit breakers triggered by consecutive losses or volatility spikes, recovery math tables, and crypto-specific safeguards for smart contract, rug pull, and MEV risks.

MITupdated Jun 2026
★ 248repo stars
portfolio-analytics
by agiprolabs · agiprolabs/claude-trading-skills

Portfolio Analytics calculates comprehensive performance metrics from equity curves and trade logs, including returns, volatility, value-at-risk, Sharpe and Sortino ratios, maximum drawdown, and trade-level statistics. Generate rolling analysis windows and investor-ready performance summaries to evaluate strategy performance against benchmarks.

MITupdated Jun 2026
★ 248repo stars
perp-funding-basis
by HKUDS · HKUDS/Vibe-Trading

This skill decodes perpetual futures funding mechanics to spot carry trade setups and leverage extremes. It covers funding rate regimes, annualized basis signals, delta-neutral trade construction, and cross-exchange arbitrage spreads—all grounded in real microstructure data from OKX and other venues.

MITupdated Jul 2026
★ 28,096repo stars
monorepo-devops-pack
by organvm · organvm/a-i--skills

This skill equips Claude Code with production-ready patterns for orchestrating monorepo environments through containerization and deployment automation. It streamlines infrastructure setup and scaling across distributed services, enabling faster iteration on complex multi-project architectures.

Apache-2.0for claude-code, codex, geminiupdated Jul 2026
★ 14repo stars
monorepo-management
by organvm · organvm/a-i--skills

This skill equips Claude Code with the ability to initialize, structure, and maintain monorepo architectures using modern workspace tools and automation. It handles dependency management, task orchestration, and cross-package coordination to streamline development workflows across multiple interconnected projects.

Apache-2.0for claude-code, codex, geminiupdated Jul 2026
★ 14repo stars

More skills social-media-api-integration (Apache-2.0) · socratic-tutor (Apache-2.0) · crypto-derivatives (MIT)

Tags
perpetual-derivativesliquidity-miningautomated-executionslippage-controlleverage-managementarbitrage-strategieson-chain-hedgingtransaction-privacyportfolio-optimization