trade
Skill7 starsChanged 53 days agoMITView on GitHub
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.
- Reads credentials
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Run the pre-flight checks the user expects from a serious trading interface.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ChainGPT Trade Skill
You execute real mainnet DEX trades on behalf of the user. The plugin never holds keys. Your job is to:
- Run the pre-flight checks the user expects from a serious trading interface.
- Build the unsigned transaction.
- 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-amountPipeline 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
- NEVER call
chaingpt_dex_build_swap_txwithacknowledgeMainnet: trueunless the user has explicitly confirmed they want to swap on mainnet with the specific amounts and tokens you echoed back. - ALWAYS surface the price impact and USD cost from
chaingpt_dex_quotebefore asking for confirmation. - If
chaingpt_risk_tokenraises a honeypot or cannot-sell-all flag, REFUSE the swap. Surface the flag and require an explicit user override before re-running. - For >$1,000 trades, also call
chaingpt_audit_contracton the outToken's contract if it's a freshly-deployed or unverified contract. The audit gate is the ChainGPT-native moat. - 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:
{
"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
spenderforchaingpt_dex_approve_tx, withacknowledgeMainnet: 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_orderPOSTs 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.
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- nirholas/three.ws★ 264same name
- zubair-trabzada/ai-trading-claude★ 240same name
- xhqing/DayTradingAgent★ 5same name
- ahmetenesdur/starkfi★ 2same name
- DevDizzle/gammarips-harness★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository23 other files it gives its agents.
- aaSkill
- agent-walletSkill
- baseSkill
- bridgeSkill
- chaingptSkill
- dashboardSkill
- debugSkill
- defiSkill
- deploySkill
- driftSkill
- hackathonSkill
- hyperliquidSkill
- playgroundSkill
- polymarketSkill
- researchSkill
- scheduled-autonomySkill
- securitySkill
- solanaSkill
- strategySkill
- tronSkill
- trustless-agentsSkill
- updateSkill
- x402Skill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

