/option-desk:options-leanfrom option-desk
Exports fixed option legs to a local LEAN backtest bundle or imports completed tagged results. Use when handing a plan to a historical engine, not modeled-premium strategy backtests.
Ships in option-desk. 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.
Use option_lean with action export or import. Export requires plan, start, end, exercise_style, multiplier and data_mode. MCP writes a new bundle under the desk artifact directory. The CLI also accepts an explicit destination.
optiondesk lean export --plan PLAN.json --destination NEW_DIRECTORY --start 2016-01-04 --end 2016-01-06 --exercise-style american --multiplier 100 --data-mode user-licensed
optiondesk lean import --result RESULT.json --bundle NEW_DIRECTORY/plan.json
Replace the example paths and dates with the actual plan and test interval. Only single-expiry American US equity option legs with integer contract quantities and multiplier 100 are supported. Stock legs, time spreads and degraded plans are refused. Model premiums do not become fill prices.
The export provides main.py and plan.json; a local LEAN runtime, configuration and permitted historical data are separate requirements. The template permits backtests only, enters at the first common quote slice and liquidates on the final date using separate orders. It does not validate point-in-time selection, atomic spread fills or historical data coverage.
Import requires completed status, fully filled orders, matching source-plan tags and data mode. Report degraded status first: passing those checks does not validate data coverage or financial model suitability. Preserve LEAN statistic units and distinguish synthetic fixtures from historical results. Assignment-generated orders without the plan tag are refused; do not label that path validated.
Research software, not investment advice. See DISCLAIMER.md.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub iman/agent-driven-options-desk-and-skills --plugin option-desk8 skills in this plugin
/desk-setupInstall and verify the option desk command line tools so the option_* MCP tools and the optiondesk commands actually work. Use when a desk skill reports that no fresh figures can be produced, when optiondesk is not found, when the MCP tools are missing or failing, when the plugin was installed but nothing runs, or when the user asks how to set this up. Not for analysing options; it only gets the tools working./options-backtestTest an option structure against real price history with modelled premiums, and run a paper forward test that records positions before their outcome is known and marks them against later chains. Reports win rate, mean return on capital at risk, drawdown, a permutation test, a bootstrap interval and a buy-and-hold benchmark. Use when the user asks whether a strategy has worked historically, to backtest or forward test something, whether an edge is real or chance, how a structure performed, or asks to paper trade, track a position, or mark a trade. Not for order placement and not for recommendations, and a backtest result is not a forecast./options-greeksRetrieve an approved or user-provided option chain and compute the full first to third order Greek ladder (delta, gamma, vega, theta, rho, lambda, vanna, vomma, charm, veta, speed, zomma, color, ultima, dual delta, dual gamma) for any US listed underlying. Use when the user asks about option Greeks for individual contracts, an option chain, a Greek by strike or expiry, theta decay, vega risk, or how one strike compares with another. For dealer gamma exposure, the walls, the gamma flip or the skew across a whole chain, use options-positioning instead. Not for order placement and not for recommendations.Other plugins' skills for the same job