Inside tradermonty/claude-trading-skills: Architecture & Production Teardown: How Does It Work in Production?
TL;DR: The tradermonty/claude-trading-skills repository is an open-source, YAML-driven workflow toolkit that uses Anthropic's Claude to structure market analysis, risk management, and trade journaling. It provides a disciplined, human-in-the-loop decision framework for individual investors rather than acting as a fully automated execution bot, relying on explicit decision gates and local state management.
What Is Inside tradermonty/claude-trading-skills: Architecture & Production Teardown & Why Is It Blowing Up?
The https://github.com/tradermonty/claude-trading-skills repository implements large language model capabilities for financial decision-making. It functions as a structured workflow engine for individual investors with limited time. The system does not execute trades. Instead, it guides you through predefined analytical steps, risk assessments, and journaling exercises before you deploy any capital. The project has gained traction, with over 8,800 stars and 1,600 forks on its https://github.com/tradermonty/claude-trading-skills#readme page.
Engineers are starring this repository because it addresses a specific architectural problem in AI agents. Most financial AI tools provide an open-ended chat interface that leads to unstructured analysis. This repository uses strict YAML manifests, explicit anchor skills, and mandatory decision gates to constrain the model. The author built the system for personal use before opening it to others, so the codebase reflects actual operational constraints.
The system organizes operations into specific goals. The market-regime-daily workflow requires the market-breadth-analyzer, uptrend-analyzer, and exposure-coach skills. The swing-opportunity-daily workflow uses the vcp-screener, drawdown-circuit-breaker, technical-analyst, position-sizer, trader-memory-core, and pre-trade-discipline-gate skills. By breaking the trading process into these discrete functions, the architecture prevents the model from hallucinating broad summaries and forces it to compute specific metrics from provided data.
Real-World Field Use Cases & Implementation Ideas
The architectural patterns in this repository extend beyond individual stock trading. Engineering teams can adapt these concepts for production environments.
1. Developer Platform Integration: Embedding into existing CI/CD and production microservice pipelines
Financial analysis scripts often exist only on one analyst's machine, creating a single point of failure and making audits difficult.
You can implement the YAML-based workflow manifests from this repository into a standard CI/CD pipeline. A cron job can trigger the market-regime-daily workflow, pull public CSVs, run the Claude Code CLI, and commit the resulting market-posture.svg and JSON artifacts to a private repository.
This creates a version-controlled, auditable trail of market analysis for the team to review before the trading desk opens.
2. Concurrency & Memory Footprint: Evaluating P99 latency and resource utilization under load
Running multiple complex LLM evaluations sequentially causes latency bottlenecks. A full portfolio review might take minutes if the system processes each ticker one by one.
Engineers can decouple the anchor skills defined in skills-index.yaml. Instead of running the core-portfolio-weekly workflow as a single blocking process, you can fan out kanchi-dividend-review-monitor tasks across multiple concurrent workers. The portfolio-manager skill then aggregates the results.
This reduces P99 latency, allowing the system to process hundreds of positions within a strict time window.
3. Build-vs-Buy Adoption Verdict: Comparing operational trade-offs against managed cloud alternatives
Organizations often struggle to decide between building local AI tools or subscribing to managed enterprise platforms.
You can use this repository as a local prototype. The "No API Key Starter Path" lets teams validate the trader-memory-core and signal-postmortem skills using local files. Once you prove the value, you can migrate the logic to a managed framework like Google's Agent Development Kit.
This leads to a data-driven procurement decision. The team avoids spending budget on API subscriptions until the internal workflow requires live data from Alpaca or Financial Modeling Prep (FMP).
Under the Hood: Architecture & Design Choices
The internal architecture separates state, skills, and orchestration. The skills/ directory contains the source code for each capability, while the workflows/ directory holds the YAML manifests that define execution order. The skills-index.yaml file is the metadata registry for the entire system.
The system uses local file state and explicit API integrations instead of a complex database. The skills-index.yaml file is the authoritative source of truth. If the README disagrees with the index, the index is correct. This design simplifies debugging because you can inspect local YAML files to see exactly what the system has done.
flowchart LR
subgraph Orchestration
A[User Trigger] --> B[Claude Code CLI]
B --> C{Workflow Manifest}
end
subgraph AnchorSkills["Anchor Skills"]
C -->|market-regime-daily| D[market-breadth-analyzer]
C -->|market-regime-daily| E[uptrend-analyzer]
C -->|swing-opportunity-daily| F[vcp-screener]
C -->|swing-opportunity-daily| G[drawdown-circuit-breaker]
end
subgraph StateData["State & Data"]
D --> H[(Public CSVs)]
E --> H
F --> I[(FMP API)]
G --> J[(Local State)]
end
subgraph Output
D --> K[Exposure Coach Posture]
E --> K
F --> L[Pre-Trade Discipline Gate]
G --> L
end
The execution environment limits the concurrency model. Because the system runs via Claude Code or Claude Web Skills, it operates in a sequential loop. You initiate a workflow, the LLM reads the manifest, calls the tools in order, and waits for results. This is a batch-processing system for daily or weekly execution, not a high-frequency trading architecture.
The data handling and security model is straightforward. The repository includes a SECURITY.md file and a privacy policy. Since the system runs locally, you retain control over local state files. The system only sends the data required for a specific skill. The position-sizer skill, for example, is a pure calculation function that requires no external input. The trader-memory-core skill relies on local YAML journaling.
When comparing this architecture to enterprise standards, look at modern agent frameworks. The https://google.github.io/adk-docs/ documentation outlines the Agent Development Kit (ADK) 2.0, which provides deterministic graph workflows and multi-agent orchestration. The YAML manifests in this repository serve the same conceptual purpose as Graph Workflows in ADK. Both systems weave deterministic code with AI reasoning.
The implementation details differ. This repository relies on the LLM to interpret the YAML manifest and call tools. ADK uses explicit execution paths in Python, TypeScript, Go, Java, or Kotlin. To scale this logic for hundreds of users, you would likely rewrite the YAML manifests into ADK Graph Workflows for better error handling, retries, and observability through Google Cloud.
The repository uses uv for Python packaging, as indicated by pyproject.toml and uv.lock. This ensures deterministic builds and fast environment setup. The release history at https://github.com/tradermonty/claude-trading-skills/releases shows iterative improvements to these core skills and manifests.
Hands-On Quickstart & Code Walkthrough
To implement this system, set up the Python environment and configure API keys. You can use the "No API Key Starter Path" to test the system without paid data subscriptions.
Clone the repository and set up the environment using uv. The uv.lock file ensures you install the exact dependency versions used by the author.
# Clone the repository
git clone https://github.com/tradermonty/claude-trading-skills.git
cd claude-trading-skills
# Install dependencies using uv
uv venv
source .venv/bin/activate
uv pip install -r pyproject.toml
Workflow manifests dictate the sequence of operations. To run the market-regime-daily workflow, you only need the public CSV files for the breadth and uptrend analyzers.
The manifest defines the goal, required skills, and the expected output artifact.
# workflows/market-regime-daily.yaml
workflow_id: market-regime-daily
description: "15-minute daily market check to determine overall exposure posture."
required_skills:
- market-breadth-analyzer
- uptrend-analyzer
- exposure-coach
data_requirements:
- public_csv_breadth_scores
- public_csv_uptrend_participation
execution_steps:
- step: 1
skill: market-breadth-analyzer
action: calculate_breadth_score
input: local_csv
- step: 2
skill: uptrend-analyzer
action: evaluate_participation
input: local_csv
- step: 3
skill: exposure-coach
action: determine_posture
depends_on: [step_1, step_2]
output_artifact: market-posture-summary
To execute this workflow, interact with Claude Code in your terminal. Instruct Claude to read the manifest and execute the steps.
# Start Claude Code in the repository directory
claude
# Inside the Claude Code prompt:
> Please execute the workflows/market-regime-daily.yaml manifest.
> The required CSV files are located in the ./data/public/ directory.
Claude reads skills-index.yaml to invoke the market-breadth-analyzer and uptrend-analyzer. It processes the CSV files, computes metrics, and passes results to the exposure-coach. The final output is a posture recommendation, such as a 36% exposure ceiling. This is for human review, not an automated order.
For the swing-opportunity-daily workflow, you need an FMP API key. Configure your environment variables before launching the agent.
export FMP_API_KEY="your_financial_modeling_prep_key"
claude
> Please run the swing-opportunity-daily workflow.
The system executes the vcp-screener, checks the drawdown-circuit-breaker against local state, and moves through the pre-trade-discipline-gate before generating trade candidates.
My Honest Verdict: Where It Fits in Your Stack (Pros & Trade-offs)
The tradermonty/claude-trading-skills repository focuses on process improvement and risk management rather than autonomous bots.
Pros:
The strict adherence to workflows and decision gates reduces hallucinations. The model executes the market-breadth-analyzer skill using a specific CSV file instead of performing an open-ended analysis. This makes the output repeatable.
The modular skills-index.yaml design allows you to add or modify skills without breaking the system. The "No API Key Starter Path" lets you test the journaling framework before committing to data providers. Local state files ensure data privacy, as you own your trade history and performance metrics.
Trade-offs:
The system depends on the Anthropic ecosystem, requiring Claude Web Skills or Claude Code. Refactoring would be necessary if Anthropic changes its API pricing or execution model.
The execution model is manual. You must initiate the workflows yourself. This limits the system if you need an automated alerting pipeline. Relying on the LLM to interpret the YAML manifest also introduces latency.
Where It Fits in Your Stack:
This repository is for individual investors or quantitative analysts who want to formalize daily routines. It provides a framework for discipline and continuous improvement.
For enterprise teams building production systems, this repository is a conceptual prototype. You can extract the logic and rebuild the orchestration layer using a framework like Google ADK. Mapping the manifests to ADK Graph Workflows provides deterministic execution and observability while keeping the core analytical concepts.