/candle:candle-transfer-fee-tokensfrom candle
Handles Token-2022 transfer-fee tokens in Solana: correctly calculates round-trip cost, avoids double-counting or rejecting taxed mints, sizes positions from net received balance, and reconciles paper vs live results.
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.
A Token-2022 mint can carry a transfer-fee extension: every transfer of the token withholds a
percentage of the amount moved. candle-risk-gate flags the extension through tokenExtensions.
This skill covers how the fee shows up in quotes, how to put it into an entry decision correctly, and
how to keep accounting honest about it.
A transfer fee is paid on the way in and again on the way out. Judge the round trip from the reverse quote, judge each leg's impact net of the fee, never add the fee a second time, size and sell from the balance actually received, and compare live results against a paper column that charges the fee.
(1 - f)^2 of the token value before any other cost: about 2% lost at 1% per leg, about 5.9%
at 3% per leg.candle-trading-discipline for the cost arithmetic.Price feeds and tape marks report the market price and do not charge the fee. A live book that records fills from balance changes is already net of the fee. Comparing the two directly makes live execution look worse than it is on every taxed token.
Keep two columns in any paper or shadow ledger: the untaxed mark, and the same mark with the fee
charged on both legs (gross multiplied by (1 - f)^2, then other costs). Compare live results to the
taxed column. When a mint's fee is not yet known, report that position as unknown instead of guessing.
candle-risk-gate: the tokenExtensions flag and the other pre-buy checks.candle-trading-discipline: round-trip cost arithmetic and when a strategy cannot pay for itself.candle-trade-execution: book fills from on-chain balance changes, never from the quote.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
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.