A powerful crypto trading skill that utilizes 1inch v5.2 API to find and execute the most cost-effective token swaps across multiple decentralized exchanges.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install 1inch
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install 1inch using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The 1inch DEX Aggregator skill is a sophisticated integration for AI agents designed to navigate the complex landscape of decentralized finance. By leveraging the 1inch v5.2 API, this skill allows agents to programmatically access deep liquidity and optimized routing across major blockchains including Ethereum, BSC, Polygon, and Arbitrum. It serves as a bridge between high-level trading intent and low-level blockchain execution.
Developers using Openclaw Skills can empower their agents to provide real-time pricing data, perform gas estimations, and generate transaction data for token swaps. The skill focuses on efficiency, ensuring users receive the best possible exchange rates by scanning hundreds of liquidity sources simultaneously.
To get started with this skill, you need an API key from the 1inch Developer Portal. Install the necessary dependencies using pip:
pip install requests
Initialize the client in your environment:
from oneinch_client import OneInchClient
client = OneInchClient(api_key="YOUR_1INCH_API_KEY")
The skill processes and returns structured data consistent with DeFi standards. Below are the key data structures:
| Object | Key Fields | Description |
|---|---|---|
| Token Info | symbol, address, decimals | Metadata for the assets being traded. |
| Quote | toTokenAmount, estimatedGas | The result of a price discovery query. |
| Transaction | data, to, value, gasPrice | The raw hex data required for blockchain execution. |
| Error | code, message | Standardized HTTP error responses (400, 401, 429). |
Loading
A professional learning consultant specialized in creating personalized, evidence-based study plans for major Chinese academic and professional examinations.

A specialized utility to prevent OpenClaw from stripping caching headers for third-party OpenAI-compatible API providers.

An autonomous AI agent designed to manage vendor payments, contractor invoices, and recurring bills across crypto and fiat channels with strict audit integrity.

A Retrieval-Augmented Generation (RAG) system designed to automate manufacturing cost estimation and CNC part quoting with high precision.

Enable AI-powered semantic search and vector indexing for multimedia files stored in Alibaba Cloud OSS buckets.

An expert-level big data engineering skill for multi-engine SQL development, data warehousing, and automated knowledge base maintenance.








































