Creator · 40RTY-ai
Last updated · Sep 4, 2026
Read-only: calculates the true ROI of each discount code and automatic discount by comparing incremental revenue against discount cost.
Creator · 40RTY-ai
Last updated · Sep 4, 2026
Read-only: calculates the true ROI of each discount code and automatic discount by comparing incremental revenue against discount cost.
Creator · 40RTY-ai
Last updated · Sep 4, 2026
Read-only: calculates the true ROI of each discount code and automatic discount by comparing incremental revenue against discount cost.
Creator · 40RTY-ai
Last updated · Sep 4, 2026
Read-only: calculates the true ROI of each discount code and automatic discount by comparing incremental revenue against discount cost.
Sandbox only
Install targets
Codex install prompt
Install the "shopify-admin-discount-roi-calculator" agent skill from https://github.com/40RTY-ai/shopify-admin-skills/tree/main/skills/conversion-optimization/shopify-admin-discount-roi-calculator. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Read-only: calculates the true ROI of each discount code and automatic discount by comparing incremental revenue against discount cost. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"40rty-ai-shopify-admin-discount-roi-calculator","task":"Install shopify-admin-discount-roi-calculator","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
Coding agents
I need a coding agent that can understand a repository, edit code, and review pull requests.
Agent fit
Claude Code + OpenAI Agents + Cursor
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-calculator
Maintenance
fresh
22d since push
Risk
Needs review
Permission surface may require sandboxing
GitHub quality
182
69/100 Quality · 76/100 Trust
Coverage tags
Review notes
Permission surface may require sandboxing · Financial research output is not financial advice; require human review before any live investment decision
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
PromisingUseful candidate, but compare it with alternatives before adopting.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
182 GitHub stars
Repo activity
182 stars, 18 forks
Maintenance
22d since push
License
MIT
Install
npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-calculator
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-calculatorDo not use when
Alternative
168.6K Stars
npx skills add mattpocock/skills --skill code-review
Alternative
40.8K Stars
npx skills add appsmithorg/appsmith
Alternative
175.7K Stars
npx skills add mattpocock/skills --skill implement
Alternative
30.9K Stars
npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20shopify-admin-discount-roi-calculator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20shopify-admin-discount-roi-calculator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/40rty-ai-shopify-admin-discount-roi-calculator/install
Agent should check
Copy prompt
Task: Use shopify-admin-discount-roi-calculator in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20shopify-admin-discount-roi-calculator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/40rty-ai-shopify-admin-discount-roi-calculator/install
Install command: npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-calculator
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/40rty-ai-shopify-admin-discount-roi-calculator/install
LLM text format
/api/skills/40rty-ai-shopify-admin-discount-roi-calculator/install?format=text
Find alternatives
/api/skills/search?q=shopify-admin-discount-roi-calculator&limit=3
Agent prompt
Use shopify-admin-discount-roi-calculator for this task. Review https://www.openagentskill.com/api/skills/40rty-ai-shopify-admin-discount-roi-calculator/install, then install with: npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-calculatorRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/40rty-ai-shopify-admin-discount-roi-calculator
LLM text
/api/registry/manifest/40rty-ai-shopify-admin-discount-roi-calculator?format=text
Install alias
/api/registry/install/40rty-ai-shopify-admin-discount-roi-calculator
Recommend
/api/registry/recommend?task=Use%20shopify-admin-discount-roi-calculator%20in%20an%20agent%20workflow&limit=3
Agent fit
Browser automation
Use-case tags
Platforms
Claude Code, OpenAI Agents, Cursor
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
Browser automation
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO182 GitHub stars
Stars/forks activity
CHECK182 stars, 18 forks; issue activity unavailable in current metadata
Recent maintenance
PASS22d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Useful candidate, but compare it with alternatives before adopting.
Workflow fit
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Investigate faster
I need my agent to research a topic, compare sources, and produce a concise report.
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Workflow fit
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Find, compare, and synthesize
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Alternative shortlist
Similar skills that may fit this task.
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
Implement work from an approved spec or ticket set, run focused and full tests, invoke code review, and commit the result to the current branch.
React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.
--- name: shopify-admin-discount-roi-calculator role: conversion-optimization description: "Read-only: calculates the true ROI of each discount code and automatic discount by comparing incremental revenue against discount cost." toolkit: shopify-admin, shopify-admin-execution api_version: "2025-01" graphql_operations: - discountNodes:query - orders:query status: stable compatibility: Claude Code, Cursor, Codex, Gemini CLI ---
## Purpose Evaluates the true return on investment for each discount code and automatic discount by measuring revenue generated, number of orders, average order value with vs. without discount, customer acquisition attributed to discounts, and whether discounted orders cannibalized full-price sales. Goes beyond `discount-hygiene-cleanup` (which finds broken/unused codes) to answer "was this discount worth it?" Read-only — no mutations.
## Prerequisites - Authenticated Shopify CLI session: `shopify store auth --store <domain> --scopes read_orders,read_discounts` - API scopes: `read_orders`, `read_discounts`
## Parameters
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | store | string | yes | — | Store domain | | days_back | integer | no | 90 | Lookback window | | min_uses | integer | no | 3 | Minimum uses for a discount to be analyzed | | format | string | no | human | Output format: `human` or `json` |
## Safety
> ℹ️ Read-only skill — no mutations are executed. Safe to run at any time.
## Workflow Steps
1. **OPERATION:** `discountNodes` — query **Inputs:** `first: 250`, select discount details (title, code, type, value, usageCount, startsAt, endsAt), pagination cursor **Expected output:** All discount codes and automatic discounts
2. Filter to discounts with `usageCount >= min_uses` and active within lookback window
3. **OPERATION:** `orders` — query **Inputs:** `query: "created_at:>='<NOW - days_back days>' discount_code:<code>"`, `first: 250` for each active discount code, select `totalPriceSet`, `totalDiscountsSet`, `subtotalPriceSet`, `customer { id, numberOfOrders }`, pagination cursor **Expected output:** All orders using each discount
4. Also query orders WITHOUT any discount in same period for baseline AOV comparison
5. For each discount, calculate: - **Total Discount Cost** = Σ(totalDiscountsSet for orders with this code) - **Revenue Generated** = Σ(totalPriceSet for orders with this code) - **Discounted AOV** = revenue / orders - **Baseline AOV** = AOV of non-discounted orders in same period - **AOV Lift/Drop** = discounted AOV - baseline AOV - **New Customer %** = orders where customer.numberOfOrders == 1 / total - **Gross ROI** = (revenue - discount_cost) / discount_cost × 100 - **Cannibalization Risk** = high if discount AOV < baseline AOV and new customer % < 20%
## GraphQL Operations
```graphql # discountNodes:query — validated against api_version 2025-01 query AllDiscounts($after: String) { discountNodes(first: 250, after: $after) { edges { node { id discount { ... on DiscountCodeBasic { title codes(first: 1) { edges { node { code } } } usageLimit asyncUsageCount startsAt endsAt customerGets { value { ... on DiscountPercentage { percentage } ... on DiscountAmount { amount { amount currencyCode } } } } } ... on DiscountCodeFreeShipping { title codes(first: 1) { edges { node { code } } } asyncUsageCount startsAt endsAt } ... on DiscountAutomaticBasic { title asyncUsageCount startsAt endsAt customerGets { value { ... on DiscountPercentage { percentage } ... on DiscountAmount { amount { amount currencyCode } } } } } } } } pageInfo { hasNextPage endCursor } } } ```
```graphql # orders:query — validated against api_version 2025-01 query OrdersByDiscount($query: String!, $after: String) { orders(first: 250, after: $after, query: $query) { edges { node { id name createdAt totalPriceSet { shopMoney { amount currencyCode } } totalDiscountsSet { shopMoney { amount currencyCode } } subtotalPriceSet { shopMoney { amount currencyCode } } customer { id numberOfOrders } discountCodes } } pageInfo { hasNextPage endCursor } } } ```
## Session Tracking
**Claude MUST emit the following output at each stage. This is mandatory.**
**On start**, emit: ``` ╔══════════════════════════════════════════════╗ ║ SKILL: Discount ROI Calculator ║ ║ Store: <store domain> ║ ║ Started: <YYYY-MM-DD HH:MM UTC> ║ ╚══════════════════════════════════════════════╝ ```
**After each step**, emit: ``` [N/TOTAL] <QUERY|MUTATION> <OperationName> → Params: <brief summary of key inputs> → Result: <count or outcome> ```
**On completion**, emit:
For `format: human` (default): ``` ══════════════════════════════════════════════ DISCOUNT ROI REPORT (<days_back> days) Discounts analyzed: <n> Total discount spend: $<amount> Total attributed rev: $<amount> ───────────────────────────── TOP PERFORMERS (by ROI): "<code>" ROI: <n>% Revenue: $<n> Cost: $<n> New customers: <pct>%
UNDERPERFORMERS: "<code>" ROI: <n>% Revenue: $<n> Cost: $<n> ⚠️ Cannibalization risk
BASELINE COMPARISON: Non-discount AOV: $<n> | Avg discount AOV: $<n> | Δ: $<n>
Output: discount_roi_<date>.csv ══════════════════════════════════════════════ ```
## Output Format CSV file `discount_roi_<YYYY-MM-DD>.csv` with columns: `discount_id`, `code_or_title`, `type`, `uses`, `revenue`, `discount_cost`, `roi_pct`, `aov`, `baseline_aov`, `aov_delta`, `new_customer_pct`, `cannibalization_risk`
## Error Handling | Error | Cause | Recovery | |-------|-------|----------| | `THROTTLED` | API rate limit exceeded | Wait 2 seconds, retry up to 3 times | | Automatic discounts | No code to query by | Match via order discount data | | Stacked discounts | Multiple codes per order | Attribute proportionally or flag as "multi-discount" |
## Best Practices - Discounts with ROI < 100% cost more than they generate — consider retiring them. - High new-customer % with positive ROI = great acquisition tool — keep running. - Low new-customer % with negative AOV lift = cannibalization — customers would have bought anyway. - Cross-reference with `discount-ab-analysis` for split-test insights. - Use with `discount-hygiene-cleanup` to find and remove underperforming codes.
Source provenance
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for shopify-admin-discount-roi-calculator, ready for a manual X post.
shopify-admin-discount-roi-calculator: Read-only: calculates the true ROI of each discount code and automatic discount by comparing... 182 stars https://www.openagentskill.com/skills/40rty-ai-shopify-admin-discount-roi-calculator?ref=x
Listing + install path for shopify-admin-discount-roi-calculator: https://www.openagentskill.com/skills/40rty-ai-shopify-admin-discount-roi-calculator?ref=x Install: npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-c...
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to 40RTY-ai but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/40rty-ai-shopify-admin-discount-roi-calculator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/40rty-ai-shopify-admin-discount-roi-calculator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/40rty-ai-shopify-admin-discount-roi-calculator/audit)
[](https://www.openagentskill.com/skills/40rty-ai-shopify-admin-discount-roi-calculator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)40RTY-ai
@40rty-ai
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Code Review
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
168.6K StarsAppsmith
Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
40.8K StarsImplement
Implement work from an approved spec or ticket set, run focused and full tests, invoke code review, and commit the result to the current branch.
175.7K StarsVercel React Best Practices
React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.
30.9K StarsSandbox only
Install targets
Codex install prompt
Install the "shopify-admin-discount-roi-calculator" agent skill from https://github.com/40RTY-ai/shopify-admin-skills/tree/main/skills/conversion-optimization/shopify-admin-discount-roi-calculator. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Read-only: calculates the true ROI of each discount code and automatic discount by comparing incremental revenue against discount cost. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"40rty-ai-shopify-admin-discount-roi-calculator","task":"Install shopify-admin-discount-roi-calculator","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
Coding agents
I need a coding agent that can understand a repository, edit code, and review pull requests.
Agent fit
Claude Code + OpenAI Agents + Cursor
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-calculator
Maintenance
fresh
22d since push
Risk
Needs review
Permission surface may require sandboxing
GitHub quality
182
69/100 Quality · 76/100 Trust
Coverage tags
Review notes
Permission surface may require sandboxing · Financial research output is not financial advice; require human review before any live investment decision
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
PromisingUseful candidate, but compare it with alternatives before adopting.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
182 GitHub stars
Repo activity
182 stars, 18 forks
Maintenance
22d since push
License
MIT
Install
npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-calculator
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-calculatorDo not use when
Alternative
168.6K Stars
npx skills add mattpocock/skills --skill code-review
Alternative
40.8K Stars
npx skills add appsmithorg/appsmith
Alternative
175.7K Stars
npx skills add mattpocock/skills --skill implement
Alternative
30.9K Stars
npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20shopify-admin-discount-roi-calculator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20shopify-admin-discount-roi-calculator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/40rty-ai-shopify-admin-discount-roi-calculator/install
Agent should check
Copy prompt
Task: Use shopify-admin-discount-roi-calculator in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20shopify-admin-discount-roi-calculator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/40rty-ai-shopify-admin-discount-roi-calculator/install
Install command: npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-calculator
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/40rty-ai-shopify-admin-discount-roi-calculator/install
LLM text format
/api/skills/40rty-ai-shopify-admin-discount-roi-calculator/install?format=text
Find alternatives
/api/skills/search?q=shopify-admin-discount-roi-calculator&limit=3
Agent prompt
Use shopify-admin-discount-roi-calculator for this task. Review https://www.openagentskill.com/api/skills/40rty-ai-shopify-admin-discount-roi-calculator/install, then install with: npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-calculatorRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/40rty-ai-shopify-admin-discount-roi-calculator
LLM text
/api/registry/manifest/40rty-ai-shopify-admin-discount-roi-calculator?format=text
Install alias
/api/registry/install/40rty-ai-shopify-admin-discount-roi-calculator
Recommend
/api/registry/recommend?task=Use%20shopify-admin-discount-roi-calculator%20in%20an%20agent%20workflow&limit=3
Agent fit
Browser automation
Use-case tags
Platforms
Claude Code, OpenAI Agents, Cursor
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
Browser automation
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO182 GitHub stars
Stars/forks activity
CHECK182 stars, 18 forks; issue activity unavailable in current metadata
Recent maintenance
PASS22d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Useful candidate, but compare it with alternatives before adopting.
Workflow fit
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Investigate faster
I need my agent to research a topic, compare sources, and produce a concise report.
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Workflow fit
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Find, compare, and synthesize
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Alternative shortlist
Similar skills that may fit this task.
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
Implement work from an approved spec or ticket set, run focused and full tests, invoke code review, and commit the result to the current branch.
React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.
--- name: shopify-admin-discount-roi-calculator role: conversion-optimization description: "Read-only: calculates the true ROI of each discount code and automatic discount by comparing incremental revenue against discount cost." toolkit: shopify-admin, shopify-admin-execution api_version: "2025-01" graphql_operations: - discountNodes:query - orders:query status: stable compatibility: Claude Code, Cursor, Codex, Gemini CLI ---
## Purpose Evaluates the true return on investment for each discount code and automatic discount by measuring revenue generated, number of orders, average order value with vs. without discount, customer acquisition attributed to discounts, and whether discounted orders cannibalized full-price sales. Goes beyond `discount-hygiene-cleanup` (which finds broken/unused codes) to answer "was this discount worth it?" Read-only — no mutations.
## Prerequisites - Authenticated Shopify CLI session: `shopify store auth --store <domain> --scopes read_orders,read_discounts` - API scopes: `read_orders`, `read_discounts`
## Parameters
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | store | string | yes | — | Store domain | | days_back | integer | no | 90 | Lookback window | | min_uses | integer | no | 3 | Minimum uses for a discount to be analyzed | | format | string | no | human | Output format: `human` or `json` |
## Safety
> ℹ️ Read-only skill — no mutations are executed. Safe to run at any time.
## Workflow Steps
1. **OPERATION:** `discountNodes` — query **Inputs:** `first: 250`, select discount details (title, code, type, value, usageCount, startsAt, endsAt), pagination cursor **Expected output:** All discount codes and automatic discounts
2. Filter to discounts with `usageCount >= min_uses` and active within lookback window
3. **OPERATION:** `orders` — query **Inputs:** `query: "created_at:>='<NOW - days_back days>' discount_code:<code>"`, `first: 250` for each active discount code, select `totalPriceSet`, `totalDiscountsSet`, `subtotalPriceSet`, `customer { id, numberOfOrders }`, pagination cursor **Expected output:** All orders using each discount
4. Also query orders WITHOUT any discount in same period for baseline AOV comparison
5. For each discount, calculate: - **Total Discount Cost** = Σ(totalDiscountsSet for orders with this code) - **Revenue Generated** = Σ(totalPriceSet for orders with this code) - **Discounted AOV** = revenue / orders - **Baseline AOV** = AOV of non-discounted orders in same period - **AOV Lift/Drop** = discounted AOV - baseline AOV - **New Customer %** = orders where customer.numberOfOrders == 1 / total - **Gross ROI** = (revenue - discount_cost) / discount_cost × 100 - **Cannibalization Risk** = high if discount AOV < baseline AOV and new customer % < 20%
## GraphQL Operations
```graphql # discountNodes:query — validated against api_version 2025-01 query AllDiscounts($after: String) { discountNodes(first: 250, after: $after) { edges { node { id discount { ... on DiscountCodeBasic { title codes(first: 1) { edges { node { code } } } usageLimit asyncUsageCount startsAt endsAt customerGets { value { ... on DiscountPercentage { percentage } ... on DiscountAmount { amount { amount currencyCode } } } } } ... on DiscountCodeFreeShipping { title codes(first: 1) { edges { node { code } } } asyncUsageCount startsAt endsAt } ... on DiscountAutomaticBasic { title asyncUsageCount startsAt endsAt customerGets { value { ... on DiscountPercentage { percentage } ... on DiscountAmount { amount { amount currencyCode } } } } } } } } pageInfo { hasNextPage endCursor } } } ```
```graphql # orders:query — validated against api_version 2025-01 query OrdersByDiscount($query: String!, $after: String) { orders(first: 250, after: $after, query: $query) { edges { node { id name createdAt totalPriceSet { shopMoney { amount currencyCode } } totalDiscountsSet { shopMoney { amount currencyCode } } subtotalPriceSet { shopMoney { amount currencyCode } } customer { id numberOfOrders } discountCodes } } pageInfo { hasNextPage endCursor } } } ```
## Session Tracking
**Claude MUST emit the following output at each stage. This is mandatory.**
**On start**, emit: ``` ╔══════════════════════════════════════════════╗ ║ SKILL: Discount ROI Calculator ║ ║ Store: <store domain> ║ ║ Started: <YYYY-MM-DD HH:MM UTC> ║ ╚══════════════════════════════════════════════╝ ```
**After each step**, emit: ``` [N/TOTAL] <QUERY|MUTATION> <OperationName> → Params: <brief summary of key inputs> → Result: <count or outcome> ```
**On completion**, emit:
For `format: human` (default): ``` ══════════════════════════════════════════════ DISCOUNT ROI REPORT (<days_back> days) Discounts analyzed: <n> Total discount spend: $<amount> Total attributed rev: $<amount> ───────────────────────────── TOP PERFORMERS (by ROI): "<code>" ROI: <n>% Revenue: $<n> Cost: $<n> New customers: <pct>%
UNDERPERFORMERS: "<code>" ROI: <n>% Revenue: $<n> Cost: $<n> ⚠️ Cannibalization risk
BASELINE COMPARISON: Non-discount AOV: $<n> | Avg discount AOV: $<n> | Δ: $<n>
Output: discount_roi_<date>.csv ══════════════════════════════════════════════ ```
## Output Format CSV file `discount_roi_<YYYY-MM-DD>.csv` with columns: `discount_id`, `code_or_title`, `type`, `uses`, `revenue`, `discount_cost`, `roi_pct`, `aov`, `baseline_aov`, `aov_delta`, `new_customer_pct`, `cannibalization_risk`
## Error Handling | Error | Cause | Recovery | |-------|-------|----------| | `THROTTLED` | API rate limit exceeded | Wait 2 seconds, retry up to 3 times | | Automatic discounts | No code to query by | Match via order discount data | | Stacked discounts | Multiple codes per order | Attribute proportionally or flag as "multi-discount" |
## Best Practices - Discounts with ROI < 100% cost more than they generate — consider retiring them. - High new-customer % with positive ROI = great acquisition tool — keep running. - Low new-customer % with negative AOV lift = cannibalization — customers would have bought anyway. - Cross-reference with `discount-ab-analysis` for split-test insights. - Use with `discount-hygiene-cleanup` to find and remove underperforming codes.
Source provenance
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for shopify-admin-discount-roi-calculator, ready for a manual X post.
shopify-admin-discount-roi-calculator: Read-only: calculates the true ROI of each discount code and automatic discount by comparing... 182 stars https://www.openagentskill.com/skills/40rty-ai-shopify-admin-discount-roi-calculator?ref=x
Listing + install path for shopify-admin-discount-roi-calculator: https://www.openagentskill.com/skills/40rty-ai-shopify-admin-discount-roi-calculator?ref=x Install: npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-c...
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to 40RTY-ai but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/40rty-ai-shopify-admin-discount-roi-calculator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/40rty-ai-shopify-admin-discount-roi-calculator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/40rty-ai-shopify-admin-discount-roi-calculator/audit)
[](https://www.openagentskill.com/skills/40rty-ai-shopify-admin-discount-roi-calculator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)40RTY-ai
@40rty-ai
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Code Review
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
168.6K StarsAppsmith
Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
40.8K StarsImplement
Implement work from an approved spec or ticket set, run focused and full tests, invoke code review, and commit the result to the current branch.
175.7K StarsVercel React Best Practices
React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.
30.9K StarsSandbox only
Install targets
Codex install prompt
Install the "shopify-admin-discount-roi-calculator" agent skill from https://github.com/40RTY-ai/shopify-admin-skills/tree/main/skills/conversion-optimization/shopify-admin-discount-roi-calculator. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Read-only: calculates the true ROI of each discount code and automatic discount by comparing incremental revenue against discount cost. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"40rty-ai-shopify-admin-discount-roi-calculator","task":"Install shopify-admin-discount-roi-calculator","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
Coding agents
I need a coding agent that can understand a repository, edit code, and review pull requests.
Agent fit
Claude Code + OpenAI Agents + Cursor
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-calculator
Maintenance
fresh
22d since push
Risk
Needs review
Permission surface may require sandboxing
GitHub quality
182
69/100 Quality · 76/100 Trust
Coverage tags
Review notes
Permission surface may require sandboxing · Financial research output is not financial advice; require human review before any live investment decision
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
PromisingUseful candidate, but compare it with alternatives before adopting.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
182 GitHub stars
Repo activity
182 stars, 18 forks
Maintenance
22d since push
License
MIT
Install
npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-calculator
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-calculatorDo not use when
Alternative
168.6K Stars
npx skills add mattpocock/skills --skill code-review
Alternative
40.8K Stars
npx skills add appsmithorg/appsmith
Alternative
175.7K Stars
npx skills add mattpocock/skills --skill implement
Alternative
30.9K Stars
npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20shopify-admin-discount-roi-calculator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20shopify-admin-discount-roi-calculator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/40rty-ai-shopify-admin-discount-roi-calculator/install
Agent should check
Copy prompt
Task: Use shopify-admin-discount-roi-calculator in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20shopify-admin-discount-roi-calculator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/40rty-ai-shopify-admin-discount-roi-calculator/install
Install command: npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-calculator
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/40rty-ai-shopify-admin-discount-roi-calculator/install
LLM text format
/api/skills/40rty-ai-shopify-admin-discount-roi-calculator/install?format=text
Find alternatives
/api/skills/search?q=shopify-admin-discount-roi-calculator&limit=3
Agent prompt
Use shopify-admin-discount-roi-calculator for this task. Review https://www.openagentskill.com/api/skills/40rty-ai-shopify-admin-discount-roi-calculator/install, then install with: npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-calculatorRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/40rty-ai-shopify-admin-discount-roi-calculator
LLM text
/api/registry/manifest/40rty-ai-shopify-admin-discount-roi-calculator?format=text
Install alias
/api/registry/install/40rty-ai-shopify-admin-discount-roi-calculator
Recommend
/api/registry/recommend?task=Use%20shopify-admin-discount-roi-calculator%20in%20an%20agent%20workflow&limit=3
Agent fit
Browser automation
Use-case tags
Platforms
Claude Code, OpenAI Agents, Cursor
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
Browser automation
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO182 GitHub stars
Stars/forks activity
CHECK182 stars, 18 forks; issue activity unavailable in current metadata
Recent maintenance
PASS22d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Useful candidate, but compare it with alternatives before adopting.
Workflow fit
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Investigate faster
I need my agent to research a topic, compare sources, and produce a concise report.
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Workflow fit
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Find, compare, and synthesize
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Alternative shortlist
Similar skills that may fit this task.
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
Implement work from an approved spec or ticket set, run focused and full tests, invoke code review, and commit the result to the current branch.
React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.
--- name: shopify-admin-discount-roi-calculator role: conversion-optimization description: "Read-only: calculates the true ROI of each discount code and automatic discount by comparing incremental revenue against discount cost." toolkit: shopify-admin, shopify-admin-execution api_version: "2025-01" graphql_operations: - discountNodes:query - orders:query status: stable compatibility: Claude Code, Cursor, Codex, Gemini CLI ---
## Purpose Evaluates the true return on investment for each discount code and automatic discount by measuring revenue generated, number of orders, average order value with vs. without discount, customer acquisition attributed to discounts, and whether discounted orders cannibalized full-price sales. Goes beyond `discount-hygiene-cleanup` (which finds broken/unused codes) to answer "was this discount worth it?" Read-only — no mutations.
## Prerequisites - Authenticated Shopify CLI session: `shopify store auth --store <domain> --scopes read_orders,read_discounts` - API scopes: `read_orders`, `read_discounts`
## Parameters
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | store | string | yes | — | Store domain | | days_back | integer | no | 90 | Lookback window | | min_uses | integer | no | 3 | Minimum uses for a discount to be analyzed | | format | string | no | human | Output format: `human` or `json` |
## Safety
> ℹ️ Read-only skill — no mutations are executed. Safe to run at any time.
## Workflow Steps
1. **OPERATION:** `discountNodes` — query **Inputs:** `first: 250`, select discount details (title, code, type, value, usageCount, startsAt, endsAt), pagination cursor **Expected output:** All discount codes and automatic discounts
2. Filter to discounts with `usageCount >= min_uses` and active within lookback window
3. **OPERATION:** `orders` — query **Inputs:** `query: "created_at:>='<NOW - days_back days>' discount_code:<code>"`, `first: 250` for each active discount code, select `totalPriceSet`, `totalDiscountsSet`, `subtotalPriceSet`, `customer { id, numberOfOrders }`, pagination cursor **Expected output:** All orders using each discount
4. Also query orders WITHOUT any discount in same period for baseline AOV comparison
5. For each discount, calculate: - **Total Discount Cost** = Σ(totalDiscountsSet for orders with this code) - **Revenue Generated** = Σ(totalPriceSet for orders with this code) - **Discounted AOV** = revenue / orders - **Baseline AOV** = AOV of non-discounted orders in same period - **AOV Lift/Drop** = discounted AOV - baseline AOV - **New Customer %** = orders where customer.numberOfOrders == 1 / total - **Gross ROI** = (revenue - discount_cost) / discount_cost × 100 - **Cannibalization Risk** = high if discount AOV < baseline AOV and new customer % < 20%
## GraphQL Operations
```graphql # discountNodes:query — validated against api_version 2025-01 query AllDiscounts($after: String) { discountNodes(first: 250, after: $after) { edges { node { id discount { ... on DiscountCodeBasic { title codes(first: 1) { edges { node { code } } } usageLimit asyncUsageCount startsAt endsAt customerGets { value { ... on DiscountPercentage { percentage } ... on DiscountAmount { amount { amount currencyCode } } } } } ... on DiscountCodeFreeShipping { title codes(first: 1) { edges { node { code } } } asyncUsageCount startsAt endsAt } ... on DiscountAutomaticBasic { title asyncUsageCount startsAt endsAt customerGets { value { ... on DiscountPercentage { percentage } ... on DiscountAmount { amount { amount currencyCode } } } } } } } } pageInfo { hasNextPage endCursor } } } ```
```graphql # orders:query — validated against api_version 2025-01 query OrdersByDiscount($query: String!, $after: String) { orders(first: 250, after: $after, query: $query) { edges { node { id name createdAt totalPriceSet { shopMoney { amount currencyCode } } totalDiscountsSet { shopMoney { amount currencyCode } } subtotalPriceSet { shopMoney { amount currencyCode } } customer { id numberOfOrders } discountCodes } } pageInfo { hasNextPage endCursor } } } ```
## Session Tracking
**Claude MUST emit the following output at each stage. This is mandatory.**
**On start**, emit: ``` ╔══════════════════════════════════════════════╗ ║ SKILL: Discount ROI Calculator ║ ║ Store: <store domain> ║ ║ Started: <YYYY-MM-DD HH:MM UTC> ║ ╚══════════════════════════════════════════════╝ ```
**After each step**, emit: ``` [N/TOTAL] <QUERY|MUTATION> <OperationName> → Params: <brief summary of key inputs> → Result: <count or outcome> ```
**On completion**, emit:
For `format: human` (default): ``` ══════════════════════════════════════════════ DISCOUNT ROI REPORT (<days_back> days) Discounts analyzed: <n> Total discount spend: $<amount> Total attributed rev: $<amount> ───────────────────────────── TOP PERFORMERS (by ROI): "<code>" ROI: <n>% Revenue: $<n> Cost: $<n> New customers: <pct>%
UNDERPERFORMERS: "<code>" ROI: <n>% Revenue: $<n> Cost: $<n> ⚠️ Cannibalization risk
BASELINE COMPARISON: Non-discount AOV: $<n> | Avg discount AOV: $<n> | Δ: $<n>
Output: discount_roi_<date>.csv ══════════════════════════════════════════════ ```
## Output Format CSV file `discount_roi_<YYYY-MM-DD>.csv` with columns: `discount_id`, `code_or_title`, `type`, `uses`, `revenue`, `discount_cost`, `roi_pct`, `aov`, `baseline_aov`, `aov_delta`, `new_customer_pct`, `cannibalization_risk`
## Error Handling | Error | Cause | Recovery | |-------|-------|----------| | `THROTTLED` | API rate limit exceeded | Wait 2 seconds, retry up to 3 times | | Automatic discounts | No code to query by | Match via order discount data | | Stacked discounts | Multiple codes per order | Attribute proportionally or flag as "multi-discount" |
## Best Practices - Discounts with ROI < 100% cost more than they generate — consider retiring them. - High new-customer % with positive ROI = great acquisition tool — keep running. - Low new-customer % with negative AOV lift = cannibalization — customers would have bought anyway. - Cross-reference with `discount-ab-analysis` for split-test insights. - Use with `discount-hygiene-cleanup` to find and remove underperforming codes.
Source provenance
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for shopify-admin-discount-roi-calculator, ready for a manual X post.
shopify-admin-discount-roi-calculator: Read-only: calculates the true ROI of each discount code and automatic discount by comparing... 182 stars https://www.openagentskill.com/skills/40rty-ai-shopify-admin-discount-roi-calculator?ref=x
Listing + install path for shopify-admin-discount-roi-calculator: https://www.openagentskill.com/skills/40rty-ai-shopify-admin-discount-roi-calculator?ref=x Install: npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-c...
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to 40RTY-ai but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/40rty-ai-shopify-admin-discount-roi-calculator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/40rty-ai-shopify-admin-discount-roi-calculator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/40rty-ai-shopify-admin-discount-roi-calculator/audit)
[](https://www.openagentskill.com/skills/40rty-ai-shopify-admin-discount-roi-calculator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)40RTY-ai
@40rty-ai
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Code Review
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
168.6K StarsAppsmith
Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
40.8K StarsImplement
Implement work from an approved spec or ticket set, run focused and full tests, invoke code review, and commit the result to the current branch.
175.7K StarsVercel React Best Practices
React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.
30.9K StarsSandbox only
Install targets
Codex install prompt
Install the "shopify-admin-discount-roi-calculator" agent skill from https://github.com/40RTY-ai/shopify-admin-skills/tree/main/skills/conversion-optimization/shopify-admin-discount-roi-calculator. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Read-only: calculates the true ROI of each discount code and automatic discount by comparing incremental revenue against discount cost. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"40rty-ai-shopify-admin-discount-roi-calculator","task":"Install shopify-admin-discount-roi-calculator","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
Coding agents
I need a coding agent that can understand a repository, edit code, and review pull requests.
Agent fit
Claude Code + OpenAI Agents + Cursor
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-calculator
Maintenance
fresh
22d since push
Risk
Needs review
Permission surface may require sandboxing
GitHub quality
182
69/100 Quality · 76/100 Trust
Coverage tags
Review notes
Permission surface may require sandboxing · Financial research output is not financial advice; require human review before any live investment decision
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
PromisingUseful candidate, but compare it with alternatives before adopting.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
182 GitHub stars
Repo activity
182 stars, 18 forks
Maintenance
22d since push
License
MIT
Install
npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-calculator
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-calculatorDo not use when
Alternative
168.6K Stars
npx skills add mattpocock/skills --skill code-review
Alternative
40.8K Stars
npx skills add appsmithorg/appsmith
Alternative
175.7K Stars
npx skills add mattpocock/skills --skill implement
Alternative
30.9K Stars
npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20shopify-admin-discount-roi-calculator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20shopify-admin-discount-roi-calculator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/40rty-ai-shopify-admin-discount-roi-calculator/install
Agent should check
Copy prompt
Task: Use shopify-admin-discount-roi-calculator in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20shopify-admin-discount-roi-calculator%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/40rty-ai-shopify-admin-discount-roi-calculator/install
Install command: npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-calculator
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/40rty-ai-shopify-admin-discount-roi-calculator/install
LLM text format
/api/skills/40rty-ai-shopify-admin-discount-roi-calculator/install?format=text
Find alternatives
/api/skills/search?q=shopify-admin-discount-roi-calculator&limit=3
Agent prompt
Use shopify-admin-discount-roi-calculator for this task. Review https://www.openagentskill.com/api/skills/40rty-ai-shopify-admin-discount-roi-calculator/install, then install with: npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-calculatorRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/40rty-ai-shopify-admin-discount-roi-calculator
LLM text
/api/registry/manifest/40rty-ai-shopify-admin-discount-roi-calculator?format=text
Install alias
/api/registry/install/40rty-ai-shopify-admin-discount-roi-calculator
Recommend
/api/registry/recommend?task=Use%20shopify-admin-discount-roi-calculator%20in%20an%20agent%20workflow&limit=3
Agent fit
Browser automation
Use-case tags
Platforms
Claude Code, OpenAI Agents, Cursor
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
Browser automation
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO182 GitHub stars
Stars/forks activity
CHECK182 stars, 18 forks; issue activity unavailable in current metadata
Recent maintenance
PASS22d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Useful candidate, but compare it with alternatives before adopting.
Workflow fit
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Investigate faster
I need my agent to research a topic, compare sources, and produce a concise report.
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Workflow fit
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Find, compare, and synthesize
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Alternative shortlist
Similar skills that may fit this task.
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
Implement work from an approved spec or ticket set, run focused and full tests, invoke code review, and commit the result to the current branch.
React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.
--- name: shopify-admin-discount-roi-calculator role: conversion-optimization description: "Read-only: calculates the true ROI of each discount code and automatic discount by comparing incremental revenue against discount cost." toolkit: shopify-admin, shopify-admin-execution api_version: "2025-01" graphql_operations: - discountNodes:query - orders:query status: stable compatibility: Claude Code, Cursor, Codex, Gemini CLI ---
## Purpose Evaluates the true return on investment for each discount code and automatic discount by measuring revenue generated, number of orders, average order value with vs. without discount, customer acquisition attributed to discounts, and whether discounted orders cannibalized full-price sales. Goes beyond `discount-hygiene-cleanup` (which finds broken/unused codes) to answer "was this discount worth it?" Read-only — no mutations.
## Prerequisites - Authenticated Shopify CLI session: `shopify store auth --store <domain> --scopes read_orders,read_discounts` - API scopes: `read_orders`, `read_discounts`
## Parameters
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | store | string | yes | — | Store domain | | days_back | integer | no | 90 | Lookback window | | min_uses | integer | no | 3 | Minimum uses for a discount to be analyzed | | format | string | no | human | Output format: `human` or `json` |
## Safety
> ℹ️ Read-only skill — no mutations are executed. Safe to run at any time.
## Workflow Steps
1. **OPERATION:** `discountNodes` — query **Inputs:** `first: 250`, select discount details (title, code, type, value, usageCount, startsAt, endsAt), pagination cursor **Expected output:** All discount codes and automatic discounts
2. Filter to discounts with `usageCount >= min_uses` and active within lookback window
3. **OPERATION:** `orders` — query **Inputs:** `query: "created_at:>='<NOW - days_back days>' discount_code:<code>"`, `first: 250` for each active discount code, select `totalPriceSet`, `totalDiscountsSet`, `subtotalPriceSet`, `customer { id, numberOfOrders }`, pagination cursor **Expected output:** All orders using each discount
4. Also query orders WITHOUT any discount in same period for baseline AOV comparison
5. For each discount, calculate: - **Total Discount Cost** = Σ(totalDiscountsSet for orders with this code) - **Revenue Generated** = Σ(totalPriceSet for orders with this code) - **Discounted AOV** = revenue / orders - **Baseline AOV** = AOV of non-discounted orders in same period - **AOV Lift/Drop** = discounted AOV - baseline AOV - **New Customer %** = orders where customer.numberOfOrders == 1 / total - **Gross ROI** = (revenue - discount_cost) / discount_cost × 100 - **Cannibalization Risk** = high if discount AOV < baseline AOV and new customer % < 20%
## GraphQL Operations
```graphql # discountNodes:query — validated against api_version 2025-01 query AllDiscounts($after: String) { discountNodes(first: 250, after: $after) { edges { node { id discount { ... on DiscountCodeBasic { title codes(first: 1) { edges { node { code } } } usageLimit asyncUsageCount startsAt endsAt customerGets { value { ... on DiscountPercentage { percentage } ... on DiscountAmount { amount { amount currencyCode } } } } } ... on DiscountCodeFreeShipping { title codes(first: 1) { edges { node { code } } } asyncUsageCount startsAt endsAt } ... on DiscountAutomaticBasic { title asyncUsageCount startsAt endsAt customerGets { value { ... on DiscountPercentage { percentage } ... on DiscountAmount { amount { amount currencyCode } } } } } } } } pageInfo { hasNextPage endCursor } } } ```
```graphql # orders:query — validated against api_version 2025-01 query OrdersByDiscount($query: String!, $after: String) { orders(first: 250, after: $after, query: $query) { edges { node { id name createdAt totalPriceSet { shopMoney { amount currencyCode } } totalDiscountsSet { shopMoney { amount currencyCode } } subtotalPriceSet { shopMoney { amount currencyCode } } customer { id numberOfOrders } discountCodes } } pageInfo { hasNextPage endCursor } } } ```
## Session Tracking
**Claude MUST emit the following output at each stage. This is mandatory.**
**On start**, emit: ``` ╔══════════════════════════════════════════════╗ ║ SKILL: Discount ROI Calculator ║ ║ Store: <store domain> ║ ║ Started: <YYYY-MM-DD HH:MM UTC> ║ ╚══════════════════════════════════════════════╝ ```
**After each step**, emit: ``` [N/TOTAL] <QUERY|MUTATION> <OperationName> → Params: <brief summary of key inputs> → Result: <count or outcome> ```
**On completion**, emit:
For `format: human` (default): ``` ══════════════════════════════════════════════ DISCOUNT ROI REPORT (<days_back> days) Discounts analyzed: <n> Total discount spend: $<amount> Total attributed rev: $<amount> ───────────────────────────── TOP PERFORMERS (by ROI): "<code>" ROI: <n>% Revenue: $<n> Cost: $<n> New customers: <pct>%
UNDERPERFORMERS: "<code>" ROI: <n>% Revenue: $<n> Cost: $<n> ⚠️ Cannibalization risk
BASELINE COMPARISON: Non-discount AOV: $<n> | Avg discount AOV: $<n> | Δ: $<n>
Output: discount_roi_<date>.csv ══════════════════════════════════════════════ ```
## Output Format CSV file `discount_roi_<YYYY-MM-DD>.csv` with columns: `discount_id`, `code_or_title`, `type`, `uses`, `revenue`, `discount_cost`, `roi_pct`, `aov`, `baseline_aov`, `aov_delta`, `new_customer_pct`, `cannibalization_risk`
## Error Handling | Error | Cause | Recovery | |-------|-------|----------| | `THROTTLED` | API rate limit exceeded | Wait 2 seconds, retry up to 3 times | | Automatic discounts | No code to query by | Match via order discount data | | Stacked discounts | Multiple codes per order | Attribute proportionally or flag as "multi-discount" |
## Best Practices - Discounts with ROI < 100% cost more than they generate — consider retiring them. - High new-customer % with positive ROI = great acquisition tool — keep running. - Low new-customer % with negative AOV lift = cannibalization — customers would have bought anyway. - Cross-reference with `discount-ab-analysis` for split-test insights. - Use with `discount-hygiene-cleanup` to find and remove underperforming codes.
Source provenance
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for shopify-admin-discount-roi-calculator, ready for a manual X post.
shopify-admin-discount-roi-calculator: Read-only: calculates the true ROI of each discount code and automatic discount by comparing... 182 stars https://www.openagentskill.com/skills/40rty-ai-shopify-admin-discount-roi-calculator?ref=x
Listing + install path for shopify-admin-discount-roi-calculator: https://www.openagentskill.com/skills/40rty-ai-shopify-admin-discount-roi-calculator?ref=x Install: npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-discount-roi-c...
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to 40RTY-ai but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/40rty-ai-shopify-admin-discount-roi-calculator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/40rty-ai-shopify-admin-discount-roi-calculator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/40rty-ai-shopify-admin-discount-roi-calculator/audit)
[](https://www.openagentskill.com/skills/40rty-ai-shopify-admin-discount-roi-calculator?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)40RTY-ai
@40rty-ai
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Code Review
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
168.6K StarsAppsmith
Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
40.8K StarsImplement
Implement work from an approved spec or ticket set, run focused and full tests, invoke code review, and commit the result to the current branch.
175.7K StarsVercel React Best Practices
React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.
30.9K StarsPermission surface
shell or command execution, filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
shell or command execution, filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
shell or command execution, filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
shell or command execution, filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness