ethereumdegen/stark-bot/spot-trader
Claude Code and agent skill by ethereumdegen/stark-bot
- community
Checking that the SKILL.md file is still in the repository.
Autonomous DeFi spot trader — scans DexScreener and Bankr signals, makes trade decisions, executes swaps on Base
Install
npx vskill@latest install ethereumdegen/stark-bot/spot-traderSKILL.md
Spot Trader — RPC Reference
The spot_trader module exposes these RPC endpoints via local_rpc. Use module="spot_trader" — the port is resolved automatically.
Decision
Submit a trading decision after evaluating the market.
- BUY: Module constructs an unsigned swap tx (WETH → token) via 0x API, stores it, and fires the
spot_trader_sign_txhook with tx details. - SELL: Module constructs an unsigned swap tx (token → WETH) via 0x API, same flow.
- HOLD: No tx is constructed. Decision is logged for audit.
Response includes decision_id and, for BUY/SELL, the unsigned tx fields.
Sign
After signing a transaction with sign_raw_tx, submit the signed hex:
Module broadcasts via eth_sendRawTransaction, polls for receipt, and updates status. On confirmed execution, updates portfolio with cost basis and records in trade_history.
History
Query recent trade decisions:
Optional filters: limit (default 20), status ("pending", "executed", "failed", "all").
Stats
Aggregate trading statistics:
Returns total decisions, buys, sells, holds, executed count, and failed count.
P&L
Get aggregate profit & loss summary:
Returns:
total_realized_pnl— from closed tradestotal_unrealized_pnl— from open positionstotal_pnl— combinedwin_count,loss_count,win_ratetotal_tradesbest_trade,worst_trade— with token symbol and P&L amount
Refresh Prices
Refresh portfolio prices from DexScreener and update unrealized P&L:
Returns eth_price_usd, positions_refreshed, and updated portfolio.
Trade History
View closed and open trade records with realized P&L:
Returns list of trade_history entries with token, side (BUY/SELL), value_usd, realized_pnl, tx_hash, and timestamp.
Config
View or update trader configuration:
Config keys:
pulse_interval— seconds between pulse fires (default 240)max_trade_usd— max trade size in USD (default 20)chain— chain name (default "base")enabled— "true" / "false"weth_address— WETH contract address on chainsignal_mode—dexscreener(default) orbankr— controls which signal source the pulse usesbankr_min_confidence— minimum confidence % for Bankr signals (default 70)bankr_providers— comma-separated provider addresses to filter Bankr signals (empty = accept all)eth_price_usd— cached ETH price in USD (auto-updated on each pulse)
Control
Control the trading loop:
- start: Enable the background pulse timer.
- stop: Disable it.
- trigger: Fire a pulse immediately (ignores timer). Includes portfolio risk context.
Portfolio
View current token holdings with P&L:
Returns list of held tokens with addresses, symbols, amounts, cost basis (total_cost_usd), current price, unrealized P&L, and buy count.
Backup
Export all data:
Returns decisions, executions, config, portfolio, and trade_history.
Restore from backup:
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingmodules/spot_trader/skill.md
Popularity
- Repository stars
- 46
- Repository forks
- 20
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ethereumdegen/stark-bot/spot-trader)