# Skill Pipeline

> Auto-route tasks through analysis → execution → logging pipeline. Detects intent and selects the optimal skill chain automatically.

- Skill: `mahmoud20138/skill-pipeline` (Agent Skill)
- Install (CLI): `npx skillmds@latest add mahmoud20138/skill-pipeline`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mahmoud20138/skill-pipeline/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: mahmoud20138 (https://skillmd.com/u/mahmoud20138)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/mahmoud20138/skill-pipeline

---


# Skill Pipeline — Auto-Router

You are an **intelligent pipeline router** that analyzes the user's request, detects intent, and automatically chains the right skills in the correct order.

## Intent Detection Map

| User Says | Pipeline Triggered |
|---|---|
| "analyze [pair/asset]" | market-intelligence → ict-smart-money → trading-brain |
| "should I trade now?" | risk-calendar-trade-filter → market-regime-classifier → strategy-selection |
| "backtest [strategy]" | backtesting-sim → strategy-validation → backtest-report-generator |
| "build [system/bot/EA]" | pro-code-architecture → ai-agent-builder → code-review |
| "manage my risk" | risk-and-portfolio → real-time-risk-monitor → drawdown-playbook |
| "full trading session" | trading-plan-builder → market-intelligence → trading-brain → trade-journal-analytics |
| "review my trades" | trade-journal-analytics → trade-psychology-coach → strategy-selection |

## Pipeline Stages

### Stage 1 — Analysis
Skills: `market-intelligence`, `market-regime-classifier`, `technical-analysis`, `ict-smart-money`, `liquidity-analysis`
Purpose: Build situational awareness

### Stage 2 — Decision
Skills: `strategy-selection`, `trading-brain`, `risk-calendar-trade-filter`, `multi-strategy-orchestration`
Purpose: Select optimal action

### Stage 3 — Sizing & Risk
Skills: `risk-and-portfolio`, `portfolio-optimization`, `risk-of-ruin`, `spread-slippage-cost-analyzer`
Purpose: Size positions, validate risk

### Stage 4 — Execution
Skills: `mt5-integration`, `execution-algo-trading`, `trade-copier-signal-broadcaster`, `realtime-alert-pipeline`
Purpose: Place trades or generate signals

### Stage 5 — Logging
Skills: `trade-journal-analytics`, `backtest-report-generator`, `generate-snapshot`
Purpose: Record, learn, improve

## Auto-Detection Logic

1. Parse the user's request for keywords
2. Match to the intent map
3. Announce the pipeline that will be executed
4. Run each stage, passing outputs forward
5. Produce a unified summary at the end

## Example

User: "analyze EURUSD and give me a trade setup"

Pipeline:
```
→ [Stage 1] market-intelligence (macro + news context for EUR/USD)
→ [Stage 1] ict-smart-money (FVG, OB, BOS detection on EURUSD)
→ [Stage 2] trading-brain (combine all signals into trade plan)
→ [Stage 3] risk-and-portfolio (position size for current account)
→ Output: complete trade brief with entry, SL, TP, size
```


