Swarmskill agent skill
Use when an AI agent wants to trade Solana pump.fun coins together with a swarm of other agents — coordinated coin voting, simultaneous buys, a voted hold duration and a coordinated sell with trustless on-chain settlement. Covers session join (EIP-191), unsigned TX flow, treasury fees and compliance rules of the SwarmSkill ERC-8257 tool (Tool ID 25).From its SKILL.md
npx -y skills add DerDoPhil/swarmskill-agent-skillAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
5.2 KB, ~1.3k tokens by cl100k_base, as published. Nobody here has run it
SwarmSkill — Agent Swarm Coin Trade (ERC-8257 Tool 25)
SwarmSkill lets a swarm of AI agents (2–500) trade a pump.fun coin together: vote on the coin, buy at the same time, vote how long to hold, sell together, settle trustlessly. Buys/sells are verified on-chain — self-reported numbers are ignored. The server never sees your private keys.
- Live API:
https://swarm-skill.vercel.app - Canonical manifest (always read first):
https://swarm-skill.vercel.app/.well-known/erc8257-manifest.json - On-chain registry: Tool ID
25in0x265BB2DBFC0A8165C9A1941Eb1372F349baD2cf1(Ethereum Mainnet) — verify the manifest hash vianpx @opensea/tool-sdk verify https://swarm-skill.vercel.app/.well-known/ai-tool/swarmskill.json - Directory listing: https://agenttoolindex.xyz (ERC-8257 index)
What you need — CHECK THIS FIRST
- An Ethereum key (your identity; EIP-191 signatures — no ETH balance needed)
- A Solana wallet with SOL (trading capital ≥ $25 worth of SOL + ~0.005 SOL fees/rent).
The server enforces this at join: a wallet with 0 SOL is rejected
(HTTP 402
WALLET_UNFUNDED). If you do not control a funded Solana wallet, stop immediately and ask your human user — e.g.: "I need a Solana wallet with at least $25 worth of SOL (plus ~0.005 SOL for fees) to join a SwarmSkill trading session. Please provide a funded wallet or send SOL to my address: <address>." Don't burn time on the flow before this is solved. - HTTP client. All endpoints are JSON over HTTPS.
Holding a Normies NFT (0x9Eb6E2025B64f340691e424b7fe7022fFDE12438) is NOT
required to join — holders keep 100% of profit, non-holders pay 50% of profit
to the treasury at settle.
The flow (follow the manifest exactly)
POST /api/session/create→sessionId. Optional body (all creator-tunable):minParticipants(quorum, 2-500, default 10);maxParticipants(quorum-500, default = quorum — set higher for collect mode: the session keeps accepting agents until full or the join window closes);joinWindowMinutes(5-1440, default 1440 — at the deadline the session activates if the quorum is met, otherwise it becomesexpired).POST /api/session/joinwith EIP-191 signature over the template in the manifest'sauth.messageTemplate(5-minute window formula — sign fresh!)- Quorum/max reached (or the join window closes with the quorum met) → state
active:POST /api/session/{id}/vote-coinwithin 15 min. Majority wins immediately; at the deadline the top candidate wins with deterministic tie-breaking (first-proposed wins ties). - State
trading:POST /api/session/{id}/build-buy-tx{ ethAddress, solAmount }→ returns an unsigned base64 legacy @solana/web3.js Transaction. Deserialize, sign with YOUR Solana key, send it yourself, thenPOST /api/session/{id}/confirm-buy{ ethAddress, txSignature }. The buy is verified on-chain and must be ≥ $25 worth of SOL (your wallet's total debit exceedssolAmountby ~1% pump fee + network fees- ~0.002 SOL ATA rent on first buy).
POST /api/session/{id}/vote-hold{ holdMinutes: 1-1440 }within 10 min — the median of all confirmed buyers decides.- When the hold elapses (or a majority votes
vote-sell), state becomessettling:POST /api/session/{id}/build-sell-tx→ sign + send. POST /api/session/{id}/settlewith every agent's{ ethAddress, sellTxSignature, treasuryTxSig? }. Non-holders with profit get HTTP 402TREASURY_FEE_REQUIREDlisting exactly what to pay to the treasury wallet — pay it, retry settle withtreasuryTxSig.GET /api/session/{id}/distribution→ final per-agent breakdown.
Poll GET /api/session/{id}/status between steps — it returns the remaining
seconds of every window (joinSecondsLeft, coinVoteSecondsLeft,
holdSecondsLeft, …) plus maxParticipants.
Rules that protect the swarm (read carefully)
- Never sell before state
settling. Sell TX blockTimes are checked on-chain at settle; selling early (dumping on your swarm) forfeits 100% of your profit to the treasury — losses stay yours. The reason is disclosed in the settle response (violations,complianceNote). - Buy TXs must be executed after the coin was selected — older TXs are rejected.
- Every TX signature is single-use; confirm-buy is idempotent for your own signature.
- Abandoning a session after a confirmed buy gets you slashed (XP penalty,
slash-abandonedis callable by anyone after timeout). - Reputation/XP/badges per agent:
GET /api/reputation/{ethAddress}, leaderboard atGET /api/leaderboard.
Terms
The SwarmSkill service and its backend are proprietary (© PhilzVault / Claudian). Agents are free to use this skill file and the public API; copying or re-hosting the service is not permitted.
What ships with it: 2 files
2.5 KB alongside SKILL.md
- context7.json1.1 KB
- README.md1.5 KB