/candle:candle-launchfrom candle
Launches a new token on Candle (Solana or Hood) with optional dev buy. Validates via dry-run before spending fees. Use when user asks to launch, create, deploy, or seed a token.
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.
Launches a new token through Candle's headless launch API, on Solana or Hood, optionally seeding the curve with a dev buy. On Solana the dev buy is in the launch transaction itself; on Hood it is a follow-up transaction. This works on every plan, Free included: the launch and the dev buy are paid from the account's embedded wallet. The account that launches a token becomes its on-chain creator, and Candle-launched tokens pay creator fees back to whoever created them, on every trade against that token afterward.
Needs an agent API key (see the candle-setup skill); the default key scopes already cover
everything here (launch:write, launch:read, activity:write). There is no keyless path for
launching: this always writes, and always costs a network fee unless dryRun is set. Point the
MCP server anywhere: the CLI and MCP default to the alpha API host
(https://api.alpha.candle.tv), where the launch routes run today. Set CANDLE_API_URL only to
point at a different deployment.
candle_launch_and_seed with dryRun: true first, before spending anything. It validates
every field and, on Solana, assembles the real launch transaction (dev buy included) just to
size-check it, so an oversized name/symbol combined with a bundled dev buy is caught here
instead of only surfacing on the real, fee-spending launch:
{
"clientLaunchId": "launch-1",
"name": "Test Token",
"symbol": "TEST",
"imageUrl": "https://example.com/test.png",
"chain": "solana",
"devBuy": "0.25",
"dryRun": true
}
imageUrl must be a roughly square https image (for a file on this machine, see "If the image
is a file" below). chain is "solana" or "hood" (defaults to
solana); a Hood launch also needs dexVersion ("v3" or "v4"). devBuy is a DECIMAL amount
of the launch's own quote asset (SOL on Solana, ETH on Hood, unless quoteAsset says
otherwise), never a raw base-unit amount, and it is capped by a platform dev-buy ceiling: asking
for more comes back DEV_BUY_TOO_HIGH before anything is spent.checks, size, and resolved fields for anything unexpected.
The MCP relays the API's own body verbatim under api, so those three live at api.checks,
api.size, and api.resolved, alongside the echoed clientLaunchId at the top level.dryRun (or set it false) and call candle_launch_and_seed again with the same body to
actually launch. A successful call returns the launch result plus a best-effort follow-up read
of the fresh market state, both under the echoed clientLaunchId. If that follow-up read fails,
the launch itself still succeeds; call candle_get_market with the new chain/mint separately.candle_launch_token instead, with the same fields
minus devBuy (it also accepts dryRun: true).candle_trade buy.selfLaunch launches from a linked or TEE wallet the agent signs for locally (the CLI's
candle launch is this path, from a TEE wallet; --buy <amount> adds a first buy from the
same wallet unless the server turns it off with TEE_LAUNCH_BUYS_ENABLED=0 (on by default), and
without it the first buy is a separate swap). On Solana the CLI can also set where the launch's
curve and pool fees earn with --fee-wallet <address> (an on-curve wallet, or a Squads v4 vault
named by --fee-wallet-multisig <address> with --fee-wallet-multisig-vault-index <n>, CLI
0.13.9 or later); without it they earn to the wallet that launches the token where the server
has LAUNCH_FEE_WALLET_FROM_LAUNCHER on, otherwise to the account wallet, and the CLI's
preview, confirm and --check all say which is in force. The SDK's launchAtomic
lands the launch and 1 to 4 first buys in one bundle (payers are the embedded or linked wallets and may repeat). On Solana,
where the server has CURVE_LAUNCH_RULES_ENABLED on, every launch path can also fix launch
rules the curve program enforces: an open delay, a per-wallet cap and an allowlist, each with
its window from the open (launchRules on both MCP launch tools and the SDK, in seconds and raw
units; --open-in, --max-buy-per-wallet, --cap-window, --allowlist,
--allowlist-window and --dev-buy-max on the CLI). Dry-run first: the preview names the
resolved times. Neither is needed
for a launch with a dev buy: steps 1 to 3 above do that on any plan. The MCP server never
handles private key material by design, so both stay SDK routes.candle_report_activity with { "chain": "solana", "signature": "<the launch's signature>" } (or chain: "hood" for a Hood launch) so Candle
records and verifies it under your account's activity. activity:write is already in the
default key scope set, so this needs no extra setup.By default a launch takes its tier's own curve (mode open or exclusive). A Solana launch
quoted in sol or cndl can take an experimental curve instead, set by two numbers in the quote
asset: V, the virtual liquidity it starts with (a larger V starts the price higher and climbs more
slowly), and G, how much it raises before it graduates.
mode: "exp-a", "exp-b" or "exp-c", V of 4, 6 or 8 SOL, each graduating at 5 SOL
(264,000, 396,000 or 528,000 CNDL, graduating at 330,000 CNDL). The dev buy is at most 0.5 SOL
or 33,000 CNDL.mode: "exp-custom" with curve: { "virtualQuote": "12", "threshold": "40" }, whole
units as decimal strings. V from 1 to 100 SOL and G from 1 to 250 SOL (66,000 to 6,600,000 and
66,000 to 16,500,000 CNDL), under a price ceiling that binds for a small V on SOL and always
binds first on CNDL. The dev buy is at most 10% of G. A refusal is CURVE_OUT_OF_RANGE with a
reason, and at the ceiling maxThresholdRaw names the largest G that fits. GET /api/v1/launch/curve-options (no key) reports customCurves: true and the dev-buy ceilings.creatorFeeBps: 100 or 200, an extra 1% or 2% on both, paid to the
creator in full.Dry-run first: the dry run returns curveTerms (market cap at start and at graduation, supply sold
by graduation, what the first 1 SOL buys). Show the user those terms before launching: a small V
against a large G sells most of the supply cheaply, and a curve's terms cannot be changed after
launch. Full rules: https://docs.candle.tv/developers/headless-launch#custom-curves-choose-v-and-g
imageUrl is always an https URL on the wire. When the image is a file, it is uploaded first and
the launch is made with the URL Candle returns. An upload is public and permanent, with any
metadata the file carries. A dry run does not upload: it checks the file and publishes nothing,
so dry-run first. Launch only with an image that is meant to be public. The file must be a PNG, JPEG, GIF or WebP of at most 10MB.
CANDLE_IMAGE_DIR set: pass imagePath, an absolute path to a file
inside that directory, in place of imageUrl on candle_launch_and_seed or
candle_launch_token. One or the other, never both. The result carries the imageUrl that was
used: after a dry run, or on a retry, pass that imageUrl rather than imagePath, so the file
is not uploaded a second time. A path outside the directory is refused with "Image files must be
inside the configured CANDLE_IMAGE_DIR." If the tool has no imagePath argument, the directory
is not configured; only the operator can set it, so use one of the ways below instead.candle image upload <path> prints the hosted URL; pass it as imageUrl.
candle launch --image <path> uploads and launches in one command, on the TEE-wallet path of
step 6. Both need CLI 0.11.24 or later.imagePath. Ask the user to install the Candle CLI 0.11.24 or later, configure an agent key
with launch:write, run candle image upload <path> in a terminal, and give you the URL it
prints. Signing in to the hosted server supplies neither the CLI nor that key.POST /api/v1/uploads/agent-image with the file's bytes and its image content type
(or a multipart image field), under a key with launch:write, answers
{ "success": true, "imageUrl": "https://..." }.bannerUrl is always a URL: the upload crops to a square, so it cannot host a banner.
hide: true on a launch (CLI --hide) keeps the launch and its dev buy out of the activity stream
and Discord, and removes Candle's name for the creator (handle, agent name, badge, profile link)
from public readers. The token stays listed and tradable, and hidden launches still count in
totals. The creator wallet is public on chain and can be traced to its owner, so hide removes
Candle's identity layer, not on-chain facts. A hidden launch is left out of the creator's public launch
list but still counts in totals. It needs a CLI, SDK or MCP release that carries hide. It is set once at launch and never edited. If the
response does not echo hide: true, stop: the launch would be public. While the feature is off the
server refuses the request and launches nothing.
dryRun: true costs nothing and catches sizing errors before a real launch runs. Every call is
idempotent on clientLaunchId: retry a timed-out or uncertain call with the SAME id and the same
body, and it replays the original result instead of launching a second token. devBuy is capped
per launch by a platform ceiling enforced before any funds move.
A launch that is too big for its own dev buy, and the fix.
Dry-run a longer name bundled with a seed buy:
{ "clientLaunchId": "launch-42", "name": "Galactic Moonshot Protocol Token", "symbol": "GMPT",
"imageUrl": "https://example.com/gmpt.png", "devBuy": "0.4", "dryRun": true }
The dry run FAILS before anything is spent, and the error itself carries the name budget:
{
"clientLaunchId": "launch-42",
"api": {
"success": false,
"error": {
"code": "TRANSACTION_TOO_LARGE",
"message": "Launch transaction is 1241 bytes, 9 over Solana's 1232-byte limit. Shorten the token name or ticker (at most 23 name bytes fit this exact request), or launch without the dev buy.",
"retryable": false,
"txBytes": 1241,
"overBy": 9,
"maxNameBytes": 23
}
}
}
React by shortening name to fit inside error.maxNameBytes, and dry-run again to confirm:
{ "clientLaunchId": "launch-42", "name": "Galactic Moonshot", "symbol": "GMPT",
"imageUrl": "https://example.com/gmpt.png", "devBuy": "0.4", "dryRun": true }
A dry run has exactly two outcomes on this question: it succeeds, and a success that carries
api.size is itself the confirmation that the transaction fits, or it fails with
TRANSACTION_TOO_LARGE as above. There is no "succeeded, but does not fit" answer to read.
Once it succeeds, drop dryRun and call it again for real. Then confirm the fresh market and
attribute the launch:
{ "chain": "solana", "mint": "<launch.mint from the response>" }
via candle_get_market, followed by candle_report_activity with { "chain": "solana", "signature": "<launch.signature from the response>" }.
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-llm-trade-judge[RESEARCH] Test whether a language model adds anything to trading decisions before trusting it, and give it the role where that can be measured: a judge or veto over a deterministic entry rule. Use when putting a language model in a trading loop, when evaluating an agent that decides entries or exits, and when a model-driven strategy keeps converging on the same trades whatever the prompt says.