ai-trading-skilllisted
Install: claude install-skill rigneshroot/hyperbot-ai-trading-claude-skill
# Explainable Trading Intelligence Skill
This skill equips any agent with the ability to run market analysis, generate explainable trade rationales, backtest strategies, evaluate risk, and manage execution on the Hyperliquid exchange.
---
## Prerequisite Setup
Before running any script, activate the workspace environment:
```bash
cd <project-root>
source .venv/bin/activate
```
User must configure private keys in `.env` for active trades. The `.env.example` template shows the required fields.
---
## Core Operations
### 1. Run Market Analysis with Trade Rationale
The primary output of this framework. Generates a structured trade rationale covering trend, volatility, momentum, key levels, sizing, and invalidity conditions.
```bash
# Default analysis (BTC, moderate risk profile)
python3 analyze.py
# Custom asset, interval, and risk profile
python3 analyze.py --symbol ETH --interval 5m --risk-profile conservative
# Adjust per-trade risk percentage
python3 analyze.py --symbol SOL --account-risk-pct 0.5
```
Available risk profiles: `conservative`, `moderate`, `aggressive`
The output includes four sections:
- Strategy scoring matrix (all 5 layers)
- Trade Rationale Engine output (structured breakdown)
- Risk Assessment (profile-adjusted sizing and warnings)
- Institutional Context (macro positioning data)
### 2. Run Automated Tests
Verify strategy calculations, rationale engine, and risk layer:
```bash
python3 -m unittest tests/test_strategies.py
```
### 3. Run Histor