← Back to Skills Marketplace
leooooooow

Discount Impact Calculator

by LeroyCreates · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
177
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install discount-impact-calculator
Description
Calculate how discounts affect revenue, margin, conversion assumptions, and allowable acquisition cost so teams can see whether a promotion is actually worth...
README (SKILL.md)

Discount Impact Calculator

See the real commercial effect of a discount before launching it.

先交互,再计算

开始时先问:

  1. 这次 discount 是什么形式?
    • 直接打折
    • coupon
    • 满减
    • second-unit discount
  2. 你们平时 discount impact 怎么算?
  3. 这次要不要把 conversion uplift 假设一起算进去?
  4. 是否要一起考虑退款率、AOV 变化、CAC 容忍度?
  5. 你想沿用现有逻辑,还是让我给推荐分析框架?

如果用户没有成型口径,先给推荐框架,再确认后计算。

Python script guidance

当用户给出结构化数字后:

  • 生成 Python 脚本做 discount scenario 分析
  • 输出 baseline vs discount scenario
  • 返回 break-even / margin / CAC 变化
  • 最后附上可复用脚本

Solves

Many ecommerce teams make pricing or offer decisions with incomplete economics:

  • they see revenue upside but not margin drag;
  • they model one variable but ignore knock-on effects;
  • they test offers without clear guardrails;
  • they scale offers before checking break-even logic.

Goal: Turn offer assumptions into a clearer economic view that is easier to evaluate and act on.

Use when

  • You want to compare offer scenarios before launching
  • A discount, bundle, or upsell idea sounds good but needs economic validation
  • Growth teams need a faster way to pressure-test merchandising decisions
  • Teams want clearer go / watch / no-go logic before scale

Inputs

  • Core commercial assumptions relevant to the scenario
  • Price and cost structure
  • Margin or refund assumptions
  • Traffic / conversion or attach-rate assumptions
  • Constraints or guardrails

Workflow

  1. Clarify the baseline commercial setup and discount logic.
  2. Model the scenario inputs that change order economics.
  3. Surface upside, downside, and sensitivity.
  4. Identify the biggest weak points or break-even pressure.
  5. Recommend whether to test, revise, or avoid the scenario.
  6. Return reusable Python script.

Output

  1. Baseline view
  2. Scenario result
  3. Margin / break-even implications
  4. Key risks and weak points
  5. Recommendation
  6. Python script

Quality bar

  • Output should be commercially interpretable, not just a raw formula dump.
  • Recommendations should stay grounded in ecommerce economics.
  • Weak points should be clearly separated from upside assumptions.
  • The result should help a team decide what to test next.

Resource

See references/output-template.md.

Usage Guidance
This skill appears coherent and low-risk: it will ask for commercial numbers, produce scenario outputs, and generate a Python script you can reuse. Before installing or running: (1) avoid pasting sensitive secrets or unrelated proprietary data into the chat; (2) review the generated Python code before executing it locally (it may contain logic assumptions you should validate); (3) if you do not want the agent to call this skill autonomously, keep autonomous invocation disabled for your agent or restrict skill usage. If you need higher assurance, request the skill author to include example inputs/outputs and a small vetted reference implementation you can run in a sandbox.
Capability Analysis
Type: OpenClaw Skill Name: discount-impact-calculator Version: 1.0.1 The skill bundle is a legitimate financial modeling tool designed to calculate the economic impact of e-commerce discounts. The instructions in SKILL.md guide the AI to interact with the user to gather business requirements and generate Python scripts for scenario analysis. There is no evidence of malicious intent, data exfiltration, or harmful prompt injection; the logic is entirely focused on revenue and margin calculations.
Capability Assessment
Purpose & Capability
Name/description match the instructions: the skill elicits commercial assumptions and generates Python to model discount scenarios. It requests no credentials, binaries, or config paths, which is proportionate for a calculator.
Instruction Scope
SKILL.md confines the agent to asking the user for inputs, modeling scenarios, and returning results plus a reusable Python script. It does not instruct reading system files, environment variables, or sending data to external endpoints.
Install Mechanism
No install spec and no code files are included (instruction-only). That minimizes persistence and disk writes and is appropriate for the described functionality.
Credentials
The skill declares no environment variables, secrets, or primary credential — consistent with a local calculation/analysis tool.
Persistence & Privilege
always is false and the skill does not request special privileges or modify other skills. Autonomous invocation is allowed (platform default) but not combined with other red flags.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install discount-impact-calculator
  3. After installation, invoke the skill by name or use /discount-impact-calculator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Add interactive clarification and Python-script workflow guidance
v1.0.0
Initial beta release
Metadata
Slug discount-impact-calculator
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Discount Impact Calculator?

Calculate how discounts affect revenue, margin, conversion assumptions, and allowable acquisition cost so teams can see whether a promotion is actually worth... It is an AI Agent Skill for Claude Code / OpenClaw, with 177 downloads so far.

How do I install Discount Impact Calculator?

Run "/install discount-impact-calculator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Discount Impact Calculator free?

Yes, Discount Impact Calculator is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Discount Impact Calculator support?

Discount Impact Calculator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Discount Impact Calculator?

It is built and maintained by LeroyCreates (@leooooooow); the current version is v1.0.1.

💬 Comments