generate-extension

generate-extension is a command for Claude Code from khadinakbarlabs/shopify-app-builder. It costs 14 tokens per session (249 once invoked), scanned A, original, MIT.

A workflow for creating Shopify app extensions, which add custom behavior to a store theme, checkout, cart, payment choices, or the Shopify admin.

In plain words
What is it for?
Use it to scaffold Shopify Functions, theme extensions, and admin interfaces for cart changes, discounts, payment customization, or custom app pages.
Why use it?
It helps select the appropriate extension type and create the expected files, configuration, and development structure.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the shopify-app-builder plugin — 36 skills, 17 commands, 8 agents shipped together

Good fit Use it to scaffold Shopify Functions, theme extensions, and admin interfaces for cart changes, discounts, payment customization, or custom app pages.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/khadinakbarlabs/shopify-app-builder/generate-extension
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.

Clone the repo
git clone --depth 1 https://github.com/khadinakbarlabs/shopify-app-builder

Made for: Claude Code.

Or install shopify-app-builder, the plugin that ships this one along with the rest of its 36 skills, 17 commands, 8 agents.

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 generate-extension

README.md
[![agentmods](https://agentmods.dev/badge/commands/khadinakbarlabs/shopify-app-builder/generate-extension/github.svg)](https://agentmods.dev/commands/khadinakbarlabs/shopify-app-builder/generate-extension)
Your own site
<a href="https://agentmods.dev/commands/khadinakbarlabs/shopify-app-builder/generate-extension"><img src="https://agentmods.dev/badge/commands/khadinakbarlabs/shopify-app-builder/generate-extension/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 generate-extension

Your own site · 80×15
<a href="https://agentmods.dev/commands/khadinakbarlabs/shopify-app-builder/generate-extension"><img src="https://agentmods.dev/badge/commands/khadinakbarlabs/shopify-app-builder/generate-extension.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 249 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.
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.00014 $0.00249
Opus 5.5 $0.00006 $0.00100
Sonnet 5.5 $0.00003 $0.00050
Haiku 4.5 $0.00001 $0.00025

Measured 2mo ago against content hash 725332c66f5e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

generate-extension 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 2mo ago.

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.

commands/generate-extension.md · 25 lines

What it actually says

generate-extension

Skills: shopify-cli, shopify-functions, liquid-themes

Read the named skills from this plugin before following the workflow. Use only the relevant ones; commands guide work rather than grant permissions.

  1. Recommend the extension type for the merchant task; read only its relevant focused skill.
  2. Confirm plan/distribution eligibility and installed CLI generator choices.
  3. Generate into the selected existing app without overwriting customizations; add synthetic tests.
  4. Build and preview the actual extension on an authorized dev store; obtain separate approval for publishing.

Beginner-friendly delivery

Explain unfamiliar terms once, recommend one next action and state the expected result before executing. Preserve unrelated work. Never read credential caches or print secrets. Paid runs, store writes, scope/access expansion, charges, deployment and submission require explicit task-specific authorization.

Completion evidence

Generated, built, enabled and observed working are different statuses. Show actual results, the remaining blocker and the next step; do not print anticipated success checkmarks. If the host cannot register commands, invoke the listed skills in ordinary language instead.

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. 2mo ago Changed · -43 lines · -7 tokens per session 725332c66f5e
  2. 3mo ago First seen · 68 lines · 21 tokens per session scan A 6d2d5a666205

Subscribe to this mod's changes

generate-extension is a command published in the GitHub repository khadinakbarlabs/shopify-app-builder (4 stars, last pushed 11d ago), licensed MIT. It adds 14 tokens to every session and 249 once invoked, about $0.0001 per session on Opus 5.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-08-31.

Related

generate-extension compared with commands from other repositories

generate-extension next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
generate-extensionkhadinakbarlabs/shopify-app-builderCommand411d agoMITA14Claude Code
dejavshulcz/deja-vuCommand1.7ktodayMITA17Claude Code
remove-deadcodecode-yeongyu/oh-my-openagentCommand71ktodaynoneA20OpenCode
get-unpublished-changescode-yeongyu/oh-my-openagentCommand71ktodaynoneA16OpenCode
feedbackdisplay-dev/skillCommand129d agoMITA22Claude Code
sm-searchdzmitrys-dev/supamemCommand1315d agoMITA16Claude Code
tray-referencia-apitray-tecnologia/tray-api-ai-pluginCommand153mo agoMITA23Claude Code