/vulcan:vulcan-trade-executionfrom vulcan
Executes perpetual futures orders with pre-trade checks and post-trade verification on Phoenix DEX. Handles market context, size validation, and constraint checks.
Ships in vulcan. 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.
Use this skill for:
Do not use this skill to manually split a scheduled or multi-slice strategy when a Vulcan runner can express it. Route standard TWAP requests to vulcan-twap-execution and vulcan_strategy_twap_start; use raw vulcan_trade loops only for explicitly approved manual fallbacks or unsupported strategy shapes.
Mode-agnostic (always safe):
vulcan_market_ticker → { symbol: "SOL" } # current price, funding rate
vulcan_market_info → { symbol: "SOL" } # tick_size, base_lots_decimals (needed for size/limit/leverage)
Then ask for the execution mode (see vulcan-execution-modes). After the user picks a mode, branch the wallet-bound checks:
vulcan_paper_status (handle PAPER_NOT_INITIALIZED by proposing vulcan paper init --balance <N>). Do not call vulcan_margin_status, vulcan_position_list, vulcan_trade_orders, vulcan_portfolio_*, or vulcan_wallet_list. Paper has its own state file and never resolves a wallet.vulcan_strategy_preflight → { wallet } # must report READY
vulcan_margin_status → {} # available collateral, risk state
vulcan_position_list → {} # existing positions
vulcan_trade_orders → { symbol } # existing resting orders
For market orders, provide exactly one of:
notional_usdc — human-friendly USDC sizing, quoted at mid; actual fill differs by spread and impact.tokens — base-asset amount, with lot conversion handled internally.size — base lots, for precise control.When using size, extract base_lots_decimals from vulcan_market_info:
base_lots = desired_tokens * 10^base_lots_decimals
Example: Want 0.5 SOL, decimals=2 → 0.5 * 100 = 50 base lots.
vulcan_margin_status shows risk_state = Healthy. In paper/dry-run, validate against vulcan_paper_status.equity and exposure_ratio instead — same intent, no wallet needed.vulcan_margin_leverage_tiers.)vulcan_paper_positions in paper, vulcan_position_list live.vulcan_market_orderbook when size may be large relative to visible liquidity and warn about slippage. Safe in any mode.Present: symbol, direction, size input (size, tokens, or notional_usdc) with approximate token/notional amount, order type, estimated fees, mark price, existing positions, and any TP/SL.
In confirm-each mode, wait for explicit user approval before executing. In auto-execute mode, log the trade details, execute immediately, and still report every order, fill, cancellation, and signature as soon as the agent observes it.
vulcan_trade → { symbol: "SOL", side: "buy", order_type: "market", notional_usdc: 100, acknowledged: true }
vulcan_trade → { symbol: "SOL", side: "buy", order_type: "market", tokens: 0.5, acknowledged: true }
vulcan_trade → { symbol: "SOL", side: "buy", order_type: "market", size: 50, acknowledged: true }
For live modes:
vulcan_position_list → {} # confirm position opened
For paper:
vulcan_paper_positions → {} # confirm simulated position opened
vulcan_paper_fills → {} # see the simulated fill
Report the transaction signature (live) or the paper fill id (paper) to the user.
Attach take-profit and/or stop-loss at order time:
vulcan_trade → {
symbol: "SOL",
side: "buy",
order_type: "market",
notional_usdc: 100,
tp: 160.0,
sl: 140.0,
acknowledged: true
}
Direction rules:
Constraints:
vulcan_trade_set_tpsl or vulcan_position_tp_sl.vulcan_position_show is the authoritative source for position TP/SL. Conditional trigger legs may also appear in portfolio/order views as reduce-only trigger orders; do not treat them as normal resting limits.vulcan_trade → {
symbol: "SOL",
side: "buy",
order_type: "limit",
size: 50,
price: 145.00,
acknowledged: true
}
Limit orders rest on the book. They pay maker fees (typically lower). After placing, verify with:
vulcan_trade_orders → { symbol: "SOL" } # confirm order on book
For markets requiring isolated margin, or when you want dedicated collateral:
vulcan_trade → {
symbol: "SOL",
side: "buy",
order_type: "market",
size: 50,
isolated: true,
collateral: 100.0,
acknowledged: true
}
To ensure an order only reduces (never increases) a position:
vulcan_trade → {
symbol: "SOL",
side: "sell",
order_type: "market",
size: 25,
reduce_only: true,
acknowledged: true
}
vulcan_trade_orders → { symbol: "SOL" } # get order IDs
vulcan_trade_cancel → { symbol: "SOL", scope: "ids", order_ids: ["id1"], acknowledged: true }
vulcan_trade_cancel → { symbol: "SOL", scope: "all", acknowledged: true } # all orders for one market
vulcan_trade_cancel → { scope: "all-markets", acknowledged: true } # all orders across every market
.error.category.tx_failed, check position state before retrying.What SKILL.md sets; muted values are Claude Code's defaults
18 skills in this plugin
/vulcanMUST be loaded before producing any answer about Vulcan, Phoenix DEX, Phoenix perpetuals, Solana perps, the `vulcan` CLI/MCP, or agent-based trading workflows. Single entry-point: contains the runtime contract pointer, the non-negotiable safety rules, the focused-skill router, and the live-launch preflight gate. Answers given without loading this skill have produced wrong commands, wrong wallet selection, and unsafe live trades. Load on the FIRST turn the topic appears in a conversation and re-load on any session restart./vulcan-error-recoveryError category routing, tx_failed recovery, and network error handling for Vulcan./vulcan-execution-modesCanonical taxonomy of Vulcan's execution modes (Observe / Paper / Dry-Run / Confirm-Each / Auto-Execute), with explicit instructions for when to ask the user which mode, how to format the question, and what follow-up to collect per mode. Load whenever the user asks 'should this be paper or live?' or before any strategy/trade launch.Generated from the plugin's indexed repository (ellipsis-labs/vulcan-cli) — no native marketplace selected
npx claudepluginhub p/ellipsis-labs-vulcanOther plugins' skills for the same job