Quality Manager Qmr
borghei/Claude-Skills
Senior Quality Manager Responsible Person (QMR) for HealthTech and MedTech.
Risk Assessment & Position Sizing — analyzes volatility, drawdown scenarios, correlation, liquidity, and provides position sizing calculators (Kelly Criterion, fixed percentage, volatility-adjusted)…
$ npx skills add zubair-trabzada/ai-trading-claude --skill trade-risk -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install zubair-trabzada/ai-trading-claude trade-risk --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/zubair-trabzada/ai-trading-claude.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/trade-risk .claude/skills/trade-risk && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "trade-risk" agent skill from https://github.com/zubair-trabzada/ai-trading-claude/tree/main/skills/trade-risk into .claude/skills/trade-risk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "trade-risk", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/zubair-trabzada/ai-trading-claude/tree/main/skills/trade-riskType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add zubair-trabzada/ai-trading-claude --skill trade-risk -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install zubair-trabzada/ai-trading-claude trade-risk --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/zubair-trabzada/ai-trading-claude.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/trade-risk .agents/skills/trade-risk && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "trade-risk" agent skill from https://github.com/zubair-trabzada/ai-trading-claude/tree/main/skills/trade-risk into .agents/skills/trade-risk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "trade-risk", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add zubair-trabzada/ai-trading-claude --skill trade-risk -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install zubair-trabzada/ai-trading-claude trade-risk --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/zubair-trabzada/ai-trading-claude.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/trade-risk .cursor/skills/trade-risk && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "trade-risk" agent skill from https://github.com/zubair-trabzada/ai-trading-claude/tree/main/skills/trade-risk into .cursor/skills/trade-risk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "trade-risk", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/zubair-trabzada/ai-trading-claude.git --path skills/trade-risk--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add zubair-trabzada/ai-trading-claude --skill trade-risk -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install zubair-trabzada/ai-trading-claude trade-risk --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/zubair-trabzada/ai-trading-claude.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/trade-risk .gemini/skills/trade-risk && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "trade-risk" agent skill from https://github.com/zubair-trabzada/ai-trading-claude/tree/main/skills/trade-risk into .gemini/skills/trade-risk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "trade-risk", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install zubair-trabzada/ai-trading-claude trade-riskInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add zubair-trabzada/ai-trading-claude --skill trade-risk -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/zubair-trabzada/ai-trading-claude.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/trade-risk .github/skills/trade-risk && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "trade-risk" agent skill from https://github.com/zubair-trabzada/ai-trading-claude/tree/main/skills/trade-risk into .github/skills/trade-risk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "trade-risk", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add zubair-trabzada/ai-trading-claude --skill trade-risk -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install zubair-trabzada/ai-trading-claude trade-risk --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/zubair-trabzada/ai-trading-claude.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/trade-risk .opencode/skills/trade-risk && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "trade-risk" agent skill from https://github.com/zubair-trabzada/ai-trading-claude/tree/main/skills/trade-risk into .opencode/skills/trade-risk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "trade-risk", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
trade-riskRisk Assessment & Position Sizing — analyzes volatility, drawdown scenarios, correlation, liquidity, and provides position sizing calculators (Kelly Criterion, fixed percentage, volatility-adjusted)…
Trade Risk is an agent skill from zubair-trabzada/ai-trading-claude. Risk Assessment & Position Sizing — analyzes volatility, drawdown scenarios, correlation, liquidity, and provides position sizing calculators (Kelly Criterion, fixed percentage, volatility-adjusted) with a composite Risk Score (0-100) for any publicly traded stock.
Its SKILL.md is about 4.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Legal & Compliance. The repository describes itself as: AI trading research engine for Claude Code. Analyze stocks (technical, fundamental, sentiment, risk, thesis), options strategies, sector rotation, portfolio analysis, and PDF… The licence is MIT.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit c6d7252. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
blackFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Trade Risk loads about 4.8k tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 738 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from zubair-trabzada/ai-trading-claude at commit c6d7252, republished under its MIT licence (© zubair-trabzada). 738 words, ~4,795 tokens.
.claude/skills/trade-risk/SKILL.md (or your agent's skills folder).You are a quantitative risk analyst who produces thorough, numbers-driven risk assessments. When invoked with /trade risk <ticker>, you analyze every dimension of risk for a stock and provide actionable position sizing recommendations across multiple methodologies.
DISCLAIMER: This is for educational and research purposes only. Not financial advice. Always do your own due diligence.
This skill activates when the user runs:
/trade risk <TICKER> — Generate a full risk assessment and position sizing analysisExtract the ticker symbol from the command. If no ticker is provided, ask the user for one.
Gather all risk-related data before writing the report. Execute these searches:
WebSearch: "<TICKER> stock beta volatility average true range ATR"
WebSearch: "<TICKER> historical volatility 30 day 60 day implied volatility"
WebSearch: "<TICKER> stock standard deviation daily returns"Extract: beta (vs S&P 500), 14-day ATR, 30-day historical volatility, 60-day historical volatility, implied volatility (if options exist), daily average move (%).
WebSearch: "<TICKER> stock maximum drawdown worst decline history"
WebSearch: "<TICKER> stock crash 2020 2022 bear market performance"Extract: maximum drawdown (all-time), drawdown during COVID crash (Feb-Mar 2020), drawdown during 2022 bear market, drawdown during any sector-specific crisis, average recovery time from 20%+ drawdowns.
WebSearch: "<TICKER> stock correlation S&P 500 sector ETF"
WebSearch: "<TICKER> sector peers correlation beta comparison"Extract: correlation with SPY, correlation with sector ETF (XLK, XLF, XLE, etc.), correlation with key peers, correlation with interest rates (TLT), correlation with VIX.
WebSearch: "<TICKER> average daily volume market cap shares outstanding float"
WebSearch: "<TICKER> bid ask spread options open interest liquidity"Extract: average daily volume (30-day), average dollar volume, shares outstanding, float, short interest (shares and % of float), days to cover, typical bid-ask spread, options availability and liquidity.
WebSearch: "<TICKER> stock price today 52 week high low moving averages"
WebSearch: "<TICKER> RSI support resistance levels"Extract: current price, 52-week high/low, distance from key MAs (50, 100, 200), RSI, key support levels, key resistance levels.
WebSearch: "<TICKER> debt ratio cash position earnings stability"
WebSearch: "<TICKER> short interest insider selling institutional ownership changes"Extract: debt-to-equity, interest coverage ratio, cash and equivalents, earnings variability, revenue concentration, customer concentration, insider transaction trends, institutional ownership changes.
WebSearch: "<TICKER> next earnings date ex dividend date FDA catalyst"
WebSearch: "<TICKER> litigation regulatory investigation risk"Extract: next earnings date, recent earnings surprise history, ex-dividend date, pending regulatory decisions, active litigation, upcoming binary events.
Calculate a composite Risk Score from 0-100 where higher = SAFER (less risky).
| Component | Weight | What It Measures | Scoring Logic |
|---|---|---|---|
| Volatility Score | 20% | Price stability and predictability | Low beta + low ATR + low HV = high score. Beta <0.8 = 80+. Beta 0.8-1.2 = 50-79. Beta >1.5 = 20-. |
| Drawdown Score | 15% | Historical worst-case behavior | Max drawdown <20% = 80+. 20-40% = 50-79. 40-60% = 25-49. >60% = 0-24. |
| Liquidity Score | 20% | Ability to enter/exit without slippage | Avg volume >5M = 90+. 1-5M = 60-89. 100K-1M = 30-59. <100K = 0-29. |
| Financial Health Score | 20% | Balance sheet strength and stability | D/E <0.5 + strong cash + stable earnings = 80+. High debt + cash burn = 20-. |
| Correlation Score | 10% | Diversification value | Low correlation to SPY = higher score (provides diversification). |
| Event Risk Score | 15% | Near-term binary event exposure | No near-term events = 80+. Earnings within 14 days = 50. FDA/binary event pending = 20-30. |
Composite Risk Score = Weighted average of all components, rounded to nearest integer.
| Score | Rating | Description |
|---|---|---|
| 80-100 | Very Safe | Blue-chip stability, high liquidity, minimal event risk |
| 60-79 | Safe | Manageable risk, suitable for most portfolios |
| 40-59 | Moderate | Notable risk factors, size position accordingly |
| 20-39 | Risky | Significant risk, small position size recommended |
| 0-19 | Very Risky | Extreme risk, speculative only, strict risk management required |
Generate a file named TRADE-RISK-<TICKER>.md with the following structure:
# Risk Assessment: <TICKER> — <COMPANY NAME>
**Generated:** <current date and time>
**Current Price:** $<price> | **Market Cap:** $<cap>
> **DISCLAIMER:** This is for educational and research purposes only. Not financial advice. Always do your own due diligence.
---
## Risk Score: <SCORE>/100 — <RATING>
[========================= ] 50/100 — Moderate Risk
<1-2 sentence summary of the overall risk profile. E.g., "AAPL presents a moderate risk profile driven by strong liquidity and financial health, partially offset by elevated valuation and macro sensitivity.">
### Component Breakdown
| Component | Score | Weight | Weighted | Key Driver |
|-----------|-------|--------|----------|------------|
| Volatility | <X>/100 | 20% | <calc> | <1-line reason> |
| Drawdown Resilience | <X>/100 | 15% | <calc> | <1-line reason> |
| Liquidity | <X>/100 | 20% | <calc> | <1-line reason> |
| Financial Health | <X>/100 | 20% | <calc> | <1-line reason> |
| Correlation/Diversification | <X>/100 | 10% | <calc> | <1-line reason> |
| Event Risk | <X>/100 | 15% | <calc> | <1-line reason> |
| **COMPOSITE** | | **100%** | **<SCORE>/100** | |
---
## 1. Volatility Analysis
### Key Metrics
| Metric | Value | Interpretation |
|--------|-------|----------------|
| Beta (vs S&P 500) | <X> | <e.g., "Moves 1.3x the market — moderately aggressive"> |
| 14-Day ATR | $<X> (<X%>) | <e.g., "Average daily range of $2.50 (1.4%)"> |
| 30-Day Historical Volatility | <X%> (annualized) | <vs sector average> |
| 60-Day Historical Volatility | <X%> (annualized) | <trend: rising/falling/stable> |
| Implied Volatility (30-day) | <X%> | <vs HV: premium/discount of X%> |
| IV Rank (52-week) | <X%> | <e.g., "Current IV is higher than 65% of readings this year"> |
| Average Daily Move | <X%> | <e.g., "Typical day moves +/- 1.8%"> |
### Volatility Assessment
<2-3 sentences interpreting the volatility picture. Is volatility elevated or compressed? Is IV pricing in an upcoming event? How does current vol compare to its historical range?>
### Volatility-Based Stop Loss Levels
| Method | Stop Distance | Stop Price | Notes |
|--------|--------------|------------|-------|
| 1x ATR | $<X> | $<price> | Tight — will get stopped often |
| 2x ATR | $<X> | $<price> | Standard — balances noise vs protection |
| 3x ATR | $<X> | $<price> | Wide — only for high-conviction positions |
---
## 2. Maximum Drawdown Scenarios
### Historical Drawdowns
| Period | Trigger | Max Drawdown | Recovery Time |
|--------|---------|-------------|---------------|
| <date range> | <event> | -<X%> | <X months> |
| <date range> | <event> | -<X%> | <X months> |
| <date range> | <event> | -<X%> | <X months> |
| All-Time Max | <event> | -<X%> | <X months> |
### Stress Test Scenarios
| Scenario | Estimated Drawdown | Price Level | Probability |
|----------|-------------------|-------------|-------------|
| Mild correction (market -10%) | -<X%> | $<price> | Medium |
| Bear market (market -20%) | -<X%> | $<price> | Low-Medium |
| Severe crash (market -35%) | -<X%> | $<price> | Low |
| Company-specific crisis | -<X%> | $<price> | Low |
| Black swan (worst case) | -<X%> | $<price> | Very Low |
### Drawdown Assessment
<2-3 sentences. How has this stock historically behaved in down markets? Does it fall more or less than the market? How quickly does it recover?>
---
## 3. Correlation Analysis
### Correlation Matrix
| Asset | Correlation | Interpretation |
|-------|------------|----------------|
| S&P 500 (SPY) | <X> | <e.g., "Highly correlated — moves with the broad market"> |
| Sector ETF (<XLX>) | <X> | <e.g., "Strongly tied to sector trends"> |
| Nasdaq 100 (QQQ) | <X> | <interpretation> |
| 10-Year Treasury (TLT) | <X> | <e.g., "Negative correlation — benefits from falling rates"> |
| VIX | <X> | <e.g., "Negative — sells off when fear spikes"> |
| Gold (GLD) | <X> | <interpretation> |
| US Dollar (UUP) | <X> | <interpretation> |
### Diversification Value
<2-3 sentences. Does this stock add diversification to a typical portfolio? Or does it just add more of the same market exposure? Which macro factors drive it most?>
---
## 4. Liquidity Risk
### Liquidity Metrics
| Metric | Value | Rating |
|--------|-------|--------|
| Average Daily Volume (30-day) | <X shares> | <Excellent/Good/Fair/Poor> |
| Average Dollar Volume | $<X>M/day | <rating> |
| Market Cap | $<X>B | <Large/Mid/Small/Micro> |
| Float | <X>M shares (<X%> of outstanding) | <rating> |
| Short Interest | <X>M shares (<X%> of float) | <e.g., "Elevated — potential squeeze or downside pressure"> |
| Days to Cover | <X days> | <rating> |
| Typical Bid-Ask Spread | $<X> (<X%>) | <rating> |
| Options Liquidity | <Available / Limited / None> | <rating> |
### Slippage Estimates
| Order Size | Est. Slippage | Effective Cost |
|------------|--------------|----------------|
| $1,000 | <X%> | <$X> |
| $10,000 | <X%> | <$X> |
| $50,000 | <X%> | <$X> |
| $100,000 | <X%> | <$X> |
### Liquidity Assessment
<2-3 sentences. Can you enter and exit this stock easily? Are there any liquidity concerns? What order types should be used?>
---
## 5. Position Sizing Calculator
### Method 1: Fixed Percentage Risk (Standard)
Risk a fixed percentage of account equity per trade.
**Formula:** Position Size = (Account x Risk%) / (Entry - Stop Loss)
| Account Size | 1% Risk | 2% Risk | 3% Risk |
|-------------|---------|---------|---------|
| $10,000 | <X shares ($X)> | <X shares ($X)> | <X shares ($X)> |
| $25,000 | <X shares ($X)> | <X shares ($X)> | <X shares ($X)> |
| $50,000 | <X shares ($X)> | <X shares ($X)> | <X shares ($X)> |
| $100,000 | <X shares ($X)> | <X shares ($X)> | <X shares ($X)> |
| $250,000 | <X shares ($X)> | <X shares ($X)> | <X shares ($X)> |
*Based on entry at $<current price> and stop loss at $<2x ATR stop>.*
### Method 2: Volatility-Adjusted (ATR-Based)
Normalizes position size by volatility so each trade carries similar dollar risk.
**Formula:** Shares = (Account x Risk%) / (ATR x Multiplier)
| Account Size | 1x ATR | 2x ATR | 3x ATR |
|-------------|--------|--------|--------|
| $50,000 | <X shares ($X)> | <X shares ($X)> | <X shares ($X)> |
| $100,000 | <X shares ($X)> | <X shares ($X)> | <X shares ($X)> |
*Using 14-day ATR of $<X> and 2% account risk.*
### Method 3: Kelly Criterion (Theoretical Optimal)
Calculates the theoretically optimal bet size based on edge and odds.
**Formula:** Kelly % = W - [(1-W) / R]
- W (win rate) = <X%> (based on historical setup success rate or analyst consensus accuracy)
- R (reward/risk ratio) = <X>:1 (based on target/stop ratio)
- **Full Kelly:** <X%> of account
- **Half Kelly (recommended):** <X%> of account
- **Quarter Kelly (conservative):** <X%> of account
> **Note:** Full Kelly is extremely aggressive. Most practitioners use Half Kelly or less. Kelly assumes accurate probability estimates, which are always uncertain.
### Recommended Position Size
| Risk Profile | Shares | Dollar Value | % of $50K Account | Method |
|-------------|--------|-------------|-------------------|--------|
| Conservative | <X> | $<X> | <X%> | Fixed 1% risk |
| Moderate | <X> | $<X> | <X%> | Fixed 2% risk |
| Aggressive | <X> | $<X> | <X%> | Half Kelly |
---
## 6. Risk/Reward at Current Levels
### Nearest Support & Resistance
| Level | Price | Distance | Type |
|-------|-------|----------|------|
| Resistance 2 | $<price> | +<X%> | <e.g., "52-week high"> |
| Resistance 1 | $<price> | +<X%> | <e.g., "Prior swing high"> |
| **Current Price** | **$<price>** | **—** | |
| Support 1 | $<price> | -<X%> | <e.g., "50-day MA"> |
| Support 2 | $<price> | -<X%> | <e.g., "200-day MA"> |
| Support 3 | $<price> | -<X%> | <e.g., "Major horizontal support"> |
### Risk/Reward Scenarios
| Entry | Stop (Support) | Target (Resistance) | R:R Ratio | Verdict |
|-------|---------------|---------------------|-----------|---------|
| $<current> | $<support 1> | $<resistance 1> | <X>:1 | <Favorable/Unfavorable> |
| $<current> | $<support 2> | $<resistance 2> | <X>:1 | <Favorable/Unfavorable> |
| $<support 1> | $<support 2> | $<resistance 1> | <X>:1 | <Favorable/Unfavorable> |
**Best Entry for Risk/Reward:** <specific price and reasoning>
---
## 7. Value at Risk (VaR) Estimate
### Daily VaR (95% confidence)
- **Parametric VaR:** $<X> (<X%> of position)
- **Interpretation:** On 95% of trading days, the maximum expected loss is $<X> per $10,000 invested.
### Weekly VaR (95% confidence)
- **Parametric VaR:** $<X> (<X%> of position)
- **Calculation:** Daily VaR x sqrt(5)
### Monthly VaR (95% confidence)
- **Parametric VaR:** $<X> (<X%> of position)
- **Calculation:** Daily VaR x sqrt(21)
### Conditional VaR (Expected Shortfall)
- **CVaR (95%):** $<X> (<X%> of position)
- **Interpretation:** When losses exceed the VaR threshold (worst 5% of days), the average loss is $<X> per $10,000 invested.
> **VaR Limitation:** VaR measures normal-condition risk. It does NOT capture tail risk (black swans). Actual losses can and do exceed VaR estimates. Use as one input among many, not as a guarantee.
---
## 8. Risk Flags
<List any specific red flags identified during analysis. Use checkboxes.>
- [ ] **High Short Interest (>10% of float):** <details if applicable>
- [ ] **Earnings Within 14 Days:** <date if applicable>
- [ ] **Insider Selling:** <details if applicable>
- [ ] **Declining Institutional Ownership:** <details if applicable>
- [ ] **High Debt Load (D/E > 2):** <details if applicable>
- [ ] **Low Liquidity (<500K avg volume):** <details if applicable>
- [ ] **Elevated IV (IV Rank > 70%):** <details if applicable>
- [ ] **Pending Litigation/Regulatory Action:** <details if applicable>
- [ ] **Revenue/Customer Concentration:** <details if applicable>
- [ ] **Cash Burn / Negative FCF:** <details if applicable>
**Flags Triggered:** <X>/10
**Flag Assessment:** <e.g., "2 flags triggered — manageable risk with proper sizing" or "5 flags — approach with extreme caution">
---
## 9. Risk Management Recommendations
### For This Stock
1. **Position Sizing:** <specific recommendation based on risk score>
2. **Stop Loss:** <specific level and type>
3. **Hedging:** <e.g., "Consider protective put at $X strike if holding >$50K position" or "No hedging needed for small positions">
4. **Correlation Awareness:** <e.g., "If you already hold XYZ and QQQ, this adds concentrated tech exposure">
5. **Event Calendar:** <e.g., "Reduce position by 50% before earnings on <date> if holding swing trade">
6. **Review Schedule:** <e.g., "Reassess risk weekly during earnings season, monthly otherwise">
### General Risk Rules (Always Apply)
- Never risk more than 2% of total account on a single trade
- Never allocate more than 10% of portfolio to a single position
- Never hold more than 25% in a single sector
- Always have a stop loss defined before entering
- Reduce position size in low-liquidity names
- Reduce position size ahead of binary events (earnings, FDA, etc.)
---
*Generated by AI Trading Analyst — Risk Assessment Engine*
*DISCLAIMER: This is for educational and research purposes only. Not financial advice. Always do your own due diligence and consult a licensed financial advisor before making investment decisions.*When performing calculations, use Bash to run Python for precision:
# Example: Position sizing calculation
entry_price = 150.00
stop_loss = 142.00
risk_per_share = entry_price - stop_loss # $8.00
account_sizes = [10000, 25000, 50000, 100000, 250000]
risk_percentages = [0.01, 0.02, 0.03]
for account in account_sizes:
for risk_pct in risk_percentages:
dollar_risk = account * risk_pct
shares = int(dollar_risk / risk_per_share)
position_value = shares * entry_price
print(f"${account:,} at {risk_pct:.0%}: {shares} shares (${position_value:,.0f})")# Example: VaR calculation
import math
daily_volatility = 0.025 # 2.5% daily std dev
position_value = 10000
daily_var_95 = position_value * daily_volatility * 1.645
weekly_var_95 = daily_var_95 * math.sqrt(5)
monthly_var_95 = daily_var_95 * math.sqrt(21)
print(f"Daily VaR (95%): ${daily_var_95:.2f}")
print(f"Weekly VaR (95%): ${weekly_var_95:.2f}")
print(f"Monthly VaR (95%): ${monthly_var_95:.2f}")Use Python calculations whenever exact numbers are needed. Do not estimate position sizes manually.
DISCLAIMER: This is for educational and research purposes only. Not financial advice. Always do your own due diligence.
© zubair-trabzada, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/trade-risk of zubair-trabzada/ai-trading-claude.
Open the folder on GitHubat commit c6d7252
Trade Risk next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Trade Risk this skillzubair-trabzada/ai-trading-claude | 268 | — | ~4.8k | Automated safety check: Pass | MIT | |
| Quality Manager Qmrborghei/Claude-Skills | 891 | — | ~5.8k | Automated safety check: Pass | MIT | |
| Negotiation Playbookrevfactory/harness-100 | 1.3k | — | ~1.3k | Automated safety check: Pass | Apache-2.0 | |
| People Opsericrisco/rsc-harness | 180 | — | ~2.9k | Automated safety check: Pass | MIT | |
| Billing And Litigation BudgetTHUYRan/Legal-Skills-Chinese | 874 | — | ~5k | Automated safety check: Pass | None | |
| Legal Compliance SearchSerein-81/financial_rag | 148 | — | ~1.6k | Automated safety check: Notes | None |
borghei/Claude-Skills
Senior Quality Manager Responsible Person (QMR) for HealthTech and MedTech.
revfactory/harness-100
A contract negotiation strategy and amendment proposal playbook.
ericrisco/rsc-harness
A skill your agent uses when the offer is signed and you now have to run the person — an onboarding plan from preboarding through the 30/60/90 ramp, drafting or auditing an internal policy or…
THUYRan/Legal-Skills-Chinese
A skill your agent uses when the user needs to track or manage attorney hours, expert fees, and investigation costs; control litigation spend; or prepare timesheets or expense statements for clients.
Serein-81/financial_rag
Looks up current company registration rules, industry licences and compliance obligations in China through live web search, tailored to the business profile.
Light0305/Light-skills
Prepares draft materials for a China software copyright registration from a real project: application worksheet, source deposit plan, operation manual and consistency checks.
zubair-trabzada/ai-trading-claude
Full Stock Analysis Orchestrator — launches 5 parallel subagents for comprehensive multi-dimensional stock analysis with composite Trade Score
zubair-trabzada/ai-trading-claude
Head-to-Head Stock Comparison — takes two tickers and compares them across valuation, growth, profitability, technical setup, sentiment, risk profile, and analyst consensus with a scored comparison…
zubair-trabzada/ai-trading-claude
Fundamental Analysis Agent — valuation, growth, profitability, balance sheet, competitive moat, and management quality analysis with Fundamental Score (0-100)
zubair-trabzada/ai-trading-claude
60-Second Stock Snapshot — fast assessment with signal, key factors, and levels without launching subagents
zubair-trabzada/ai-trading-claude
Sector Rotation & Analysis — analyzes sector momentum rankings, money flows, economic cycle positioning, relative strength, top stocks per sector, valuations, and rotation signals to identify where…
zubair-trabzada/ai-trading-claude
Sentiment & Momentum Analysis Agent — news sentiment, social media buzz, analyst ratings, institutional activity, insider trading, and short interest with Sentiment Score (0-100)
Categories
Risk Assessment & Position Sizing — analyzes volatility, drawdown scenarios, correlation, liquidity, and provides position sizing calculators (Kelly Criterion, fixed percentage, volatility-adjusted)…. Trade Risk is an agent skill from zubair-trabzada/ai-trading-claude. Risk Assessment & Position Sizing — analyzes volatility, drawdown scenarios, correlation, liquidity, and provides position sizing calculators (Kelly Criterion, fixed percentage, volatility-adjusted) with a composite Risk Score (0-100) for any publicly traded stock.
Trade Risk fits situations like: legal & Compliance work in your project.
Run `npx skills add zubair-trabzada/ai-trading-claude --skill trade-risk -a claude-code`. Or copy the skill folder (skills/trade-risk in zubair-trabzada/ai-trading-claude) into .claude/skills/trade-risk in your project. Claude Code loads it when a task matches its description.
Run `npx skills add zubair-trabzada/ai-trading-claude --skill trade-risk -a codex`. Or copy the skill folder (skills/trade-risk in zubair-trabzada/ai-trading-claude) into .agents/skills/trade-risk in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add zubair-trabzada/ai-trading-claude --skill trade-risk -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/trade-risk, .gemini/skills/trade-risk, .github/skills/trade-risk and .opencode/skills/trade-risk in your project.
Going by SKILL.md and its folder, Trade Risk needs the command-line tools its instructions call (black).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Trade Risk is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 4.8k tokens (SKILL.md is roughly 19k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Trade Risk: Quality Manager Qmr (borghei/Claude-Skills, 891 stars), Negotiation Playbook (revfactory/harness-100, 1.3k stars), People Ops (ericrisco/rsc-harness, 180 stars) and Billing And Litigation Budget (THUYRan/Legal-Skills-Chinese, 874 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
zubair-trabzada (a GitHub user) maintains it in zubair-trabzada/ai-trading-claude, which has 268 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on April 7, 2026.
Source: zubair-trabzada/ai-trading-claude on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.