/marina:quantitative-estimatesfrom Marina
Computes exact arithmetic, forecasts series with quantiles, and calculates probability buckets for numeric ranges. Use calc for math, quant fit for forecasting, and quant buckets for range probabilities.
Ships in Marina. 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.
Every number you report comes from a tool, not from your head. Three rank-0 commands cover it, with no model call and no code sandbox:
calc <expression> — exact arithmetic, units, statistics (mathjs)quant fit <values> … — a series and a horizon → mean, sd, quantilesquant buckets … — a distribution and a set of ranges → the probability of each rangecalcStatements run in order and share variables (; separates them). End with the value you want.
| Need | Write |
|---|---|
| Percent change | calc (112.5 - 104.2) / 104.2 * 100 |
| Percentage points vs percent | calc 4.1 - 3.8 (points) and calc (4.1 - 3.8) / 3.8 * 100 (percent) |
| Share of a total | calc 120 * 15% |
| Compound growth | calc 250 * (1 + 3%)^10 |
| Growth rate (CAGR) between two values | calc (380 / 250)^(1/7) - 1 |
| Periods to reach a level | calc log(2) / log(1.035) |
| Annualise a monthly rate | calc (1 + 0.4%)^12 - 1 |
| Linear extrapolation | calc a = 3.1; b = 3.9; n = 4; b + (b - a) / n * 2 |
| Unit conversion | calc 5 mile to km, calc 100 degF to degC, calc 3 kWh to J, calc 60 mi/h to m/s |
| Summary statistics | calc mean([3.1, 3.3, 3.6]), calc std([3.1, 3.3, 3.6]), calc median([3.1, 3.3, 3.6]), calc quantileSeq([3.1, 3.3, 3.6], 0.9) |
| Differences | calc diff([3.1, 3.3, 3.6]) |
| Rounding for the answer | calc round(7.96545, 1), calc format(1234567.891, {notation: 'fixed', precision: 2}) |
Notes:
1.4285714285714e+5). Wrap in format(x, {notation: 'fixed', precision: 2}) when you need digits.% is a unit (15% = 0.15); 20% of 150 does not parse, write 150 * 20%.mi/h, not mph.quant fitGive values oldest first, plain or dated:
quant fit 41 42 40 43 44 42 45 46 47 46 48 49 steps:2
quant fit 2026-01-31=3.1, 2026-02-28=3.3, 2026-03-31=3.6, 2026-04-30=3.5 to:2026-07-31
steps:N counts releases ahead. to:<date> converts a target date at the series' median spacing.method: is auto by default. auto takes the method with the lowest error on the series' own past (rolling origin) and keeps persistence unless another method beats it by 5%. You can also pick persistence, ewma, blend (persistence and EWMA averaged; good for noisy polls), trend (straight line), damped (a line that flattens; usually safer than trend beyond a few steps), or combo.NaN, na and null values are skipped and counted.quant bucketsWhen the answer is a range ("below 3%", "3–3.5%", "above 4%"), do not round your point estimate into one. Compute each range's probability:
quant buckets mean:3.4 sd:0.3 -- A: <3; B: 3-3.5; C: 3.5-4; D: >=4
quant buckets q:0.1=38,0.5=42,0.9=47 -- <40, 40-45, >=45
quant buckets mean:10 sd:2 cuts:5,10,15
quant fit 41 42 40 43 44 42 45 46 -- <42, 42-46, >=46
<x, <=x, >x, >=x, a-b (same as [a, b)), a..b, [a, b], (a, b], x+, or a bare number for an exact value. Prefix a label with A: to keep option letters.>=3 and "more than 3%" is >3. This matters when the outcome is reported rounded.damped or auto, and check against persistence.quant buckets.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
arithmetic, forecasting, statistics, quantiles, unit-conversion
npx claudepluginhub h2oai/marina --plugin marina7 skills in this plugin
/answer-requestHow to handle an incoming model_request as the marina:answerer dispatcher/decompose-multihopSplit a multi-step question into sub-questions, dispatch, and compose/intake-triageBefore answering a question or starting a task, classify it — lookup, anchor, list or forecast — so a figure that is already published gets read, not forecast/marina-memoryUse Marina as durable memory for coding and long-running agent work. Store original evidence, explicit symbolic claims and checkpoints; query or traverse them without embeddings; resume across sessions using Marina MCP tools or the TypeScript HTTP SDK.Other plugins' skills for the same job