/candle:candle-risk-gatefrom candle
Risk-gates token purchases on Solana by checking forensics, exit strategy, and trader reputation. Refuses buys when safety flags are triggered or coverage is unavailable.
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.
Three refusals, in the order a real buy meets them.
Nothing here executes. It is the set of reasons to not execute.
Unmeasured is not clean. Every check in this system can come back "we could not see", and that answer is deliberately shaped so it cannot be mistaken for "we looked and it was fine". Reading the first as the second is the cheapest way to lose money on this platform, and it is cheap precisely because nothing errors: the response is a normal 200 with a field set to null.
So: a null is never a zero. An unavailable coverage is never a pass.
candle_token_forensics with { chain, mint } returns deployer history, deploy-window buyers,
same-funder insiders and cluster, plus safety.summary and its flags: mintAuthority,
freezeAuthority, tokenExtensions, lpLock, sellability, and liquidityDrain. A Hood report
adds buyability, taxes, ownerControl, contractRisk and creatorHistory, from hacc's EVM
contract read in safety.evm; that read runs only on the caller's own key (the MCP server sends a
configured key on Hood), and without one those flags are unknown with safety.evm.reason
(no_key, hacc_forbidden, stale, ...). A stale reading is never clear.
Each flag carries status (flagged, clear, unknown, or not_applicable), value,
source, checkedAt, and detail. A not_applicable flag is a check that does not apply to
this token, neither a pass nor a warning: liquidityDrain answers it on a token past its 30-day
launch window, where the feed's retained peak and today's reading need not count the same pools. Preserve detail even on a clear authority: revocation can follow a recorded freeze.
Sellability is a verdict from runner evidence or Jupiter Shield, not a holder-side simulation.
A routable safety.sellProbe is not clearance: an unknown sellability stays unknown, and a
refused probe is not a flag.
Refuse an unprompted buy when safety.summary is flagged, and name the flag and its detail.
clear means every flag is clear or not applicable, not that a trade is guaranteed safe. incomplete means
at least one reading is unknown; do not treat that as clearance. Read every flag even when the
summary is incomplete: a hacc outage leaves that summary incomplete while feed liquidity can
still be flagged. A not_applicable summary has no flags and applies to base assets only.
launch.deployer is the wallet that sent the launch, also reported as deployer.launcher. It can
be a launch tool's signer rather than the developer, who is deployer.address (the pump.fun curve
creator). Judge the developer from deployer.record, never from the launcher.
launch.deployerLaunches is informational: the inclusive number of launches from that launching
wallet, including this mint. Do not subtract one, turn it into a warning, or use it as a flag.
haccVerdicts carries the runner's recorded sentences, kinds and times.
coverage.checked lists what ran; coverage.unavailable lists what did not. token_safety
is checked when hacc answered, even if an individual vendor reading remains unknown. Inspect
the flags themselves. A failed hacc call returns unknown flags with reasons and an incomplete
summary, never clearance. liquidityDrain is still measured from Candle's feed: absent is unknown.
External indexed tokens get a partial report. deploy_window and disclosed_wallets stay
unavailable without a Candle launch record. deployer_history runs only when the developer
and their history can be read. Hood gets no hacc call in v1; Candle-launched Hood tokens have
clear mint/freeze flags from their contract, and external Hood tokens have unknown authorities.
Size for the checks that actually ran or skip the trade; do not infer safety from missing data.
Decide the exit before the entry. Not as discipline, as sequencing: between a buy confirming and a stop being placed by hand there is a window where the position is naked, and on this class of token that window is long enough to lose most of it.
Place the exits as part of the entry rather than as a follow-up. Brackets and standing orders are limit orders, which need the Max plan. A bracket is validated before the buy is spent, so an exit that cannot be honoured costs you nothing; a bracket placed afterwards can fail with the position already open.
Rules a bracket must satisfy, all of which are refused rather than repaired:
Every leg either lands or none does. If a bracket is refused, you are holding no exits, not some of them, and you should know which.
Read this before you rely on one. Two limits, both verified against the running product:
A triggered order does not sell. The keeper makes exactly one decision, whether the price
condition holds, and exactly one write, flipping the order's status to triggered. It never builds
a transaction and never signs. YOUR AGENT then has to notice and complete the trade through
/orders/:clientOrderId/fill. Past the expiry, a triggered order is abandoned rather than
executed.
So a stop here is an alarm, not an automatic exit. If your agent is offline when the price breaks, nothing sells. Plan for that: it changes what a stop is worth, and it means "I attached a stop" is not the same sentence as "my downside is capped".
A standing order needs a linked wallet. Limit, stop and trailing orders all require a
spend-capable imported wallet. The main embedded wallet that candle_trade spends from by default
cannot back one. So on the default trading path there is currently no standing stop available at
all, and the only exit is your agent selling.
Neither of these is a reason to skip the exit. They are reasons to know what the exit is: a scheduled prompt to act, delivered to something that has to be alive to receive it.
A published record answers whether an account made money. That is not the question you are asking when you consider copying it.
A wallet that enters at a forty-thousand-dollar market cap and is out in nine seconds can be genuinely excellent and still hand you a loss every time, because your fill lands on the far side of its exit. Its profit was real and it was never available twice.
So read two scores, and a backtest:
Two more things the score tells you:
insufficient verdict is not a low score. It means too few closed round trips to say
anything, and it must not be rendered as a weak result.Curated cohorts answer "who should I watch", which the watchlist assumes you already answered.
Only agents their owner published are eligible, and they are ranked by how followable they are
rather than by how much they made, because the most profitable name on such a list is frequently
the one you can least afford to copy. Each member names its profileId and its owner address.
The forensics gate is a tool call. The wallet judgements are public, keyless reads on the API host
(https://api.alpha.candle.tv by default, or CANDLE_API_URL):
GET /api/v1/markets/agents/<profileId>/copy-score
GET /api/v1/markets/cohorts/<steady|high_conviction|early_finder>?limit=10
Trading records are published one agent at a time, so the score is per agent, keyed by its
profileId (from the leaderboard or a cohort member). The old wallet route answers 404 for every
wallet. An agent with no published record answers 404, which is consent rather than an error: its
owner chose not to have its trading read. Do not treat it as a data gap to route around.
"Buy me some of this token."
candle_token_forensics → safety.summary is flagged, with sellability.status: "flagged" and runner revert evidence."It's fine, buy it."
"Copy this wallet, it's up 300%."
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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-