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.
FAQ
crypto-trading-desk is a Claude Code plugin with 8 hand-picked skills for automation work, indexed on Flowy. Install it with the command on its page. It includes analyze, close-trade, create. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
> /plugin marketplace add hugoguerrap/crypto-claude-desk> /plugin install crypto-trading-desk@hugoguerrap
Repo: hugoguerrap/crypto-claude-desk
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.
โ Hugo Guerra
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 | |
|---|---|---|
| Orchestration | Python code (LangGraph, CrewAI, AutoGen) | CLAUDE.md โ plain English routing rules |
| Agent definitions | Python classes, decorators, schemas | Markdown files with YAML frontmatter |
| Tool integration | Custom wrappers, API clients, SDKs | MCP servers (standard protocol) |
| Coordination | State machines, graphs, message queues | File-based โ agents write reports, next phase reads them |
| Memory | Vector databases, custom storage | Built-in memory: project (one line in agent config) |
| Model routing | Custom logic per agent | model: haiku / sonnet / opus in frontmatter |
| Setup time | Days to weeks | Hours. Describe agents, build MCP tools, write CLAUDE.md |
| Lines of orchestration code | Hundreds to thousands | Zero |
| Requirement | How it's handled |
|---|---|
| Claude Code | Install guide โ you need a Claude Pro/Max/Team plan |
| Python 3.11+ | Most systems have it. uv downloads it automatically if missing |
| uv | /setup installs it automatically. Or install manually: curl -LsSf https://astral.sh/uv/install.sh | sh |
Add to ~/.claude/settings.json for the smoothest experience:
{
"permissions": {
"allow": [
"mcp__crypto-data",
"mcp__crypto-exchange",
"mcp__crypto-technical",
"mcp__crypto-futures",
"mcp__crypto-advanced-indicators",
"mcp__crypto-market-microstructure",
"mcp__crypto-learning-db",
"WebSearch",
"WebFetch",
"Write"
]
}
}
Without this, Claude Code will ask you to approve each tool on first use (which works fine, just slower).
First step for any issue: run /crypto-trading-desk:setup. It detects problems and fixes them automatically.
"spawn uv ENOENT" โ uv is installed but Claude Code can't find it. Common when launching from GUI apps (Claude Desktop, VS Code) that don't inherit your terminal's PATH.
Fix:
# Create a symlink so GUI apps can find uv
sudo ln -sf ~/.local/bin/uv /usr/local/bin/uv
# Then restart Claude Code
Or just run /crypto-trading-desk:setup โ it detects this and offers to fix it.
cd ~/.claude/plugins/cache/crypto-trading-desk # or your local clone
uv sync
The plugin works on Windows. Run /crypto-trading-desk:setup โ it detects Windows and uses PowerShell to install uv if needed. If you get PATH issues, ensure uv is in your system PATH or install it via winget install astral-sh.uv.
crypto-trading-desk/
โโโ agents/ # 7 agent definitions (Markdown + YAML frontmatter)
โโโ bin/ # autopilot.sh wrapper for cron/headless execution
โโโ skills/ # 8 slash commands (setup, quick, analyze, portfolio, close-trade, validate-predictions, monitor, create)
โโโ hooks/ # SessionStart: creates data directories
โโโ mcp-servers/ # 9 Python MCP servers (95 tools total)
โโโ mcp-servers.plugin.json # MCP config for plugin distribution
โโโ .claude/workflows/ # Dynamic workflows (e.g. close-learning)
โโโ dashboard/ # Next.js ops dashboard (reads the DB read-only, localhost only)
โโโ tests/ # pytest suite for the MCP servers
โโโ docs/ # architecture.md + extending.md
โโโ pyproject.toml # Python dependencies (pinned in uv.lock)
โโโ uv.lock # Reproducible dependency resolution
โโโ .python-version # Pins Python 3.12
โโโ CLAUDE.md # Routing logic โ Claude Code reads this to coordinate
โโโ data/
โโโ db/learning.db # SQLite cognitive memory (trades, predictions, patterns)
โโโ reports/ # Analysis reports (one folder per analysis)
โโโ create/ # /create research artifacts
Zero orchestration code. Claude Code reads CLAUDE.md and coordinates everything. The agents are markdown files. The skills are markdown files. The routing logic is markdown.
This project is a template. The architecture โ agents as markdown, tools as MCP servers, coordination as CLAUDE.md โ works for any domain:
To build your own multi-agent system on Claude Code:
agents/ (markdown + YAML frontmatter)mcp-servers/CLAUDE.mdskills/See docs/extending.md for the full guide.
This is an open project. Add new agents, MCP servers, skills, or improve existing ones.
See CONTRIBUTING.md for guidelines. PRs welcome.
This is a paper trading system for educational and experimental purposes. No real money is at risk. All trades are simulated. This is not financial advice.
Built by Hugo Guerra
.claude/
.claude-plugin/
marketplace.json
plugin.json
launch.json
workflows/
close-learning.js
.gitignore
.python-version
agents/
learning-agent.md
market-monitor.md
news-sentiment.md
portfolio-manager.md
risk-specialist.md
system-builder.md
technical-analyst.md
bin/
autopilot.sh
sync-plugin-db.sh
CLAUDE.md
CONTRIBUTING.md
dashboard/
.gitignore
AGENTS.md
CLAUDE.md
components.json
next.config.ts
package-lock.json
package.json
postcss.config.mjs
public/
file.svg
globe.svg
next.svg
vercel.svg
window.svg
README.md
server/
pty-server.mjs
src/
app/
api/
ohlcv/
route.ts
price/
route.ts
console/
page.tsx
favicon.ico
globals.css
layout.tsx
page.tsx
patterns/
page.tsx
predictions/
page.tsx
reports/
[slug]/
page.tsx
page.tsx
settings/
page.tsx
trades/
page.tsx
components/
animated-number.tsx
decision-feed.tsx
equity-curve.tsx
kpi-cards.tsx
market-intelligence.tsx
page-header.tsx
patterns-panel.tsx
persistent-terminal.tsx
predictions-panel.tsx
price-chart.tsx
sidebar.tsx
spotlight-card.tsx
symbol-detail.tsx
symbol-history-chart.tsx
terminal-embed.tsx
trades-filter.tsx
trades-table.tsx
ui/
badge.tsx
button.tsx
card.tsx
dialog.tsx
scroll-area.tsx
separator.tsx
skeleton.tsx
table.tsx
tabs.tsx
lib/
db.ts
format.ts
market-intelligence.ts
ohlcv.ts
utils.ts
tsconfig.json
data/
create/
.gitkeep
logs/
.gitkeep
reports/
.gitkeep
trades/
agent-scorecards.json.example
patterns.json.example
portfolio.json.example
predictions.json.example
docs/
architecture.md
extending.md
hooks/
hooks.json
post-setup.sh
LICENSE
mcp-servers/
mcp-servers.plugin.json
crypto_advanced_indicators.py
crypto_defillama.py
crypto_exchange_ccxt_ultra.py
crypto_futures_data.py
crypto_learning_db.py
crypto_market_microstructure.py
crypto_polymarket.py
crypto_technical_analysis.py
crypto_ultra_simple.py
validators.py
pyproject.toml
README.md
skills/
analyze/
SKILL.md
close-trade/
SKILL.md
create/
SKILL.md
monitor/
SKILL.md
portfolio/
SKILL.md
quick/
SKILL.md
setup/
SKILL.md
validate-predictions/
SKILL.md
tests/
__init__.py
conftest.py
helpers.py
test_crypto_advanced_indicators.py
test_crypto_data.py
test_crypto_defillama.py
test_crypto_exchange.py
test_crypto_futures.py
test_crypto_learning_db.py
test_crypto_microstructure.py
test_crypto_polymarket.py
test_crypto_technical.py
test_validators.py
uv.lockยฉ 2026 Flowy ยท Free and open source
Built for Claude Code ยท Not affiliated with Anthropic