create-test-pool
Deploy a custom Uniswap pool on the local testnet with configurable parameters. Create pools with specific conditions (thin liquidity, wide spreads, exact tick ranges) to test agent behavior under controlled scenarios. Requires a running local testnet.
Why use this skill?
Deploy Uniswap V2 and V3 pools on local testnets with natural language. Automate liquidity, fee tiers, and price settings for agent testing.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/wpank/create-test-poolWhat This Skill Does
The create-test-pool skill is a powerful developer utility designed to streamline the deployment of Uniswap liquidity pools on local development networks (like Anvil or Hardhat). Traditionally, deploying a Uniswap V3 pool involves complex Solidity interactions: calculating the sqrtPriceX96 value, deriving tick ranges, handling token approvals, and managing liquidity provisioning. This skill automates the entire lifecycle, allowing you to create pools using natural language prompts. It handles token resolution, ensures correct sorting, and calculates the math behind liquidity provision, saving developers hours of manual boilerplate work.
Installation
To integrate this skill into your OpenClaw agent, use the following command:
clawhub install openclaw/skills/skills/wpank/create-test-pool
Ensure that you have an active local testnet environment running before invoking the skill. The skill is designed to interact directly with the local JSON-RPC provider to deploy and verify pool contracts immediately.
Use Cases
The primary value of this skill lies in creating repeatable, controlled environments for testing agent behavior. Whether you are testing an arbitrage bot or a sophisticated swap strategy, you need to be able to set up edge cases. For instance, creating a pool with extreme thin liquidity allows you to simulate high-slippage conditions. Setting up specific fee tiers (like 0.01% for stablecoins or 1% for volatile assets) helps test price impact calculations. Because the skill supports automatic funding through whale impersonation, you don't need to manually mint fake test tokens for the pool deployer, making it ideal for CI/CD pipelines and rapid prototyping.
Example Prompts
- "Create a WETH/USDC pool on V3 with 0.05% fee and $5,000 in liquidity at an initial price of 2500."
- "Deploy a test pool for WBTC/USDT on V3 with thin liquidity to test high slippage behavior."
- "Set up a DAI/USDC V2 pair for local integration testing."
Tips & Limitations
- Pre-requisites: This skill will fail if a local testnet is not active. Always initialize your environment using
setup-local-testnetbefore proceeding. - Precision: While the skill automates tick calculation, power users can manually define
tickLowerandtickUpperfor advanced range-bound liquidity strategies. - Verification: Always follow up a successful deployment with the
get_pool_infoskill to retrieve the deployed contract address and current state, ensuring the pool parameters match your expectations. Avoid using this on live mainnet networks, as it is strictly intended for controlled development environments.
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-create-test-pool": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: code-execution, network-access
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.