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★ 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:
- 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.
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) │ │
│ └─────────────────────────────────────────
Установить agent-otc-trade в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Task(subagent_type:trade-executor)Task(subagent_type:identity-verifier)mcp__uniswap__get_quotemcp__uniswap__get_token_pricemcp__uniswap__get_pool_infomcp__uniswap__get_agent_balancemcp__uniswap__execute_swapmcp__uniswap__submit_cross_chain_intentmcp__uniswap__check_safety_statusВложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic