Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Facilitate over-the-counter trades between agents using Uniswap as the settlement layer. Use when user wants to trade tokens directly with another agent, settle an agent-to-agent trade through Uniswap, or execute an OTC swap with a specific counterparty agent. Verifies counterparty identity via ERC-8004, negotiates terms, and settles through Uniswap pools.
Facilitate over-the-counter trades between agents using Uniswap as the settlement layer. Use when user wants to trade tokens directly with another agent, settle an agent-to-agent trade through Uniswap, or execute an OTC swap with a specific counterparty agent. Verifies counterparty identity via ERC-8004, negotiates terms, and settles through Uniswap pools.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
Facilitates over-the-counter trades between agents using Uniswap as the trustless settlement layer. Instead of agents manually coordinating trades through ad-hoc channels, verifying each other's identity, agreeing on prices, and handling settlement independently, this skill provides a structured pipeline: verify counterparty identity via ERC-8004, agree on terms using Uniswap pool prices as the reference rate, and settle atomically through Uniswap pools. Why this is 10x better than manual agent-to-agent trading: Counterparty verification: Before any trade, the counterparty agent's identity is verified via ERC-8004 on-chain registries. Without this, agents trade blindly -- trusting addresses they've never interacted with. The skill checks identity, reputation score, and trust tier, refusing to trade with unverified agents. Fair pricing via Uniswap oracle: OTC trades use Uniswap pool prices as the reference rate, preventing either party from proposing unfair terms. The skill shows the current pool price, the proposed OTC price, and the premium/discount so both parties have full transparency. Atomic settlement: Trades settle through Uniswap pools in a single transaction. No escrow risk, no counterparty default risk, no partial fills. The pool provides guaranteed liquidity at the agreed price. Cross-chain support: For agents on different chains, settlement uses ERC-7683 cross-chain intents. Without this skill, cross-chain OTC trades require manual bridge coordination -- a multi-step process prone to stuck transactions and timing mismatches. Audit trail: Every OTC trade is recorded with counterparty identity, agreed terms, settlement transaction, and fees. This creates a verifiable history for reputation building and dispute resolution.
Activate when the user says anything like: "Trade tokens directly with another agent" "Settle an agent-to-agent trade through Uniswap" "Execute an OTC swap with agent 0x..." "Buy tokens from agent 0x... using Uniswap" "Set up a direct trade with a counterparty agent" "OTC trade 1000 USDC for UNI with agent 0x..." "Settle a service payment with another agent via Uniswap" Do NOT use when the user wants a regular swap without a specific counterparty (use execute-swap instead), wants to provide liquidity (use manage-liquidity instead), or wants to find trading opportunities (use scan-opportunities instead).
ParameterRequiredDefaultHow to ExtractcounterpartyAgentYes--Counterparty address (0x...) or ERC-8004 identitytokenSellYes--Token you are selling: "USDC", "UNI", or 0x addresstokenBuyYes--Token you are buying: "ETH", "UNI", or 0x addressamountYes--Amount to sell: "1000 USDC", "50 UNI", "$5,000 worth"chainNoethereumSettlement chain: "ethereum", "base", "arbitrum"settlementMethodNodirect-swap"direct-swap", "intent" (ERC-7683 cross-chain)maxPremiumNo1%Max acceptable premium/discount vs pool pricerequireVerifiedNotrueRequire ERC-8004 verified counterparty (true/false) If the user doesn't provide counterpartyAgent, tokenSell/tokenBuy, or amount, ask for them -- never guess OTC trade parameters.
AGENT OTC TRADE PIPELINE ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β β β Step 1: VERIFY COUNTERPARTY β β βββ Check ERC-8004 identity registry β β βββ Query reputation score β β βββ Determine trust tier (unverified/basic/verified/trusted) β β βββ Output: Identity report + trust decision β β β β β βΌ IDENTITY GATE β β βββββββββββββββββββββββββββββββββββββββββββββ β β β trusted/verified -> Proceed β β β β basic -> Warn, ask user β β β β unverified -> STOP (if required) β β β βββββββββββββββββββββββββββββββββββββββββββββ β β β β β βΌ β β β β Step 2: PRICE DISCOVERY β β βββ Get current Uniswap pool price for the token pair β β βββ Get quote at the OTC trade size β β βββ Calculate fair OTC price (pool price + spread) β β βββ Output: Reference price + OTC terms β β β β β βΌ β β β β Step 3: TERMS AGREEMENT β β βββ Present terms to user: price, amounts, fees, settlement method β β βββ Compare OTC price vs pool price (premium/discount) β β βββ Show total cost including gas and slippage β β βββ User must explicitly confirm β β β β β βΌ β β β β Step 4: SETTLEMENT β β βββ Check wallet balance and approvals β β βββ Execute swap via trade-executor (or cross-chain intent) β β βββ Verify settlement on-chain β β βββ Output: Settlement confirmation + tx hash β β β β β βΌ β β β β Step 5: RECORD & REPORT β β βββ Record trade in OTC history β β βββ Log counterparty, terms, settlement tx β β βββ Output: Full OTC trade report β β β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Call mcp__uniswap__get_token_price for both tokens to establish USD values. Call mcp__uniswap__get_pool_info for the token pair to get the current pool price. Call mcp__uniswap__get_quote at the OTC trade size to determine actual execution price including slippage. Step 2/5: Price Discovery Token Pair: USDC / UNI Pool Price: 1 UNI = $7.10 (USDC/UNI 0.3% V3) Pool TVL: $42M Quote at Size: 1000 USDC -> 140.65 UNI (impact: 0.08%) OTC Reference Rate: $7.10 per UNI Your Trade: 1000 USDC -> ~140.85 UNI Proceeding to terms agreement...
Present the complete trade terms for user confirmation: OTC Trade Terms You Sell: 1,000 USDC You Receive: ~140.85 UNI ($999.90) Counterparty: 0x1234...abcd (VERIFIED, rep: 78/100) Pricing: Pool Rate: $7.10 per UNI OTC Rate: $7.10 per UNI (0.00% premium) Slippage: ~0.08% Gas Est: ~$5.00 Settlement: Method: Direct swap via Uniswap V3 Chain: Ethereum Pool: USDC/UNI 0.3% Proceed with this OTC trade? (yes/no) Only proceed to Step 4 if the user explicitly confirms. If the OTC price deviates from the pool price by more than maxPremium, warn the user: WARNING: OTC rate ($7.25/UNI) is 2.1% above pool rate ($7.10/UNI). This exceeds your max premium of 1%. Proceed anyway? (yes/no)
Step 5/5: OTC Trade Complete Settlement: Sold: 1,000 USDC Received: 140.85 UNI ($999.90) Slippage: 0.07% Gas: $4.80 Tx: https://etherscan.io/tx/0x... Counterparty: Agent: 0x1234...abcd Trust: VERIFIED (78/100) OTC Terms vs Market: Pool Rate: $7.10/UNI Actual: $7.10/UNI (0.00% premium)
Agent OTC Trade Complete Trade: Sold: 1,000 USDC Received: 140.85 UNI ($999.90) Counterparty: 0x1234...abcd (VERIFIED) Settlement: Direct swap via USDC/UNI 0.3% (V3) Chain: Ethereum Tx: https://etherscan.io/tx/0x... Pricing: Pool Rate: $7.10/UNI Actual Rate: $7.10/UNI Premium: 0.00% Slippage: 0.07% Gas: $4.80 Counterparty Verification: ERC-8004: Registered, VERIFIED tier Reputation: 78/100 Trade History: 142 completed, 0 disputes
Agent OTC Trade -- Blocked Counterparty: 0x5678...efgh ERC-8004: NOT REGISTERED Trust Tier: UNVERIFIED Trade blocked: Counterparty is not ERC-8004 verified. Your policy requires verified counterparties (requireVerified=true). Suggestions: - Ask the counterparty to register on ERC-8004 - Use /verify-agent to check their status - Set requireVerified=false to trade with unverified agents (not recommended)
Counterparty verification is the key safety feature. ERC-8004 identity checks prevent trading with malicious or unknown agents. The default requireVerified=true is strongly recommended. Settlement happens through Uniswap pools, not peer-to-peer. Both agents interact with the Uniswap pool independently. This means the trade is atomic and trustless -- neither party can default. The counterparty does not need to be online simultaneously. Since settlement is through a pool, your agent executes its side of the trade independently. The "OTC" aspect is the agreed-upon terms and counterparty verification, not a literal peer-to-peer atomic swap. Price reference prevents unfair terms. The Uniswap pool price serves as an objective reference rate. The maxPremium parameter (default 1%) prevents accepting trades at significantly worse-than-market rates. Cross-chain OTC trades use ERC-7683 intents. For agents on different chains, the skill uses submit_cross_chain_intent for settlement. This adds bridge latency but enables cross-chain agent commerce. All OTC trades are logged. Trade details (counterparty, terms, settlement tx) are recorded for reputation building and audit purposes. This skill settles YOUR side of the trade. The counterparty agent is responsible for their own execution. In practice, both agents use this skill independently to settle their respective sides through the same Uniswap pool.
This skill relies on Uniswap MCP tools for pricing, pool data, quotes, balances, and cross-chain intents. When used in isolation (for example, from a skills catalog), ensure the Agentic Uniswap MCP server is running: Repo: Agentic-Uniswap MCP server Package: @agentic-uniswap/mcp-server
ErrorUser-Facing MessageSuggested ActionCounterparty unverified"Counterparty agent is not ERC-8004 verified."Ask counterparty to register, or disable checkCounterparty not found"Could not find agent at address {addr}."Verify the address is correctNo pool for pair"No Uniswap pool found for {tokenSell}/{tokenBuy} on {chain}."Try a different chain or intermediate tokenPremium too high"OTC rate deviates {X}% from pool rate, exceeding {maxPremium}% limit."Renegotiate terms or increase maxPremiumInsufficient balance"Insufficient {tokenSell} balance: have {X}, need {Y}."Fund wallet or reduce trade amountSettlement failed"OTC settlement via Uniswap failed: {reason}."Check liquidity, gas, and retryCross-chain intent failed"Cross-chain settlement failed: {reason}."Check bridge status and retrySafety check failed"Trade exceeds safety limits."Check spending limits with check-safetyWallet not configured"No wallet configured. Cannot execute OTC trades."Set up wallet with setup-agent-walletIdentity service down"ERC-8004 registry unreachable. Cannot verify counterparty."Retry later or proceed with caution
Agent frameworks, memory systems, reasoning layers, and model-native orchestration.
Largest current source with strong distribution and engagement signals.