Agent skill

Roi Calculator

by aiskillstore in aiskillstore/marketplace

A skill your agent uses when the user asks to "calculate influencer ROI", "prove campaign value", or "what was our ROAS"; produces direct ROI/ROAS, earned media value, attribution-modeled revenue…

Apache-2.0Auto-check passedMarketing & SEO

Install Roi Calculator

skills CLI
$ npx skills add aiskillstore/marketplace --skill roi-calculator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aiskillstore/marketplace roi-calculator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/aaron-he-zhu/roi-calculator .claude/skills/roi-calculator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
roi-calculator
GitHub stars
433
Token cost
~3k tokens
SKILL.md length
989 words
Files
3 (incl. references)
Skills in repo
1,044
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when the user asks to "calculate influencer ROI", "prove campaign value", or "what was our ROAS"; produces direct ROI/ROAS, earned media value, attribution-modeled revenue…

  • Works in 3 steps: At least one ROI methodology is computed… → Each headline metric is stated against a… → A bottom-line assessment (profitable /…
  • The user asks to calculate influencer ROI
  • SKILL.md covers Quick Start, Skill Contract, Data Sources and Instructions, plus 3 more sections
  • Calls python3 and git

What it does

Roi Calculator is an agent skill from aiskillstore/marketplace. Use when the user asks to "calculate influencer ROI", "prove campaign value", or "what was our ROAS"; produces direct ROI/ROAS, earned media value, attribution-modeled revenue, LTV-based ROI, and a stakeholder-ready summary. Not for building the full slide/written report — use report-generator.

Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/roi-templates.md` and `skill-report.json`). Compatibility notes: Claude Code and compatible agent-skill hosts

It sits in Marketing & SEO, covering Paid advertising, Influencer and creator marketing and Slides and decks. The repository describes itself as: Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified. The licence is Apache-2.0.

When your agent uses it

  • The user asks to calculate influencer ROI
  • Prove campaign value
  • What was our ROAS
  • Produces direct ROI/ROAS

Example prompts

  • “calculate influencer ROI”
  • “prove campaign value”
  • “what was our ROAS”
  • “/roi-calculator”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Claude Code and compatible agent-skill hosts

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  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 assessment (profitable / break-even / loss) and 1-3 recommendations are written.

What it can do on your machine

Read from SKILL.md and the folder at commit 44923f3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Claude Code and compatible agent-skill hosts

    From compatibility in the SKILL.md frontmatter.

Context cost

Roi Calculator loads about 3k tokens when it runs, and up to ~6.2k if it reads all its reference files. Until then it costs about 78 tokens; SKILL.md has 989 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~78
When it runs · the whole SKILL.md, loaded when a task matches
~3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from aiskillstore/marketplace at commit 44923f3, republished under its Apache-2.0 licence (© aiskillstore). 989 words, ~3,006 tokens.

Download SKILL.mdSave it as .claude/skills/roi-calculator/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
roi-calculator
description
Use when the user asks to "calculate influencer ROI", "prove campaign value", or "what was our ROAS"; produces direct ROI/ROAS, earned media value, attribution-modeled revenue, LTV-based ROI, and a stakeholder-ready summary. Not for building the full slide/written report — use report-generator.
compatibility
Claude Code and compatible agent-skill hosts
slug
aaron-roi-calculator
displayName
ROI Calculator · ROI 计算
summary
活动投入产出核算:成本归集、收益口径与 CVI/ROI 汇总
version
17.0.0
license
Apache-2.0
homepage
https://github.com/aaron-he-zhu/aaron-marketing-skills
when_to_use
Use when measuring or projecting influencer campaign ROI, justifying or defending budgets, comparing ROI across campaigns or channels, evaluating individual…
argument-hint
<campaign name or spend> [revenue] [results data]
metadata.author
aaron-he-zhu
metadata.version
17.0.0

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 spend breakdown, results data (reach, impressions, engagements, clicks, conversions, revenue, new customers), AOV and repeat-rate data if LTV is in scope, any prior performance output from performance-analyzer.
  • Writes: ROI calculation file at memory/influencer/roi-calculator/YYYY-MM-DD-<topic>.md containing direct ROI/ROAS, EMV, cost-efficiency metrics, attribution-modeled revenue, LTV-based ROI, by-influencer ROI, and a summary report block.
  • Promotes: only with separate authorization, durable headline numbers with their attribution window, source, and uncertainty; a calculation request alone does not authorize hot-cache writes.
  • 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 assessment (profitable / break-even / loss) and 1-3 recommendations are written.
  • Primary next skill: report-generator
Handoff Summary

Emit the standard shape from skill-contract.md §Handoff Summary Format.

Data Sources

This family is Tier 1 — it works with no live integrations. Ask the user for spend and results data and compute everything from those inputs. Connectors below can pull the numbers automatically when available:

  • ~~social platform analytics — reach, impressions, engagements, video views per platform for EMV and cost-per-metric math.
  • ~~ecommerce / analytics — revenue, conversions, link clicks, and AOV for direct ROI and attribution.
  • ~~CRM — new-customer counts, repeat-purchase rate, and lifetime value for LTV-based ROI.
  • ~~influencer database — per-influencer fees and tier data for by-influencer ROI.

With zero integrations, supply the investment and results tables by hand and the skill still produces every calculation. See CONNECTORS.md for the free/keyless recipe per category.

Instructions

When a user requests ROI calculation, work the steps below. Each step has a fill-in template in references/roi-templates.md — link the step number to its block there.

  1. Gather ROI inputs — campaign details, the investment (total spend) table, and the results-data table. (template)

  2. Calculate direct ROI — Simple ROI = (Revenue − Investment) / Investment × 100; ROAS = Revenue / Investment. State profit and a Profitable/Break-even/Loss assessment. (template)

  3. Calculate Earned Media Value (EMV) — impression-based (Impressions × CPM / 1000) and engagement-based (Engagements × CPE), then average. Flag EMV as directional, not absolute. (template)

  4. Calculate cost-efficiency metrics — CPM, CPR, CPE, CPV, CPC, CPA, and CAC. Compare only against a declared, source-dated target with a compatible market, window, and attribution basis; otherwise report the metric descriptively and mark the comparison pending. (template)

  5. Apply attribution modeling — run first-touch, last-touch, linear, time-decay, and position-based; recommend the model that fits the customer journey. (template)

  6. Calculate customer lifetime value impact — LTV-Based ROI = (New Customers × Avg LTV − Investment) / Investment; project short- vs. long-term and compare customer quality to organic/paid. (template)

  7. Calculate by-influencer ROI — per-influencer ROI/ROAS rank, investment efficiency, and ROI by tier (macro/micro/nano). (template)

  8. Generate the ROI report summary — investment, returns, ROI by methodology, key metrics vs. benchmark, bottom line, and 1-3 recommendations. (template)

  9. Produce the typed C3 ROI scope and, when complete, CVI

    Declare goal, profile roi-<goal>, scope: roi, assessment_time: forecast|actual, campaign rollup_id, observation date, and the same catalog version used by ACE/ART. Follow runtime-invocation.md, resolve AARON_SKILLS_ROOT="${CLAUDE_PLUGIN_ROOT:-$(git rev-parse --show-toplevel 2>/dev/null || true)}", verify the scorer and typed catalog, then score all 12 ROI items through python3 "$AARON_SKILLS_ROOT/scripts/rubric-score.py" score <run.json>. If the standalone install lacks them, return score_state: NOT_SCORED / score_confidence: not_scored and do not hand-calculate or persist a typed result. Actual-only R1/R2/I1/I2/I3 items are N/A with reasons in a forecast read; they require evidence in an actual read. This 0–100 rubric result is not financial ROI % from steps 1-8: the financial outputs are evidence consumed by ROI.R items, never the CVI input themselves.

    ROI.I3 Fail emits results-unverified; report I1/I2/R1/R2 as low-confidence and do not make attributable-return claims. Preserve the scorer result rather than recomputing it in prose.

    For CVI, combine complete typed ACE results from fit-scorer, complete ART results from content-reviewer, and exactly one ROI result through python3 "$AARON_SKILLS_ROOT/scripts/rubric-score.py" c3-rollup <results.json>:

    CVI = ( ACE_avg × ART_avg × ROI )^(1/3)

    Use the typed c3-rollup.schema.json components form for real campaigns: positive budget weights for every ACE result, equal-weight ART results, and one ROI result. All components must share goal, rollup_id, observation date, assessment time, and catalog version. Keep the three aggregate scope scores beside CVI. If ACE/ART is missing, incomplete, or Unknown, emit ROI and mark CVI pending. If any component is BLOCK and therefore has no final scope score, do not emit CVI; report the blocking component instead of capping or averaging it.

  10. Persist only with permission — save under memory/influencer/roi-calculator/ (or the paid path) only after authorization; request separate authorization for hot-cache promotion.

Show full SKILL.md (198 more words)Show less

Example

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

Output:

markdown
# ROI Calculation Summary

## Investment & Returns

| Item | Value |
|------|-------|
| Total Investment | $25,000 |
| Direct Revenue | $72,000 |
| Total Reach | 2,100,000 |

## ROI Results

### Direct ROI
- **Profit**: $47,000
- **ROI**: 188%
- **ROAS**: 2.88:1

For every $1 spent, you generated $2.88 in revenue.

### Earned Media Value
- **EMV** (directional scenario at a declared $8 CPM): $16,800
- **EMV Multiple**: 0.67x

### Cost Efficiency
- **CPM**: $11.90
- **CPA**: Unknown (conversion count was not supplied)

## Assessment: Profitable on the supplied direct-revenue basis

Direct revenue exceeds the supplied investment, but no source-dated peer target or incrementality evidence was provided. Do not infer benchmark outperformance or authorize a scale decision from this read alone; obtain verified conversions, attribution evidence, and the campaign owner's precommitted decision rule first.

The source-dated benchmark evidence template lives in references/roi-templates.md#benchmark-evidence-template.

Reference Materials

Next Best Skill

Primary: report-generator — turn the ROI numbers into a stakeholder-ready report.

Alternates (same Measure family):

  • performance-analyzer — go back for deeper performance breakdowns if the ROI math exposed gaps.
  • budget-optimizer — feed by-influencer and by-tier ROI into the next budget allocation.

Termination note: keep a visited-set of skills invoked this session. If the primary next skill was already run, stop and report the chain complete rather than re-invoking it. Stop after at most 3 hops in a single chain.

© aiskillstore, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in skills/aaron-he-zhu/roi-calculator of aiskillstore/marketplace.

  • SKILL.md
  • references/roi-templates.md
  • skill-report.json

Open the folder on GitHubat commit 44923f3

Compare with similar skills

Roi Calculator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Roi Calculator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Roi Calculator this skillaiskillstore/marketplace433—~3kAutomated safety check: PassApache-2.0
Roi Calculatoraaron-he-zhu/aaron-marketing-skills2.9k—~3.6kAutomated safety check: PassApache-2.0
Paid Ads Creativenowork-studio/notfair-plugin3.9k—~248Automated safety check: PassMIT
Higgsfield Content FactoryDaanKieft/ai-influencer116—~15kAutomated safety check: PassNone
Content Amplifieraaron-he-zhu/aaron-marketing-skills2.9k1 repos~6.5kAutomated safety check: PassApache-2.0
Create Content Campaignopenvetta/open-vetta290—~628Automated safety check: PassApache-2.0

Similar skills

  • Roi Calculator

    aaron-he-zhu/aaron-marketing-skills

    A skill your agent uses when the user asks to "calculate influencer ROI", "prove campaign value", or "what was our ROAS"; produces direct ROI/ROAS, earned media value, attribution-modeled revenue…

    2.9k GitHub stars~3.6k tokensUpdated today
    Marketing & SEOAuto-check passed
  • Paid Ads Creative

    nowork-studio/notfair-plugin

    Create grounded paid-media creative concepts, copy angles, refresh hypotheses, and measurable test briefs across advertising platforms.

    3.9k GitHub stars~248 tokensUpdated yesterday
    Marketing & SEOAuto-check passed
  • Higgsfield Content Factory

    DaanKieft/ai-influencer

    A 5-stage AI content pipeline using Higgsfield MCP, focused on viral UGC content split evenly across 5 formats: UGC Entertainment (challenges), Street Interview, Unboxing, Product Review, ASMR.

    116 GitHub stars~15k tokensUpdated 4 mo ago
    Marketing & SEOAuto-check passed
  • Content Amplifier

    aaron-he-zhu/aaron-marketing-skills

    A skill your agent uses when the user asks to "amplify influencer content with paid media", "set up whitelisting or Spark Ads", "decide which posts to boost", "repurpose influencer content", "turn…

    2.9k GitHub starsUsed in 1 repo~6.5k tokens
    Marketing & SEOAuto-check passed
  • Create Content Campaign

    openvetta/open-vetta

    Plan and build a coherent multi-asset image/video content campaign from a brief, including concept candidates, authority assets, hero selection, derivative assets, shots, and delivery formats.

    290 GitHub stars~628 tokensUpdated yesterday
    Marketing & SEOAuto-check passed
  • Budget Optimizer

    aaron-he-zhu/aaron-marketing-skills

    A skill your agent uses when the user asks to "allocate my influencer budget", "optimize spend across tiers", or "compare budget scenarios"; produces a tier/platform/content allocation table, ROI…

    2.9k GitHub stars~3k tokensUpdated today
    Marketing & SEOAuto-check passed

More from aiskillstore/marketplace

All 1,044 skills in this repo
  • Code Stats

    aiskillstore/marketplace

    Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).

    433 GitHub starsUsed in 1 repo~697 tokens
    Auto-check: notes
  • Data Processing

    aiskillstore/marketplace

    Process JSON with jq and YAML/TOML with yq. An agent skill from aiskillstore/marketplace.

    433 GitHub starsUsed in 1 repo~720 tokens
    Auto-check: notes
  • Doc Scanner

    aiskillstore/marketplace

    Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance.

    433 GitHub starsUsed in 1 repo~644 tokens
    Auto-check: notes
  • File Search

    aiskillstore/marketplace

    Modern file and content search using fd, ripgrep (rg), and fzf.

    433 GitHub starsUsed in 1 repo~598 tokens
    Auto-check: notes
  • Find Replace

    aiskillstore/marketplace

    Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.

    433 GitHub starsUsed in 1 repo~527 tokens
    Auto-check: notes
  • Project Planner

    aiskillstore/marketplace

    Detects stale project plans and suggests session commands. An agent skill from aiskillstore/marketplace.

    433 GitHub starsUsed in 1 repo~504 tokens
    Auto-check passed

Categories

Questions about Roi Calculator

What does Roi Calculator do?

A skill your agent uses when the user asks to "calculate influencer ROI", "prove campaign value", or "what was our ROAS"; produces direct ROI/ROAS, earned media value, attribution-modeled revenue…. Roi Calculator is an agent skill from aiskillstore/marketplace. Use when the user asks to "calculate influencer ROI", "prove campaign value", or "what was our ROAS"; produces direct ROI/ROAS, earned media value, attribution-modeled revenue, LTV-based ROI, and a stakeholder-ready summary.

When should I use Roi Calculator?

Roi Calculator fits situations like: the user asks to calculate influencer ROI; prove campaign value; what was our ROAS; produces direct ROI/ROAS.

How do I install Roi Calculator in Claude Code?

Run `npx skills add aiskillstore/marketplace --skill roi-calculator -a claude-code`. Or copy the skill folder (skills/aaron-he-zhu/roi-calculator in aiskillstore/marketplace) into .claude/skills/roi-calculator in your project. Claude Code loads it when a task matches its description.

How do I install Roi Calculator in Codex?

Run `npx skills add aiskillstore/marketplace --skill roi-calculator -a codex`. Or copy the skill folder (skills/aaron-he-zhu/roi-calculator in aiskillstore/marketplace) into .agents/skills/roi-calculator in your project. Codex loads it when a task matches its description.

Can I use Roi Calculator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aiskillstore/marketplace --skill roi-calculator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/roi-calculator, .gemini/skills/roi-calculator, .github/skills/roi-calculator and .opencode/skills/roi-calculator in your project.

What does Roi Calculator need to run?

Going by SKILL.md and its folder, Roi Calculator needs the command-line tools its instructions call (python3 and git). Our summary lists: Python 3. Compatibility (from SKILL.md): Claude Code and compatible agent-skill hosts.

Does Roi Calculator access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Roi Calculator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Roi Calculator use?

Roi Calculator is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Roi Calculator use?

About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.2k tokens, read only when the agent opens those files.

What are the alternatives to Roi Calculator?

Skills that share tags, products or a category with Roi Calculator: Roi Calculator (aaron-he-zhu/aaron-marketing-skills, 2.9k stars), Paid Ads Creative (nowork-studio/notfair-plugin, 3.9k stars), Higgsfield Content Factory (DaanKieft/ai-influencer, 116 stars) and Content Amplifier (aaron-he-zhu/aaron-marketing-skills, 2.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Roi Calculator?

aiskillstore (a GitHub organization) maintains it in aiskillstore/marketplace, which has 433 GitHub stars. The repository holds 1,044 skills in this directory. The repository was last updated on October 10, 2026.

Source: aiskillstore/marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.