/candle:candle-market-data-ingestionfrom candle
Consumes hacc event feeds and Solana wallet/pool activity with durable cursors, receipt times, websocket plus reconciliation, transaction versions, gap detection and pruning. Use when building or debugging a collector, wallet watcher, or signal feed.
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.
A trading agent is only as good as the events it actually sees. Most ingestion failures are silent: the collector keeps running, reports healthy, and skips a slice of events that nobody notices until a signal that should have fired never did. This skill lists the ways that happens and the rule that prevents each.
onchain-strategy-research covers the research side (event time against availability time,
point-in-time data). This skill covers the collector itself.
Page by a monotonic id assigned when the event is stored (the server's id for a remote feed, the row id for your own store), persist the cursor only after the page is processed, keep receipt time next to event time, run a reconciliation poll beside every stream, accept every transaction version the chain produces, and record gaps as gaps.
For hacc /v1/events (and other feeds that expose since_id):
since_id), and persist the largest id returned.since_id=<saved> and follow next_since_id on every page.since_id=0, and never combine offset with since_id (the API rejects it).cursor = load_cursor() # persisted, survives restarts; never None after bootstrap
while True:
page = get_events(since_id=cursor, limit=500)
if not page.events:
break
process(page.events) # dedupe by event id; any exception stops here, before saving
next_cursor = page.next_since_id or max(e.id for e in page.events)
if next_cursor is None or next_cursor <= cursor:
raise RuntimeError("cursor did not advance") # never persist a missing or backward cursor
cursor = next_cursor
save_cursor(cursor) # only after process() succeeded
Why each part matters:
If the collector falls far behind, check whether the backlog is still useful. Events older than the window your strategy acts on are worth keeping for research, but a live consumer should not block on them. Re-bootstrap the live cursor at the current end of the feed (or keep a separate backfill cursor for research), and record the skipped range as a gap with its start, end and reason.
Never fill a gap with invented data. Prices at times nobody sampled cannot be recovered afterwards; mark those results as missing.
Store at least two times for every event: when it happened (block time) and when you received it.
maxSupportedTransactionVersion to the
highest version your RPC provider documents, on both full-transaction subscriptions and
getTransaction. The authors observed version 1 transactions from Meteora DLMM and one other
program: 5 of about 1,800 watched signatures on 2026-09-20, via Helius, where a read capped at
version 0 returned RPC error -32015. A request capped at version 0 gets an error or an empty frame
for them. Log an unsupported-version error as an error; a reconcile loop that treats "no
transaction" as "nothing to do" advances its cursor past the transaction and loses it.
Keep a backfill path that re-fetches specific signatures.candle-drained-pool-writeoff.status.tmp and rename it race each other and produce spurious errors.candle-agent-operations for telling local caps from
provider limits.since_id and offset are never mixed; no start from zero.maxSupportedTransactionVersion set to the highest version the RPC documents; unsupported-version errors logged; a signature backfill path exists.onchain-strategy-research: event time against availability time, point-in-time research data.candle-trade-execution: its fill-booking example reads transactions too; the version rule applies there as well.candle-wallet-entry-detection: deciding what an ingested wallet event means.candle-drained-pool-writeoff: liquidity events a swap-only feed cannot see.candle-agent-operations: supervision and shared request meters for collectors.This skill is advisory. It does not authorize trades, transfers, or limit changes; those remain your operator's decision.
What 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-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.npx claudepluginhub candledottv/agentic --plugin candle