roi-calculator

roi-calculator is a skill for Claude Code from aaron-he-zhu/aaron-marketing-skills. It costs 80 tokens per session (3,288 once invoked), scanned A, original, Apache-2.0.

A calculator for measuring the return from influencer marketing and paid advertising campaigns. ROI means return on investment, while ROAS means revenue compared with advertising spend.

In plain words
What is it for?
It helps calculate direct ROI and ROAS, earned media value, attribution-based revenue, customer-lifetime-value returns, and cost-efficiency measures.
Why use it?
It helps compare campaign value when revenue, reach, engagement, customer value, or attribution data tell different parts of the story.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: positional $N argument; mentions Claude Code; built for openclaw.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **Cross-discipline (paid ads):** this is the shared **return-math engine** for paid ads — [paid-measurement-loop](../../../ad/scale/paid-measurement-loop/SKILL..

Part of the aaron-marketing plugin — 120 skills shipped together , and of aaron-marketing

Good fit It helps calculate direct ROI and ROAS, earned media value, attribution-based revenue, customer-lifetime-value returns, and cost-efficiency measures.

Compare 6 skills from other repositories ↓
About the project

aaron-marketing-skills is a collection of 120 AI-agent skills covering marketing work such as brand narrative, search optimization, social media, email, advertising, influencer campaigns, and launches. Marketers and agent users can install it as a plugin, use its portable skills, or run its described bot team. The catalogue entries are components of this marketing workflow.

aaron-he-zhu/aaron-marketing-skills · 2,767 stars · on GitHub · aaronmarketing.ai

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/aaron-he-zhu/aaron-marketing-skills
agentmods
npx agentmods add skills/aaron-he-zhu/aaron-marketing-skills/roi-calculator

Made for: Claude Code.

Or install aaron-marketing, the plugin that ships this one along with the rest of its 120 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for roi-calculator

README.md
[![agentmods](https://agentmods.dev/badge/skills/aaron-he-zhu/aaron-marketing-skills/roi-calculator/github.svg)](https://agentmods.dev/skills/aaron-he-zhu/aaron-marketing-skills/roi-calculator)
Your own site
<a href="https://agentmods.dev/skills/aaron-he-zhu/aaron-marketing-skills/roi-calculator"><img src="https://agentmods.dev/badge/skills/aaron-he-zhu/aaron-marketing-skills/roi-calculator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for roi-calculator

Your own site · 80×15
<a href="https://agentmods.dev/skills/aaron-he-zhu/aaron-marketing-skills/roi-calculator"><img src="https://agentmods.dev/badge/skills/aaron-he-zhu/aaron-marketing-skills/roi-calculator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,288 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 2 Sept 2026
  • Snyk pass 2 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00080 $0.03288
Opus 5 $0.00040 $0.01644
Sonnet 5 $0.00016 $0.00658
Haiku 4.5 $0.00008 $0.00329

Measured 10d ago against content hash 06cc98245b04, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

roi-calculator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

influencer/report/roi-calculator/SKILL.md · 159 lines

How it starts

The opening of the file, as written. The whole thing — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ROI Calculator

This skill helps you calculate and communicate the return on investment for influencer marketing campaigns using various methodologies appropriate for your goals and available data.

Cross-discipline (paid ads): this is the shared return-math engine for paid ads — paid-measurement-loop, attribution-reconciler, and budget-optimizer delegate ROAS/CPA/payback ratios here rather than recomputing them. Save paid runs under memory/ad/roi-calculator/.

Quick Start

Shortest invocation:

Calculate ROI for our influencer campaign: $25K spend, $72K revenue, 2.1M reach

Common scenario — compare methods before reporting:

What's the ROI of our campaign using direct revenue, EMV, and LTV-based methods?

Skill Contract

  • Reads: campaign ID, complete opaque creator scope when creator-level math is requested, spend/cost-basis breakdown, deduplicated results data (reach, impressions, engagements, clicks, conversions, attributed revenue, new customers), the predeclared attribution model/window/decision rule, AOV and economic LTV inputs if LTV is in scope, and prior performance output from performance-analyzer. Reuse authorized opaque creator_ref values; raw handles/names/URLs/provider IDs stay transient and never identify a saved row.
  • Writes: return the ROI calculation and summary inline by default; save them to memory/influencer/roi-calculator/YYYY-MM-DD-<topic>.md (or the declared paid path) only with exact WARM-save authorization. Saved output uses campaign_id, complete opaque creator_ref scope, and opaque evidence/artifact refs—never raw identity locators.
  • Promotes: only with separate exact authorization, promote durable headline numbers with their attribution window, source, and uncertainty to memory/hot-cache.md; a calculation or WARM-save request does not authorize this operation.
  • Done when:
    1. At least one ROI methodology is computed with the inputs and formula shown.
    2. Each headline metric is stated against a declared, source-dated comparison target; no universal benchmark is invented.
    3. A bottom-line arithmetic assessment and 1-3 recommendations are written. Call the campaign profitable only when attributed revenue and a complete campaign cost basis are verified; otherwise state that profitability is unverified.
    4. Every denominator is verified numeric and > 0; zero, negative, missing, or incompatible denominators yield undefined/NEEDS_INPUT, never a ratio.
  • Primary next skill: report-generator

Read the full file on GitHub · 159 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago Changed · +3 lines 06cc98245b04
  2. 13d ago First seen · 156 lines · 80 tokens per session scan A c2dc82a472ac

Subscribe to this mod's changes

roi-calculator is a skill published in the GitHub repository aaron-he-zhu/aaron-marketing-skills (2,767 stars, last pushed today), licensed Apache-2.0. It adds 80 tokens to every session and 3,288 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.