Skip to main content
← Skills
Skill · Code repo

Connect Market Research, Position Sizing and Reviews

Build a repeatable workflow for market analysis, stock screening, position sizing and trade reviews. Start with public market data, then add other data services as needed.

@tradermonty Claude Trading Skills
  • Market analysis
  • Position sizing
  • Trade review

Works with Claude Code

Requirements

  • Git
  • uv
  • Python 3.10–3.13

Overview

What you get

  • 74 skills spanning market analysis, screening, trade planning, position sizing, journaling, reviews, and skill-maintenance tools.
  • A Navigator that recommends workflows based on goals, available time, experience, and data requirements.
  • JSON and Markdown market reports, local research records, and weekly summaries of closed trades.

Good fit

  • Building a repeatable research process, primarily for US equities.
  • Checking public market data before moving to stock-level research.
  • Recording research ideas and reviewing real trade history.

Not for

  • Automatically placing orders or treating report outputs as a complete trading decision.
  • Assuming every skill works without paid data services or supports every stock market.

Tutorial

Turn scattered market checks into a repeatable process

After reading an index chart, a few stock charts, and the news, you may still struggle to explain what supports your view, what information is missing, and how to review that view next week. Claude Trading Skills separates these tasks into skills you can combine, leaving reports and research records you can revisit.

The repository currently contains 74 skills for market analysis, stock screening, trade planning, position sizing, and reviews, plus tools for maintaining skills. Its main focus is US equities. These are not 74 stock pickers, and the collection is not an automated trading system. There is currently no similar trading-research collection on Opuskill.

Start with one small workflow: generate reports from public data, identify gaps in the combined assessment, save a research idea, and generate a weekly digest. Choose additional skills after you understand that loop.

The image on this page is the official Navigator illustration with fictional data. It shows how a goal leads to a workflow recommendation and a list of required skills, not a live market assessment or a result from our own run.

Install and choose a route without paid market-data APIs

Prepare the project and six skills

This tutorial uses Claude Code. You need Git, uv, Python 3.10–3.13, and internet access to public CSV files. This route needs no FMP, FINVIZ Elite, or broker credentials.

  1. Clone the repository in your terminal, enter its root directory, and install the locked dependencies:

    git clone https://github.com/tradermonty/claude-trading-skills.git
    cd claude-trading-skills
    uv sync --locked
    mkdir -p reports/first-week state/first-week-theses first-week-inputs

    Run all subsequent terminal commands from this repository root. uv run python uses the project environment, so you do not need to install its Python packages individually.

  2. Copy the six complete skill folders used here into Claude Code’s personal skills directory:

    mkdir -p ~/.claude/skills
    for skill in trading-skills-navigator market-breadth-analyzer uptrend-analyzer exposure-coach trader-memory-core weekly-performance-digest; do
      cp -R "skills/$skill" ~/.claude/skills/
    done

    Check that each folder retains SKILL.md and its accompanying scripts, references, and other files. Keep the cloned repository too: the commands below still run from there. If you created the top-level ~/.claude/skills/ directory after starting your Claude Code session, restart the session.

Ask the Navigator to recommend a workflow

trading-skills-navigator recommends a workflow based on your goal and data constraints. It does not execute other skills. Run the official introductory query from the repository root:

uv run python skills/trading-skills-navigator/scripts/recommend.py \
  --query "I want a 15-minute daily market check without paid API keys" \
  --no-api --time-budget 15m --experience beginner --format json

15m is a time budget for selecting a routine, not a promise about execution time.

Look for primary_workflow.id: market-regime-daily, primary_workflow.api_profile: no-api-basic, and no_api_path: true. The recommendation tells you which route to take; you still need to run its steps and check their outputs.

Generate market reports and check the inputs first

Run the two public-data analyzers

  1. From the repository root, run:

    uv run python skills/market-breadth-analyzer/scripts/market_breadth_analyzer.py \
      --output-dir reports/first-week
    
    uv run python skills/uptrend-analyzer/scripts/uptrend_analyzer.py \
      --output-dir reports/first-week

    Market Breadth Analyzer examines how broadly stocks participate in a market advance. Uptrend Analyzer examines uptrend participation across stocks and sectors. Both download public data and write timestamped JSON and Markdown reports.

  2. Open the new market_breadth_*.md and uptrend_analysis_*.md files. Read the data dates and freshness warnings before interpreting the analysis. Resolve failed downloads or stale data instead of treating an old report as a new result.

Combine the reports and identify missing inputs

Exposure Coach reads JSON from other skills to produce a combined risk assessment. It does not fetch every missing data source for you.

  1. Find the JSON paths printed by the two commands above and substitute them for the two placeholders below. The breadth report follows market_breadth_YYYY-MM-DD_HHMMSS.json; do not select the history file, market_breadth_history.json.

    uv run python skills/exposure-coach/scripts/calculate_exposure.py \
      --breadth "reports/first-week/REPLACE_WITH_THIS_RUNS_BREADTH_REPORT.json" \
      --uptrend "reports/first-week/REPLACE_WITH_THIS_RUNS_UPTREND_REPORT.json" \
      --output-dir reports/first-week
  2. Open the new exposure_posture_*.json and check these fields in order:

    FieldWhat to check
    inputs_providedIt should include breadth and uptrend; passing a path does not prove the report was recognized
    inputs_missingWhich dimensions have no accepted input
    confidenceThis minimal route should produce LOW confidence
    recommendationWith critical regime and top-risk inputs missing, expect REDUCE_ONLY (reduce existing positions; no new entries) or CASH_PRIORITY (prioritize cash; avoid new commitments)

    This conservative result reflects incomplete inputs; it does not establish a bearish market outlook. exposure_ceiling_pct is the tool’s suggested maximum equity allocation, expressed as a percentage from 0 to 100. It caps the portfolio’s equity allocation, not the size of an individual order. Read this value alongside the missing dimensions rather than changing your allocation to match it automatically. If a supplied file still appears as missing, investigate whether its contents were recognized.

The useful outcome here is knowing what evidence was used and what remains missing, rather than obtaining a buy or sell instruction. For a complete assessment, follow the relevant skill guides to supply additional data instead of filling gaps with assumptions.

Record a view and generate a weekly digest

Save an idea you can test later

trader-memory-core manages local research and trade records. Begin with an IDEA, without inventing a fill price or position to complete the exercise.

  1. Save this official example as first-week-inputs/manual-idea.json inside the repository. It records an observation to test, not a current recommendation to buy AMD:

    {
      "ticker": "AMD",
      "thesis_statement": "Observe whether AMD holds above the prior breakout area for five sessions.",
      "thesis_type": "growth_momentum"
    }
  2. In your terminal, ingest the idea, then inspect the stored record:

    uv run python skills/trader-memory-core/scripts/trader_memory_cli.py ingest \
      --source manual --input first-week-inputs/manual-idea.json \
      --state-dir state/first-week-theses
    
    uv run python skills/trader-memory-core/scripts/trader_memory_cli.py store \
      --state-dir state/first-week-theses list
    
    uv run python skills/trader-memory-core/scripts/trader_memory_cli.py review \
      --state-dir state/first-week-theses review-due

    Ingestion should print the generated record ID. Check that its ticker, statement, and IDEA status match your input. This does not mean a position was opened. Use the CLI for state changes rather than editing YAML and bypassing validation.

Generate a digest for the last seven days

Run in the same terminal:

uv run python skills/weekly-performance-digest/scripts/generate_weekly_digest.py \
  --state-dir state/first-week-theses \
  --output-dir reports/first-week --verbose

Open weekly_digest_*.md. Weekly Performance Digest summarizes closed trades. You only created an IDEA, so a zero-trade report is the correct result. Once you have real, complete trade records, use the digest to examine returns, win/loss patterns, and recurring problems.

To adapt the example, first change only ticker and thesis_statement, keeping its momentum-research type. Make the statement testable by naming what you will observe, under which conditions, and over what period. If your goal changes to dividends or valuation, check the appropriate skill and record type rather than retaining the momentum classification.

Adapt the process to your research

For a daily routine, generate fresh reports, check their data dates and missing inputs, then record your reasoning. Your next review can then use the evidence available at the time, rather than reconstructing it from memory.

To have Claude help read the reports, try the following request. Opuskill wrote it as a reading aid; it has not been executed as a test:

Read the two analyzer reports and the exposure_posture report I specify in [this run's report directory].
First check their dates, accepted inputs, and missing dimensions, then explain their main observations.
Separate data observations, rule-based tool outputs, and judgments that need human verification.
Identify the additional evidence I need; do not interpret missing inputs as a bearish signal.
Help me formulate one testable research question. Do not modify local records or execute trades.

Expand by goal rather than installing every remaining skill:

GoalWhat to check next
Screen stocks against criteriaCheck the selected screener’s data requirements; several require FMP, and some workflows involve FINVIZ Elite
Size a positionPosition Sizer takes account size, entry price, stop price, and risk parameters; it calculates size rather than selecting a trade
Analyze existing holdingsCheck whether the workflow needs a holdings connection such as Alpaca MCP; the introductory route’s API requirements do not apply to the entire collection
Review trade performanceRecord actual entries, exits, and lifecycle changes before choosing a weekly digest or a single-trade review

The project uses the MIT license. See the repository README for installation and current dependencies, the official first-week guide for the source workflow, and skills-index.yaml for the complete index.