profit-margin-calculator-shopify

profit-margin-calculator-shopify is a skill for Claude Code, Codex from nexscope-ai/eCommerce-Skills. It costs 54 tokens per session (738 once invoked), scanned A, original, MIT.

A Shopify and direct-to-consumer profitability calculator. Direct-to-consumer means selling from your own store, and LTV/CAC compares a customer's expected lifetime value with the cost of acquiring that customer.

In plain words
What is it for?
Use it to calculate product margins, compare advertising and fulfillment costs, and analyse LTV/CAC for a Shopify store.
Why use it?
It reveals how advertising, payment fees, shipping, returns, and customer acquisition affect the profit from each sale and customer.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to calculate product margins, compare advertising and fulfillment costs, and analyse LTV/CAC for a Shopify store.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nexscope-ai/ecommerce-skills/profit-margin-calculator-shopify
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nexscope-ai/eCommerce-Skills --skill profit-margin-calculator-shopify
Clone the repo
git clone --depth 1 https://github.com/nexscope-ai/eCommerce-Skills

Made for: Claude Code, Codex.

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 profit-margin-calculator-shopify

README.md
[![agentmods](https://agentmods.dev/badge/skills/nexscope-ai/ecommerce-skills/profit-margin-calculator-shopify/github.svg)](https://agentmods.dev/skills/nexscope-ai/ecommerce-skills/profit-margin-calculator-shopify)
Your own site
<a href="https://agentmods.dev/skills/nexscope-ai/ecommerce-skills/profit-margin-calculator-shopify"><img src="https://agentmods.dev/badge/skills/nexscope-ai/ecommerce-skills/profit-margin-calculator-shopify/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 profit-margin-calculator-shopify

Your own site · 80×15
<a href="https://agentmods.dev/skills/nexscope-ai/ecommerce-skills/profit-margin-calculator-shopify"><img src="https://agentmods.dev/badge/skills/nexscope-ai/ecommerce-skills/profit-margin-calculator-shopify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 738 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
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 15
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00054 $0.00738
Opus 5 $0.00027 $0.00369
Sonnet 5 $0.00011 $0.00148
Haiku 4.5 $0.00005 $0.00074

Measured 8d ago against content hash 876018d50a5c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

profit-margin-calculator-shopify 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 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/calculator.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

profit-margin-calculator/profit-margin-calculator-shopify/SKILL.md · 97 lines

How it starts

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

Profit Margin Calculator — Shopify/DTC 💰

Calculate product profitability for Shopify and DTC stores — cost breakdowns, profit margins, and CAC/LTV analysis.

Installation

npx skills add nexscope-ai/eCommerce-Skills --skill profit-margin-calculator-shopify -g

Cost Components

Cost Item Description Notes
Product Cost FOB purchase price -
Inbound Shipping To 3PL warehouse -
3PL Fulfillment ShipBob/Deliverr etc. -
Payment Processing 2.9% + $0.30 Shopify Payments
Advertising 20-40% Main cost ⚠️
Return Cost Return processing -
Customer Shipping If free shipping offered Optional

DTC Characteristics

  • No platform commission: Only payment processing fees
  • High ad spend ratio: 20-40%, main cost driver
  • Requires high margins: 60%+ gross margin to support ads
  • Focus on LTV/CAC: Recommended >3

Key Metrics

Metric Recommended
Gross Margin >60%
Net Margin >20%
LTV/CAC >3
Repeat Rate Higher = better

Usage

python3 scripts/calculator.py

python3 scripts/calculator.py '{"selling_price": 49.99, "ad_spend_ratio": 0.20, "product_cost": 12}'

Output Example

💰 **Shopify/DTC Profit Analysis Report**

Selling Price         $49.99   100.0%
────────────────────────────────────────
Product Cost          -$12.00    24.0%
3PL Fulfillment       -$4.50     9.0%
Payment Processing    -$1.75     3.5%
Advertising           -$10.00    20.0%  ⬅️ Main cost
...
────────────────────────────────────────
Net Profit            $18.59    37.2%

💡 Max Affordable CAC: $10.00

DTC Golden Ratios

DTC Health Formula:
├── Gross Margin > 60%
├── Ad Spend < 30%
├── Fulfillment < 15%
├── Net Margin > 15%
└── LTV/CAC > 3

vs Amazon

Item Amazon Shopify/DTC
Platform fee 8-15% 0%
Payment fee Included 2.9% + $0.30
Ad spend 10-20% 20-40%
Margin need 40%+ 60%+
Traffic Platform Self-built

Read the full file on GitHub · 97 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. 8d ago First seen · 97 lines · 54 tokens per session scan A 876018d50a5c

Subscribe to this mod's changes

profit-margin-calculator-shopify is a skill published in the GitHub repository nexscope-ai/eCommerce-Skills (914 stars, last pushed 16d ago), licensed MIT. It adds 54 tokens to every session and 738 once invoked, about $0.0003 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-09-03.