1458/dust-sweeper/SKILL.md
Scan a wallet for small-balance ERC-20 or SPL tokens ('dust') and swap them to ETH/USDC/SOL via Odos (EVM) or Jupiter (Solana). Use when the user says 'sweep my dust', 'clean up my wallet', 'sell my small token balances', or asks what tiny holdings they have. Supports Ethereum, Base, Arbitrum, and Solana.
npx skillsauth add starchild-ai-agent/community-skills @1458/dust-sweeperInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Identify and swap low-value tokens ("dust") to ETH, USDC, USDT, or SOL — across EVM chains and Solana. Uses Odos for EVM (batch-optimized, better execution than 1inch for multi-token sweeps) and Jupiter for Solana. No middlemen, no discount haircut, no 24h wait.
Before executing any swaps or approvals, the wallet policy must be active.
Load the wallet-policy skill and propose the standard wildcard policy
(deny key export + allow *). This covers all Odos approvals and swaps.
| Chain | Aggregator | Native Output | |---|---|---| | Ethereum mainnet | Odos | ETH | | Base | Odos | ETH | | Arbitrum | Odos | ETH | | Solana | Jupiter | SOL |
Ask the user which chain(s) to scan. Default: all chains (scan everything, sweep what's profitable).
EVM chains (Ethereum, Base, Arbitrum):
wallet_balance(chain=<chain>) without an asset filter for each chain — returns ALL tokens with non-zero balances.cg_token_price(platform=<chain>, contract_addresses=<address>) for price.Solana:
wallet_sol_balance() without an asset filter — returns ALL SPL tokens.cg_token_price(platform="solana", contract_addresses=<mint_address>).Show the user the full dust inventory before executing anything.
Format: chain | token symbol | balance | USD value
For each dust token:
dst = native ETH (0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) or USDC/USDT if user prefers.outputMint = SOL or USDC.quoted_output_usd < gas_cost_usd + MIN_PROFIT_USD (default MIN_PROFIT = $2).L2 advantage: On Base and Arbitrum, gas is cheap enough ($0.10–0.50) that tokens as small as ~$3–5 can be worth sweeping.
EVM (Odos):
odos_approve(chain=<chain>, token_address=...) — approve Odos router.odos_swap(chain=<chain>, input_token=token_address, output_token=0xEeee..., amount=..., slippage=2.0).Solana (Jupiter):
wallet_sol_transfer.Report per chain:
Final line: "Swept N tokens across X chains, recovered ~$Y in ETH/SOL."
| Parameter | Default | Notes | |---|---|---| | Dust threshold | $50 USD | Tokens above this are NOT dust | | Min profit after gas | $2 USD | Skip swaps that barely cover gas | | Slippage | 2% | Dust tokens often have thin liquidity | | Output token (EVM) | Native ETH | Or USDC/USDT if user prefers | | Output token (Solana) | SOL | Or USDC | | Chains to scan | All (ETH + Base + ARB + SOL) | User can narrow to specific chains |
Native ETH (all EVM chains): 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE
Ethereum mainnet:
0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc20xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB480xdAC17F958D2ee523a2206206994597C13D831ec7Base:
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913Arbitrum:
0xaf88d065e77c8cC2239327C5EDb3A432268e5831Solana:
EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1vSo11111111111111111111111111111111111111112Odos vs 1inch: Odos is optimized for multi-token routing and typically gives better execution on dust sweeps with thin liquidity. Prefer Odos for EVM. If Odos is unavailable, fall back to 1inch with same parameters.
Unpriced tokens: If CoinGecko returns no price and Odos/Jupiter return no quote, skip — don't waste gas on un-routable tokens.
Fee-on-transfer tokens: If a swap fails, log the error and move on. Don't abort the whole sweep.
Batch vs single: Odos PathFinder can handle multi-input single-output routes (many tokens → ETH in one tx). Use this when available — it's significantly cheaper on mainnet.
Approvals are permanent. Unlimited approvals to Odos router are standard practice. Offer exact-amount approvals if user is security-conscious.
Gas spikes (mainnet): If ETH gas > 30 gwei, warn the user. L2 sweeps (Base, Arbitrum) are almost always worth it regardless. Offer to schedule mainnet sweep for off-peak hours.
Don't touch tokens the user might want. Always confirm the sweep list before Phase 3. Never auto-execute without showing the inventory first.
Solana dust is cheap to sweep. At ~$0.001/tx, even $1 tokens can be worth sweeping on Solana. Lower the MIN_PROFIT threshold to $0.50 for Solana by default.
If the user says "what dust do I have?" or "show me my dust" without asking to sweep — run Phase 1 + Phase 2 only. Show the inventory and what would be profitable to sweep, but don't execute Phase 3.
For recurring sweeps (e.g. "sweep my dust every Sunday"), use schedule_task with cron 0 10 * * 0 (Sunday 10am UTC). Note: wallet policy must be persistent. L2 chains are good candidates for frequent scheduled sweeps given low gas costs.
development
OpenSea API integration for NFT and token discovery, marketplace intelligence, and order/transaction workflows. Use when working with OpenSea data or trading flows (e.g. collection stats, trending collections/tokens, NFT metadata, listings/offers, swap quotes, transaction receipt polling).
development
Generate a warm, healing parallel-universe fairy tale (~1000 words) plus 3 cohesive storybook illustrations, themed "if this person had never been born, what would the world miss." Output is a polished HTML storybook that can be previewed and published. Use when the user wants a personalized "if I had never been born" / "如果我没出生" tale for a real person — input is a name, age, and 3 key life events. Great for birthdays, memorials, encouragement gifts, or healing keepsakes.
development
Onboard a user to Phala Cloud and deploy a verifiable Starchild TEE agent — a minimal FastAPI runtime running inside an Intel TDX confidential VM, plus a published chat dashboard with attestation verification. Use when the user wants to "try TEE", "run an agent in a confidential VM", "deploy to Phala", or replicate the internal Starchild TEE test setup.
tools
Trade on Polymarket prediction markets (CLOB V2) from a Privy EOA wallet. Search markets, place/cancel orders, manage positions. No private key handling. Use when the user wants to bet on event outcomes (e.g. "buy YES at 0.65 on the ceasefire market", "what are my open positions", "close my Trump bet").