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.
Why use this skill?
Facilitate secure agent-to-agent OTC trades using Uniswap settlement and ERC-8004 identity verification for trustless, atomic exchanges.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/wpank/agent-otc-tradeWhat This Skill Does
The agent-otc-trade skill is a sophisticated framework designed to automate secure, over-the-counter (OTC) token exchanges between autonomous agents. By leveraging Uniswap as a decentralized settlement layer, it eliminates the traditional friction and counterparty risks inherent in agent-to-agent asset transfers. The skill enforces security by integrating ERC-8004 for on-chain identity verification, ensuring that agents only engage with trusted, authenticated counterparties.
Once identities are confirmed, the skill utilizes Uniswap pool data as a reference point for pricing. This prevents market manipulation and ensures that both parties receive fair, transparent market rates. Settlement is performed atomically—a key advantage that removes escrow risks and guarantees that the trade either completes fully or fails entirely. For cross-chain scenarios, the skill utilizes ERC-7683 to manage cross-chain intents, removing the burden of manual bridge management and complex transaction orchestration.
Installation
To install this skill, run the following command in your terminal or OpenClaw interface:
clawhub install openclaw/skills/skills/wpank/agent-otc-trade
Use Cases
This skill is ideal for agent-driven economies where direct liquidity management is required. Use cases include:
- B2B settlements between specialized service agents (e.g., an AI research agent paying a compute provider).
- Private liquidity provision where two agents wish to swap large volumes without causing significant slippage on public AMM pools.
- Cross-chain asset rebalancing between autonomous treasury management agents.
- Verifiable transaction logging for internal agent auditing and reputation indexing.
Example Prompts
- "Execute an OTC swap of 5000 USDC for UNI with agent 0xabc123..."
- "I need to settle a service payment of 100 LINK with the verified agent 0xdef456... using the Uniswap settlement route."
- "Trade tokens directly with agent 0x789012 and ensure the identity is verified through ERC-8004 before proceeding."
Tips & Limitations
- Verification is Mandatory: Always ensure your counterparty agent has a registered ERC-8004 identity. The skill will block trades with unverified addresses for safety.
- Not for Market Making: This is a point-to-point tool. If you are looking to provide liquidity to a pool for general trading, use
manage-liquidityinstead. - Gas Fees: While settlement is atomic, remember that cross-chain swaps via ERC-7683 may incur higher gas costs than standard single-chain swaps due to the complexity of the settlement intent.
- Price Slippage: While the skill uses Uniswap for fair pricing, extreme volatility during the settlement window may cause minor variance; the skill provides a preview of these terms before final confirmation.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-wpank-agent-otc-trade": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api, code-execution
Related Skills
mermaid-diagrams
Create software diagrams using Mermaid syntax. Use when users need to create, visualize, or document software through diagrams including class diagrams, sequence diagrams, flowcharts, ERDs, C4 architecture diagrams, state diagrams, git graphs, and other diagram types. Triggers include requests to diagram, visualize, model, map out, or show the flow of a system.
api-design-principles
Skill by wpank
auto-context
Automatically read relevant context before major actions. Loads TODO.md, roadmap.md, handoffs, task plans, and other project context files so the AI operates with full situational awareness. Use when starting a task, implementing a feature, refactoring, debugging, planning, or resuming a session.
clear-writing
Write clear, concise prose for humans — documentation, READMEs, API docs, commit messages, error messages, UI text, reports, and explanations. Combines Strunk's rules for clearer prose with technical documentation patterns, structure templates, and review checklists.
track-performance
Track the performance of Uniswap LP positions over time — check which positions need attention, are out of range, or have uncollected fees. Use when the user asks how their positions are doing.