Vulcan
MANDATORY FIRST STEP. Before composing any reply, running any tool, or guessing any command for Vulcan / Phoenix DEX / Phoenix perpetuals / Solana perps / agent-based trading, you MUST complete the Load Order below. This applies on every fresh conversation, every session restart, and every time the topic re-surfaces — never assume prior context carries. Skipping these steps has repeatedly produced wrong CLI flags, wrong default wallet selection, and unsafe live-mode launches. If a tool in the load order is unavailable, stop and tell the user; do not improvise.
Vulcan is an AI-native CLI and MCP server for Phoenix Perpetuals on Solana. It is live financial software: dangerous commands can submit irreversible Solana transactions.
Load Order (Mandatory, In This Order)
- Runtime contract — load
vulcan://context(MCP) or runvulcan agent-context(CLI). Contains the safety rules, error codes, and command surface every reply must respect. - Non-negotiable rules — read the Non-Negotiable Rules section below. Eight numbered rules, all binding.
- Skill index — load
vulcan://skills/indexorskills/INDEX.mdto see all focused skills and pick the right one. - Focused skill(s) — load the skill that matches the user's intent (see routing below). Load multiple if the task spans concerns (e.g. opening a position = trade-execution + risk-management + error-recovery).
Do not answer Vulcan questions from memory; the surface changes and prior-conversation knowledge goes stale.
Non-Negotiable Rules
These rules are binding for every Vulcan interaction. They apply equally to MCP and CLI invocations.
- Prefer MCP tools when available; use CLI fallback as
vulcan <command> [args...] -o json. - Dangerous tools require explicit approval:
acknowledged: truethrough MCP or--yesthrough CLI. - Call
vulcan_market_infobefore using base-lotsize; never guess lot sizes. - Call
vulcan_margin_statusbefore opening positions. - Call
vulcan_position_listbefore trading so you know existing exposure. - Report every execution event and transaction signature immediately — fills, cancels, errors, and full tx signatures (do not abbreviate signatures).
- Never ask for, display, log, export, or inspect private keys, decrypted keypair bytes, wallet bytes, auth tokens, signed challenge material, or unredacted wallet passwords. This includes reading MCP config files (
~/.cursor/mcp.json,~/.claude/settings*.json,~/.claude.json,~/.codex/config.toml, project.mcp.json) to extractVULCAN_WALLET_PASSWORD— those files contain the password in plaintext and reading them counts as inspection. When live signing requires a password and the current session is CLI-mode, either (a) tell the user to restart their agent client so Vulcan runs via MCP and inherits the env from the OS keychain, or (b) tell the user to run the command themselves withVULCAN_WALLET_PASSWORDalready in their shell. Runvulcan strategy preflightto see which MCP target has live signing configured. - Do not execute plaintext private-key export. If the user asks to migrate a wallet, explain the risk and provide
vulcan wallet export <name> --private-key --yesfor the user to run locally — never run it on the user's behalf.
Before Any Live (Non-Paper) Launch
Before any --mode confirm_each or --mode auto_execute strategy/trade launch, you MUST run vulcan strategy preflight (or vulcan_strategy_preflight) and confirm it reports READY. The preflight resolves the active wallet, password source, trader registration, collateral, and lists every blocker with the exact remedy command. Do not attempt live launches until preflight passes.
Route By Intent
- First interaction, setup, wallet creation, registration, first deposit, or paper-first onboarding:
vulcan-onboarding. - Five-minute install + first paper trade:
vulcan-quickstart. - Choosing an execution mode (Observe / Paper / Dry-Run / Confirm-Each / Auto-Execute), how to ask the user which one, and graduating between them:
vulcan-execution-modes. Load this before any strategy or trade launch. - Market price, funding, orderbook, candles, or pre-trade research:
vulcan-market-intel. - Technical indicators (RSI, MACD, Bollinger Bands, ATR, ADX, EMA, …) or trigger evaluation:
vulcan-technical-analysis. - Declarative TA-driven strategy (rule-based open/close/reduce on indicator conditions):
vulcan-ta-strategy. - Opening, closing, reducing, or otherwise changing exposure:
vulcan-trade-execution,vulcan-risk-management, andvulcan-error-recovery. - Base-lot sizing:
vulcan-lot-size-calculator. - TP/SL setup, update, or cancellation:
vulcan-tpsl-management. - Existing positions:
vulcan-position-management. - Portfolio, margin state, open orders, funding overview, or session recap:
vulcan-portfolio-intel. - Deposits, withdrawals, transfers, isolated collateral, or leverage tiers:
vulcan-margin-operations. - TWAP:
vulcan-twap-execution. - Grid trading:
vulcan-grid-trading.
If Unsure
Start with vulcan-onboarding for new users and vulcan-portfolio-intel for users asking "what is my current state?". Prefer paper trading before live setup unless the user explicitly asks for live funds or live execution.
Source Of Truth
- Always-needed runtime rules:
CONTEXT.mdorvulcan://context. - Exact tool schemas:
agents/tool-catalog.jsonorvulcan://agents/tool-catalog. - Error categories, codes, and recovery hints:
agents/error-catalog.jsonorvulcan://agents/error-catalog. - Focused workflows:
skills/*/SKILL.mdorvulcan://skills/<name>.
If MCP resources are unavailable, run vulcan agent-context and vulcan agent doctor to inspect them locally. Do not improvise from memory — the surface changes between releases.