/trader-skill:trader-budget [budget in dollars]from trader-skill
Sizes every position to a user's budget before buying: applies cash buffer, position caps, minimum order rules, and fractional/whole share rounding. Writes proposed orders to trader/orders.json in Alpaca format.
Ships in trader-skill. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The Budget Manager turns "copy this portfolio" into "buy exactly this much of each", inside rules the user sets once. It writes proposals only. trader-risk checks them and trader-broker asks the user yes or no for each one.
${CLAUDE_SKILL_DIR} below is this skill's folder (where this SKILL.md lives).
python3 "${CLAUDE_SKILL_DIR}/size.py" # trader/targets.json + trader/config.json
python3 "${CLAUDE_SKILL_DIR}/size.py" --budget 5000 --write # write trader/orders.json
python3 "${CLAUDE_SKILL_DIR}/size.py" --whole-shares --prices trader/prices.json
python3 "${CLAUDE_SKILL_DIR}/size.py" --weights AAPL=22.04,AXP=17.14,GOOGL=12.62 --json
| file | what |
|---|---|
trader/config.json | the rules (start from config.example.json in this folder) |
trader/targets.json | the weights to copy, written by trader-copycat (targets.example.json here) |
trader/prices.json | only for whole shares or share counts (trader-alerts writes it) |
trader/orders.json | the proposed buy orders it writes with --write |
If trader/config.json does not exist, copy config.example.json into
trader/config.json and ask the user for each value in plain words:
python3 "${CLAUDE_SKILL_DIR}/size.py" --write
The maths, in order: the cash buffer comes off the top; the weights are renormalised to 100 over the stocks that are left; any stock over the cap is pinned at the cap and its excess is shared over the others by weight, again until nobody is over; a slice under the minimum order is dropped and its weight shared out; amounts are rounded to whole dollars and the rounding dollar goes to the biggest stock that is not capped, so nothing is left idle by accident. Money that truly cannot be invested (every stock at its cap, or whole shares that do not divide evenly) is shown as "left idle".
Show the table: ticker, weight, dollars, which stock hit the cap, the cash
buffer and what is left idle. Say where the weights came from and how old
they are (a 13F is up to 45 days old when it is filed). Then hand over to
/trader-risk.
Berkshire Hathaway's Q2 2026 13F (filed 2026-08-14), top five: Apple 22.04%, American Express 17.14%, Alphabet 12.62%, Coca-Cola 10.86%, Bank of America 9.20%. Renormalised over those five: 30.67 / 23.85 / 17.56 / 15.11 / 12.80. A $5,000 budget, a 10% cash buffer and a 25% cap:
| stock | dollars | |
|---|---|---|
| AAPL | $1,250 | capped at 25% |
| AXP | $1,119 | |
| GOOGL | $823 | |
| KO | $708 | |
| BAC | $600 | |
| cash buffer | $500 | |
| left idle | $0 |
The first order it writes is
{"symbol": "AAPL", "side": "buy", "notional": "1250", "type": "market", "time_in_force": "day"}.
Keep the weights to two decimals or more: weights already rounded to one
decimal (30.7 / 23.9 / ...) can move a slice by a dollar.
trader/prices.json; never invent a price.It never places, approves or schedules an order, never raises a limit on its own, and never sizes options, margin or short positions.
"paper": true). Going live is the user's own decision, in their own config.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jakeschincariol/trader-skill --plugin trader-skill11 skills in this plugin
/trader-alertsPrice Alerts. Rings when a price target, a stop or the opening bell hits: above / below / stop rules, percent moves from the previous close, and the NYSE opening bell, each ringing once so you are not spammed. Knows NYSE hours with the 2026 and 2027 holidays and 1:00 p.m. early closes, fetches free delayed quotes (Yahoo chart JSON, Stooq CSV) one ticker at a time, and writes trader/prices.json for the other skills. Use when the user says "alert me when", "tell me if AAPL hits", "set a stop", "price target", "watch my stocks", "is the market open", "when does the market open", "get me prices", or to refresh prices before sizing, risk or tax./trader-analystThe Earnings Analyst. Reads a company's reported numbers straight from SEC EDGAR (XBRL company facts from its 10-Qs and 10-Ks, plus the latest earnings 8-K and its press release) and sums up what changed: revenue, gross, operating and net margins, net income and diluted EPS, quarter by quarter, each against the same quarter a year earlier, with the trailing twelve months. Writes a metrics file the screener reads. Use when the user says "how did Apple's earnings look", "analyze the earnings", "what changed this quarter", "is revenue growing", "check the 10-Q", "compare margins", or "run the analyst on my holdings".2 plugins ship this exact skill · first indexed Oct 21, 2026
Other plugins' skills for the same job