prompts / plan-and-price-stack.md
edit FILL IN & copy this prompt →824 words

Prompt: price a planned stack on ird before building it

Have an agent turn a list of resources you intend to run on ird — domains, DNS zones, IPFS storage and traffic, tunnels, servers, one-click apps, p2p apps, snapshots and volumes — into a monthly cost table from the live price book, compare two options, check your runway, and point out the cheaper way to get the same result. Nothing is created.

Needs: ird access (MCP server or the ird CLI, logged in) Costs: none in the price book — only credits_prices, vps_tiers, apps_catalog, credits_balance (and optionally ird credits ledger) are read Group: housekeeping

Paste everything below the line into a fresh conversation. Fill in the FILL IN block first.


Task

Price OPTION_A (and OPTION_B if given) per month from the current price book, compare, and report runway at my current balance. Do not create, change or delete any resource — this is planning only.

FILL IN

OPTION_A:                                   # one resource per line
  domains:     2 × .ro, 1 year each
  dns_zones:   3 zones, ~20 records each
  ipfs:        800 MB pinned, 20000 MB served per month
  tunnels:     1
  vps:         1 × tier 2x, 1 × tier 0x
  apps:        none                         # one-click apps, e.g. ird_gitlab on an eligible tier
  p2p:         1 app, 5000 MB relayed per month, mailbox 50 MB held
  snapshots:   2 × 40 GB
  volumes:     1 × 100 GB
OPTION_B:    none                           # same shape, or "none"
HORIZON_MONTHS: 12                          # runway/comparison horizon

Non-negotiable rules

  1. Rates from the price book, never from memory. Every number comes from credits_prices (CLI: ird credits prices --json) and vps_tiers (ird vps tiers --json) read in this conversation. Quote the key next to each rate.
  2. Hourly → monthly is × 730. State the assumption. Yearly items (registrations, renewals) are ÷ 12 for the monthly column and shown in full in an "upfront" column.
  3. No resources. No register_domain, ipfs_add, create_tunnel, vps_create, apps_deploy, p2p_create_app — not even "to check". If a line is ambiguous, ask; don't probe.
  4. Unknown usage is a range. Traffic and relayed bytes are guesses: price them at the given figure and at ×3, and say which lines are usage-driven.

Steps

A. Read the price book. credits_prices → keep, per resource type:

If a line in OPTION_A has no matching key, say so instead of inventing a rate. With the CLI, ird credits ledger --limit 200 --kind charge shows what similar lines cost me last month — a sanity check on the estimate.

B. Compute per line. monthly = rate × quantity × 730 for hourly items; rate × MB for served/relayed traffic; yearly ÷ 12 for domains. Keep full precision, round only in the table. Sum per option.

C. Compare. If OPTION_B: same table side by side, difference per line and total, and the total over HORIZON_MONTHS including upfront costs.

D. Runway. credits_balance (CLI: ird credits) → the balance; runway = balance ÷ monthly total for the chosen option, in months; flag it if it is under HORIZON_MONTHS and say how many credits close the gap.

E. Cheaper alternatives — propose only where the requirement allows it, each with its own priced line:

F. Sanity check the traffic lines. Restate every usage-driven line (served MB, relayed MB, mailbox MB held) with the ×3 figure so the worst case is visible.

Deliverable

One table per option: line, quantity, price key, rate, monthly credits, upfront credits; totals; the comparison and HORIZON_MONTHS total if OPTION_B; balance, runway in months; the alternatives table with the saving per month; and the list of assumptions (730 h, usage figures, tiers chosen). End with the prompt to use next for each line (register-domain, static-site-ipfs, expose-local-app, vps-server, one-click-app, p2p-app at https://ird.cod-sursa.ro/prompts/).

static mirror of HEAD · about · clone: git clone https://ird.cod-sursa.ro/prompts.git