/card-skill:card-budget [check | log | status]from card-skill
Enforces a monthly Pokémon TCG budget with configurable limits, per-item caps, quantity restrictions, and a blocked list. Tracks buys, sales, fees, and profit. Called automatically before /card-snipe or /card-resale purchases.
Ships in card-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 Keeper is the gate every purchase in this pack passes. card-snipe
and card-resale call the same check (check_purchase in budget.py) when an
order is planned, and again at checkout with the real total. A BLOCK is final
for that order: it is not shown to the user for a yes and nothing is bought.
${CLAUDE_SKILL_DIR} below is this skill's folder (where this SKILL.md lives).
python3 "${CLAUDE_SKILL_DIR}/budget.py" check --name "Pokémon Day 2027 Collection" --qty 2 --price 14.99
python3 "${CLAUDE_SKILL_DIR}/budget.py" check --name "..." --item-id sealed/x --qty 1 --price 59.99 --preorder
python3 "${CLAUDE_SKILL_DIR}/budget.py" log buy --name "..." --item-id sealed/x --qty 2 --price 14.99 --amount 32.38 --store "Pokémon Center"
python3 "${CLAUDE_SKILL_DIR}/budget.py" log sell --name "..." --item-id sealed/x --qty 1 --price 45 --store eBay
python3 "${CLAUDE_SKILL_DIR}/budget.py" log fee --name "eBay fees" --amount 6.12
python3 "${CLAUDE_SKILL_DIR}/budget.py" status
Every command takes --dir (the data folder, default cards), --json and
--today YYYY-MM-DD. check exits 0 on PASS and 1 on BLOCK.
| file | what |
|---|---|
cards/config.json | the rules, in the budget section (start from config.example.json in this folder) |
cards/ledger.csv | every buy, sell, fee, ship and refund: date,type,item_id,name,qty,unit_price,amount,store,note |
Amounts are always positive. A buy's amount is the total paid, tax included. A sell's amount is the gross sale price; fees and postage are their own rows.
If cards/config.json does not exist, copy config.example.json from this
folder to cards/config.json. Then ask the user for each budget value in
plain words. Only money they can afford to lose.
sealed/...) or by name
("booster box" blocks every name that contains "booster box").A key the user leaves out uses the default, and the tool prints "Defaults used for: ..." so they can see it. Never change a limit yourself.
python3 "${CLAUDE_SKILL_DIR}/budget.py" check --name "..." --item-id sealed/... --qty 2 --price 14.99 --store "..."
| rule | blocks when |
|---|---|
| monthly limit | what this month already spent (buys minus refunds) plus this total is over monthly_limit |
| reserve | the buy would leave less than reserve of the month's limit |
| per item | the price of one unit, before tax, is over per_item_max |
| quantity | this quantity plus the same product bought this month is over max_qty_per_product |
| pre-order | it is a pre-order and allow_preorders is false |
| blocked | the item id or name is on the blocked list |
| format | no name, a quantity under 1, or a price that is not a positive number |
The month is the calendar month of --today (card-snipe passes the release
day, the day the money moves). Shipping can be added with --shipping, and a
known checkout total with --total replaces the tax estimate.
Tell the user the result in plain words. For a BLOCK give the reason and the fix: a smaller quantity, a different product, or a rule they may decide to change themselves.
bought logs it for you. A buy made outside the
pack: log buy ... --amount <receipt total>.log sell with the gross price, then log fee for the
marketplace fees and log ship for the label (card-resale and card-ship do
this when they are used).log refund --amount <what came back>.log records what already happened. It never blocks, but it warns when a buy
takes the month over the limit.
status prints this month against the limit and, to date: bought, refunds,
sales, fees, shipping, profit on what was sold (sale price minus the average
cost of those units, fees and shipping) and net cash. Stock still held is not
counted as profit or loss: it is only worth what it sells for.
Planning two Pokémon Day 2027 Collections ($14.99 MSRP each, release January 29, 2027, per ICv2: https://icv2.com/articles/markets/view/63870/pokemon-day-2027-collection-hits-preorder; check current) with the example config, on 2 December 2026:
PASS 2 x Pokémon Day 2027 Collection at $14.99 each (Pokémon Center)
total $32.38 incl. 8% sales tax (estimate)
spent this month $0.00 of $300.00 in December 2026
left after this $267.62
Within your budget. This is a rules check, not a yes: nothing is bought until you say yes.
A third box is blocked by the quantity rule:
BLOCK 3 x Pokémon Day 2027 Collection at $14.99 each (Pokémon Center)
total $48.57 incl. 8% sales tax (estimate)
spent this month $0.00 of $300.00 in December 2026
left after this $251.43
- quantity: 3 is over your max of 2 per product
Blocked. Nothing over your limits gets bought. Change the plan or, if you decide to, your rules.
load_config(data_dir) -> dict # cards/config.json over the defaults; missing file -> defaults
read_ledger(path) -> list of dict # ledger.csv rows, numbers as floats; missing file -> []
check_purchase(config, ledger, item, today) -> {"verdict", "reasons", "total",
"spent_this_month", "remaining_after", ...}
item is {"name", "item_id", "qty", "price_each", "store", "preorder"},
optionally "shipping" and "total" (the real checkout total).
It never buys, sells or lists anything, never raises a limit on its own, never treats a PASS as the user's yes, and never asks for card numbers or bank details. A PASS only means the purchase may be shown to the user.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jakeschincariol/card-skill --plugin card-skill11 skills in this plugin
/card-collectCollection Keeper. Keeps your Pokémon card binder and its value: every card and sealed product you own in cards/collection.csv, with what you paid. Looks cards up on TCGdex (name, set, rarity), values the binder from the latest prices card-price recorded, shows gain and loss per item and in total, your top cards, and how much of a set you own. Unpriced items are listed, never guessed. Use when the user says "add this card", "what's my binder worth", "my collection", "how much am I up", "my top cards", "how much of Prismatic Evolutions do I have", or "export my collection"./card-fakeFake Spotter. Flags fake Pokémon card listings before you pay: scores a listing 0-100 with every red flag and its reason (price far under market, proxy / replica / orica words, resealed or weighed packs, Zelle or Friends & Family payment, brand-new sellers, stock photos, impossible collector numbers), checks a card number against the real set on TCGdex, and walks a card-in-hand checklist. Use when the user says "is this fake", "is this listing legit", "is this a scam", "check this listing", "is this card real", "does 161/131 exist", "the seller wants Zelle", or pastes a listing./card-gradeGrader. Checks a Pokémon card's condition from photos and predicts the grade it could get: measures the borders for centering (front and back, against PSA's and CGC's published limits), walks corners, edges and surface with a checklist, and works out whether grading is worth the fee or the card should be sold raw. An estimate, not a grade. Use when the user says "what would this grade", "is this a PSA 10", "check the centering", "should I grade this", "is it worth grading", "grade or sell raw", "check my card's condition", or sends card photos and asks about grading.Other plugins' skills for the same job