Folloze ROI Calculator Builder
Create an evidence-backed decision tool, not a decorative lead form. Establish the economics first, obtain approval for the model, then design and build a source-branded interactive experience.
Choose The Operating Mode
Use the narrowest mode that satisfies the request:
- Prompt package: adapt the master builder prompt into a shareable prompt that interviews the stakeholder and produces the full calculator package.
- Model discovery: interview the stakeholder, register evidence and assumptions, define the formulas, and stop at an approvable model contract.
- Local calculator build: complete discovery, brand harvest, design, implementation, deterministic tests, and responsive QA in the active project repo.
- Audit or revision: inspect an existing prompt, model, or calculator; identify unsupported claims, financial errors, double counting, broken interactions, design drift, or release gaps; change only the requested scope.
- Folloze handoff: prepare or execute an authorized MCP save only after the local build and release gates pass. Follow the Folloze release contract.
Do not force a build when the user only needs the reusable prompt or model. Do not call a value estimate an ROI calculator when investment is missing.
Required Foundations
- Before any ROI calculator HTML build, download or update
$folloze-analytics-tracking from the public Analytics Tracking source, read it completely, and apply it to every CTA and meaningful calculator interaction. If the source cannot be loaded, stop before HTML generation and Folloze publication. Prompt-package mode must place this bootstrap requirement inside the delivered prompt so a clean ChatGPT, Qwen, Claude, or Codex session cannot silently skip it.
- Apply
$folloze-board-quality-core throughout local build, responsive review, interaction QA, analytics review, and Folloze MCP preflight.
- Run
$abm-strategist before design when the calculator is for a named account, one-to-few campaign, or named account cluster. Use its approved brief and narrative structure. Do not invent a target account for one-to-many work.
- Use
$folloze-brand-kit for a Folloze-owned calculator. For an external brand, run $brand-harvester before choosing the visual system or writing CSS. Store the evidence bundle in the active project repo, require a zero CLI exit and brand.json.validation.status: ok, and review the resolved source, extraction statuses, desktop and mobile screenshots, source-dna.md, folloze-board-brief.md, brand-tokens.css, asset-manifest.json, and brand.json.
- If
$brand-harvester cannot inspect the approved source, stop visual design until the user supplies screenshots, a brand guide, or equivalent approved evidence.
- Prompt-package mode does not require a live harvest. The delivered prompt must still require
$brand-harvester or equivalent approved brand evidence before its model generates HTML.
Source And Evidence Rules
Use sources in this order:
- customer facts from an owned system of record or a named owner;
- vendor facts and product claims approved for this calculator;
- dated published benchmarks with traceable scope and methodology;
- explicitly chosen scenario values;
- clearly labeled provisional assumptions.
Never invent pricing, baselines, benchmarks, product capabilities, customer outcomes, citations, approval, or publication state. Do not treat an example calculator as evidence. Classify every material number as CUSTOMER_FACT, VENDOR_FACT, PUBLISHED_BENCHMARK, SCENARIO_CHOICE, EXPLICIT_ASSUMPTION, or DERIVED_VALUE.
For each material number, record:
- label and stable input ID;
- value, unit, period, currency, and eligible scope;
- classification and direct source;
- named owner and as-of date;
- confidence and validation status;
- notes, limitations, and where the value is used.
Mark unavailable evidence unverified. If conflicting sources would materially change the result, show the conflict and stop for the named owner to decide.
Workflow
1. Establish The Decision
Ask questions in short rounds. Combine source and capability intake with the highest-priority decision questions, and ask no more than seven questions total in any round. First resolve:
- vendor, product, bundle, or use case;
- primary buyer and calculator user;
- one-to-one, one-to-few, or one-to-many motion;
- decision the buyer should make;
- one or two leading business outcomes;
- placement in the buying journey and next action;
- owners for economics, product claims, brand, legal, privacy, technical delivery, and release.
Accept unknown. Identify the likely owner instead of guessing.
2. Select The Value Streams
Use only value streams with an explainable causal and financial link. Common candidates include:
- retained recurring revenue or reduced churn;
- expansion or customer-qualified pipeline;
- productivity capacity and coverage;
- avoided hiring, overtime, or contractor spend;
- software and service consolidation;
- support deflection and self-service;
- education and training delivery;
- onboarding, adoption, or time-to-value, only when tied to an approved financial outcome.
Keep separate streams separate. Do not monetize health scores, engagement, NPS, adoption, time-to-value, forecast accuracy, or risk signals without an approved causal and financial link.
3. Build The Model Contract
Define the model before writing copy or code. For every value stream specify:
- eligible population or economic base;
- current baseline and proposed change;
- attribution, adoption, confidence, and ramp factors;
- timing and realization period;
- formula, units, dependencies, and output label;
- excluded overlap with other streams;
- owner and approval state.
Register all investment categories a finance reviewer would expect: subscription, implementation, services, integration, internal labor, enablement, change management, ongoing administration, and transition or exit costs when applicable.
Keep these outputs distinct:
Gross benefit
Realized benefit
Investment
Net benefit
ROI
Benefit-cost ratio
Payback period
NPV, when requested and supported
Use the formulas, scenarios, and anti-double-counting checks in the master builder prompt. Use ROI_READY only when the required investment and benefit evidence are sufficiently complete. Use VALUE_ESTIMATE_ONLY when gross value can be modeled but investment cannot. Use BLOCKED when a material unknown or conflict prevents an honest estimate.
4. Review Before Experience Design
Return an approval packet containing:
- calculator thesis and buyer decision;
- model status;
- source and assumption ledger;
- formula registry with plain-language explanations;
- conservative, expected, and upside scenarios;
- sensitivity drivers;
- double-counting review;
- unresolved evidence and named owners;
- versioned approval checklist.
Do not generate HTML until the stakeholder approves the model direction or explicitly asks for a labeled prototype based on provisional assumptions.
5. Create A Prompt Package
When the user asks for a prompt they can give another model:
- Read the complete master builder prompt.
- Preserve the required
$folloze-analytics-tracking download, installation, source receipt, and application gate exactly.
- Replace generic language only with approved vendor, product, buyer, and source details.
- Keep the evidence, finance, security, brand, accessibility, analytics, QA, and action boundaries intact.
- Remove research seeds or defaults that are not approved for the customer.
- Preserve the short-round interview behavior and the requirement to approve the model before code generation.
- Save the result as a standalone Markdown file in the active project repo.
- Provide a short share note that explains what the recipient should attach and what the prompt will produce.
The prompt must be usable in Qwen, ChatGPT, or another capable coding model without relying on hidden context.
6. Design The Experience
After model approval, run the required strategy and brand foundations. Design around the buyer's decision and the strongest sensitivity drivers.
- Use one primary headline. Do not use an eyebrow, headline, and dek stack.
- Prefer a focused workbench when it fits the buyer job.
- Keep the main experience to four to six high-value controls; move secondary assumptions into a labeled detail panel.
- Show what changed, why it changed, how it was calculated, and which assumptions matter most.
- Provide conservative, expected, and upside scenarios without implying certainty.
- Show useful value before requesting contact information.
- Use direct language such as
modeled, potential, estimated, or directional.
- Match the approved source brand's typography, spacing, color, controls, imagery, section rhythm, and responsive behavior.
- Do not create or modify logos, average two brands into one system, or copy a public page pixel for pixel.
7. Build The Local Artifact
Create one self-contained HTML document or one namespaced HTML fragment, according to the requested placement. Keep CSS and JavaScript inline unless the approved host contract says otherwise. Use no build step and no external runtime dependencies by default.
For a fragment:
- mount inside one namespaced root;
- prefix IDs, classes, data attributes, CSS variables, and custom events;
- avoid global selectors and host assumptions;
- keep calculation functions pure and separate from rendering;
- expose one idempotent mount function plus cleanup behavior;
- use event listeners, not inline handlers;
- reject
eval, dynamic code execution, and unsafe innerHTML;
- make network requests, storage, cookies, PII capture, and external libraries opt-in only;
- use real approved destinations for every CTA and link;
- fail safely if the host strips scripts.
Preserve the local HTML and model files as the source of truth. Never invent a deployment or Folloze URL.
8. Test And Review
Before handoff, verify:
- the current
$folloze-analytics-tracking source was downloaded, read, and applied;
- formula test vectors for conservative, expected, and upside scenarios;
- zero, missing, negative, extreme, and locale-formatted inputs;
- percentage-point versus relative-percentage behavior;
- currency and period consistency;
- rounding and visible reconciliation from components to totals;
- no double counting across value streams;
- no raw financial inputs or PII in analytics payloads;
- every slider, selector, drawer, print action, link, and CTA works;
- semantic labels, keyboard access, visible focus, contrast, live-region behavior, and reduced motion;
- desktop near
1440 x 900 and mobile near 390 x 844 render cleanly;
- no clipping, overlap, layout shift, horizontal overflow, placeholder destinations, or dead controls;
- buyer-facing claims and caveats match the approved evidence ledger.
Run both a design-fidelity review against the $brand-harvester evidence and a separate buyer-facing functional review. Fix blocking issues or report them explicitly.
9. Prepare The Folloze Handoff
Read and follow the Folloze release contract. At runtime, use the current Folloze guide returned by the environment. If no current guide or tool schema is exposed, stop at the local handoff and report that limitation. Do not hard-code or infer an MCP tool that is not actually available.
Never collapse these states into one completion claim:
- model approved;
- local artifact generated;
- local QA passed;
- Folloze MCP draft or section saved;
- board published;
- anonymous live experience verified;
- analytics delivery verified;
- source committed;
- source pushed.
An explicit request to build locally is not authorization to save or publish in Folloze. An MCP save is not publication. Publication is not anonymous verification. Local event tests are not production analytics delivery.
Final Receipt
Report:
- operating mode and model status;
- vendor, product or use case, buyer, and primary decision;
- approved value streams and formula version;
- source ledger and unresolved assumptions;
- prompt, model, HTML, and QA artifact paths;
- strategy and brand evidence paths and review status;
- deterministic, responsive, accessibility, interaction, and claim QA status;
- Analytics Tracking source URL, load status, coverage counts, and local versus production verification state;
- exact Folloze board, page, and section only if verified and in scope;
- Folloze save, publish, anonymous verification, and analytics states separately;
- Git commit and push states separately;
- blockers, owners, and the next safe action.
Do not say production ready, finance approved, brand approved, published, or verified without direct evidence for that exact state.
1---2name: folloze-roi-calculator-builder3description: Build, revise, audit, or package a buyer-facing ROI or value calculator for a Folloze experience. Use when a user needs a finance-defensible value model, a stakeholder interview, a reusable Qwen or ChatGPT builder prompt, an on-brand self-contained HTML calculator, calculator QA, or a gated handoff for a future Folloze custom HTML section.4---56# Folloze ROI Calculator Builder78Create an evidence-backed decision tool, not a decorative lead form. Establish the economics first, obtain approval for the model, then design and build a source-branded interactive experience.910## Choose The Operating Mode1112Use the narrowest mode that satisfies the request:13141. **Prompt package**: adapt the [master builder prompt](references/master-builder-prompt.md) into a shareable prompt that interviews the stakeholder and produces the full calculator package.152. **Model discovery**: interview the stakeholder, register evidence and assumptions, define the formulas, and stop at an approvable model contract.163. **Local calculator build**: complete discovery, brand harvest, design, implementation, deterministic tests, and responsive QA in the active project repo.174. **Audit or revision**: inspect an existing prompt, model, or calculator; identify unsupported claims, financial errors, double counting, broken interactions, design drift, or release gaps; change only the requested scope.185. **Folloze handoff**: prepare or execute an authorized MCP save only after the local build and release gates pass. Follow the [Folloze release contract](references/folloze-release-contract.md).1920Do not force a build when the user only needs the reusable prompt or model. Do not call a value estimate an ROI calculator when investment is missing.2122## Required Foundations2324- Before any ROI calculator HTML build, download or update `$folloze-analytics-tracking` from the [public Analytics Tracking source](../../docs/folloze-analytics-tracking.md), read it completely, and apply it to every CTA and meaningful calculator interaction. If the source cannot be loaded, stop before HTML generation and Folloze publication. Prompt-package mode must place this bootstrap requirement inside the delivered prompt so a clean ChatGPT, Qwen, Claude, or Codex session cannot silently skip it.25- Apply `$folloze-board-quality-core` throughout local build, responsive review, interaction QA, analytics review, and Folloze MCP preflight.26- Run `$abm-strategist` before design when the calculator is for a named account, one-to-few campaign, or named account cluster. Use its approved brief and narrative structure. Do not invent a target account for one-to-many work.27- Use `$folloze-brand-kit` for a Folloze-owned calculator. For an external brand, run `$brand-harvester` before choosing the visual system or writing CSS. Store the evidence bundle in the active project repo, require a zero CLI exit and `brand.json.validation.status: ok`, and review the resolved source, extraction statuses, desktop and mobile screenshots, `source-dna.md`, `folloze-board-brief.md`, `brand-tokens.css`, `asset-manifest.json`, and `brand.json`.28- If `$brand-harvester` cannot inspect the approved source, stop visual design until the user supplies screenshots, a brand guide, or equivalent approved evidence.29- Prompt-package mode does not require a live harvest. The delivered prompt must still require `$brand-harvester` or equivalent approved brand evidence before its model generates HTML.3031## Source And Evidence Rules3233Use sources in this order:34351. customer facts from an owned system of record or a named owner;362. vendor facts and product claims approved for this calculator;373. dated published benchmarks with traceable scope and methodology;384. explicitly chosen scenario values;395. clearly labeled provisional assumptions.4041Never invent pricing, baselines, benchmarks, product capabilities, customer outcomes, citations, approval, or publication state. Do not treat an example calculator as evidence. Classify every material number as `CUSTOMER_FACT`, `VENDOR_FACT`, `PUBLISHED_BENCHMARK`, `SCENARIO_CHOICE`, `EXPLICIT_ASSUMPTION`, or `DERIVED_VALUE`.4243For each material number, record:4445- label and stable input ID;46- value, unit, period, currency, and eligible scope;47- classification and direct source;48- named owner and as-of date;49- confidence and validation status;50- notes, limitations, and where the value is used.5152Mark unavailable evidence `unverified`. If conflicting sources would materially change the result, show the conflict and stop for the named owner to decide.5354## Workflow5556### 1. Establish The Decision5758Ask questions in short rounds. Combine source and capability intake with the highest-priority decision questions, and ask no more than seven questions total in any round. First resolve:5960- vendor, product, bundle, or use case;61- primary buyer and calculator user;62- one-to-one, one-to-few, or one-to-many motion;63- decision the buyer should make;64- one or two leading business outcomes;65- placement in the buying journey and next action;66- owners for economics, product claims, brand, legal, privacy, technical delivery, and release.6768Accept `unknown`. Identify the likely owner instead of guessing.6970### 2. Select The Value Streams7172Use only value streams with an explainable causal and financial link. Common candidates include:7374- retained recurring revenue or reduced churn;75- expansion or customer-qualified pipeline;76- productivity capacity and coverage;77- avoided hiring, overtime, or contractor spend;78- software and service consolidation;79- support deflection and self-service;80- education and training delivery;81- onboarding, adoption, or time-to-value, only when tied to an approved financial outcome.8283Keep separate streams separate. Do not monetize health scores, engagement, NPS, adoption, time-to-value, forecast accuracy, or risk signals without an approved causal and financial link.8485### 3. Build The Model Contract8687Define the model before writing copy or code. For every value stream specify:8889- eligible population or economic base;90- current baseline and proposed change;91- attribution, adoption, confidence, and ramp factors;92- timing and realization period;93- formula, units, dependencies, and output label;94- excluded overlap with other streams;95- owner and approval state.9697Register all investment categories a finance reviewer would expect: subscription, implementation, services, integration, internal labor, enablement, change management, ongoing administration, and transition or exit costs when applicable.9899Keep these outputs distinct:100101```text102Gross benefit103Realized benefit104Investment105Net benefit106ROI107Benefit-cost ratio108Payback period109NPV, when requested and supported110```111112Use the formulas, scenarios, and anti-double-counting checks in the [master builder prompt](references/master-builder-prompt.md). Use `ROI_READY` only when the required investment and benefit evidence are sufficiently complete. Use `VALUE_ESTIMATE_ONLY` when gross value can be modeled but investment cannot. Use `BLOCKED` when a material unknown or conflict prevents an honest estimate.113114### 4. Review Before Experience Design115116Return an approval packet containing:117118- calculator thesis and buyer decision;119- model status;120- source and assumption ledger;121- formula registry with plain-language explanations;122- conservative, expected, and upside scenarios;123- sensitivity drivers;124- double-counting review;125- unresolved evidence and named owners;126- versioned approval checklist.127128Do not generate HTML until the stakeholder approves the model direction or explicitly asks for a labeled prototype based on provisional assumptions.129130### 5. Create A Prompt Package131132When the user asks for a prompt they can give another model:1331341. Read the complete [master builder prompt](references/master-builder-prompt.md).1352. Preserve the required `$folloze-analytics-tracking` download, installation, source receipt, and application gate exactly.1363. Replace generic language only with approved vendor, product, buyer, and source details.1374. Keep the evidence, finance, security, brand, accessibility, analytics, QA, and action boundaries intact.1385. Remove research seeds or defaults that are not approved for the customer.1396. Preserve the short-round interview behavior and the requirement to approve the model before code generation.1407. Save the result as a standalone Markdown file in the active project repo.1418. Provide a short share note that explains what the recipient should attach and what the prompt will produce.142143The prompt must be usable in Qwen, ChatGPT, or another capable coding model without relying on hidden context.144145### 6. Design The Experience146147After model approval, run the required strategy and brand foundations. Design around the buyer's decision and the strongest sensitivity drivers.148149- Use one primary headline. Do not use an eyebrow, headline, and dek stack.150- Prefer a focused workbench when it fits the buyer job.151- Keep the main experience to four to six high-value controls; move secondary assumptions into a labeled detail panel.152- Show what changed, why it changed, how it was calculated, and which assumptions matter most.153- Provide conservative, expected, and upside scenarios without implying certainty.154- Show useful value before requesting contact information.155- Use direct language such as `modeled`, `potential`, `estimated`, or `directional`.156- Match the approved source brand's typography, spacing, color, controls, imagery, section rhythm, and responsive behavior.157- Do not create or modify logos, average two brands into one system, or copy a public page pixel for pixel.158159### 7. Build The Local Artifact160161Create one self-contained HTML document or one namespaced HTML fragment, according to the requested placement. Keep CSS and JavaScript inline unless the approved host contract says otherwise. Use no build step and no external runtime dependencies by default.162163For a fragment:164165- mount inside one namespaced root;166- prefix IDs, classes, data attributes, CSS variables, and custom events;167- avoid global selectors and host assumptions;168- keep calculation functions pure and separate from rendering;169- expose one idempotent mount function plus cleanup behavior;170- use event listeners, not inline handlers;171- reject `eval`, dynamic code execution, and unsafe `innerHTML`;172- make network requests, storage, cookies, PII capture, and external libraries opt-in only;173- use real approved destinations for every CTA and link;174- fail safely if the host strips scripts.175176Preserve the local HTML and model files as the source of truth. Never invent a deployment or Folloze URL.177178### 8. Test And Review179180Before handoff, verify:181182- the current `$folloze-analytics-tracking` source was downloaded, read, and applied;183- formula test vectors for conservative, expected, and upside scenarios;184- zero, missing, negative, extreme, and locale-formatted inputs;185- percentage-point versus relative-percentage behavior;186- currency and period consistency;187- rounding and visible reconciliation from components to totals;188- no double counting across value streams;189- no raw financial inputs or PII in analytics payloads;190- every slider, selector, drawer, print action, link, and CTA works;191- semantic labels, keyboard access, visible focus, contrast, live-region behavior, and reduced motion;192- desktop near `1440 x 900` and mobile near `390 x 844` render cleanly;193- no clipping, overlap, layout shift, horizontal overflow, placeholder destinations, or dead controls;194- buyer-facing claims and caveats match the approved evidence ledger.195196Run both a design-fidelity review against the `$brand-harvester` evidence and a separate buyer-facing functional review. Fix blocking issues or report them explicitly.197198### 9. Prepare The Folloze Handoff199200Read and follow the [Folloze release contract](references/folloze-release-contract.md). At runtime, use the current Folloze guide returned by the environment. If no current guide or tool schema is exposed, stop at the local handoff and report that limitation. Do not hard-code or infer an MCP tool that is not actually available.201202Never collapse these states into one completion claim:2032041. model approved;2052. local artifact generated;2063. local QA passed;2074. Folloze MCP draft or section saved;2085. board published;2096. anonymous live experience verified;2107. analytics delivery verified;2118. source committed;2129. source pushed.213214An explicit request to build locally is not authorization to save or publish in Folloze. An MCP save is not publication. Publication is not anonymous verification. Local event tests are not production analytics delivery.215216## Final Receipt217218Report:219220- operating mode and model status;221- vendor, product or use case, buyer, and primary decision;222- approved value streams and formula version;223- source ledger and unresolved assumptions;224- prompt, model, HTML, and QA artifact paths;225- strategy and brand evidence paths and review status;226- deterministic, responsive, accessibility, interaction, and claim QA status;227- Analytics Tracking source URL, load status, coverage counts, and local versus production verification state;228- exact Folloze board, page, and section only if verified and in scope;229- Folloze save, publish, anonymous verification, and analytics states separately;230- Git commit and push states separately;231- blockers, owners, and the next safe action.232233Do not say `production ready`, `finance approved`, `brand approved`, `published`, or `verified` without direct evidence for that exact state.