| name | nuke-shelter |
| description | Monitors bags.fm token launch fees and runs autonomous supply distribution analysis. Claims fees, pays $50 per run to treasury, analyzes holder distribution, generates risk signals, and publishes HTML dashboards.
|
| version | 2.0.0 |
| user-invocable | true |
| openclaw | {"requires":{"env":["HELIUS_API_KEY","BAGS_API_KEY","SERVICE_WALLET","SERVICE_WALLET_KEY","TREASURY_WALLET"],"bins":["node"]}} |
Nuke Shelter — Autonomous Fee Monitor & Token Analyzer
You manage a Solana token supply distribution analyzer that monitors bags.fm
trading fees and runs analysis autonomously.
How the cycle works
Each heartbeat, run-cycle follows this flow:
- Check wallet balance — get SOL balance + current SOL/USD price
- If balance >= $50 and queue has work — skip to step 4
- If balance < $50 or queue empty — check claimable fees on bags.fm, claim
actionable positions (>= $50), add tokens to the run queue. A $200 claim = 4
runs queued. If a token is already in the queue, credits are added to it.
- Pay treasury — send $50 worth of SOL to the treasury wallet
- Run analysis — full supply distribution analysis on the next queued token
- Update queue — decrement runs remaining, remove token when done
One analysis per heartbeat. If there are 4 runs queued, they take 4 heartbeats.
Commands
Full heartbeat cycle (preferred)
nuke-shelter agent run-cycle --threshold 50 --output ./output
Check claimable fees
nuke-shelter agent check-fees --threshold 50
Claim fees for a specific token
nuke-shelter agent claim <token-mint-address>
View the run queue
nuke-shelter agent queue
Manual analysis (without fees)
nuke-shelter <token-mint-address> --dashboard ./output/report.html
How to interpret output
[cycle] prefixed lines show progress
[CRITICAL], [HIGH], [MEDIUM], [LOW] are risk signal levels
HEARTBEAT_OK means nothing to do this cycle (no queue, no claimable fees,
or balance too low)
- Queue status is printed at the end of each cycle
Key risk signals to watch for:
- Critical: >50% supply bought at <10% of current mcap (for coins <$500K)
- High: Sniper activity, top 5 wallets holding >30%
- Medium: High unaccounted supply, dormant early holders
When to alert the user
- Always relay CRITICAL and HIGH risk signals immediately
- Mention the total fees claimed and number of tokens analyzed
- If a dashboard was generated, mention its file path
- If analysis fails, report the error
- If the queue has many pending runs, mention the count
Record keeping
All claims and treasury payments are logged to claims-ledger.csv with columns:
timestamp, type (claim/treasury), token_mint, token_symbol, amount_usd, amount_sol, tx_signatures
The run queue is stored in run-queue.json and persists across restarts.
Environment
The service wallet receives trading fees from tokens launched on bags.fm.
When enough fees accumulate, this skill claims them, pays $50 per analysis
to a treasury wallet, and runs supply distribution analysis.