shopify-cli

shopify-cli is a skill for Claude Code from khadinakbarlabs/shopify-app-builder. It costs 140 tokens per session (6,187 once invoked), scanned A, original, MIT.

A guide to Shopify CLI, the command-line tool for creating, developing, deploying, and troubleshooting Shopify apps and extensions.

In plain words
What is it for?
It supports app scaffolding, development servers, deployments, extensions, themes, authentication, webhooks, tunnels, and GraphQL type generation.
Why use it?
It helps developers use the right commands and configuration when working with Shopify projects locally or in deployment.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { graphql } from "../generated/graphql";.

Part of the shopify-app-builder plugin — 32 skills, 9 commands, 5 agents shipped together

Good fit It supports app scaffolding, development servers, deployments, extensions, themes, authentication, webhooks, tunnels…

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/khadinakbarlabs/shopify-app-builder
agentmods
npx agentmods add skills/khadinakbarlabs/shopify-app-builder/shopify-cli

Made for: Claude Code.

Or install shopify-app-builder, the plugin that ships this one along with the rest of its 32 skills, 9 commands, 5 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 shopify-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/khadinakbarlabs/shopify-app-builder/shopify-cli.svg)](https://agentmods.dev/skills/khadinakbarlabs/shopify-app-builder/shopify-cli)
Your own site
<a href="https://agentmods.dev/skills/khadinakbarlabs/shopify-app-builder/shopify-cli"><img src="https://agentmods.dev/badge/skills/khadinakbarlabs/shopify-app-builder/shopify-cli.svg" alt="Measured on agentmods" height="20"></a>
Per session 140 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,187 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00140 $0.06187
Opus 5 $0.00070 $0.03093
Sonnet 5 $0.00028 $0.01237
Haiku 4.5 $0.00014 $0.00619

Measured 6d ago against content hash bbb99fdf61c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

shopify-cli scanned grade A with 1 finding 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 6d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST https://RANDOMHASH.lhr.life/api/webhooks/products \
skills/shopify-cli/SKILL.md · 997 lines

How it starts

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

Shopify CLI Skill Reference

When to Use This Skill

Use this skill for any task involving:

  • Creating a new Shopify app with shopify app init
  • Running development server with shopify app dev
  • Deploying apps with shopify app deploy or shopify app release
  • Generating extensions (admin actions, checkout UI, theme extensions, functions)
  • Configuring shopify.app.toml and understanding all available settings
  • Working with Remix + React Router v7 app template
  • Setting up local tunnels (Cloudflare Tunnel or ngrok)
  • Debugging authentication, webhooks, or environment issues
  • Managing theme development with shopify theme commands
  • Generating GraphQL types with @shopify/api-codegen-preset
  • Understanding app structure, directory layout, and lifecycle
  • Error troubleshooting and common failure patterns

Installation and Setup

Install Shopify CLI

npm install -g @shopify/cli@latest

Node.js Requirements:

  • >=20.19 <22 OR >=22.12
  • Check version: node --version

Verify Installation

shopify version
shopify app --help

Command Reference

Command Flags Purpose
shopify app init --template remix Initialize new Shopify app with Remix template
shopify app dev --reset, --build, --no-update Start local dev server with hot reload
shopify app deploy --force, --no-release Deploy app to Shopify Partner dashboard
shopify app release --version X.Y.Z, --force Release deployed version to live
shopify app generate extension, webhook Generate boilerplate for extensions/webhooks
shopify generate extension --type admin_action, --api-version 2026-07 Create app extension with a currently supported API version
shopify app push --force, --no-release Push config updates without full deploy
shopify config show Display loaded config from shopify.app.toml
shopify env pull Fetch environment variables from Partner dashboard
shopify app open Open app dashboard in browser
shopify theme dev --store example.myshopify.com Start theme development server
shopify theme pull --theme-id 123456789 Download theme files from store
shopify theme push --force, --no-delete Upload theme files to store
shopify auth logout Clear stored authentication
shopify auth login --shop example.myshopify.com Authenticate with specific store

Read the full file on GitHub · 997 lines

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. 6d ago First seen · 997 lines · 140 tokens per session scan A bbb99fdf61c9

Subscribe to this mod's changes

shopify-cli is a skill published in the GitHub repository khadinakbarlabs/shopify-app-builder (1 stars, last pushed 27d ago), licensed MIT. It adds 140 tokens to every session and 6,187 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.