Tooluck logoTooluck
SKILL.md

trader-budget

Agent skill fromJakeschincariol/day-trader-skill

Budget Manager. Sizes every position to your budget and your max loss per trade. Reads the trade plan from trader-exit (entry, stop, target), finds the whole shares that fit inside four limits (max loss per trade, position cap, max order, cash after your buffer), says which limit decided it, and writes ONE bracket order (entry, stop-loss, take-profit) to trader/orders.json in the exact shape of Alpaca's place_stock_order. A stop too far away for your max loss is a plain refusal, not a smaller order. Nothing is placed. Use when the user says "how many shares", "size this trade", "how much should I buy", "I have $5,000", "I only want to risk $50 a trade", "set my rules", "keep 10% in cash", or after /trader-exit writes a plan.

How to install trader-budget

install trader-budget
# install the day-trader-skill pack with the skills CLI
npx skills add Jakeschincariol/day-trader-skill

# or add only this skill to Claude Code: copy the folder

trader-budget/

# into

~/.claude/skills/trader-budget/ (all projects)

.claude/skills/trader-budget/ (one project)

trader-budget/SKILL.md

MITFull file
1# trader-budget
2
3The Budget Manager turns a plan ("buy TSLA at 364.18, stop 358.32") into an
4exact order ("buy 8 shares"), inside rules the user sets once. The stop
5decides the size: the further away the stop, the fewer shares. It writes a
6proposal only. trader-risk checks it and trader-broker asks the user yes or
7no. Day trading loses most people money. Sizing to a max loss keeps each
8loss small; it does not make a trade win.
9
10`${CLAUDE_SKILL_DIR}` below is this skill's folder (where this SKILL.md lives).
11
12```bash
13python3 "${CLAUDE_SKILL_DIR}/size.py" # trader/plan.json + trader/config.json
14python3 "${CLAUDE_SKILL_DIR}/size.py" --write # write trader/orders.json
15python3 "${CLAUDE_SKILL_DIR}/size.py" --limit --write # a limit order at the plan's entry
16python3 "${CLAUDE_SKILL_DIR}/size.py" --limit 364.00 --json # a limit order at 364.00
17python3 "${CLAUDE_SKILL_DIR}/size.py" --weights AAPL=40,KO=60 --config split.json # weights mode, below
18```
19
20`--now "2026-10-19 10:15"` pins the clock (New York time). A plan for
21another day is refused: make a new one with trader-exit.
22
23## What it reads and writes
24
25| file | what |
26| --- | --- |
27| `trader/config.json` | the rules (start from `config.example.json` in this folder) |
28| `trader/plan.json` | the trade: entry, stop, target, setup, flat-by time (trader-exit writes it) |
29| `trader/prices.json` | optional: a fresh price above the plan's entry means a bigger risk (trader-alerts writes it) |
30…

Excerpt shown under the repository's MIT license.

More skills in day-trader-skill

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates