Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add nirholas/three.ws --skill dust-sweeping-defi-guidegit clone --depth 1 https://github.com/nirholas/three.wsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/nirholas/three.ws/dust-sweeping-defi-guide)<a href="https://agentmods.dev/skills/nirholas/three.ws/dust-sweeping-defi-guide"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/dust-sweeping-defi-guide/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/nirholas/three.ws/dust-sweeping-defi-guide"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/dust-sweeping-defi-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00053 | $0.01128 |
| Opus 5.5 | $0.00021 | $0.00451 |
| Sonnet 5.5 | $0.00011 | $0.00226 |
| Haiku 4.5 | $0.00005 | $0.00113 |
Grade A, and why
dust-sweeping-defi-guide scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DeFi Dust Sweeping Guide
Dust = small token balances scattered across wallets and chains that individually aren't worth the gas to move. This guide covers strategies to identify, consolidate, and redeploy dust efficiently.
What Is Dust?
| Token Type | Dust Threshold | Why It Exists |
|---|---|---|
| ERC-20 | < $5 in value | Partial swaps, airdrops, leftovers |
| Native tokens | < $1 | Gas refunds, micro-payments |
| LP tokens | < $10 | Withdrawn positions with dust |
| Reward tokens | < $5 | Unclaimed farming rewards |
| NFT gas refunds | < $0.50 | Failed mint refunds |
Dust Detection
Scan All Tokens
import { DustScanner } from '@nirholas/dust-sweeper';
const scanner = new DustScanner({
wallets: ['0xYourWallet'],
chains: ['ethereum', 'arbitrum', 'base', 'polygon', 'bsc'],
dustThreshold: 5.00 // USD value below which = dust
});
const dust = await scanner.scan();
console.log(`Found ${dust.totalTokens} dust tokens worth $${dust.totalValue}`);
Results
{
"totalTokens": 47,
"totalValue": 82.50,
"byChain": {
"ethereum": { "tokens": 12, "value": 35.00, "gasToSweep": 8.50 },
"arbitrum": { "tokens": 18, "value": 28.00, "gasToSweep": 0.15 },
"polygon": { "tokens": 10, "value": 12.00, "gasToSweep": 0.05 },
"bsc": { "tokens": 7, "value": 7.50, "gasToSweep": 0.08 }
}
}
Sweep Strategies
1. Gas-Efficient Batch Sweep
const strategy = scanner.calculateStrategy({
target: 'USDs', // Convert all dust to USDs
targetChain: 'arbitrum', // Consolidate on Arbitrum
minProfitRatio: 0.7, // Only sweep if 70%+ profit after gas
batchSize: 10, // Batch 10 approvals per tx
useMulticall: true // Use Multicall3 for batching
});
2. Same-Chain Consolidation
| Strategy | Gas Efficiency | Speed |
|---|---|---|
| Multicall batch | ★★★★★ | Fast |
| DEX aggregator | ★★★★ | Fast |
| 1inch Fusion | ★★★★★ | Slow (gasless) |
| Individual swaps | ★ | Fast |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 144 lines · 53 tokens per session scan A cf2ac87b1d45
dust-sweeping-defi-guide is a skill published in the GitHub repository nirholas/three.ws (287 stars, last pushed yesterday), licensed Apache-2.0. It adds 53 tokens to every session and 1,128 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
dust-sweeping-defi-guide compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dust-sweeping-defi-guidenirholas/three.ws | Skill | 287 | yesterday | Apache-2.0 | A | 53 | Claude Code, Codex |
| pay-x402-servicenirholas/x402-payments-mcp | Skill | 9 | 19d ago | Apache-2.0 | A | 51 | Claude Code |
| x402-proxycascade-protocol/x402-proxy | Skill | 10 | 4d ago | Apache-2.0 | A | 98 | Claude Code, Codex |
| birdeyesendaifun/skills | Skill | 128 | 4mo ago | Apache-2.0 | A | 64 | Claude Code, Codex |
| granite-pay-per-callnirholas/ibm-x402-mcp | Skill | 9 | 19d ago | Apache-2.0 | A | 49 | Claude Code |
| gblin-agent-treasurygblinproject/gblin-treasury-risk-regime | Skill | 1 | 11d ago | MIT | A | 133 | Claude Code |
| phantom-wallet-mcpsendaifun/skills | Skill | 128 | 4mo ago | Apache-2.0 | A | 41 | Claude Code, Codex |