cyotee/cyotee-claude-plugin-crane/crane-uniswap
Claude Code and agent skill by cyotee/cyotee-claude-plugin-crane
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user asks about "Uniswap integration", "Uniswap V2 swap", "Uniswap V2 liquidity", "UniswapV2Service", "Uniswap V3", "Uniswap V4", "concentrated liquidity", or needs to interact with Uniswap DEX using Crane's service libraries.
Install
npx vskill@latest install cyotee/cyotee-claude-plugin-crane/crane-uniswapSKILL.md
The same SKILL.md was published earlier as cyotee/cyotee-claude-plugin-crane/crane-uniswap.
Crane Uniswap Integration
Crane provides Uniswap V2, V3, and V4 integration with services, stubs, libraries, and test infrastructure.
Components
| Component | Location | Purpose | |
|---|---|---|---|
UniswapV2Service | v2/services/UniswapV2Service.sol | V2 swap, deposit, withdraw operations | |
UniswapV2RouterAwareRepo | v2/aware/UniswapV2RouterAwareRepo.sol | Router dependency injection | |
UniswapV2FactoryAwareRepo | v2/aware/UniswapV2FactoryAwareRepo.sol | Factory dependency injection | |
TestBase_UniswapV2 | v2/test/bases/TestBase_UniswapV2.sol | Full protocol deployment | |
TestBase_UniswapV2_Pools | v2/test/bases/TestBase_UniswapV2_Pools.sol | Pool creation helpers | |
UniswapV3Factory | v3/UniswapV3Factory.sol | V3 factory stub | |
UniswapV3Pool | v3/UniswapV3Pool.sol | V3 pool implementation | |
UniswapV4Utils | v4/utils/UniswapV4Utils.sol | V4 utility functions | |
UniswapV4Quoter | v4/utils/UniswapV4Quoter.sol | V4 quote calculations |
Uniswap V2 (Standard 0.3% Fee)
Unlike Camelot's directional fees, Uniswap V2 uses a fixed 0.3% fee:
Quick Start: Execute V2 Swap
V2 Service Operations
Deposit (Add Liquidity)
Withdraw (Remove Liquidity)
Swap
Swap and Deposit (Zap In)
Withdraw and Swap (Zap Out)
Reserve Sorting
Testing V2
Uniswap V3 (Concentrated Liquidity)
Crane includes V3 pool and factory stubs with math libraries:
Uniswap V4 (Hooks)
Crane includes V4 utilities and quoter:
File Organization
Storage Slots (AwareRepos)
| Repo | Slot | |
|---|---|---|
| UniswapV2RouterAwareRepo | "protocols.dexes.uniswap.v2.router.aware" | |
| UniswapV2FactoryAwareRepo | "protocols.dexes.uniswap.v2.factory.aware" |
Additional Resources
Reference Files
- `references/uniswap-services.md` - Detailed patterns and examples
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/crane-uniswap/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cyotee/cyotee-claude-plugin-crane/crane-uniswap)