7 Viral Repos That Make Claude Trading Feel Illegal (free)
Install any combination of seven market research, backtesting, forecasting, screening, and paper trading tools through a guided Claude Code setup, with safety checks, test prompts, and setup
claude trading stack setup
7 Viral Repos That Make Claude Trading Feel Illegal
The one-prompt setup guide. Free, from Miles Deutscher Finance.
How to use this file
- Open Claude Code (the desktop app or the terminal).
- Drag this file into the chat (or paste it in) and type: `Set this up for me.`
- Answer Claude's questions as they come. It checks your computer, installs what's missing, and sets up the repos you pick, one at a time.
You can install all seven or only the ones you want. Plan on 30 to 60 minutes for everything. Afterwards, [Plug in live data and your own accounts](#plug-in-live-data-and-your-own-accounts) shows what each tool pulls live, how to add more sources or your own portfolio, and how to check it's working.
What you need: Claude Code on a paid Claude plan, a free GitHub account (for #3), and a few minutes per tool. Claude installs Python, git and the rest if they're missing (it asks first). Two tools need an API key from an AI provider, billed by that provider: #3, and #2 (which can use a ChatGPT Plus/Pro plan instead). Everything else runs free; the screeners in #1 need an FMP key, which has a free plan.
Using ChatGPT / Codex instead? Most of this works there too. See [Using GPT or Codex](#using-gpt-or-codex) at the bottom for which parts are Claude-only.
Read this once. This is research software, not financial advice. Everything in this guide is research, backtesting and paper trading. Nothing here places a real trade. Never paste an API key or password into the chat. Claude will tell you exactly where to paste each key yourself (a file on your computer, GitHub's Secrets page, or your terminal).
The 7 repos (least favourite to favourite, like the video)
| # | Repo | What it does | Key needed? |
|---|---|---|---|
| 7 | Last 30 Days Skill | Researches any stock or topic from the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket and the web, ranked by real engagement, with every source cited | No (optional keys unlock more sources) |
| 6 | Vibe-Trading | Personal trading agent from HKUDS, a University of Hong Kong lab: ask in plain English, backtest across 450+ built-in quant alphas, paper trade | No (Yahoo Finance for stocks, OKX for crypto) |
| 5 | Day Trader skill | 11 Claude skills for day trading, including the Time Machine that replays a trade before you take it | No |
| 4 | Kronos | A model trained only on candlesticks from 45+ exchanges that forecasts the next candles. Runs on your own computer | No |
| 3 | Daily Stock Analysis | An AI report on every stock in your watchlist, sent to Telegram (or Discord, Slack, email) on a schedule. Runs free on GitHub Actions, so your computer can be off | Yes: one AI provider key and a Telegram bot |
| 2 | TradingAgents | Turns AI into a hedge fund: 12 agents (analysts, bull vs bear researchers, a trader, a risk team, a portfolio manager) argue before giving a final rating from Buy to Sell | Yes: one AI provider key (or a ChatGPT plan) |
| 1 | Claude Trading Skills | More than 60 Claude skills built as a full daily routine: read the market regime, screen for setups, plan and size the trade, check discipline, journal and review | No for the starter path. An FMP key for the screeners (free plan available) |
Instructions for the AI (read this first)
You are setting up a free AI trading research stack for the user. Follow these rules for the whole setup.
- Start with two or three sentences on what you're about to do. Then ask which of the seven tools they want. The default is all seven, in the order below (#7 first, #1 last).
- Ask one question at a time and wait for the answer.
- In every prompt below, fill the
[BRACKETS]with the user's answers and leave every other word exactly as written. Examples in brackets are suggestions you can offer, not answers. - Never ask for, accept or repeat an API key, password, token or secret in this chat. When a key is needed, tell the user exactly where to paste it themselves (a file you name, GitHub's Secrets page, or a command they type in their own terminal), wait until they say it's done, then check it works without printing it. If they paste a key into the chat anyway, tell them to delete it at the provider and make a new one.
- Ask before you install system software, create or connect any account, fork a repo, edit a shell profile, or overwrite anything that already exists.
- Paper and research only. Never place, change or cancel a real order. Where a tool can connect to a broker, use a paper account, and only if the user asks for it.
- Run each step once. If a step fails, read the error, fix the cause and retry once. If it still fails, explain in plain words, note it for the summary and move on. Don't loop.
- These repos change fast. If anything below disagrees with a repo's own README, the README wins.
- After each tool, offer its "Try it" prompt as a quick test, run only if the user wants to, and only when it can work in this session. Kronos (#4), TradingAgents (#2) and Daily Stock Analysis (#3) work straight away. The plugins (#7, #5) work once the user types
/reload-plugins. Vibe-Trading's connection (#6) and the Claude Trading Skills (#1) need Claude Code restarted, so save those tests for after the [Finish](#finish) summary. - Finish with the summary described in [Finish](#finish).
Step 0: Check the computer and make a home for everything
For the AI:
- Detect the operating system yourself (don't ask). On Windows, use the equivalent paths and commands throughout.
- Check for:
git, Python 3.12 or newer, `uv` (a fast Python installer), and theclaudecommand. Install anything missing after asking. uv's official installer iscurl -LsSf https://astral.sh/uv/install.sh | shon Mac and Linux, andpowershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"on Windows. With uv,uv python install 3.12gets the right Python. - Make one folder for the repos that get cloned:
~/trading-desk(ask only if they'd like another place).
#7: Last 30 Days Skill
What it does: Type /last30days and a ticker or topic. It searches Reddit, X, YouTube, Hacker News, Polymarket, StockTwits and the web at the same time, ranks what it finds by upvotes, likes, views and prediction-market money (not by what ranks on Google), and writes you a brief with every source cited.
Needs: Python 3.12+. No keys to start: Reddit, Hacker News, Polymarket, GitHub and StockTwits work straight away.
Questions to ask: None to install. On the first run its own setup wizard offers to unlock more sources (X, YouTube and others). Tell the user every extra source is optional, and that keys go in the file the wizard names (~/.config/last30days/.env), which they edit themselves.
Setup (for the AI): Run these in the shell:
claude plugin marketplace add mvanhorn/last30days-skill claude plugin install last30days@last30days-skill
If the claude command isn't available, ask the user to type these into Claude Code's chat box instead:
/plugin marketplace add mvanhorn/last30days-skill /plugin install last30days
Plugins load the next time Claude Code starts, or straight away after /reload-plugins.
Try it:
/last30days [TICKER OR TOPIC, e.g. NVIDIA]
Then follow up with:
Based on this research, give me the bull case, the bear case, and tell me if sentiment looks stretched in either direction.
Sentiment is one input, not a trade signal on its own.
#6: Vibe-Trading
What it does: Ask a trading question in plain English and it researches it, tests the idea on past prices and can paper trade it. It comes with 450+ pre-built quant alphas to test, and gets free data from Yahoo Finance (stocks) and OKX (crypto), so no API keys to start.
Needs: Python 3.11+. No keys for research and backtests.
Questions to ask:
- Do you want to use it from inside Claude Code (recommended, no key needed), as its own terminal app, or both?
- Optional, later: do you want to connect an Alpaca paper account? (Its built-in paper accounts work without any broker.)
Setup (for the AI):
- Install it as a tool so its commands work from anywhere:
uv tool install vibe-trading-ai --python 3.12
- Inside Claude Code (recommended): connect it as an MCP server. Claude does the thinking and calls Vibe-Trading's backtest and market-data tools, so no extra key is needed:
claude mcp add --scope user vibe-trading -- vibe-trading-mcp
If Claude Code can't start it, re-add it with the full path from which vibe-trading-mcp (Windows: where vibe-trading-mcp). After a restart, /mcp should list vibe-trading.
- As its own terminal app (optional): it can use the user's Claude Code login as its brain, with no API key. The
vibe-trading initwizard doesn't list that option, so write these two lines into~/.vibe-trading/.envyourself (they're settings, not secrets):
LANGCHAIN_PROVIDER=claude-cli LANGCHAIN_MODEL_NAME=claude-opus-5-5
Check it with vibe-trading provider login claude-cli (it reports whether Claude Code is logged in), then start it with vibe-trading. For any other provider, run vibe-trading init instead; it asks for the key in the user's own terminal.
- Paper trading: the built-in paper accounts (
vibe-trading paper) never place real orders and need no broker. For an Alpaca paper account (optional), the user creates paper keys in their Alpaca dashboard, then: - Add the Alpaca packages:
uv tool install vibe-trading-ai --python 3.12 --with alpaca-py --with keyring --reinstall. - To connect it for reading the account, the user runs
vibe-trading connector setup alpaca-paper-sdkin their own terminal. It asks for the key and secret privately, stores them in the computer's keychain and tests the connection. - To let Vibe-Trading place paper orders, the user saves the same paper keys themselves in
~/.vibe-trading/alpaca.jsonas{"api_key": "...", "secret_key": "...", "profile": "paper"}. Then runvibe-trading connector use alpaca-paper-tradeandvibe-trading connector check.
Paper profiles only. Never select a profile with live in its name.
- How the backtests work over MCP: the backtest tool runs a folder holding a
config.jsonand acode/signal_engine.py(itsstrategy-generateskill explains both). Put each run folder under~/.vibe-trading/runs/, a location it accepts by default; folders elsewhere are refused. The strategy library (list_strategies) is the 478-alpha Alpha Zoo, and nearly all of it is built for ranking stocks against each other (only one lists crypto). For the Bitcoin test, pick the candidates that make sense for a single asset (momentum, trend, volatility, mean reversion), turn each into a single-asset strategy and backtest it, then compare. For a basket of stocks, the library fits as it is. The built-in paper accounts cover US, Hong Kong and China A-share stocks, not crypto.
Try it (the test from the video):
Use Vibe-Trading with the free OKX data. Search the strategy library for the strategy that worked best on [ASSET, e.g. Bitcoin] over the last [3] years. Build it on the first [2] years, then test it on the hidden data of the last [1] year. Show me the return, the max drawdown, the Sharpe ratio and the number of trades, next to just buying and holding [ASSET].
And the one from Miles's earlier video:
Use Vibe-Trading to find the best momentum strategy across [NVIDIA, Meta, Apple, Microsoft and Amazon], then set it up on a paper account.
Testing on data the strategy never saw (the hidden year) is what keeps a backtest honest. Vibe-Trading is a research engine: take what it finds and run it somewhere with proper execution.
#5: Day Trader skill
What it does: 11 skills purpose-built for day trading: a chart scanner, a news monitor, an entry timer, an exit planner, a risk manager, a position sizer (the budget manager), an order executor (paper by default, never without your yes), price alerts, an earnings analyst, a Congress trade tracker (the Pelosi tracker), and the Time Machine. Before you risk a dollar, the Time Machine replays the rest of the session 10,000 times from the stock's own recent bars, and re-runs the same setup on every past day it fired, then tells you how often the target or the stop came first.
Needs: Python 3.8+. Nothing to pip install. No keys.
Questions to ask:
- Your name and email, for SEC's required "user agent" (SEC asks every script to identify itself; this isn't a password), plus your trading budget and the most you'd lose on one trade. The skills keep their settings in
trader/config.jsoninside the folder Claude Code runs in, so create it from the pack'strader-budget/config.example.json(after the plugin install it's under~/.claude/plugins/cache/day-trader-skill/; paper trading is on by default, and it holds every setting the sister pack uses too) in the folder the user will trade from: theclaude-trading-skillsfolder if they're installing #1, otherwise~/trading-desk. Fill in"sec_user_agent": "[NAME] [EMAIL]","budget"and"max_loss_per_trade_usd", and leave the rest as it is. - Do you also want the sister pack, Trader Skill, for longer-term investing (a fund copycat that rebuilds a fund's portfolio from its public 13F filings, a tax optimizer and a rebalancer)?
Setup (for the AI): Install as a plugin:
claude plugin marketplace add Jakeschincariol/day-trader-skill claude plugin install day-trader-skill@day-trader-skill
If they want the sister pack too:
claude plugin marketplace add Jakeschincariol/trader-skill claude plugin install trader-skill@trader-skill
(Chat-box fallback: /plugin marketplace add Jakeschincariol/day-trader-skill then /plugin install day-trader-skill@day-trader-skill, and the same pattern for trader-skill.)
As plugins, the skills show up as /day-trader-skill:trader-scanner, /day-trader-skill:trader-timemachine and so on. Keep both packs as plugins. Don't copy their folders into ~/.claude/skills: seven folder names exist in both packs, so one would overwrite the other.
The order executor (/trader-broker) is optional and stays off unless the user asks. If they do, use [Connect an Alpaca paper account](#connect-an-alpaca-paper-account-optional-serves-5-and-1) further down: Alpaca's official MCP server, paper account only, with Claude Code asking before every Alpaca action, never "always allow".
Try it (the chained prompt from the video; run it during US market hours, at least 15 minutes after the 9:30 AM New York open, because the opening range is the high and low of the first 15 minutes):
Use the trader scanner to find opening range breakouts in US stocks this session. Then run the trader time machine on every breakout it finds, and only show me the ones where the target came first more often than the stop.
Or test one idea on its own:
Run the trader time machine on [TICKER, e.g. Oracle] for [SETUP, e.g. an opening range breakout] on [DATE, e.g. today's or a recent session] and tell me how often the target came first and how often the stop came first.
Outside market hours, give it a past session from the last few weeks: it works from the stock's last 60 days of 5-minute bars.
When Miles ran it on an Oracle breakout, the target came first only 9% of the time across 58 past sessions, and the stop 39%. That's a trade worth rethinking. The Time Machine looks backwards; it's a reality check, not a promise.
#4: Kronos
What it does: Kronos isn't a chatbot. A language model like Claude learns from words; Kronos learned the "language" of price action from candlestick charts on 45+ exchanges. Give it the open, high, low and close of past candles and it predicts the next ones. It was accepted into AAAI 2026, one of the biggest AI research conferences. Three open versions: Kronos-mini looks back about 2,000 candles; Kronos-small and Kronos-base look back 512.
Needs: Python 3.10+ (use 3.12). Runs on your own computer (CPU is fine for the small models; Apple Silicon can use mps, NVIDIA cards cuda). No keys. The first run downloads the model from Hugging Face.
Questions to ask: Which asset and timeframe do you want to try first? (Suggest: hourly Bitcoin, like the video.)
Setup (for the AI):
cd ~/trading-desk git clone https://github.com/shiyu-coder/Kronos.git cd Kronos uv venv --python 3.12 source .venv/bin/activate # Windows: .venv\Scripts\activate uv pip install -r requirements.txt
Then write a small script inside the Kronos folder (it imports from the repo's model package) and run it with the .venv active. Follow the README's "Making Forecasts" section: load NeoQuasar/Kronos-Tokenizer-base and NeoQuasar/Kronos-small, create KronosPredictor(model, tokenizer, max_context=512), and call predict() with a DataFrame of open, high, low, close (volume optional). 400 candles fits inside Kronos-small's 512. For longer lookbacks use NeoQuasar/Kronos-mini with NeoQuasar/Kronos-Tokenizer-2k and max_context=2048. predict() needs the future timestamps to forecast (y_timestamp), and it averages its sample_count paths into one, so for "run it 20 times" call it 20 times with sample_count=1 and keep every path for the range.
For price data, use a free public exchange endpoint that needs no key. Some exchanges block some countries, so if one refuses, try another (OKX, Kraken and Coinbase all have public candle endpoints). Some endpoints return at most 300 candles per request, so page back to get the full 400.
Try it (the forecast from the video):
Use Kronos to pull the last [400] hourly [Bitcoin] candles from a free exchange API and forecast the next [24] hours. Run it [20] times and show me the average path and the range.
Each run comes out slightly different, so the range shows how confident it really is. A forecast on its own proves nothing until tomorrow, so here's the honest test, where the answer is hidden from it:
Pick [50] random days from the last year. For each one, give Kronos only the [400] hours before that day, have it forecast the next [24] hours, then compare it with what actually happened. Tell me how often it got the direction right, and how far off it was on average.
50 days is a small sample: test more days and more assets before reading anything into it. The developers call these raw predictions from an experimental model, so use it as one input next to everything else, never as a trading system.
#3: Daily Stock Analysis
What it does: Every scheduled run, it pulls prices, news and fundamentals for each stock on your watchlist, runs them through an AI model and sends you a report: a conclusion, a score, the trend, buy and sell price levels, risk alerts, catalysts and a short action checklist for every stock. It covers US, Hong Kong, Chinese, Japanese, Korean and Taiwanese stocks and ETFs. It runs on GitHub Actions (GitHub's own scheduler, on GitHub's servers), so your computer doesn't need to be on and there's no server to pay for. Setup takes about five minutes.
Needs: a free GitHub account, one AI provider API key (Anthropic, OpenAI, Gemini and others work), and somewhere to receive the report (Telegram like Miles, or Discord, Slack or email).
Questions to ask (one at a time):
- Which stocks are on your watchlist? (Comma-separated, e.g.
[NVDA,AAPL,MSFT,TSLA].) - Which AI provider do you have a key for? (Anthropic recommended.)
- Where do you want the report? Telegram, Discord, Slack or email?
- When should it run? (By default it runs every weekday evening, Beijing time, and skips days the market is closed. Miles moved his to before the US open.)
Setup (for the AI): Most of this happens on GitHub's website, so walk the user through it one step at a time. If they have the GitHub CLI (gh) installed and logged in, you may do the fork, the variables, the watchlist and the schedule edit for them, after asking. Keys and tokens are always set by the user, on the website or by typing gh secret set [NAME] --repo [THEIR-GITHUB-USERNAME]/daily_stock_analysis in their own terminal, which asks for the value privately.
- Fork the repo (this makes a copy in their GitHub account): open https://github.com/ZhuLinsen/daily_stock_analysis and click Fork.
- Make a Telegram bot (if they picked Telegram): in Telegram, message @BotFather, send
/newbotand follow the steps; it gives a bot token. Then send any message to the new bot, and openhttps://api.telegram.org/bot[THEIR-TOKEN]/getUpdatesin their own browser to find the chat ID (the number after"chat":{"id":). They keep both to themselves. - Add the secrets: in the fork, Settings → Secrets and variables → Actions → New repository secret. One at a time:
| Secret name | What goes in it |
|---|---|
ANTHROPIC_API_KEY | Their Anthropic key (or OPENAI_API_KEY / GEMINI_API_KEY for another provider) |
STOCK_LIST | Their watchlist, e.g. NVDA,AAPL,MSFT,TSLA |
TELEGRAM_BOT_TOKEN | The token from BotFather |
TELEGRAM_CHAT_ID | The chat ID |
Not Telegram? Use DISCORD_WEBHOOK_URL, or SLACK_BOT_TOKEN and SLACK_CHANNEL_ID, or EMAIL_SENDER and EMAIL_PASSWORD (an app password, not their main password) instead. Secrets stay hidden even though the fork is public.
Recommended, optional: a news search key makes the news, catalysts and sentiment much better. Without one, the report skips the news step. Add BRAVE_API_KEYS (the repo marks Brave as optimised for US stocks) or TAVILY_API_KEYS as one more secret.
- Switch the report to English: same page, Variables tab, New repository variable:
REPORT_LANGUAGE=en. Don't skip this: reports are in Chinese by default. If their watchlist is US stocks, also addMARKET_REVIEW_REGION=us(the default market review is China's). Optional:ANTHROPIC_MODELpicks which Claude model writes the report (e.g.claude-opus-5-5); leave it unset to use the repo's default. - Turn on Actions: open the fork's Actions tab and click "I understand my workflows, go ahead and enable them".
- Set the schedule (optional): edit
.github/workflows/00-daily-analysis.ymlin the fork (the pencil icon on GitHub) and change thecronline. GitHub's schedule uses UTC. Examples:
| When (New York time, weekdays) | cron, November to March | cron, March to November |
|---|---|---|
| 8:30 AM, one hour before the open | '30 13 * * 1-5' | '30 12 * * 1-5' |
| Every hour 6:30 to 8:30 AM | '30 11-13 * * 1-5' | '30 10-12 * * 1-5' |
GitHub can start scheduled runs late when it's busy, so leave some margin. Work out the cron for the user's own time zone if they're not in New York. Every run is a full analysis, so hourly runs use AI tokens each time.
- Test it now: Actions → 每日股票分析 (that's "Daily Stock Analysis", from
00-daily-analysis.yml) → Run workflow → Run workflow. The report should arrive in a few minutes. If it fails, open the run's log: it lists which keys are configured.
Note: GitHub pauses schedules in public repos after 60 days with no activity. If the reports stop, re-enable the workflow in the Actions tab. If you later click Sync fork and it reports a conflict in the workflow file, sync and then put your own cron line back.
Try it: run step 7 and wait for the report. It's an AI model reading the data, not deep research, so use it to monitor your positions every morning, not to trade blindly.
#2: TradingAgents
What it does: It copies how a real trading firm works, with 12 agents. An analyst team of four (fundamentals, sentiment, news, technicals) studies the asset. A bull researcher and a bear researcher debate it. A trader agent turns that into a proposal, the risk team decides how aggressive to be, and the portfolio manager approves or rejects it. It ends with a final rating on a five-step scale: Buy, Overweight, Hold, Underweight or Sell.
Heads-up: on 24 November 2026 TradingAgents released a brand-new 1.0 that works differently: a research terminal built around a Tauric API key, without the 12-agent trading firm. The version in the video lives on the repo's `0.7.x` branch, and that's what this guide installs.
Needs: Python 3.11+ (use 3.12) and one AI provider API key: Anthropic, OpenAI, Google and others, or a ChatGPT Plus/Pro plan instead of a key. Market data comes free from Yahoo Finance. A full run takes a while and can burn a lot of tokens, so it's built for big one-off decisions.
Questions to ask:
- Which AI provider will you use? (Anthropic, OpenAI or another key, or your ChatGPT plan.)
- Optional: your name and email for SEC filings data (
SEC_EDGAR_USER_AGENT, not a password).
Setup (for the AI):
cd ~/trading-desk git clone --branch 0.7.x https://github.com/TauricResearch/TradingAgents.git cd TradingAgents uv venv --python 3.12 source .venv/bin/activate # Windows: .venv\Scripts\activate uv pip install . cp .env.example .env
Then:
- Tell the user to open
~/trading-desk/TradingAgents/.envin a text editor and paste their key afterANTHROPIC_API_KEY=(orOPENAI_API_KEY=, etc.) themselves, and save. For a ChatGPT plan instead, they runtradingagents login chatgptin their own terminal. - To keep token use down, offer to set
TRADINGAGENTS_MAX_DEBATE_ROUNDS=1andTRADINGAGENTS_MAX_RISK_ROUNDS=1in the same.env(you may write these two lines; they aren't secrets). - TradingAgents reads
.envfrom the folder it runs in, so always run it from~/trading-desk/TradingAgents.
To watch the agents work (like in the video), the user runs this in their own terminal and picks the ticker, date, provider and models from the menus. For Anthropic, suggest claude-opus-5-5 for deep thinking and a lighter model from its list for quick thinking to save tokens:
cd ~/trading-desk/TradingAgents && source .venv/bin/activate && tradingagents
To run it from Claude Code without the menus, every question needs an answer up front, or the run stops before it starts and names what's missing. This works from the TradingAgents folder (the key comes from .env):
cd ~/trading-desk/TradingAgents && source .venv/bin/activate TRADINGAGENTS_LLM_PROVIDER=anthropic \ TRADINGAGENTS_DEEP_THINK_LLM=claude-opus-5-5 \ TRADINGAGENTS_QUICK_THINK_LLM=claude-opus-5-5 \ TRADINGAGENTS_OUTPUT_LANGUAGE=English \ TRADINGAGENTS_MAX_DEBATE_ROUNDS=1 TRADINGAGENTS_MAX_RISK_ROUNDS=1 \ tradingagents --ticker [TICKER] --date [YYYY-MM-DD] \ --analysts market,sentiment,news,fundamentals --save --no-show
Swap the quick-thinking model for a lighter one from the CLI's list to save tokens, or use the user's own provider and models.
Try it:
Run TradingAgents on [TICKER, e.g. NVDA] for [DATE, e.g. today]. Give me the final rating (Buy, Overweight, Hold, Underweight or Sell), plus a short summary of what the analysts, the bull and bear researchers, the trader and the risk team each said.
#1: Claude Trading Skills
What it does: More than 60 Claude skills built for individual investors who don't have hours for research. It doesn't try to be a bot; it's a full daily routine. It reads the market regime (chopping sideways, downtrending or uptrending; 16 skills just for that, because a strategy that prints in a bull market can get destroyed in a choppy one), runs screeners for well-known setups like CANSLIM and the VCP (price tightening up before it breaks out), then plans the trade with a position sizer, a pre-trade discipline gate that checks every trade before you place it, and a drawdown circuit breaker that decides whether you're allowed to take on new risk. A trade journal remembers every trade, and a post-mortem skill reviews how your signals played out. It works in the Claude app as well as in Claude Code.
Needs: Python 3.11+ and uv. The starter path needs no paid data. The VCP and CANSLIM screeners need an FMP (Financial Modeling Prep) API key: the free plan gives 250 calls a day and covers a small screen, but it can refuse some requests, and full S&P 500 scans need a paid plan. [Get 20% off FMP here](https://tinyurl.com/FMPMiles).
Questions to ask:
- Do you want the screeners (needs an FMP key), or start with the no-key path?
- Your account size and how much you risk per trade (e.g. 1%), for the position sizer. These are just numbers for the maths, never a login.
- Optional: do you want it to read your holdings? Only from a CSV or spreadsheet export you save in the folder, never your broker login.
Setup (for the AI):
cd ~/trading-desk git clone https://github.com/tradermonty/claude-trading-skills.git cd claude-trading-skills uv sync --locked mkdir -p ~/.claude/skills
- Before copying, check whether any folder in
skills/already exists in~/.claude/skills. If so, list the clashes and ask before overwriting. Then copy them:
cp -r skills/* ~/.claude/skills/
- The skills call their scripts with paths that start in the
claude-trading-skillsfolder, and their Python packages live in its.venv. So the user should start Claude Code from that folder with the environment active:
cd ~/trading-desk/claude-trading-skills && source .venv/bin/activate && claude
(Windows: activate with .venv\Scripts\activate instead.) In the desktop app, open that folder and, if a script can't find a package, run it with uv run python instead of python3. Offer to add a short shell alias (e.g. tradingdesk) for the command above; edit their shell profile only if they say yes.
- How the routine chains: the pre-trade discipline gate only gives a clean answer when it gets two inputs: the exposure coach's decision and the drawdown circuit breaker's decision. Without them it says "review required". So run it in this order: market breadth analyzer and uptrend analyzer, then the exposure coach, then the drawdown circuit breaker (on a new, empty trade journal it allows trading), then the screeners, the position sizer, and finally the gate with both decisions passed in.
- FMP key (if they want the screeners): the user adds
export FMP_API_KEY="[THEIR KEY]"to their shell profile themselves (~/.zshrcon a Mac,~/.bashrcon Linux; on Windows, a user environment variable namedFMP_API_KEY), then opens a new terminal and restarts Claude Code. Check it's set without printing it.
Try it (Miles's morning routine from the video):
Run my morning routine with the Claude Trading Skills. Check the market regime and tell me how much exposure I should have. Run the VCP and CANSLIM screeners for setups, then put the best one through the pre-trade discipline gate. Give me the regime verdict, the setup you picked and why, whether it passed the discipline gate, the position size and the order ticket. My account size is [ACCOUNT SIZE] and I risk [RISK PER TRADE, e.g. 1%] per trade.
No FMP key yet? Use the no-key version:
Run my morning check with the Claude Trading Skills: use the market breadth analyzer, the uptrend analyzer and the exposure coach to tell me what kind of market we're in and how much exposure I should have. My account size is [ACCOUNT SIZE] and I risk [RISK PER TRADE, e.g. 1%] per trade.
The order ticket is for you to place yourself, if you choose to; nothing is sent to a broker. Log your trades with the trade journal (trader-memory-core) so the circuit breaker and the post-mortem have something to work with.
Plug in live data and your own accounts
All seven get their market data from free, live sources out of the box (#2 and #3 still need their AI key to run). Extra keys and accounts only add more sources or connect your own portfolio. For each tool: what's live out of the box, what you can plug in and where it goes, and a prompt that proves it's pulling today's data. Then use the "Try it" prompts above.
For the AI: after the restart in [Finish](#finish), offer to run the live check for each installed tool. Keys always go where it says below, typed by the user, never into this chat.
#7 Last 30 Days. Live with no keys: Reddit, Hacker News, Polymarket, GitHub and StockTwits. Plug in more in ~/.config/last30days/.env: XAI_API_KEY or X_BEARER_TOKEN for X, BRAVE_API_KEY for web search, and SCRAPECREATORS_API_KEY for TikTok and Instagram (its setup offers 10,000 free calls). YouTube comes from yt-dlp, which the setup installs. Privacy: the setup wizard may also offer to read your browser's logins (for X) and to search Reddit as your logged-in account. Both are optional, you can say no and it still works, and the repo itself warns that the Reddit option may breach Reddit's terms. Check it's live:
/last30days doctor
#6 Vibe-Trading. Live with no keys: Yahoo Finance for stocks and OKX for crypto (with other free sources as fallbacks). Plug in: an Alpaca paper account (step 4 of its setup) to read a paper account and place paper orders. Check it's live:
Use Vibe-Trading to fetch the last 5 daily bars for BTC-USDT from OKX and for AAPL from Yahoo. Tell me the date and close of the newest bar for each.
#5 Day Trader skill. Live with no keys: Yahoo Finance charts (1- and 5-minute bars), Nasdaq Trader's symbol lists, SEC EDGAR and the House Clerk's filings. Yahoo's chart feed is free and unofficial, so it can lag: check anything that matters against your broker. Plug in: your name and email in trader/config.json (SEC requires it), and optionally an Alpaca paper account for the order executor (see "Connect an Alpaca paper account" below). Check it's live:
Run the trader time machine on [TICKER, e.g. AAPL] for an opening range breakout on the most recent session, and tell me the date range of the past sessions it used.
The range should end at the last trading day.
#4 Kronos. Live with no keys: any public exchange candle endpoint (OKX, Kraken, Coinbase). Plug in: your own data as a CSV with timestamps, open, high, low, close columns (volume optional), the format the README uses. Check it's live:
In the Kronos folder, fetch the latest [400] hourly [Bitcoin] candles from a free exchange API and tell me the time of the newest candle compared with the time now.
#3 Daily Stock Analysis. Live with no keys: free sources (AkShare, Baostock, YFinance) for prices and fundamentals. Plug in, as GitHub secrets: a news search key (BRAVE_API_KEYS or TAVILY_API_KEYS) for news and catalysts. Keep your watchlist and keys in Secrets only: the fork is public, so never type them into the workflow file. Check it's live: run the workflow by hand (step 7 of its setup). The run's log lists which sources and keys it found, and the report shows the date it analysed.
#2 TradingAgents. Live with no keys: Yahoo Finance prices and news, SEC EDGAR company filings, and StockTwits and Reddit sentiment. Plug in, in ~/trading-desk/TradingAgents/.env: FRED_API_KEY (free, for US macro data) and SEC_EDGAR_USER_AGENT (your name and email). Plug in your own positions so the trader, the risk team and the portfolio manager size against what you actually hold. Save a file like my_book.json:
{
"cash": [CASH],
"currency": "USD",
"positions": [{"ticker": "[TICKER]", "quantity": [SHARES], "average_price": [PRICE]}]
}Then add --portfolio my_book.json to the run. An empty positions list means you hold nothing. Check it's live: run it for today's date. The Market Analyst's report should show prices up to the latest close.
#1 Claude Trading Skills. Live with no keys: the market breadth and uptrend data the author publishes as public CSV files. Plug in: FMP_API_KEY in your shell profile for the screeners (step 4 of its setup; [20% off FMP](https://tinyurl.com/FMPMiles)), and optionally FINVIZ_API_KEY if you have FINVIZ Elite. Plug in your own portfolio either way:
- Offline: a CSV export of your holdings with the headers
symbol,asset_type,quantity,direction,price,currency(optionalcost_basis). US-dollar stocks only,asset_typeisequity,directionisLONGorSHORT. Ask Claude to review your portfolio from the CSV. - Live: connect an Alpaca paper account (below) and ask for a portfolio review.
Check it's live:
Run the market breadth analyzer and tell me the date of the newest data point it used.
Connect an Alpaca paper account (optional, serves #5 and #1)
One Alpaca connection in Claude Code covers the Day Trader order executor and the Claude Trading Skills portfolio manager. Make paper keys in your Alpaca dashboard (paper keys are separate from live keys), then type this into your own terminal, not the chat, with your keys in place of the brackets. It uses Alpaca's official MCP server, which stays on paper trading:
claude mcp add alpaca --scope user -e ALPACA_API_KEY=[PAPER KEY ID] -e ALPACA_SECRET_KEY=[PAPER SECRET] -e ALPACA_PAPER_TRADE=true -- uvx alpaca-mcp-server
Restart Claude Code and check /mcp lists alpaca. Leave Claude Code asking before each Alpaca action; never choose "always allow".
For the AI: never run claude mcp get alpaca or print ~/.claude.json, because both show the keys. Use /mcp to check the connection.
Stack them
None of these wins every trade, and that's not how trading works. The point is stacking information so the odds lean your way:
- Every morning: the Daily Stock Analysis report (#3) lands on your phone, then you run the Claude Trading Skills morning routine (#1).
- Got a trade idea? Check sentiment with Last 30 Days (#7), replay it with the Time Machine (#5), find or test a strategy with Vibe-Trading (#6), and get a forward forecast from Kronos (#4). The Time Machine looks back; Kronos looks forward.
- Big decision, like adding to a position? Run TradingAgents (#2) and let the 12 agents argue it out.
Everything is open source, so once you know which parts you like, ask Claude to combine them into your own custom stack.
Finish
For the AI: end with a short summary for the user:
- Each tool: installed or skipped, where it lives, and the exact command or prompt to start it.
- Any keys still missing, and where the user pastes each one.
- Anything that failed, in plain words, with the next step.
- Their first three prompts to try tomorrow morning.
- One restart to finish: close Claude Code and start it again from the folder they'll trade from, so the new skills, plugins and the Vibe-Trading connection all load. With #1 installed that's
cd ~/trading-desk/claude-trading-skills && source .venv/bin/activate && claude. Then run the Try it prompts you saved, and offer the live checks in [Plug in live data and your own accounts](#plug-in-live-data-and-your-own-accounts).
Keeping things up to date: plugins update through Claude Code (claude plugin update [NAME]@[MARKETPLACE]), cloned repos with git pull in their folder (for TradingAgents, stay on the 0.7.x branch), Vibe-Trading with uv tool upgrade vibe-trading-ai, and the Daily Stock Analysis fork with GitHub's Sync fork button.
Using GPT or Codex
These repos are optimized for Claude and work best there. Here's what carries over to ChatGPT's Codex:
| # | Repo | In Codex |
|---|---|---|
| 7 | Last 30 Days Skill | Works: npx skills add mvanhorn/last30days-skill -g -a codex |
| 6 | Vibe-Trading | Works: the vibe-trading terminal app supports OpenAI and your ChatGPT plan (vibe-trading provider login openai-codex), and vibe-trading-mcp can be added as an MCP server in Codex |
| 5 | Day Trader skill | Claude-first. Codex reads the same SKILL.md format, so you can ask Codex to install the skill folders into its own skills folder, but the order executor relies on Claude's "Allow once / Deny" approval card: Claude-only |
| 4 | Kronos | Works: it's plain Python |
| 3 | Daily Stock Analysis | Works: it runs on GitHub, no AI app needed (use an OPENAI_API_KEY secret if you prefer) |
| 2 | TradingAgents | Works: use an OpenAI key, or your ChatGPT plan with tradingagents login chatgpt |
| 1 | Claude Trading Skills | Built for Claude. Codex can load the same SKILL.md format if you ask it to install the folders into its skills folder, but expect rough edges |
*Not financial advice. These tools read public data and do maths; they can't see the future, and most people who day trade lose money. Backtests and forecasts describe the past. Paper trade first, make your own decisions, and talk to a licensed professional if you need advice.*