/crypto-trading-desk:setupfrom crypto-trading-desk
Runs first-time environment detection, dependency installation, and verification for the Crypto Trading Desk plugin. Invoke via /setup after installing.
Ships in crypto-trading-desk. 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.
Run environment detection and dependency setup. This skill makes the plugin work on any platform.
Run these checks in parallel using Bash:
uname -s (or ver on Windows) to detect OSpython3 --version or python --version to check Pythonwhich uv or where uv to check if uv is installed.venv directory exists in the plugin rootdata/db/ directory existsBased on detected OS:
macOS / Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
Windows (PowerShell):
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
After installing, verify uv is accessible. If it's installed to ~/.local/bin/ but not in PATH (common on macOS GUI apps), offer to create a symlink:
sudo ln -sf ~/.local/bin/uv /usr/local/bin/uv
If the user declines sudo, tell them to restart their terminal and try again.
uv sync --project <plugin_root>
This creates .venv/ and installs all packages from uv.lock (fastmcp, ccxt, numpy, pandas, requests).
If uv sync fails, try without --frozen:
uv sync --project <plugin_root>
mkdir -p data/trades data/reports data/logs data/db .claude/agent-memory/portfolio-manager
The SQLite database (data/db/learning.db) is created automatically by the crypto-learning-db MCP server on first use. No manual initialization needed.
Test that one MCP server can start by running:
uv run --frozen --project <plugin_root> python -c "import fastmcp; import ccxt; import numpy; import pandas; print('OK')"
If this fails, diagnose and fix. Common issues:
Read ~/.claude/settings.json and check if MCP tool permissions are allowed.
If not, show the user what to add and offer to configure it.
Present a clear status report:
Crypto Trading Desk - Setup Complete
OS: macOS 15.3 (arm64)
Python: 3.12.8
uv: 0.6.13
Dependencies: 5/5 installed
MCP Servers: 7/7 ready
Data dirs: Created
Database: SQLite ready ($20,000 paper trading)
Ready to use:
/crypto-trading-desk:quick BTC (fast market check)
/crypto-trading-desk:analyze ETH (full 5-agent analysis)
If anything failed, show exactly what went wrong and how to fix it.
What SKILL.md sets; muted values are Claude Code's defaults
8 skills in this plugin
/analyzeRun a comprehensive multi-agent crypto analysis with phased execution. Usage: /analyze BTC or /analyze ETH SOL/close-tradeClose an open trade and run post-mortem analysis. Usage: /close-trade trade_001 or /close-trade trade_001 at 98500/createExtend the system by creating new MCP servers, agents, or skills. Usage: /create a DeFi protocol tracker or /create an agent for macro analysis/monitorAutonomous monitoring loop. Checks open trades against SL/TP levels, closes trades that hit targets, evaluates expired predictions, and generates periodic summaries. Run via cron for full autonomy. Usage: /monitornpx claudepluginhub hugoguerrap/crypto-claude-desk --plugin crypto-trading-deskOther plugins' skills for the same job