/orbie-skills:position-sizingfrom orbie-skills
Size any new position from a risk budget before preparing it: risk per trade, volatility targeting, capped fractional Kelly, concentration and correlation caps, and cutting size after losses, mapped to the agent's limits and loss protection. Use when the user or an agent opens or adds to a position, sets up an agent that trades, or asks how much to put in, what size or leverage to use.
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.
None: SKILL.md is the whole skill.
Size first, then prepare. size_position does the arithmetic; this skill says which inputs to feed it. Thresholds marked (default) are Orbie's judgment, not a rule from a source: say so when you quote them.
list_agents: the agent's limits: per-trade and daily USD caps, and its loss protection (maxLosses in lossWindowHours, maxDrawdownUsd, maxDailyLossUsd). Loss protection pauses the agent when a rule trips; resuming is the owner's. Never size so one ordinary loss trips it.get_performance (7d and 30d) for the wallet: current drawdown from peak. get_net_worth for equity and what is already held.hl_account / aster_account / gmx_positions for free margin and open positions.mkt_candles), never from the leverage. No stop = no size.maxDrawdownUsd, and ≤ ⅓ of maxDailyLossUsd;perTradeUsd (Orbie enforces it anyway; a bigger plan just stops at the owner).maxLosses = N, assume N losses in a row can happen: N × risk must be survivable.symbol (EWMA λ 0.94 of 90 daily closes) or daily_vol_pct. Size ∝ target vol ÷ forecast vol; the gain is smaller tails and drawdowns, not higher return [Harvey et al. 2018]. Target 20% a year per position (default).bt_walk_forward, paper, live), never from a backtest alone. Half Kelly keeps about ¾ of the growth at half the volatility [Thorp; c(2−c) approximation]. size_position ignores Kelly under 100 trades and returns 0 when there is no edge.existing_exposure_usd.drawdown_pct. Per-agent kill at 1.5× the backtest's worst drawdown (backtest-protocol). After a loss protection pause, propose smaller limits rather than resuming at the old size.size_position and take its sizeUsd (the smallest candidate binds; say which one). Perps: leverage only sets margin (marginUsd); keep liquidation at least twice as far as the stop (perp-trade-plan) and set a position_health alert (liquidation-defense).execute: the review card and the agent's limits still decide.Never raise risk %, leverage or a cap to make a trade fit, and never size to "win back" a loss. Every number here is a ceiling, not a target.
Sources: Harvey, Hoyle, Korgaonkar, Rattray, Sargaison, Van Hemert, "The Impact of Volatility Targeting" (JPM 2018), https://people.duke.edu/~charvey/Research/Published_Papers/P135_The_impact_of.pdf ; Thorp, "The Kelly Criterion in Blackjack, Sports Betting and the Stock Market", https://sites.oxy.edu/lengyel/M330/thorp/paper.htm . RiskMetrics λ = 0.94 is the standard daily EWMA decay.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
25 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.Generated from the plugin's indexed repository (chaingpt-org/orbie-skills) — no native marketplace selected
npx claudepluginhub p/chaingpt-org-orbie-skills