Skip to content
Finance
Skill

/exposure-coach

Generate a one-page Market Posture summary with net exposure ceiling, growth-vs-value bias, participation breadth, and new-entry-allowed vs cash-priority recommendation by integrating signals from breadth, regime, and flow analysis skills.

From plugin
claude-trading-skills
6.9k74 skills2 agents2 commands

Claude Code

$ npx -y skills add tradermonty/claude-trading-skills --skill exposure-coach --agent claude-code

SKILL.md

exposure-coach.SKILL.md
name: exposure-coach
description: Generate a one-page Market Posture summary with net exposure ceiling, growth-vs-value bias, participation breadth, and new-entry-allowed vs cash-priority recommendation by integrating signals from breadth, regime, and flow analysis skills.

Exposure Coach

Overview

Exposure Coach synthesizes outputs from market-breadth-analyzer, uptrend-analyzer, macro-regime-detector, market-top-detector, ftd-detector, theme-detector, sector-analyst, and institutional-flow-tracker into a unified control-plane decision. The skill answers the solo trader's core question: "How much capital should I commit to equities right now?" before any individual stock analysis begins.

When to Use

  • Before initiating any new stock positions to determine appropriate capital commitment
  • At the start of each trading week to calibrate portfolio exposure
  • When multiple market signals conflict and a unified posture is needed
  • After significant macro or market events to reassess exposure ceiling
  • When transitioning between market regimes (broadening, concentration, contraction)

Prerequisites

  • Python 3.9+
  • FMP API key (set `FMP_API_KEY` environment variable) for institutional-flow-tracker data
  • Input JSON files from upstream skills (see Workflow Step 1)
  • Standard library + `argparse`, `json`, `datetime`

Workflow

Step 1: Gather Upstream Skill Outputs

Collect the most recent JSON outputs from integrated skills. Each file provides a specific signal dimension:

| Skill | Output File Pattern | Signal Provided | |-------|---------------------|-----------------| | market-breadth-analyzer | `breadth_*.json` | Advance/decline ratios, new highs/lows | | uptrend-analyzer | `uptrend_*.json` | Uptrend participation percentage | | macro-regime-detector | `regime_*.json` | Current regime (Concentration, Broadening, etc.) | | market-top-detector | `top_risk_*.json` | Distribution day count, top probability score | | ftd-detector | `ftd_*.json` | Follow-Through Day quality (market bottom confirmation) | | theme-detector | `theme_detector_*.json` or `theme_*.json` | Active investment themes and rotation | | sector-analyst | `sector_*.json` | Sector performance rankings | | institutional-flow-tracker | `institutional_*.json` | Net institutional buying/selling |

Step 2: Run Exposure Scoring Engine

Execute the exposure scoring script with paths to upstream outputs:

python3 skills/exposure-coach/scripts/calculate_exposure.py \
  --breadth reports/breadth_latest.json \
  --uptrend reports/uptrend_latest.json \
  --regime reports/regime_latest.json \
  --top-risk reports/top_risk_latest.json \
  --ftd reports/ftd_latest.json \
  --theme reports/theme_latest.json \
  --sector reports/sector_latest.json \
  --institutional reports/institutional_latest.json \
  --output-dir reports/

The script accepts partial inputs; missing files reduce confidence but do not block execution.

When an input declares `evaluation_coverage`, require valid schema 1.0 counts and `verdict: complete`. Partial, not-evaluable or malformed coverage is excluded as missing, with a stderr warning; never restore its score or bias manually. Legacy inputs without the block remain supported without a coverage guarantee.

Canonical macro-regime reports must include nested `regime.confidence` and `composite.data_quality` with valid integer component counts. Missing or malformed availability metadata, `very_low` confidence, and zero usable components are treated as missing critical input. They do not contribute a regime score or bias, and the normal missing-input haircut and confidence cap apply. Never override this degradation by manually copying the report's regime label into the exposure decision.

**Theme input contract:** Consume canonical `report_type: theme_detector` reports from `themes.all` once; ignore duplicate sorted groups. Require finite numeric non-boolean heat in [0,100], bullish/bearish direction, and `data_quality` with `ok`/`warning` status and string-list flags. The consumer maps to `round(50 + mean(signed_heat)/2)` (bullish positive, bearish negative; nearest integer, ties to even). This is an uncalibrated integration heuristic, not a forecast or freshness guarantee. Legacy numeric theme_score and recognized theme_strength labels remain supported; see references/exposure_framework.md.

**Verification pitfall:** Inspect `inputs_provided`, `inputs_missing`, `inputs_unparseable` and `input_warnings` (diagnostic fields appear only when nonempty). Omitted theme input is missing; supplied but invalid/unreadable theme input is unparsable, excluded and warned on stderr. Never fold a rejected theme into exposure manually. Upstream quality flags remain visible in JSON/Markdown/stderr. Confidence measures input completeness, not freshness, verified quality or prediction accuracy. Do not interpret eligibility or a numerical score as validation of upstream data.

Step 3: Interpret the Market Posture Summary

Review the generated posture report containing:

1. **Exposure Ceiling** -- Maximum recommended equity allocation (0-100%) 2. **Bias Direction** -- Growth vs Value tilt based on regime and flow 3. **Participation Assessment** -- Broad (healthy) vs Narrow (fragile) market 4. **Action Recommendation** -- NEW_ENTRY_ALLOWED, REDUCE_ONLY, or CASH_PRIORITY 5. **Confidence Level** -- HIGH, MEDIUM, or LOW based on input completeness

Step 4: Apply Exposure Guidance

Map the posture recommendation to portfolio actions:

| Recommendation | Action | |----------------|--------| | NEW_ENTRY_ALLOWED | Proceed with stock-level analysis and new positions | | REDUCE_ONLY | No new entries; trim existing positions on strength | | CASH_PRIORITY | Raise cash aggressively; avoid all new commitments |

Output Format

JSON Report

{
  "schema_version": "1.0",
  "generated_at": "2026-03-16T07:00:00Z",
  "exposure_ceiling_pct": 70,
  "bias": "GROWTH",
  "participation": "BROAD",
  "reco
Read more
@tradermonty
Ships withclaude-trading-skills

Data handling: Privacy policy · Security policy Claude Trading Skills started as a personal project to use AI to improve my own trading process. Claude Trading Skills is a Claude Skills-based trading workflow toolkit for time-constrained individual investors.

6.9k74 skills2 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
6.9k
Star history of tradermonty/claude-trading-skills on GitHub, a chart by star-history.com

Other skills on claude-trading-skills.

More skills from other plugins.

ccxt-cli

ccxt-cli

CCXT command-line interface (ccxt-cli) for interacting with 100+ cryptocurrency exchanges directly from the terminal — no code…

ccxt9d45k
@ccxt@ccxtInstall Skill

Questions about exposure-coach.

Which coding agents can use exposure-coach?
exposure-coach installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.