trade
Execute live DEX trades on MAINNET via the ChainGPT plugin.
Skill by jiayaoqijia
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jiayaoqijia-trade
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: finance
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/trade
What's inside
- Skill name
trade- Description
- Execute live DEX trades on MAINNET via the ChainGPT plugin. EVM swaps via OpenOcean (default, no key, 10 mainnets), 1inch v6 (key-gated, better blue-chip routing), or CoW Protocol (MEV-protected intent-based for large trades). Solana swaps via Jupiter. Custody-free — the plugin builds unsigned tx / EIP-712 intent, the user signs externally. Mandatory pre-flight: chaingpt_risk_token on the buy token + a quote tool before any build/create tool. Triggers: swap, trade, buy, sell, exchange, dex, jupiter, openocean, 1inch, cow, cowswap, mev protection, 0x, paraswap, slippage, swap on ethereum, swap on base, swap on solana.
- License
- AGPL-3.0
- Instructions
- 93 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: "trade" does not match folder "chaingpt-org-official-trade"
Files (4)
- LICENSE
- SKILL.md
- SOURCE.md
- TRUST.auto.yaml
SKILL.md (first lines)
# ChainGPT Trade Skill
You execute real mainnet DEX trades on behalf of the user. **The plugin never holds keys.** Your job is to:
1. Run the pre-flight checks the user expects from a serious trading interface.
2. Build the unsigned transaction.
3. Hand it to the user's wallet to sign.
## The mandatory pipeline (EVM)
```
chaingpt_research_token — confirm the user is buying the token they think
chaingpt_risk_token — GoPlus + Honeypot check on the OUT token (MANDATORY)
chaingpt_dex_quote — expected output, price impact, route
│ (surface to user with USD-denominated cost and slippage)
▼
chaingpt_dex_approve_tx — if inToken is ERC-20 and current allowance is insufficient (requires acknowledgeMainnet: true — approvals delegate spend authority)
│ (user signs + broadcasts the approval)
▼
chaingpt_dex_build_swap_tx — REFUSES mainnet unless acknowledgeMainnet=true
│ (user signs + broadcasts the swap)
▼
chaingpt_onchain_tx hash=… — confirm execution, surface received-amount
```
Pipeline for Solana is identical but two-step (no approval needed):
```
chaingpt_risk_token (on Solana outToken)
chaingpt_dex_jupiter_quote
chaingpt_dex_jupiter_build_swap_tx (requires acknowledgeMainnet)
```
## Hard rules for mainnet
1. **NEVER call `chaingpt_dex_build_swap_tx` with `acknowledgeMainnet: true`** unless the user has explicitly confirmed they want to swap on mainnet *with the specific amounts and tokens you echoed back*.
2. **ALWAYS surface the price impact and USD cost** from `chaingpt_dex_quote` before asking for confirmation.
3. **If `chaingpt_risk_token` raises a honeypot or cannot-sell-all flag, REFUSE the swap.** Surface the flag and require an explicit user override before re-running.
4. **For >$1,000 trades, also call `chaingpt_audit_contract`** on the outToken's contract if it's a freshly-deployed or unverified contract. The audit gate is the ChainGPT-native moat.
5. **For ERC-20 swaps, always insert the approval step.** Skipping approval is the single most common cause of failed swaps.
## What the build-tx response looks like
`chaingpt_dex_build_swap_tx` returns:
```json
{
"chainId": 8453,
"to": "0x6352a56caadc4f1e25cd6c75970fa768a3304e64", // OpenOcean router on Base
"data": "0x90411a32…",
"value": "0x0", // non-zero for native-in swaps
"gas": "0x4c4b40",
"gasPrice": "0x4a817c800"
}
```
The user pastes this into MetaMask's "send transaction" / Rabby's import-tx feature, or programmatically calls `wallet.sendTransaction(tx)` if they have a script.
## Network coverage
EVM: ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, blast, linea, scroll.
Solana: mainnet only.
## What this skill does NOT do
- It does not custody funds. The plugin never sees the private key.
- It does not execute the trade autonomously. The user must sign in their wallet.
- It does not retry failed trades. If the swap reverts, the user is told what happened; the next attempt is a new call.
## Alternative aggregators (when OpenOcean isn't the right tool)
OpenOcean is the default because it's keyless and covers all 10 EVM chains. Two alternatives are wired in for specific use cases:
### 1inch v6 (`chaingpt_dex_1inch_quote` / `chaingpt_dex_1inch_swap_tx`)
- **When to use:** Better routing on Ethereum + L2s for large blue-chip pairs (USDC↔WETH, etc.) and when OpenOcean returns a worse quote.
- **Setup:** Requires `ONEINCH_API_KEY` (free tier at https://1inch.dev → Developer Portal). Without the key, the tool returns a setup hint and falls back to OpenOcean.
- **Networks:** ethereum, base, arbitrum, optimism, polygon, bsc, avalanche.
- **Approval target:** 1inch v6 router (returned in the quote response — use it as the `spender` for `chaingpt_dex_approve_tx`, with `acknowledgeMainnet: true`).
### CoW Protocol (`chaingpt_dex_cow_create_order` / `chaingpt_dex_cow_submit_signed_order`)
- **When to use:** Trades >$50k where MEV sandwich attacks would eat a meaningful slice of the trade. CoW uses an intent-based model — solvers compete to fill the order at the best price, and the executor pays gas.
- **Different signing flow:** The user signs an **EIP-712 order intent** (not a transaction). Then `chaingpt_dex_cow_submit_signed_order` POSTs it to the CoW API and returns an order UID trackable on https://explorer.cow.fi.
- **Approval target:** CoW **Vault Relayer** `0xC92E8bdf79f0507f65a392b0ab4667716BFE0110` (NOT the Settlement contract). One-time approval per token.
- **Networks:** ethereum, base, arbitrum_one. (No native ETH — wrap to WETH first.)
- **Hard rule:** Still gated on `acknowledgeMainnet=true`. Once signed and submitted, solvers WILL execute the order — there's no client-side broadcast step to cancel at.
## Credit accounting
Trading itself burns 0 ChainGPT credits — OpenOcean and Jupiter are free. The pre-flight `chaingpt_risk_token` is also free (GoPlus). The optional `chaingpt_audit_contract` step burns 1 credit. The credit funnel for this skill comes from upstream calls (research / news / signals) the user makes before deciding to trade.From jiayaoqijia/cryptoskill, AGPL-3.0.
More from jiayaoqijia/cryptoskill
- 0.635score
coinpilot-hyperliquid-copy-trade
jiayaoqijia
Automate copy trading on Hyperliquid via Coinpilot to discover, investigate, and mirror top on-chain traders in real time with low execution latency.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
bittensor-sdk
taoli
Complete Bittensor SDK reference — Subtensor, AsyncSubtensor, Metagraph, Axon, Dendrite, Synapse, chain_data models, extrinsics (sync + async), extras…
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
agent-wallet
jiayaoqijia
Give the AI agent its own EVM wallet with admin-controlled policies the agent CANNOT bypass even under prompt injection.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
bridge
jiayaoqijia
Cross-chain bridging via the ChainGPT plugin.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
tron
jiayaoqijia
Tron (TVM) support via the ChainGPT plugin — at parity with the EVM + Solana surfaces.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
update
jiayaoqijia
Check for and apply updates to the ChainGPT skill.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
playground
jiayaoqijia
Interactively test any ChainGPT API endpoint.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
dashboard
jiayaoqijia
Open the ChainGPT marketplace dashboard — a localhost web UI with six read-only panels (Overview, Wallet, Skills, Activity, Health, About).
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
debug
jiayaoqijia
Troubleshoot ChainGPT API errors and issues.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
defi
jiayaoqijia
Interact with DeFi protocols on MAINNET via the ChainGPT plugin.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
deploy
jiayaoqijia
Deploy Solidity contracts to MAINNET (or testnet) safely via the ChainGPT plugin.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
drift
jiayaoqijia
Read live Drift Protocol mainnet data — Solana's largest non-custodial perps DEX.
SkillBFreshness: B★ 75Claude Code +9
Signals
- Stars
- 75
- Forks
- 17
- Open issues
- 34
- Last commit (this folder)
- Sep 9, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- AGPL-3.0
- Repository
- github.com/jiayaoqijia/cryptoskill
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from jiayaoqijia
- 0.635score
coinpilot-hyperliquid-copy-trade
jiayaoqijia
Automate copy trading on Hyperliquid via Coinpilot to discover, investigate, and mirror top on-chain traders in real time with low execution latency.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
agent-wallet
jiayaoqijia
Give the AI agent its own EVM wallet with admin-controlled policies the agent CANNOT bypass even under prompt injection.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
playground
jiayaoqijia
Interactively test any ChainGPT API endpoint.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
dashboard
jiayaoqijia
Open the ChainGPT marketplace dashboard — a localhost web UI with six read-only panels (Overview, Wallet, Skills, Activity, Health, About).
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
debug
jiayaoqijia
Troubleshoot ChainGPT API errors and issues.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
defi
jiayaoqijia
Interact with DeFi protocols on MAINNET via the ChainGPT plugin.
SkillBFreshness: B★ 75Claude Code +9
Cite this page
trade skill. Agent Mart. https://agentmart.dev/skills/jiayaoqijia-trade (last updated 2026-10-24)