defi-protocol-interaction

Execute DeFi actions with quotes, position data, and TVL metrics across supported protocols.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/Toby1009/SpoonOS-Agent-Example --skill defi-protocol-interaction
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: defi-protocol-interaction
Source: https://github.com/Toby1009/SpoonOS-Agent-Example/tree/main/.agent/skills/defi
Command: npx skills add https://github.com/Toby1009/SpoonOS-Agent-Example --skill defi-protocol-interaction

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires web3, and includes scripts (resource) components.

What problem does it solve?

Planning DeFi interactions across multiple protocols and chains can be complex and error-prone. This skill centralizes quotes, position checks, and TVL data to streamline decision making and automation.

Core Features & Use Cases

  • Quote retrieval across Uniswap, Aave, and Compound for swaps, lending, and borrowing.
  • Position analysis for Aave V3 across supported chains with health and liquidation risk assessment.
  • TVL and protocol metrics via DeFi Llama to compare protocols and track trends.

Quick Start

Ask for a Uniswap quote to swap 1 ETH for USDC on Ethereum.

Frequently Asked Questions about defi-protocol-interaction

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get a swap quote on Uniswap using Python?

To get a Uniswap swap quote using Python, you can use this skill to retrieve token swap pricing across Ethereum and compatible chains by executing script-driven actions with the web3 dependency.

Can I check my Aave V3 position health and liquidation risk programmatically?

Yes, you can check Aave V3 position health and liquidation risk programmatically. This skill provides position analysis across supported chains to assess your health factor and liquidation risk.

How do I retrieve TVL metrics for DeFi protocols like Curve and Compound?

You retrieve TVL metrics for DeFi protocols like Curve and Compound via DeFi Llama integration. This skill fetches protocol-level TVL data to compare protocols and track market trends.

Does this DeFi interaction tool require an RPC endpoint setup?

Yes, executing DeFi actions requires an environment-based RPC endpoint setup. This skill uses Python-based tooling with the web3 dependency to interact with Ethereum and other compatible chains.

What is the best way to automate lending and borrowing actions across multiple protocols?

The best way to automate lending and borrowing actions across multiple protocols is using composable, script-driven execution. This skill streamlines lending and borrowing quotes for Aave and Compound.

What limitations exist when analyzing DeFi positions across different chains?

Limitations when analyzing DeFi positions across different chains include protocol support and RPC access constraints. This skill supports position analysis specifically for Aave V3 across compatible chains using web3.