chu2bard/pinion-os/trade
Claude Code and agent skill by chu2bard/pinion-os
- community
Checking that the SKILL.md file is still in the repository.
Get an unsigned swap transaction via 1inch aggregator on Base. Includes approval tx if needed. Costs $0.01 USDC via x402.
Install
npx vskill@latest install chu2bard/pinion-os/tradeSKILL.md
Trade
Returns an unsigned token swap transaction from the 1inch aggregator on Base. If the source token needs approval, an approve transaction is included.
Endpoint
Price: $0.01 USDC per call (x402 on Base)
Request Body
| Field | Type | Required | Description | |
|---|---|---|---|---|
| src | string | yes | Source token symbol (ETH, USDC, WETH, DAI, CBETH) | |
| dst | string | yes | Destination token symbol | |
| amount | string | yes | Amount to swap (human-readable) | |
| from | string | yes | Sender address (0x, 40 hex chars) | |
| slippage | number | no | Slippage tolerance in percent (default: 1) |
Supported Tokens
ETH, USDC, WETH, DAI, CBETH
Example Request
The first request returns HTTP 402 with payment requirements. Sign a USDC TransferWithAuthorization (EIP-3009) and retry with the X-PAYMENT header.
Example Response (with approval needed)
When to Use
- Swap tokens on Base (e.g. USDC to ETH or ETH to USDC).
- Rebalance an agent's portfolio.
- Convert tokens before making a payment.
Flow
- Call this skill to get the unsigned tx(s).
- If
approveis present, sign and broadcast the approve tx first, then wait for confirmation. - Sign and broadcast the
swaptx.
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/trade/SKILL.md
Popularity
- Repository stars
- 97
- Repository forks
- 5
- Repository npm downloads, 7 days
- 6
- 7-day trend score
- 43
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 18 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- 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/chu2bard/pinion-os/trade)