/levered:growth-analystfrom levered
Read and explain optimization results as a customer-ready document — which variant is winning and why, how much lift Levered is delivering vs. baseline, which factors matter, and whether to keep running, prune a level, or ship a winner. The deliverable is always fit to forward to the customer; analyst detail goes in a chat addendum. Use whenever the user asks how an optimization or experiment is performing, wants a results summary or stakeholder report, asks about lift, winning variants, factor importance, or cross effects — for one optimization or the whole portfolio.
Ships in levered. 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; scripts run unread.
The user wants to understand how an optimization is performing. Pull the live results from the Levered platform, read the model, and explain it in plain language — then recommend the highest-leverage next move.
Act autonomously: run the levered commands yourself and interpret the output. The only thing to ask of the user is levered login (it needs a browser). Default to production data — these are real, live experiments.
Speed contract: a repeat report takes ~2 minutes; a first report ~5. The whole data layer is ONE CLI call (report-data) plus ONE script run (scripts/report_calcs.py) — never re-derive their numbers with ad hoc warehouse SQL, and never re-discover join keys, window starts, or outcome weights that the pack and the notes file already carry. levered warehouse query is a last resort, reserved for a fired validation gate or a question the cube genuinely cannot answer.
Reference files carry the deep material. Do not read them upfront. Each has a trigger:
The essentials from those files, as a checklist (enough for a clean run; the files hold the reasoning):
model block, queried from the posterior store for this pack. Intervals are {lo, mid, hi} and mid is the point estimate. model: null means the model has no estimate yet: traffic splits evenly over the servable variants and there are no model estimates.share is its P(best) and its share of optimized traffic; the served weight is share × (1 − holdout share), the same number in another scaling. Quote one. Customer documents state traffic as share of optimized traffic.results.primary_metric_vs_holdout, the only randomized number; it leads), policy (model.policy_lift, "Lift (now)"), and ceiling (model.ceiling_lift, "Lift (best variant)", already shrunk halfway toward the policy lift). The last two are model estimates and are always labeled as such.model.factor_effects, ranked by factor effect). A level effect is that level against the reference level (the baseline's level, which reads exactly 0; without a baseline, the levels mixed by their share of the variants), with the other factors mixed by the level's own Thompson policy (its variants weighted by their chance of being its best). The factor effect is what optimizing the factor is worth when every segment takes its own best level of it: write "worth +x%". It is never negative and, because it picks a best level under uncertainty, biased upward: a factor with no effect still reads slightly positive, so an interval that starts near zero is no evidence that the factor matters. Low means little to gain from optimizing it, which makes it a candidate to drop.model.factor_importance): the current lift split by design factor. Each factor's uplift is the live policy over the factor's reference policy (the reference's mix over that factor's levels, each level paired with the other factors by its own Thompson policy), which is close to its level effects weighted by the policy's share of traffic on each level; the interaction term is what the product of the factor uplifts leaves of 1 + the policy lift; share is each term's part of the policy lift, summing to 1 with the interaction term whatever the lift's sign (against the current version, what the even split earns over it is shared out among the terms in proportion) (with a negative lift the shares allocate the loss), and share_interval the interval of the per-draw share: quote both. A large interaction term means the winner is a specific combination.model.context_importance): the personalization uplift (model.personalization) split by context factor, the way factor importance splits the policy lift. Each context factor's uplift (also model.importance.context) is the live policy over the same policy with that factor averaged out, still conditioning on the others; the interaction term is what the product of the uplifts leaves of 1 + the personalization uplift; share is each term's part of the personalization uplift, summing to 1 with the interaction term, with its share_interval. Design shares are of the policy lift, context shares of the personalization gain: never compare a design factor's figure with a context factor's. A negative interaction term means personalizing pays on context factors together; a positive one that they stand in for each other (each uplift small, the personalization uplift large).control_type: "none" on the optimization; no variant carries is_baseline): every variant is a new experience, so there is no original, no holdout and no measured lift. The modeled figures are lift vs. an even split of traffic across the variants (what picking one at random would earn), and they are the headline — labeled as model estimates, with the reference named in every sentence that quotes them. Never call any variant "the original" or "the control", skip the baseline-sanity gate and the stale-baseline caveat, embed the winner and the runner-up instead of winner and original, and leave out the *original:* row and the *(original)* utility marker. "Prune a level" has no measurement anchor to protect.rate is per matured user and lifetime-cumulative; windowed lift figures are per user over their window. Never place them side by side as comparable.ok / violated status is a monitoring flag from a fixed-horizon CI evaluated continuously (it fires spuriously over a long run); it never appears in the document as a "breach", a "violation", or a gate. Never make adoption, shipping, or "keep running" conditional on a guardrail settling, never schedule a "guardrail review" as the next decision point, and never write that a guardrail "needs a decision" or "must be understood before" the reward-based recommendation stands. The recommendation follows the reward; the guardrail movement is stated next to it as the price, quantified where the data allows, and the customer decides whether that price is acceptable.model.personalization (what the contextual policy earns over the same policy blind to context, with P(> 0)), model.segments (per context: policy lift, policy vs. ceiling reward, and the variant served with its share) and the context importance. The script's empirical winner comparison is a labeled cross-check, never the headline.Check auth before anything else, so a needed login surfaces immediately:
levered env use prod && levered whoami
Not authenticated → ask the user to run levered login (the one browser step) and stop until they have. If the CLI is missing: curl -fsSL https://cli.levered.dev/install.sh | bash, then ~/.levered/bin/levered.
levered optimizations list resolves a name or keyword to an id (confirm if ambiguous; all/portfolio → see Portfolio reads).
Per-optimization state lives in ~/.levered/reports/<optimization-id>/:
notes.md — the analysis recipe: config hash, converged-window start, known quirks (era boundaries, join oddities), decisions from prior runs, last headline numbers.report-latest.md — the last delivered report.snapshots/ — cached variant PNGs.Read notes.md and report-latest.md if they exist. They are what makes the repeat path fast — trust them unless the config hash says otherwise.
levered optimizations report-data <id> > pack.json
One JSON document: optimization + model config including the reward's outcome weights, results (variants with counts and rates, measured lift, time series), model (every model figure: policy and ceiling lift, P(beats the reference), progress, per-variant P(best) and reward, per-segment figures, personalization, design-factor and level effects, factor importance and context importance), model_history (the headline model figures one point per day over the last two weeks), the measured daily series (holdout_daily), the outcome mix cube (users per day × arm × variant × matched outcome, split by the context at first exposure when the model has context factors), and guardrails. Surfaces fail independently — a {"error": …} under one key is a note for the addendum, not a reason to stop.
If the subcommand is unknown, or the pack has no model or model_history key, invoke the CLI twice (it self-updates and applies on the next run).
Questions the pack does not answer go to the posterior store directly, the same source the pack's model figures come from:
levered posterior query <id> --sql "$(cat <<'SQL'
<SQL>
SQL
)" [--param name=value] [--version <v>] --json
Read-only SQL over the posterior draws. Every response lists available_versions, newest first; rerun a query with --version over several of them for a trend beyond model_history.
python3 <skill-dir>/scripts/report_calcs.py pack.json # add --since YYYY-MM-DD to override the converged window
Stdlib-only; prints every number the report needs, each labeled with its basis:
config_hash for update-mode comparison.holdout_daily.model block reports them, formatted for the tables; MODELED ends with the last days of model_history, the trend the stale-baseline check reads.Gate handling. All gates clean → proceed. A gate FIRED → this is now the finding that shapes the document: read references/reading-the-model.md, investigate (this is where levered warehouse query is legitimate), and apply the exclusions/softened claims the reference prescribes. A fired gate always lands in the analyst's addendum first.
Story verification still applies. The script hands you both constructions for the usual claims (model level effects AND raw deviations; published AND recomputed lift). A claim the two constructions do not both support is downgraded to a named observation or cut. Claims inherited from a prior report are checked against the fresh numbers before reuse.
Update mode — when report-latest.md exists, the config_hash matches notes.md, and no gate fired. Refresh the numbers inside the prior report's structure, re-examine only claims the fresh numbers moved (allocation shifts, a guardrail changing status, significance crossing a threshold), and say in the addendum what moved since last time. Skip the reference files; reuse cached snapshots. This is the ~2-minute path.
Full mode — first report, config hash changed, a gate fired, or the user asked for a fresh look. Read references/report-template.md before writing; the deep mandates (interaction narrative with cross-effects.md, story verification from scratch) run here. This is the ~5-minute path, and it is per optimization, not per report.
The deliverable is a document the user can forward to their customer or stakeholders unchanged. Everything above is the kitchen; the document is the plate — its rigor shows up as what's absent, not as visible apparatus. There is no separate internal report mode: analytical depth the user needs goes in the analyst's addendum (end of this section), never in the document.
Structure: Summary → Progress → Impact → What wins and why → Recommended action → method notes. references/report-template.md is a user-approved worked example of the register and density — borrow its conventions (bold-labeled Summary bullets, bold claim openers, compact ·-joined tables, verdict column, numbered actions, italic fine-print method notes) as sensible defaults, but treat it as an example, not a required structure. The deliverable is ONE markdown file, sent to the user as a file — no SVG or image files (user ruling 2026-08-03); the analyst's addendum stays in chat. The governing rule — the one thing that is not negotiable — is Minto's Pyramid Principle:
Section contents (the script's output maps onto these directly):
pending guardrail is reported as pending. Wording is symmetric: a guardrail whose CI cannot rule out material harm gets "no detectable change", never "no degradation"; a positive guardrail at p < 0.05 is reported as positive. A guardrail that has moved is narrated as a trade-off against the reward, in one sentence after the table: what the gain cost or carried with it, in the same per-user units when possible (e.g. "the 9% higher value per user came with 2.7% fewer intro completions"), plus the most likely mechanism when the outcome mix explains it (a shift toward a product with a different downstream rate is a consequence of the intended mix shift, not a separate loss). The verdict column keeps its statistical wording; the trade-off sentence carries the interpretation. Follow with the absolute translation (the outcome-mix shift × monthly traffic — the sentence stakeholders retell, with an honest range) and then Modeled estimates as a labeled table of Lift (now) and Lift (best variant) — with the stale-baseline caveat paragraph when the gate failed (mechanism, direction, "measured figures are authoritative", correction expected; never an alternative number).data:image/png URIs (no sidecar files, no Levered login needed), then one sentence linking to https://app.levered.dev/optimizations/<id>#results; no contender images, no all-variants appendix (rejected 2026-08-06). Level effects per factor, quoted from the pack (labeled model estimates, each factor led by its factor effect, original level at 0, winner's levels bold). Interaction effects: the test statistic, a top-deviations table where deviations are real, and the full masked deviation matrix — a pattern claim ships with its complete evidence. Close with the bulleted "What the interactions show" block; |z| < 2 rows are labeled directional and narrated accordingly. When the model has context factors, the section ends with the Context effects block (next bullet), and the Summary's What wins and why bullet carries its verdict in one clause.--- break, ONE italic paragraph beginning *Method notes: …*, about three sentences (user ruling 2026-08-06): counting basis and windows, where measurement starts and why, any table-comparability caveat. A mid-run change becomes one neutral clause here, not a story.Rules that keep it customer-safe:
model_config.design_factors carries a label, name the factor or level by it, with the raw value in code font once where a reader may need to match it to the code. A level's description says what visitors saw; use it to explain why it won.Snapshots come from the shipped script (cached; re-fetch only when the winner changed):
python3 <skill-dir>/scripts/embed_snapshots.py <id> --winner <n> --winner-caption "…" --original 1 --original-caption "…" --out snippet.md
A 401 means the session token expired: ask the user to levered login, retry once, and on any other failure ship the report with the dashboard link in place of the images (noting it in the addendum) rather than improvising auth.
The analyst's addendum — to the user in chat, never in the document. After the document: which gates fired and how they shaped the document, the measured-vs-modeled gap and its diagnosis, anything oscillating, open platform issues, and (in update mode) what moved since the last report. A validity finding outranks a variant finding.
After sending the report, write back ~/.levered/reports/<id>/:
notes.md — config hash, converged-window start, quirks discovered this run, the headline numbers (measured lift + CI, winner, mix shift), date. Keep it under a page; it is a recipe, not a log.report-latest.md — the delivered document (without the base64 blocks if size is a concern; note the snapshot cache instead).Recommend the highest-leverage move the evidence supports:
share > ~90% on one variant), exploration is over and the recommendation is usually "change nothing, let the holdout accumulate" — any change restarts that clock.The decision above is made on the reward alone. Guardrails never move a recommendation between these three; they add the trade-off sentence to whichever one the reward supports. "Keep running" is justified by overlap or under-exposure of the reward, never by "waiting for a guardrail to settle".
Surface the structural insight when the analysis reveals one: drop a noise factor (low factor effect: little to gain from optimizing it), drop a context factor with no detected personalization benefit (in the next optimization, never mid-run), merge redundant levels, consolidate two factors only on true synergy (both mains ≥ 0 — see the saturation rule in the checklist), or spin up a follow-up around the dominant factor.
(1) For anything the dashboard already shows — lift, factor and level effects, importance, users, rates, probability-of-best — quote the value from the pack; never re-derive it (your number will drift from the dashboard and confuse the user). (2) Unpublished insights — windowed cuts, mix shift, interactions — come from the outcome-mix cube via the shipped script, which shares the platform's estimand by construction. (3) A model question the pack does not answer (a longer trend, a pair of variants, one segment) is a levered posterior query, built on the store's views with the pack's conventions. Ad hoc levered warehouse query analysis is the escalation path for fired gates and questions the cube cannot answer, not the default.
all)Lead with a one-row-per-optimization scoreboard: name, status, best lift so far, confidence (tight/wide), one-word call (ship / prune / wait). One report-data call per live optimization, in parallel. Offer to drill into any single one with the full report.
observations <id> for incoming data and show <id> for status; if exposures aren't flowing, hand off to platform setup.model is null — the model has no estimate yet (no posterior published): report measured figures only, say traffic is split evenly across the servable variants, and quote no model estimate. model carries {"error": …} — reading the model's figures failed; report measured figures and put the error in the addendum.outcome_mix or holdout_daily carries a warehouse_error — the pack's other surfaces still work; report published figures, skip the cube-derived sections, and put the error in the addendum.levered metrics preview <id>) and anonymous_id matches between exposures and rewards.For deeper concepts: concepts.md and docs.levered.dev/docs/concepts/optimizations.
references/cross-effects.md (opens in a new tab)references/reading-the-model.md (opens in a new tab)references/report-template.md (opens in a new tab)scripts/__pycache__/report_calcs.cpython-314.pyc (opens in a new tab)scripts/embed_snapshots.py (opens in a new tab)scripts/report_calcs.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub levered-hq/claude-plugin --plugin levered3 skills in this plugin
/growth-engineerThe user's AI growth engineer for Levered. Reviews their product for what may hold back conversions, proposes and prototypes variants in their own app, and launches the optimization. Use whenever the user wants to optimize, improve, test, or experiment with any part of their product or funnel — conversion, signups, checkout, pricing, onboarding, CTAs, copy, layout, landing pages — asks to find out which version works best, personalize an experience, or run an experiment, or when a repository has a `.levered/` folder — even if they don't mention Levered./levered-platformLevered optimization platform expert. Activates when the user mentions optimizations, experiments, variants, personalization, lift, conversion rate, design factors, or the Levered CLI/SDK — or in plain language wants to improve conversion, get more signups, test a change, find out which version works better, personalize, or decide what to show users. Use the levered CLI and SDK to help the user.