Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

agent-otc-trade

БесплатноБез исполняемых скриптовНе проверен

Facilitate over-the-counter trades between agents using Uniswap as the settlement layer. Use when user wants to trade tokens directly with another agent…

modbenderот modbender★ 21 звезда на GitHub

Об этом скилле

Agent OTC Trade

Overview

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:

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.

When to Use

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).

Parameters

Parameter Required Default How to Extract
counterpartyAgent Yes -- Counterparty address (0x...) or ERC-8004 identity
tokenSell Yes -- Token you are selling: "USDC", "UNI", or 0x address
tokenBuy Yes -- Token you are buying: "ETH", "UNI", or 0x address
amount Yes -- Amount to sell: "1000 USDC", "50 UNI", "$5,000 worth"
chain No ethereum Settlement chain: "ethereum", "base", "arbitrum"
settlementMethod No direct-swap "direct-swap", "intent" (ERC-7683 cross-chain)
maxPremium No 1% Max acceptable premium/discount vs pool price
requireVerified No true Require 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.

Workflow

                        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)   │                       │
  │  └─────────────────────────────────────────
Полный SKILL.md на GitHub

Установить agent-otc-trade в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Task(subagent_type:trade-executor)
Task(subagent_type:identity-verifier)
mcp__uniswap__get_quote
mcp__uniswap__get_token_price
mcp__uniswap__get_pool_info
mcp__uniswap__get_agent_balance
mcp__uniswap__execute_swap
mcp__uniswap__submit_cross_chain_intent
mcp__uniswap__check_safety_status

Вложенные файлы

README.md

FAQ

Что делает скилл agent-otc-trade?

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.

Как установить скилл agent-otc-trade?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл agent-otc-trade запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить agent-otc-trade с