/candle:candle-strategy-designfrom candle
Turns a trading lead into a testable strategy with a one-page spec, payoff-shaped judging and sizing, exit design per profit source, cost/break-even analysis, pre-live bar, layered judgment, paired variants, and a close-out verdict. Use when a lead must become a strategy or a running strategy needs amendment or judgment.
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.
Turns a lead into a strategy someone can build, run and judge. onchain-strategy-research supplies the experiment
card and validation, candle-trading-discipline the cost arithmetic, loss limits and sizing from a stop,
candle-risk-gate the token gate and the exit attached at entry, and candle-book-limits the caps. This skill adds
the design choices between them. It improves how a strategy is tested and judged so less is lost to a badly judged
one; it does not supply an edge, and deciding not to run is a valid outcome.
The payoff shape, read from evidence, decides how a strategy is sized and judged. Every choice (the bar, the caps, the exits, what counts as success) is written down before the result is known. A rule picked after the result can always be made to pass.
Write it before any code. One page, these fields:
Read the shape from the evidence: the distribution of per-ticket results in the replay or forward sample. For every
shape the score is the net result after costs (expectancy and total net, as onchain-strategy-research puts it). The
shape decides what is read beside it, and when the net can be trusted.
Grinding (many small wins, rare large losses). Read median, hit rate, and the size and frequency of the worst
losses beside the net. Size from the worst loss that is measured or capped: the stop
(candle-trading-discipline), the liquidation distance on a leveraged position, or a hedge failure. The danger is the
large loss the sample has not shown yet,
so stress it.
Skewed (most tickets lose, a few large wins pay for them). Read the count of large winners and how flat the book holds between them (the drawdown between winners, the cost of the losers) beside the net: until the sample holds several large winners, the net is mostly luck in how many landed. The median is expected to be negative and says little.
large winners wanted / observed large-winner rate is only the ticket count at which
that many winners are expected; at that count the chance of getting them is only a little better than even.
Choose the count at which the binomial chance of at least that many winners, at the observed rate, is high.
Illustrative arithmetic, fictional numbers: at a rate of 1 in 20, 60 tickets expect 3 large winners but deliver at
least 3 only about 58 % of the time; about 105 tickets make it about 90 %. The capital covers that count plus fees,
unless the approved spec recycles exit proceeds. A budget that runs out before the winners can arrive tests the
bankroll, not the strategy.Unclear. Report both sets of measures until the shape settles.
Each exit leg names what it earns from. Legs to consider:
Judge each leg against the base exit on the same signals. An entry condition that waits for a better price (a dip, a pullback, a confirmation) reports the moves it missed: the signals that never came back to the price and what they did afterwards, not only the price it improved on the ones that filled. In a skewed book, count the large winners among the missed moves against the improvement on the fills.
Put the costs in the spec: fees, measured slippage on both legs at the real ticket size and gas, as
candle-trading-discipline computes them; token tax on both legs (candle-transfer-fee-tokens); and funding, borrow
or financing over the expected hold. Funding, fees and rebates count on whichever side they fall: a cost when paid,
part of the return when they are the profit source (carry, market making, liquidity provision). Write the break-even
into the spec too, all net of the round trip:
break-even hit rate = average loss / (average win + average loss), and the average win size needed at the observed
hit rate.
Before live, write which result, in which units, over which count or window means success, fail or continue, and the
operator approves it; this extends the pass/fail/continue line of the upstream experiment card. Check that the caps
can reach the bar (candle-book-limits), and that the entry window can: entries possible = window length x expected
entry rate, which must be at least the count the bar needs.
Start with the base rule, then add one gate or exit change at a time.
Run a variant beside the base on the same signals with one change, not across different periods; a paper twin beside
a live book measures execution cost (paired shadow portfolios, onchain-strategy-research).
At the end of the window, give a verdict against the bar written before: success, fail or extend. Then attribute it:
Then the next version, one change with its evidence and the operator's approval, or retirement with a tested-under record (cost tier, ticket size, latency, capital, data source, period, regime, break-even) so a reader under other conditions can see what to retest.
This skill is advisory. It does not authorize trades, transfers, or limit changes; those remain your operator's decision.
candle-strategy-hunt: where leads come fromonchain-strategy-research: the experiment card and validation this design feedscandle-trading-discipline: loss limits and stop-based sizing for grinding strategiescandle-book-limits: caps sized from the barcandle-strategy-to-bot: building the spec into a botWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
23 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-npx claudepluginhub candledottv/agentic --plugin candle