Agent skill

Ecom Promo Roi

by asgard-ai-platform in asgard-ai-platform/skills

Calculate and analyze promotional ROI including incremental sales lift, margin impact, and promo type comparison.

MITAuto-check passed

Install Ecom Promo Roi

skills CLI
$ npx skills add asgard-ai-platform/skills --skill ecom-promo-roi -a claude-code

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

GitHub CLI
$ gh skill install asgard-ai-platform/skills ecom-promo-roi --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/asgard-ai-platform/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/ecom-promo-roi .claude/skills/ecom-promo-roi && 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
ecom-promo-roi
GitHub stars
242
Token cost
~1.1k tokens
SKILL.md length
387 words
Files
3 (incl. references)
Skills in repo
207
Repo updated
First seen
Licence
MIT

At a glance

Calculate and analyze promotional ROI including incremental sales lift, margin impact, and promo type comparison.

  • The user needs to evaluate whether a promotion was profitable
  • SKILL.md covers Framework, Output Format, Gotchas and References
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Compare promotion types

What it does

Ecom Promo Roi is an agent skill from asgard-ai-platform/skills. Calculate and analyze promotional ROI including incremental sales lift, margin impact, and promo type comparison. Use this skill when the user needs to evaluate whether a promotion was profitable, compare promotion types, simulate promo scenarios, or optimize promotional spending — even if they say 'was this sale worth it', 'which promo type works best', 'are we giving away too many discounts', or 'plan our next promotion'.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `examples/sample_scenario.md` and `references/promo-testing.md`).

The repository describes itself as: 301 open-source coding agent skills across 22 domains — methodology, judgment & gotchas packaged as Claude Agent Skills for the Asgard AI Platform. The licence is MIT.

When your agent uses it

  • The user needs to evaluate whether a promotion was profitable
  • Compare promotion types
  • Simulate promo scenarios
  • Optimize promotional spending — even if they say was this sale worth it

Example prompts

  • “was this sale worth it”
  • “which promo type works best”
  • “are we giving away too many discounts”
  • “/ecom-promo-roi”

What it can do on your machine

Read from SKILL.md and the folder at commit 4e7f4f8. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

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

  • Network

    No URLs in SKILL.md.

    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.

Context cost

Ecom Promo Roi loads about 1.1k tokens when it runs, and up to ~3.7k if it reads all its reference files. Until then it costs about 111 tokens; SKILL.md has 387 words of instructions outside code blocks.

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

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 asgard-ai-platform/skills at commit 4e7f4f8, republished under its MIT licence (© asgard-ai-platform). 387 words, ~1,116 tokens.

Download SKILL.mdSave it as .claude/skills/ecom-promo-roi/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
ecom-promo-roi
description
Calculate and analyze promotional ROI including incremental sales lift, margin impact, and promo type comparison. Use this skill when the user needs to evaluate whether a promotion was profitable, compare promotion types, simulate promo scenarios, or optimize promotional spending — even if they say 'was this sale worth it', 'which promo type works best', 'are we giving away too many discounts', or 'plan our next promotion'.
metadata.category
WP-01 電商
metadata.tags
e-commerce, promotion, roi, marketing

Promotion ROI Analysis

Framework

IRON LAW: Measure INCREMENTAL Sales, Not Total Sales During Promo

A promotion that generates $100K in revenue during a sale week looks great —
until you realize $80K would have happened anyway (baseline). The incremental
lift is only $20K. If the discount cost $25K in margin, the promo LOST money.

Promo ROI = (Incremental Revenue × Margin - Promo Cost) / Promo Cost
Key Metrics
MetricFormula
Incremental RevenuePromo period revenue - Baseline revenue (what would have happened without promo)
Promo CostDiscount amount + marketing spend + operational cost
Promo ROI(Incremental Gross Profit - Promo Cost) / Promo Cost
Cannibalization Rate% of promo sales that would have occurred at full price
Pull-Forward Rate% of promo sales that are just earlier purchases (customers would have bought next week anyway)
Promo Type Comparison
TypeMechanismProsCons
% Discount20% off everythingSimple, high trafficErodes brand, trains discount-waiting
$ OffNT$200 off orders >NT$1000Drives AOV upLess exciting for low-AOV customers
BOGOBuy one get one freeMoves inventory fast50% margin hit, attracts deal-seekers
Gift with purchaseFree item with min spendProtects price perceptionCost of gift, may not drive incremental
Flash saleTime-limited deep discountUrgency, high engagementOperational stress, cannibalization
Loyalty pointsEarn/redeem pointsBuilds retention, deferred costComplex to manage, redemption liability
Analysis Steps

Phase 1: Establish Baseline

  • What would revenue have been without the promo? (prior period, prior year same period, or control group)
  • Account for seasonality, day-of-week effects, and trend

Phase 2: Calculate Incremental Impact

  • Total promo revenue - baseline = incremental
  • Subtract cannibalization and pull-forward estimates
  • Calculate gross profit on incremental (not revenue)

Phase 3: Calculate Full Cost

  • Discount dollars given up
  • Marketing spend (ads, email, creative production)
  • Operational cost (warehouse overtime, customer service spike)

Phase 4: Compute ROI and Decide

  • ROI > 0: Promo was profitable
  • ROI < 0 but strategic (new customer acquisition, inventory clearance): May still be justified
  • ROI < 0 with no strategic rationale: Don't repeat
Show full SKILL.md (127 more words)Show less

Output Format

markdown
# Promo ROI Report: {Promotion Name}

## Promo Summary
- Type: {discount type}
- Period: {dates}
- Offer: {details}

## Results
| Metric | Value |
|--------|-------|
| Total Revenue (promo period) | ${X} |
| Baseline Revenue (estimated) | ${X} |
| **Incremental Revenue** | **${X}** |
| Incremental Gross Profit | ${X} |
| Promo Cost (discount + marketing + ops) | ${X} |
| **Promo ROI** | **{X%}** |

## Profitability Assessment
{Profitable / Unprofitable — with context}

## Recommendation
{Repeat / Modify / Discontinue — with rationale}

Gotchas

  • Baseline estimation is the hardest part: The accuracy of your ROI depends on how well you estimate what would have happened without the promo. Use prior year same period as a starting point, adjust for trend.
  • Post-promo dip is real: Sales often drop BELOW baseline after a promotion (customers pulled purchases forward). Include the dip period in your analysis.
  • Discounts are addictive: Customers learn to wait for sales. Track the % of revenue sold at full price over time — if it's declining, you have a discount dependency problem.
  • New vs existing customer mix matters: A promo that acquires 500 new customers at negative ROI may be worth it if their LTV justifies the acquisition cost. Track separately.

References

  • For A/B testing promotional offers, see references/promo-testing.md

© asgard-ai-platform, MIT. 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 ecom-promo-roi of asgard-ai-platform/skills.

  • SKILL.md
  • examples/sample_scenario.md
  • references/promo-testing.md

Open the folder on GitHubat commit 4e7f4f8

Compare with similar skills

Ecom Promo Roi 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.

Ecom Promo Roi compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ecom Promo Roi this skillasgard-ai-platform/skills242—~1.1kAutomated safety check: PassMIT
Roi Calculatoraaron-he-zhu/aaron-marketing-skills2.9k—~3.6kAutomated safety check: PassApache-2.0
Roi CalculatorZJU-REAL/Easel3.4k—~1.1kAutomated safety check: PassApache-2.0
Roi Calculatorindranilbanerjee/digital-marketing-pro8621 repos~1.4kAutomated safety check: PassMIT
Roi Calculatoraiskillstore/marketplace433—~3kAutomated safety check: PassApache-2.0
Promotealirezarezvani/claude-skills28k1 repos~1.1kAutomated safety check: PassMIT

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
  • Roi Calculator

    ZJU-REAL/Easel

    计算内容营销 ROI:根据投放数据算出 CTR/CPC/CPM/ROAS 等指标,对比行业基准,支持单活动分析与多活动横向比较。

    3.4k GitHub stars~1.1k tokensUpdated today
    Marketing & SEOAuto-check passed
  • Roi Calculator

    indranilbanerjee/digital-marketing-pro

    Calculate campaign ROI by script: ROAS, CPA, attribution views, LTV payback.

    862 GitHub starsUsed in 1 repo~1.4k tokens
    Marketing & SEOAuto-check passed
  • Roi Calculator

    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…

    433 GitHub stars~3k tokensUpdated yesterday
    Marketing & SEOAuto-check passed
  • Promote

    alirezarezvani/claude-skills

    Graduate a proven pattern from auto-memory (MEMORY.md) to CLAUDE.md or .claude/rules/ for permanent enforcement.

    28k GitHub starsUsed in 1 repo~1.1k tokens
    Agent WorkflowsAuto-check passed
  • Checkpoint Promotion

    wshobson/agents

    Gate fine-tuned checkpoints with drift budgets, paired comparison, and forgetting checks before promotion.

    40k GitHub stars~2k tokensUpdated 6 days ago
    Agent WorkflowsAuto-check passed

More from asgard-ai-platform/skills

All 207 skills in this repo
  • Algo Ecom Bm25

    asgard-ai-platform/skills

    Implement BM25 ranking function for e-commerce product search relevance scoring.

    242 GitHub stars~1.4k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Mfg Cpk

    asgard-ai-platform/skills

    Calculate Cpk process capability index to assess whether a process meets specification requirements.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Price Elasticity

    asgard-ai-platform/skills

    Calculate price elasticity of demand to quantify how price changes affect sales volume.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Rank Bayesian

    asgard-ai-platform/skills

    Apply Bayesian averaging to rank items by combining observed ratings with prior expectations.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Rank Elo

    asgard-ai-platform/skills

    Implement Elo rating system to rank items or players from pairwise comparison outcomes.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Rank Wilson

    asgard-ai-platform/skills

    Calculate Wilson Score confidence intervals for ranking items by positive proportion with sample size correction.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed

Questions about Ecom Promo Roi

What does Ecom Promo Roi do?

Calculate and analyze promotional ROI including incremental sales lift, margin impact, and promo type comparison. Ecom Promo Roi is an agent skill from asgard-ai-platform/skills. Calculate and analyze promotional ROI including incremental sales lift, margin impact, and promo type comparison.

When should I use Ecom Promo Roi?

Ecom Promo Roi fits situations like: the user needs to evaluate whether a promotion was profitable; compare promotion types; simulate promo scenarios; optimize promotional spending — even if they say was this sale worth it.

How do I install Ecom Promo Roi in Claude Code?

Run `npx skills add asgard-ai-platform/skills --skill ecom-promo-roi -a claude-code`. Or copy the skill folder (ecom-promo-roi in asgard-ai-platform/skills) into .claude/skills/ecom-promo-roi in your project. Claude Code loads it when a task matches its description.

How do I install Ecom Promo Roi in Codex?

Run `npx skills add asgard-ai-platform/skills --skill ecom-promo-roi -a codex`. Or copy the skill folder (ecom-promo-roi in asgard-ai-platform/skills) into .agents/skills/ecom-promo-roi in your project. Codex loads it when a task matches its description.

Can I use Ecom Promo Roi 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 asgard-ai-platform/skills --skill ecom-promo-roi -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ecom-promo-roi, .gemini/skills/ecom-promo-roi, .github/skills/ecom-promo-roi and .opencode/skills/ecom-promo-roi in your project.

What does Ecom Promo Roi need to run?

SKILL.md names no scripts, command-line tools or credentials: Ecom Promo Roi is instructions for the agent only.

Does Ecom Promo Roi access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Ecom Promo Roi 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 Ecom Promo Roi use?

Ecom Promo Roi is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ecom Promo Roi use?

About 1.1k tokens (SKILL.md is roughly 4.5k 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 2.6k tokens, read only when the agent opens those files.

What are the alternatives to Ecom Promo Roi?

Skills that share tags, products or a category with Ecom Promo Roi: Roi Calculator (aaron-he-zhu/aaron-marketing-skills, 2.9k stars), Roi Calculator (ZJU-REAL/Easel, 3.4k stars), Roi Calculator (indranilbanerjee/digital-marketing-pro, 862 stars) and Roi Calculator (aiskillstore/marketplace, 433 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ecom Promo Roi?

asgard-ai-platform (a GitHub organization) maintains it in asgard-ai-platform/skills, which has 242 GitHub stars. The repository holds 207 skills in this directory. The repository was last updated on June 6, 2026.

Source: asgard-ai-platform/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.