/agent-sniper:agent-sniperfrom agent-sniper
Arms pump.fun snipe strategies, checks engine status, and manages positions via the @three-ws/agent-sniper MCP server. Simulates by default; supports live trading on Solana with stop-loss, take-profit, and trailing stop.
Ships in agent-sniper. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
@three-ws/agent-sniper is a pump.fun sniper engine with a library, a CLI, an MCP server and an x402 paid HTTP API. This plugin starts the MCP server with npx -y @three-ws/agent-sniper mcp (Node 20 or newer). The engine reads PumpPortal's launch feed, scores each launch against armed strategies, runs guards and buys; open positions are swept on an interval and exited on stop-loss, take-profit, trailing stop or timeout.
simulate: decisions are scored and logged, nothing is broadcast. live signs and broadcasts real transactions with real SOL and has no confirmation prompt.snipe_now against a live engine without showing the user the network, mode, amount per trade and daily budget and getting an explicit yes.devnet or in simulate, and verify a strategy there first.stop_loss_pct is mandatory on every strategy; the engine refuses to arm without it.Set these in the shell before starting Claude Code (the plugin passes them through):
SNIPER_MODE: simulate (default when empty) or live.SNIPER_NETWORK: mainnet (default when empty) or devnet.SOLANA_RPC_URL: required for live mode (a public RPC rate-limits the new-mint feed). HELIUS_API_KEY is accepted instead.SOLANA_SECRET_KEY: only for live trading, the default wallet secret (base58, JSON byte array or 0x-hex). Export it yourself in your shell; it is deliberately not listed in the plugin's .mcp.json. The engine signs locally.arm_strategy: agentId, per_trade_sol, daily_budget_sol, stop_loss_pct are required. Optional: strategyId (reuse to update), take_profit_pct, trailing_stop_pct, max_hold_seconds (default 1800), slippage_bps (default 500), max_price_impact_pct (default 10), trigger (new_mint, intel_confirmed, first_claim, manual), network, mev_tip_mode (off, economy, turbo), firewall_level (block, warn, off), min_market_cap_usd, max_market_cap_usd, require_socials. SOL amounts are converted to lamports.disarm_strategy: strategyId. Stops new buys; open positions still exit by their own rules.list_strategies: the armed strategies.snipe_now: mint, optional symbol. Forces a buy across all armed agents, bypassing the scorer.list_positions: optional agentId and status (opening, open, closing, closed, failed).close_position: positionId. Schedules an exit on the next sweep.sniper_status: network, mode, event, candidate, buy and sell counters, queue depth.Strategies live in process memory in MCP mode, so they disappear when the server exits.
npx -y @three-ws/agent-sniper arm # print a strategy template
npx -y @three-ws/agent-sniper arm --strategy ./s.json # validate, show lamport-normalised form
npx -y @three-ws/agent-sniper run --network devnet \
--strategy '{"id":"s1","agent_id":"a1","stop_loss_pct":35,"per_trade_sol":0.05,"daily_budget_sol":1}'
npx -y @three-ws/agent-sniper status # local config
--mode live, --keypair, --sqlite [path], --port (for serve, default 8787) and --allow-mayhem are also accepted; see agent-sniper help.
sniper_status and confirm mode is simulate.arm_strategy with {"agentId": "scout", "per_trade_sol": 0.01, "daily_budget_sol": 0.1, "stop_loss_pct": 30, "take_profit_pct": 80}.list_positions with {"agentId": "scout"} and report what the simulated engine did.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nirholas/solana-sniper-mcp --plugin agent-sniperOther plugins' skills for the same job