I used to spend weeks building multi-agent systems with LangGraph, CrewAI, and AutoGen. Hundreds of lines of Python orchestration code, custom state machines, fragile message passing between agents.
Auto-invoked ships a router so the right skill fires automatically as you prompt. No remembering which skill to call.
Normal is the plain upstream plugin, installed as-is. You invoke its skills yourself.
The plugin> /plugin marketplace add hugoguerrap/crypto-claude-desk> /plugin install crypto-trading-desk@hugoguerrapAuto-invocation> /plugin marketplace add flowy-sh/flowy-core> /plugin install flowy-core> /plugin install flowy-crypto-trading-desk
Repo: hugoguerrap/crypto-claude-desk
What's inside
I used to spend weeks building multi-agent systems with LangGraph, CrewAI, and AutoGen. Hundreds of lines of Python orchestration code, custom state machines, fragile message passing between agents. Then I realized Claude Code already has everything — subagents, MCP servers, persistent memory, model routing. I just needed to describe my agents in markdown and give them tools. This plugin is the result: 7 coordinated AI agents, 83 real-time tools, zero lines of orchestration code. It even learns from its own trades and can extend itself.
Claude Code is not just for writing code. Its agent system is a general-purpose intelligence platform. You can point it at any domain, give it specialized tools, and let it coordinate expert agents to solve problems that would take a human team hours.
This project proves it. One plugin turns Claude Code into a full crypto trading desk — and it's built entirely with markdown files and MCP servers. No framework. No SDK. No middleware.
It's markdown all the way down.
# 1. Add the marketplace
claude plugin marketplace add hugoguerrap/crypto-claude-desk
# 2. Install the plugin
claude plugin install crypto-trading-desk@hugoguerrap
# 3. Start Claude Code
claude
# 1. Clone the repo
git clone https://github.com/hugoguerrap/crypto-trading-desk.git
cd crypto-trading-desk
# 2. Start Claude Code with the plugin directory
claude --plugin-dir .
Both modes auto-discover agents, skills, and MCP servers. Same code, same behavior.
Then run setup once:
/crypto-trading-desk:setup
Setup detects your OS (macOS, Linux, or Windows), installs uv if missing, downloads Python dependencies, verifies all 9 MCP servers work, and reports status. Takes ~30 seconds. You only need to do this once.
/crypto-trading-desk:quick BTC
Live market snapshot in ~15 seconds: price, volume, Fear & Greed, funding rates, whale activity.
| Command | What it does | Time |
|---|---|---|
/crypto-trading-desk:setup | First-time setup (detects OS, installs deps, verifies) | ~30 sec |
/crypto-trading-desk:quick BTC | Live market snapshot (1 agent) | ~15 sec |
/crypto-trading-desk:analyze ETH | Full 5-agent phased analysis with trading decision | ~3-5 min |
/crypto-trading-desk:portfolio | View balances, open trades, P&L | ~30 sec |
/crypto-trading-desk:close-trade trade_001 | Close a trade + post-mortem + learning | ~1 min |
/crypto-trading-desk:validate-predictions | Review predictions against market data | ~30 sec |
/crypto-trading-desk:monitor | Autonomous loop: check SL/TP, close trades, evaluate, summarize | ~2-3 min |
/crypto-trading-desk:create | Extend the system with new components | ~2-3 min |
Just ask naturally. The system routes to the right agent(s) based on complexity:
| You say | What happens |
|---|---|
| "How's BTC?" | 1 agent (market-monitor) checks price, volume, sentiment |
| "RSI of ETH?" | 1 agent (technical-analyst) calculates indicators |
| "What's the news on SOL?" | 1 agent (news-sentiment) scans web + social media |
| "Analyze LINK" | 3 agents in parallel: market + technical + news |
| "Should I buy BTC? Full analysis" | 5-agent team with phased execution and final decision |
| "Check my portfolio" | Portfolio manager reviews positions and P&L |
| "Check my predictions" | Learning agent validates predictions against current prices |
| "Create a DeFi tracker" | System builder researches APIs and generates the component |
Each agent is a specialist with its own model tier, tools, and instructions:
| Agent | Role | Model | What it uses |
|---|---|---|---|
| market-monitor | Live prices, volume, funding rates, whale alerts | Haiku (fast, cheap) | 5 exchanges via CCXT, CoinGecko, web search |
| technical-analyst | RSI, MACD, Bollinger, Ichimoku, patterns, signals | Sonnet | 38 technical indicators |
| news-sentiment | Breaking news, social mood, FUD/FOMO detection | Sonnet | Web search + web fetch (Claude's native NLP) |
| risk-specialist | Volatility, VaR, orderbook depth, spoofing detection | Sonnet | Microstructure analysis, correlation |
| portfolio-manager | Final EXECUTE/WAIT/REJECT decision, paper trading | Opus (smartest) | Reads all reports, manages portfolio state |
| learning-agent | Predictions, patterns, post-mortem | Opus | Tracks accuracy, evaluates setups, builds patterns |
| system-builder | Generate new MCP servers, agents, skills + tests | Opus | Researches APIs, reads existing patterns, generates code + tests |
Using Haiku for data scouts and Opus only for final decisions saves ~40-60% on tokens compared to running everything on one model.
/analyze)When you request a full analysis, 5 agents coordinate in phases:
Phase 1 (parallel, ~60 sec)
market-monitor ---------> market-data.md
technical-analyst ------> technical-analysis.md
news-sentiment ---------> news-sentiment.md
|
v (waits for Phase 1)
Phase 2 (~60 sec)
risk-specialist --------> risk-assessment.md
|
v (waits for Phase 2)
Phase 3 (~60 sec)
portfolio-manager ------> decision.md
|
v
EXECUTE / WAIT / REJECT
with entry, SL, TP, position size, R:R ratio
Each agent writes a report file. The next phase reads those files. No message passing — just files on disk.
| Server | Tools | What it provides |
|---|---|---|
| crypto-data | 11 | Fear & Greed, dominance, rankings, categories (CoinGecko) |
| crypto-exchange | 15 | Live prices, orderbooks, OHLCV, volume, arbitrage (5 exchanges via CCXT) |
| crypto-technical | 14 | RSI, MACD, Bollinger, patterns, signals, backtesting |
| crypto-futures | 10 | Funding rates, open interest, long/short ratios, liquidation levels |
| crypto-advanced-indicators | 8 | OBV, MFI, ADX, Ichimoku, VWAP, Pivot Points, divergences |
| crypto-market-microstructure | 6 | Orderbook depth, imbalance, spread, spoofing, market impact |
| crypto-learning-db | 18 | Trade CRUD, predictions, track records, patterns, summaries, trade modifications (SQLite) |
| crypto-polymarket | 6 | Prediction market probabilities — wisdom of crowds priced in real capital (Polymarket Gamma) |
| crypto-defillama | 7 | TVL by chain/protocol, stablecoin supply, DEX volume — on-chain capital flows (DefiLlama) |
All powered by public APIs. No API keys required.
The portfolio manager executes trades in a local SQLite database (data/db/learning.db) via the crypto-learning-db MCP. No real money. You start with $10,000 spot + $10,000 futures. Every trade has mandatory stop-loss, minimum 2:1 risk/reward, and position limits.
The system gets smarter with every trade:
get_prediction_track_record() provides accuracy by time window (7d, 30d, 90d, global) plus NL evaluations, filtered by setup type, symbol, and agent. The portfolio manager asks "how has this type of setup performed?" not "do I trust this agent?"An optional Next.js ops dashboard lives in dashboard/. It reads data/db/learning.db read-only and visualizes the portfolio: equity curve, trades, predictions with accuracy, patterns, market intelligence (Polymarket + DefiLlama), and analysis reports. It also embeds a local terminal.
cd dashboard
npm install
npm run dev # starts Next.js + the terminal (pty) server
Then open http://localhost:3000. Localhost only — the embedded terminal grants shell access over a loopback WebSocket, so never expose the dev server to the network. Run /setup and at least one analysis first so the database exists.
.claude/workflows/close-learning.js is a dynamic workflow that validates expired predictions in parallel (one agent per prediction) and closes the learning loop. Run it with /close-learning.
Run /validate-predictions anytime to check pending predictions against current market data.
The /create skill lets you extend the system in natural language:
/create an MCP server for on-chain analytics
/create an agent for macro economic analysis
/create a skill for multi-coin comparison
The system-builder agent (opus) researches APIs, reads existing components for patterns, generates the new component, and tells you what integration steps remain. The system grows with your needs.
Claude Code's -p flag runs headless (no interaction needed). Combine it with cron and the system becomes an autonomous analyst.
Important: Cron runs without a terminal, so you need --allowedTools to pre-approve tool permissions. You also need the correct working directory so Claude Code finds CLAUDE.md and the plugin configuration.
# Use the wrapper script for proper environment setup
# Monitor every hour: check SL/TP, close trades, evaluate expired predictions
0 * * * * /path/to/crypto-trading-desk/bin/autopilot.sh monitor
# Morning market briefing at 8am
0 8 * * * /path/to/crypto-trading-desk/bin/autopilot.sh quick "BTC ETH SOL"
# Full analysis every Monday at 9am
0 9 * * 1 /path/to/crypto-trading-desk/bin/autopilot.sh analyze "BTC"
# Portfolio check at US market close
0 16 * * 1-5 /path/to/crypto-trading-desk/bin/autopilot.sh portfolio
Why a wrapper? Skills (/skill-name) are not invoked in -p mode. The wrapper maps workflow names to detailed natural language prompts, handles PATH/env for cron, pre-approves tool permissions with --allowedTools, auto-detects --plugin-dir (works for both plugin install and local clone), and logs output to data/logs/.
Adding custom workflows: Edit bin/autopilot.sh and add a new case block. Each workflow is just a natural language prompt — describe what you want Claude to do using the agents and MCP tools available.
The monitor workflow closes the autonomous loop: it checks open trades against SL/TP levels, closes trades that hit targets, triggers post-mortem analysis with NL evaluations, validates expired predictions, and generates monthly summaries. Combined with analyze for trade entries, the system runs a complete learn-trade-evaluate cycle without human intervention.
| Traditional multi-agent frameworks | This plugin |
|---|
FAQ
crypto-trading-desk is a Claude Code plugin of 8 hand-picked skills with a FLOW.md router. Install it once and the right skill fires as you prompt, with no slash command to remember. It is built for automation work. It includes analyze, close-trade, create. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it