ethereumdegen/stark-bot/spot-trader

Claude Code and agent skill by ethereumdegen/stark-bot

Trust tier 2
  • community
LLM review pending
Source check pending

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-trader

SKILL.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.

local_rpc(module="spot_trader", path="/rpc/decision", method="POST", body={
"decision": "BUY" | "SELL" | "HOLD",
"token_address": "0x...",
"token_symbol": "SYMBOL",
"reason": "brief explanation of why"
})
  • BUY: Module constructs an unsigned swap tx (WETH → token) via 0x API, stores it, and fires the spot_trader_sign_tx hook 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:

local_rpc(module="spot_trader", path="/rpc/sign", method="POST", body={
"tx_id": 123,
"signed_tx": "0x..."
})

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:

local_rpc(module="spot_trader", path="/rpc/history", method="POST", body={
"limit": 20,
"status": "executed"
})

Optional filters: limit (default 20), status ("pending", "executed", "failed", "all").

Stats

Aggregate trading statistics:

local_rpc(module="spot_trader", path="/rpc/stats", method="GET")

Returns total decisions, buys, sells, holds, executed count, and failed count.

P&L

Get aggregate profit & loss summary:

local_rpc(module="spot_trader", path="/rpc/pnl", method="GET")

Returns:

  • total_realized_pnl — from closed trades
  • total_unrealized_pnl — from open positions
  • total_pnl — combined
  • win_count, loss_count, win_rate
  • total_trades
  • best_trade, worst_trade — with token symbol and P&L amount

Refresh Prices

Refresh portfolio prices from DexScreener and update unrealized P&L:

local_rpc(module="spot_trader", path="/rpc/refresh", method="POST")

Returns eth_price_usd, positions_refreshed, and updated portfolio.

Trade History

View closed and open trade records with realized P&L:

local_rpc(module="spot_trader", path="/rpc/trade_history", method="GET")

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:

local_rpc(module="spot_trader", path="/rpc/config", method="GET")
local_rpc(module="spot_trader", path="/rpc/config", method="POST", body={
"key": "pulse_interval",
"value": "240"
})

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 chain
  • signal_mode — dexscreener (default) or bankr — controls which signal source the pulse uses
  • bankr_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:

local_rpc(module="spot_trader", path="/rpc/control", method="POST", body={
"action": "start" | "stop" | "trigger"
})
  • 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:

local_rpc(module="spot_trader", path="/rpc/portfolio", method="GET")

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:

local_rpc(module="spot_trader", path="/rpc/backup/export", method="POST")

Returns decisions, executions, config, portfolio, and trade_history.

Restore from backup:

local_rpc(module="spot_trader", path="/rpc/backup/restore", method="POST", body={
"data": { ... }
})

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ethereumdegen/stark-bot/spot-trader/badge)](https://verified-skill.com/skills/ethereumdegen/stark-bot/spot-trader)

Something wrong with this skill or its page? Tell us.