/tradecraft:autohedge-swarmfrom tradecraft
Enterprise-grade autonomous hedge fund using swarm agent architecture with a sequential Director → Quant → Risk Manager → Execution pipeline. Risk-first design with position sizing before trade execution. Supports Solana trading.
Ships in tradecraft. 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 FOR:
Enterprise-grade autonomous agent hedge fund using swarm intelligence. Specialized agents sequentially handle strategy, analysis, risk, and execution.
pip install -U autohedgeDirector Agent
↓ Strategy generation + market context
Quant Agent
↓ Quantitative analysis + signal generation
Risk Manager Agent
↓ Position sizing + risk assessment + approval
Execution Agent
↓ Order construction + submission
Trade Output (JSON)
pip install -U autohedge
Environment variables:
JUPITER_API_KEY="..." # Solana DEX aggregator
OPENAI_API_KEY="sk-..." # or ANTHROPIC_API_KEY
WALLET_PRIVATE_KEY="..." # Solana wallet
autohedge
Or programmatically:
from autohedge import AutoHedge
fund = AutoHedge(
llm_provider="anthropic", # Director/Quant use Claude
risk_threshold=0.02, # Max 2% portfolio risk per trade
chain="solana",
)
result = fund.analyze_and_trade("SOL/USDC")
print(result) # JSON: analysis + decision + risk metrics
| Agent | Role |
|---|---|
| Director | Market context, strategy selection |
| Quant | Price analysis, signals, technicals |
| Risk Manager | Position sizing, max drawdown limits |
| Execution | Order construction, submission |
{
"ticker": "SOL/USDC",
"director_analysis": "Bullish momentum...",
"quant_signals": {"rsi": 58, "macd": "bullish"},
"risk_assessment": {"position_size": 0.015, "stop_loss": 0.02},
"decision": "BUY",
"execution": {"order_type": "market", "size": 10.5}
}
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mahmoud20138/tradecraft --plugin tradecraft169 skills in this plugin
/agent-developmentThis skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins./agentic-storageAgentic storage architecture — persistent memory for AI agents using MCP, immutable versioning, sandboxing, and intent validation. Covers the stateless problem in LLM agents, RAG limitations (read-only), MCP protocol (JSON-RPC, resources, tools), storage safety layers, and agent file system design. Source: IBM Technology (Martin Keen), March 2026. Use this skill for "agentic storage", "agent memory", "persistent agent state", "MCP storage", "agent file system", "agent hard drive", "stateless agent problem", "agent work product", "immutable versioning", "agent sandboxing", "intent validation", "agent safety layers", "agent context window limits", "storage for AI agents", "agent persistence", "autonomous agent storage", "agent audit trail". Works with mcp-integration, trading-brain, agents, trade-psychology-coach.
Other plugins' skills for the same job