/option-desk:desk-setupfrom option-desk
Installs and verifies the optiondesk CLI tools and MCP server so desk skills can produce analytics. Use when tools are missing, failing, or after plugin installation.
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.
The skills in this plugin describe a set of local tools. Installing the plugin gives you the instructions; it does not install the tools. This skill closes that gap.
optiondesk doctor
If that runs, read its output: it reports whether the analytics engine is present, which providers can answer, which credentials are configured without printing them, and where artifacts are written. Fix what it names and stop here.
If the shell says command not found, continue.
curl -fsSL https://raw.githubusercontent.com/Iman/agent-driven-options-desk-and-skills/main/install.sh | bash
That creates a virtualenv at ~/.optiondesk, installs the analytics engine
and the shell, links optiondesk and optiondesk-mcp into ~/.local/bin,
copies the skills into both ~/.claude/skills and ~/.agents/skills, and
registers the MCP server with every agent runtime it finds. Re-running is
safe, and ./install.sh --uninstall removes only what it created.
Python 3.11 or newer is required. Yahoo needs no API key, but it remains
disabled until the user accepts its local personal-use boundary. Use
--accept-yahoo-terms only after the user reads Yahoo's terms. The flag does
not permit hosting, business use, public display, or redistribution.
The acknowledgement is recorded as one line in ~/.optiondesk/config.env,
and that is where the provider gate reads it from. Nothing needs exporting
into a shell profile. Remove the line to withdraw it.
This workflow installs the tools and runs analytics, including a paper position. Use it when the user requests the demo. For installation alone, use the installer described above.
If Yahoo access is already acknowledged, run:
./run.sh
For a first run, obtain the user's acknowledgement after they read Yahoo's terms.
Then run ./run.sh --accept-yahoo-terms.
Without that flag, the runner leaves acknowledgement to the installer's interactive prompt or the existing configuration.
Never add the flag merely because the user asked to install the tools.
From a checkout, this installs anything missing, repairs a virtualenv built
for the wrong CPU architecture, pulls live chains for SPY and QQQ, runs the
Greek ladder, dealer positioning, the structure comparison, a simulation and
a backtest per structure, opens a paper position, then serves the dashboard
and opens a browser. ./run.sh --help lists the options; --dry-run prints
every command without running one.
On Apple silicon, a script whose shebang is /usr/bin/env bash picks up a
Homebrew bash under /usr/local when one is installed, and that binary is
x86_64. Everything it installs is x86_64 too, so the virtualenv imports
cleanly from that shell and fails from every native one:
ImportError: ... incompatible architecture (have 'x86_64', need 'arm64')
The installer refuses to build under translation now and repairs wheels that
are already wrong. If a user is stuck on this before updating, re-running the
installer fixes it, and arch -arm64 ./install.sh forces the point.
~/.local/bin is not on the PATH. The installer creates the two commands
there and warns rather than editing your shell profile, because editing
somebody's profile without asking is worse than a warning.
Check:
echo $PATH | tr ':' '\n' | grep -c "$HOME/.local/bin"
If that prints 0, add it to your shell profile:
export PATH="$HOME/.local/bin:$PATH"
Then open a new shell. This also matters to the MCP server, whose plugin
entry names the bare command optiondesk-mcp and resolves it through PATH.
optiondesk doctor engine, providers, credentials, paths
optiondesk expiries SPY reaches the network and lists expiries
optiondesk chain SPY writes the first artifact
optiondesk greeks --band 0.06 computes from it
If doctor works and expiries does not, the problem is network or
provider, not installation. If chain works and greeks reports the
engine is unavailable, the engine did not install; re-run the installer
without --no-engine.
Say plainly that no fresh figures can be produced, and why. Do not substitute remembered or example numbers for a chain that was never pulled, and do not present a model value as a quote. A skill with no tools is a skill that explains the desk; it is not a desk.
In ChatGPT on the web or on a phone, there is no local process to install and nothing here will make local tools run. Do not ask the user to install a local process in that session. Use an attached remote MCP server when one is present. Without one, the skills can analyse user-provided data only.
Hosted deployments must set PUBLIC_DATA_MODE=demo or licensed. Demo mode
blocks all external providers. Licensed mode permits only a provider that has
an explicit approval for public display, derived outputs, storage, and MCP
delivery. Never change this mode to work around a provider refusal.
They apply here too, briefly. Never present a remembered or example figure as a fresh one, and say plainly when the tools are absent rather than working around it. Never recommend a trade.
The full terms are in DISCLAIMER.md, which ships beside this skill when it is installed from a package and sits at the repository root otherwise.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub iman/agent-driven-options-desk-and-skills --plugin option-desk8 skills in this plugin
/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