/orbie-skills:grid-and-exitsfrom orbie-skills
How to put exits on a position (stop-loss, take-profit, time limit, trailing stop), staged exits on a spot token (sell 50% at 2×, trail the rest), and how to run a grid from backtest to paper to live, with the cap approved once. Use when the user asks for a trailing stop, a time stop, "close it if…", a stop on spot, a grid or range bot, or to protect a position that's open.
Ships in orbie-skills. 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.
Read when SKILL.md points to them.
Both are executors: Orbie runs them itself every 15 s, without the model, on the rules Hummingbot's strategy_v2 uses (ported, Apache-2.0; see NOTICE.md). The same code runs in backtests, paper and live, so a backtest of a grid or of an exit set is the thing that will trade, minus what a backtest can't model.
exit_prepare)One policy per position, measured from the entry:
stop_loss_pct, take-profit take_profit_pct: on perps (Hyperliquid, Aster, exchanges that take them) they become trigger orders on the venue and work while Orbie is off. On spot, or where the venue won't hold them, Orbie watches them.time_limit_minutes (from when the policy starts) and trailing stop (trailing_activation_pct or trailing_activation_price, plus trailing_delta_pct): always watched by Orbie. The trailing stop arms once the position is that far in profit, then closes it when profit falls trailing_delta_pct points below its best; it never moves back.Steps: read the position (hl_account, aster_account, cex_positions/cex_balances), propose levels that fit the plan (the perp-trade-plan and position-sizing skills), exit_prepare, show the card's prices, execute. Check with exit_list. A policy ends itself when the position closes; exit_prepare_cancel stops Orbie watching (trigger orders it placed stay on the venue until cancelled there). If the user adds to the position, the perp policy still closes the whole position at its levels from the first entry; prepare a new one if the plan changed.
exit_prepare_staged)For a Solana or EVM token the wallet holds, typically right after a buy: take-profit steps (take_profits: sell sell_pct of the covered amount at multiple × entry), a trailing stop on the rest (trailing_pct: sold once the price falls that % below its peak; trailing_arms_at to arm it only from a multiple) and a stop-loss (stop_loss_pct: everything still covered). Measure from entry_price = what was paid per token (from the buy's card); left out it is the price now, and say so.
exit_list shows each step's state; exit_prepare_cancel with the plan id (sx…) ends it and cancels its Jupiter orders.Config: side (long; short needs perps), lower/upper, levels (evenly spaced, both ends included), size_usd per level, take_profit_pct per level, max_open_orders (resting entries, nearest the price, only on the side they rest on), stop_price beyond the losing edge (cancel everything, close what the grid holds at market). Cap = levels × size_usd, the most it holds if every level fills.
grid_backtest. Report it like any backtest (backtest-protocol skill): window, fees, return next to buy-and-hold, max drawdown, round trips (under 30 is an anecdote), max exposure against the cap, what it still holds at the end. Bars are walked open → favourable extreme → adverse extreme → close, so no bar makes a round trip it might not have. Not modelled: funding, slippage, queue position, partial fills.grid_paper_start, read with grid_list and paper_account. Days, not minutes.grid_prepare on Hyperliquid (perps or spot) or a connected exchange. The card shows the cap: that is what the owner approves (or the agent's per-trade limit must cover) and what counts against the daily limit, once. Orbie places each order through the venue's own checks and never past the cap; every order shows in Activity. Stop with grid_prepare_stop (close_position to sell what it holds).A grid makes money in a range and loses in a trend: below the range a long grid holds a falling position, every level at a loss. Always set stop_price unless the user decides otherwise in writing, and size the cap so the stop's loss (roughly cap × distance to the stop, plus fees) fits their plan. Take-profit per level should clear fees on both fills several times over. A paused agent's grid keeps its take-profits and stop but places no new entries. Backtests and paper are simulations, not promises.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (chaingpt-org/orbie-skills) — no native marketplace selected
npx claudepluginhub p/chaingpt-org-orbie-skills25 skills in this plugin
/airdrop-farmingDecide whether a points program, testnet or "farm the X airdrop" plan is worth it, and run it with one honest wallet: cost/benefit against an uncertain, dilutable reward, protocol risk, the program's sybil rules, wallet hygiene and safe claims. Never splits funds across wallets to look like many users. Use when the user or an agent mentions points, airdrops, farming, testnets, eligibility, or claiming a drop./backtest-protocolProtocol for testing a trading strategy honestly before real money: no lookahead, fees and slippage, walk-forward, then paper, then small live. Use when the user asks to backtest, optimize or evaluate a strategy, signal or bot, or to turn a strategy into an agent that trades./bridge-riskJudge a cross-chain move before it is sent: prefer canonical and issuer routes, read the bridge LI.FI picked (L2BEAT type and trust model, DefiLlama age, audits and hacks), the destination chain's L2BEAT stage, split large amounts, and track arrival without resending. Use for any bridge (prepare_swap with to_chain, CCTP into Hyperliquid) above a small amount, when the user asks which bridge is safe, or when a bridge review card shows a bridge finding./contract-safety-reviewSafety review for writing, deploying or calling smart contracts: OpenZeppelin building blocks, Foundry tests, Slither, weird ERC-20 behaviors and deployment steps. Use when writing or auditing Solidity (contract_compile, contract_prepare_deploy), before calling an unfamiliar contract (contract_prepare_call), or when a contract will hold funds, accept arbitrary tokens or use flash loans./copy-trading-safetyVet a trader before copying or following them, pick copy targets from the Hyperliquid leaderboard, read smart-money vs crowd positioning, set safe limits for copy_follow (Solana) and hlcopy_follow (Hyperliquid), and decide when to go from paper to real. Use when the user wants to copy, mirror or follow a trader, "smart money", a whale or an influencer wallet, asks "who should I copy?", "is 0x… any good?", "where is smart money positioned?", or wants to switch a copy from paper to real money./defi-yield-ladderRank yields by what can break them, not by APY: place each candidate on a tier ladder (T0 staking to T4 farms) with DefiLlama's outlier, history and volatility fields and protocol_info checks, split a yield budget across tiers with caps, and name the risk behind any APY far above its peers. Use for "best yield", parking stables or ETH, comparing vaults, lending markets, Pendle or farms, or before moving a yield position.