/candle:candle-trading-disciplinefrom candle
Teaches position sizing, stop-loss discipline, and the arithmetic of trading costs (fees, slippage, gas) to determine whether a strategy can be profitable. Use before trading with real money or sizing positions.
Ships in candle. 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.
None: SKILL.md is the whole skill.
For detailed per-token signals and wallet intelligence, call GET https://api.hacc.fun/v1/signals?asset=<mint>&chain=solana&limit=50 with Authorization: Bearer <your cndl_live_ key> (production only, rows filtered to your plan); see Data and strategy API.
The other skills teach you how to place a trade and how not to corrupt your own books. This one is about whether you should be trading at all, at what size, and when to stop.
It exists because an agent given a wallet and told "make money" will, by default, trade. Trading is the one thing it can always do. Deciding not to is the part that has to be taught.
Before any strategy, work out what a round trip costs you. Nothing else matters until this number is smaller than your edge.
A round trip is two trades, and each one pays:
Add them up before you trade, not after. On a Free tier with a thin-pool round trip, you can be down 8% the instant you are in and out, having been right about the direction.
This is also why Max exists: at 25 basis points the fee term is a quarter of Free's, and friction is most of what remains.
Eleven graduated Solana tokens, sampled from the live feed on 2026-09-16. Each one a paper round trip of 0.01 SOL in and straight back out, on a Max account, whose platform fee was zero at that time, and these are quoted prices only: no slippage charged, no gas charged.
Drake -6.98% HUMAN -2.61%
Kimchi -4.58% WIFELON +2.95% <- see below
x-0 -6.22% Inucognito -4.44%
SOLDAQ -4.53% BOBY -4.58%
PARC -2.54% PARK -2.29%
inu -5.39%
Ten of eleven lose money going in and straight back out, on the best fee tier, before a single real cost is applied. The middle of that range is about 4.5%.
So the edge a strategy needs is not "the token goes up". It is "the token goes up by more than four or five percent, quickly, and then a bit more than that to cover the slippage and gas that this table does not include". Any strategy targeting a 2% move on tokens like these is arithmetically a losing strategy, however good its entries are.
WIFELON quoted +2.95%. Re-measured sixty seconds later on the same token and the same size, it quoted +0.23%, and 0.23% does not survive gas, let alone slippage.
That is what a quote-timing artifact looks like, and an agent scanning for free money will find one of these every few minutes. Measure it twice before you believe it. An edge that does not survive a second look one minute later was never an edge; it was two quotes taken at different moments and subtracted.
Risk a fixed fraction of the account per position, not a fixed dollar amount, and not a fraction of what you have left after losing. One to two percent is the conventional range and there is nothing clever to add to it. The point is not the number; it is that the number does not change because you feel strongly about a trade.
Three sizing rules that are actually about survival:
Set these BEFORE the strategy runs, on the key itself, so they are enforced by the rail rather than by your own judgement at the exact moment your judgement is worst. Each is a positive magnitude and each is independent:
Zero is a real setting. Zero consecutive losses means stop on the first loss. It does not mean unset. Never decide any of these with a truthiness check.
These bounds are the real protection, not your stop-loss orders. A standing stop on Candle
flips to triggered and waits for your agent to complete the sale; it does not sell by itself, and
it needs a linked imported wallet, which the default main-wallet trading path does not have. The
loss limits above are enforced by the rail on the way IN to every trade, so they hold whether or
not your agent is awake. That asymmetry is the reason to set them rather than trusting an exit
order to save you.
A volume cap is not a loss cap. A key with a $10 per-trade cap and a $500 daily volume cap can round-trip fifty losing scalps inside every limit it has and finish the day with an empty wallet. Volume is what gets spent; loss is what does not come back. Set both.
Say plainly that this cannot be promised, then do the part that can be done.
No strategy returns a profit on demand, and the instruction to keep going until it does is the single most reliable way to turn a small loss into a large one. It removes the stop, which is the only thing standing between a losing strategy and the whole account. Every blown account has this instruction somewhere in its history, usually phrased as making it back.
What to do instead, in order:
A valid and common result is that no candidate strategy is worth running and the capital stays where it is. Report that as the finding it is, not as a failure to find something.
Paper mode runs every admission rule a live trade runs: the same planner, the same spend gate, the same key cap, the same loss limits. That is what makes it worth anything.
But a paper fill books the price it was quoted, and a real fill arrives at whatever the pool gave you. So paper profit is systematically better than live profit, and the gap between a paper arm and a live one IS your execution cost. Run both and the difference is the number you could not otherwise measure.
Measured on staging 2026-09-16: a paper buy of 100,000 SOL was accepted on a wallet holding zero. That is not a defect in paper mode, and it is worth understanding rather than working around.
The admission rules are the key's caps, the tier, the loss limits and the kill switch. Whether the wallet can actually cover the trade is not one of them: that is checked when the transaction is SIGNED, and paper stops before signing because signing is the part that moves money.
So a paper run tells you the strategy is allowed. It does not tell you it is affordable. Check the balance yourself before sizing, and treat a paper fill on an unfunded wallet as exactly what it is: a quote, not a rehearsal of a trade that could have happened.
Two consequences:
If any line is unchecked, the answer is not yet.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub candledottv/agentic --plugin candle23 skills in this plugin
/candle-agent-operations[OPERATIONS] Run long-lived trading workers and data collectors so they recover from crashes without losing state, never extend their own run, report health truthfully, and hand over cleanly to the next agent session. Use when deploying a trading worker or collector that runs for hours or days, when a worker has crashed, hung or restarted, and when ending a session that leaves workers running./candle-book-limits[RISK CONTROL] Size and audit the lifetime caps, slot counts and wallet reserves of an autonomous trading book so they bound risk without silently stopping the book or blocking its exits. Use when designing a book's limits, when a running book has gone quiet, when an order is stuck unresolved, and when two books share one wallet./candle-drained-pool-writeoff[RISK CONTROL] Recognize a held position whose pool was emptied after entry, and account for it as a loss instead of marking it at a stale price or retrying sells forever. Use when a held token's price has stopped updating, when sell quotes keep failing, when a mark looks healthy but no trades arrive, and when deciding whether an unsellable position can be closed out./candle-first-live-trade[OPERATIONS] The plumbing test a trading bot needs before and during its first live trades: a supervised minimum-size round trip through the real code, a sell proven before buys scale, a control exercised on a live position, and the ledger reconciled against the wallet. Use when a bot is about to trade real money for the first time, after any change of key, signer, wallet, venue or quote asset, when an operator says to kill a newly live bot, when the first live fills look different from paper, and when a newly live book goes quiet./candle-kill-switches[RISK CONTROL] The operator controls an autonomous trading book needs so a human can stop new risk, cut one position or cut everything without editing code or killing a process mid-order, and how those controls differ from the rail's own profile stops. Use when building a trading worker, before running one with real money, and when an operator asks to pause, cut, stop or restart a running book./candle-launch[TOKEN LAUNCH] Launch a new token on Candle, on Solana or Hood, optionally seeded with a dev buy (same transaction on Solana; best-effort follow-up on Hood). Use when the user asks to launch, create, deploy, or seed a token.