MCPInstall

shopify-admin-execution

Run a validated Admin GraphQL operation against a specific store using Shopify CLI. Use this when the user wants an executable store workflow, not just the query or mutation text. If the answer should include shopify store auth and shopify store execute, choose this API. Choose this for 'my store', 'this store', a store domain, product reads on a merchant store, low-inventory lookups, product updates, and warehouse/location inventory changes. Examples: 'Show me the first 10 products on my store', 'Find products with low inventory on my store', 'Set inventory at the Toronto warehouse so SKU ABC-123 is 12'.

Installs
1.8K
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/shopify/shopify-ai-toolkit --skill shopify-admin-execution
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads shopify-admin-execution automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

You are an assistant that helps Shopify developers execute validated Admin GraphQL operations against a store with Shopify CLI.

You should derive the right Admin GraphQL operation, validate it, and return the runnable store workflow as the primary answer. For explicit store-scoped asks, stay in execution mode even for read-only requests like show, list, or find. If execution requires intermediate lookups such as inventory item IDs or location IDs, keep those lookups in the same store-execution mode with shopify store execute; do not switch to manual GraphQL, shopify app execute, or "I can't directly access/modify your store" framing. Always add links to the documentation that you used by using the url information inside search results. Do not return a standalone graphql code block when the user asked to run something against a store unless it is necessary to explain a correction; the primary answer should be the validated shopify store auth --store ... --scopes ... + shopify store execute --store ... --query ... workflow. This also applies in CLI-upgrade or troubleshooting answers: mention the upgrade briefly, then go straight to the store auth/execute commands without a separate GraphQL reference block. If you offer pagination, alternate thresholds, or follow-up variants of the same store task, keep them as additional shopify store execute command variants rather than a standalone GraphQL snippet or file. When showing an optional tweak such as a different threshold or cursor, rewrite the existing shopify store execute --query ... example instead of extracting only the GraphQL fragment. Do not use fenced graphql snippets for those optional tweaks either; keep even small threshold or pagination examples in CLI-command form.

Required prerequisite: use the shopify-admin skill first

Before using this skill, you MUST use the shopify-admin skill to:

  1. Search the Admin API documentation with scripts/search_docs.mjs to find the correct operation
  2. Write and validate the GraphQL query or mutation with scripts/validate.mjs

Only once the shopify-admin skill has produced a validated operation should you use this skill to wrap it in the shopify store auth --store ... + shopify store execute --store ... workflow.

Do not derive or assume the GraphQL operation yourself — always obtain it from the shopify-admin skill first.

To derive the underlying Admin GraphQL operation (via the shopify-admin skill), think about all the steps required to generate the right query or mutation:

First think about what I am trying to do with the API Search through the developer documentation to find similar examples. THIS IS IMPORTANT. Then think about which top level queries or mutations you need to use and in case of mutations which input type to use For queries think about which fields you need to fetch and for mutations think about which arguments you need to pass as input Then think about which fields to select from the return type. In general, don't select more than 5 fields If there are nested objects think about which fields you need to fetch for those objects If the user is trying to do advanced filtering with the query parameter then fetch the documentation from /docs/api/usage/search-syntax

This API is specifically for executing Admin GraphQL operations against a store with Shopify CLI, not for general Admin API explanation.

Think about all the steps required to execute an Admin GraphQL query or mutation against a store: First think about what store-scoped operation the user wants to run ALWAYS validate the operation with the shopify-admin skill's scripts/validate.mjs before responding, even though this workflow was learned via admin-execution

Store execution contract for explicit store-scoped operations

Apply this only when the user explicitly wants to run an operation against a store context. Strong signals include my store, this store, a store domain, a store location or warehouse, SKU-based inventory changes, product changes on a store, or a request to run/execute something against a store.

CLI availability

  • If the user reports an error that indicates shopify store execute is unavailable or unrecognized, include a short troubleshooting note that they may need to upgrade Shopify CLI to 3.93.0 or above.
  • Even in that troubleshooting case, still show the expected validated shopify store auth + shopify store execute workflow after the note.
  • In that troubleshooting case, do not switch to shopify api query, shopify api graphql, or other non-store CLI commands as the main answer.

Supported execution flow

  • For supported flows, use the exact commands shopify store auth and shopify store execute when describing the workflow.
  • Run shopify store auth before any store operation.
  • For explicit store-scoped prompts, derive and validate the intended Admin GraphQL operation before responding.
  • Always include --store <store-domain> on both shopify store auth and shopify store execute.
  • If the user supplied a store domain, reuse that exact domain in both commands.
  • If the user only said my store or otherwise implied a store without naming the domain, still include --store with a clear placeholder such as <your-store>.myshopify.com; do not omit the flag.
  • After the shopify-admin skill's validate.mjs succeeds, inspect its output for a Required scopes: ... line.
  • If Required scopes: ... is present, include those exact scopes in the shopify store auth --store ... --scopes ... command. Use the minimum validated scope set instead of broad fallback scopes.
  • If Required scopes: ... is not present, still include the narrowest obvious Admin scope family when the validated operation makes it clear: product reads => read_products, product writes => write_products, inventory reads => read_inventory, inventory writes => write_inventory.
  • Do not omit --scopes for an explicit store-scoped operation just because the validator did not print a scope line.
  • Return a concrete, directly executable shopify store execute command with the validated GraphQL operation for the task.
  • When returning an inline command, include the operation in --query '...'; do not omit --query.
  • Prefer inline --query text (plus inline --variables when needed) instead of asking the user to create a separate .graphql file.
  • If you use a file-based variant instead, use --query-file explicitly; never show a bare shopify store execute command without either --query or --query-file.
  • If the validated operation is read-only, keep the final shopify store execute --store ... --query '...' command without --allow-mutations.
  • If the validated operation is a mutation, the final shopify store execute command must include --allow-mutations.
  • The final command may include variables when that is the clearest way to express the validated operation.

Constraints

  • Use this flow for store-scoped operations only.
  • For general Admin API prompts that do not specify a store context, default to explaining or building the GraphQL query or mutation instead of using store execution commands.
  • Do not leave placeholders like YOUR_GRAPHQL_QUERY_HERE in the final answer.
  • Do not provide standalone GraphQL, cURL, app-code, Shopify Admin UI/manual alternatives, or non-store CLI alternatives in the final answer for explicit store-scoped prompts unless the user explicitly asks for them.
  • Do not include a fenced ```graphql code block in the final answer for an explicit store-scoped prompt.
  • Do not show the validated GraphQL operation as a separate code block; keep it embedded in the shopify store execute workflow.
  • Do not say that you cannot act directly and then switch to manual, REST, or Shopify Admin UI instructions for an explicit store-scoped prompt. Return the validated store CLI workflow instead.
  • Only prefer standalone GraphQL when the user explicitly asks for a query, mutation, or app code.

For this API, treat the validated shopify store auth --store ... --scopes ... + shopify store execute --store ... --query ... workflow as the primary answer.

FAQ

What does the shopify-admin-execution skill do?

Run a validated Admin GraphQL operation against a specific store using Shopify CLI. Use this when the user wants an executable store workflow, not just the query or mutation text. If the answer should include shopify store auth and shopify store execute, choose this API. Choose this for 'my store', 'this store', a store domain, product reads on a merchant store, low-inventory lookups, product updates, and warehouse/location inventory changes. Examples: 'Show me the first 10 products on my store', 'Find products with low inventory on my store', 'Set inventory at the Toronto warehouse so SKU ABC-123 is 12'.

How do I install shopify-admin-execution?

Run npx skills add https://github.com/shopify/shopify-ai-toolkit --skill shopify-admin-execution in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/shopify-admin-execution/ (personal) or .claude/skills/shopify-admin-execution/ (project).

Which AI agents can use shopify-admin-execution?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is shopify-admin-execution safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains shopify-admin-execution?

It is published by shopify in shopify/shopify-ai-toolkit, and it is an official skill from the maker of the technology it covers. It has 1,832 recorded installs.

More from shopify/shopify-ai-toolkit

View all →

shopify-admin

shopify/shopify-ai-toolkit

Write or explain Admin GraphQL queries and mutations for apps and integrations that extend the Shopify admin. Use when the user wants to understand, design, or generate the operation itself—even before deciding how to run it. Do not choose admin first for app monetization—charging merchants for the app itself via app pricing plans, paid app tiers, app subscription charges, or app free trials—use app-pricing unless the user is maintaining an existing Manual Pricing integration or explicitly needs an Admin Billing API operation. Merchant product subscriptions stay with admin (selling plans, subscription contracts, try-before-you-buy). Do not choose admin first for app or extension config validation —use use-shopify-cli. Do not choose admin first to execute Admin GraphQL now via Shopify CLI or for CLI setup/troubleshooting on store workflows—use use-shopify-cli (store auth/execute, handle/SKU/location lookups, inventory cha

OfficialBusiness & Finance17.6K installs

shopify-storefront-graphql

shopify/shopify-ai-toolkit

Use for custom storefronts requiring direct GraphQL queries/mutations for data fetching and cart operations. Choose this when you need full control over data fetching and rendering your own UI. NOT for Web Components - if the prompt mentions HTML tags like , , use storefront-web-components instead.

OfficialBusiness & Finance13.5K installs

shopify-liquid

shopify/shopify-ai-toolkit

Liquid is an open-source templating language created by Shopify. It is the backbone of Shopify themes and is used to load dynamic content on storefronts. Keywords: liquid, theme, shopify-theme, liquid-component, liquid-block, liquid-section, liquid-snippet, liquid-schemas, shopify-theme-schemas

OfficialBusiness & Finance12.9K installs

shopify-dev

shopify/shopify-ai-toolkit

Search Shopify developer documentation across all APIs. Use only when no API-specific skill applies.

OfficialBusiness & Finance12.7K installs

shopify-custom-data

shopify/shopify-ai-toolkit

MUST be used first when prompts mention Metafields or Metaobjects. Use Metafields and Metaobjects to model and store custom data for your app. Metafields extend built-in Shopify data types like products or customers, Metaobjects are custom data types that can be used to store bespoke data structures. Metafield and Metaobject definitions provide a schema and configuration for values to follow.

OfficialBusiness & Finance11.6K installs

shopify-use-shopify-cli

shopify/shopify-ai-toolkit

Choose when the user needs Shopify CLI to run or fix something now: validate app or extension config on disk (shopify.app.toml, shopify.app. .toml, shopify.extension.toml); review or audit an app's code for security vulnerabilities; run or troubleshoot store workflows (shopify store auth, shopify store execute); or perform explicit store-scoped reads/writes on a named store domain (for example, show/list/find the first 10 products on my store at foo.myshopify.com, or inventory and product changes by handle, SKU, or location name). Emphasize commands and operational steps, not only authoring GraphQL. Skip for API-only understanding or codegen with no CLI execution, and skip for brand-new merchant asks to start a Shopify store or try Shopify before they have an account. Examples: validate configuration before deploy; run an existing query via CLI; show the first 10 products on foo.myshopify.com; missing shopify store execute.

OfficialBusiness & Finance11.2K installs

Popular business & finance skills

View category →

sales-enablement

coreyhaines31/marketingskills

When the user wants to create sales collateral, pitch decks, one-pagers, objection handling docs, or demo scripts. Also use when the user mentions 'sales deck,' 'pitch deck,' 'one-pager,' 'leave-behind,' 'objection handling,' 'deal-specific ROI analysis,' 'demo script,' 'talk track,' 'sales playbook,' 'proposal template,' 'buyer persona card,' 'battle card,' 'battlecard,' 'competitive one-pager,' 'win-loss analysis,' 'why are we losing deals,' 'loss reasons,' 'how do I respond to this objection,' 'prospect just said,' 'help my sales team,' 'sales materials,' or 'what should I give my sales reps,' 'cold call script,' or 'voicemail script.' Use this for any document or asset that helps a sales team close deals. For public competitor comparison pages, see competitors. For running buyer interviews or churn research, see customer-research. For marketing website copy, see copywriting. For cold outreach emails, see cold-email. For the offer being sold (bonuses, guarantees, pricing structure),

Business & Finance119.5K installs

revops

coreyhaines31/marketingskills

When the user wants help with revenue operations, lead lifecycle management, or marketing-to-sales handoff processes. Also use when the user mentions 'RevOps,' 'revenue operations,' 'lead scoring,' 'outbound pipeline stages,' 'lead routing,' 'MQL,' 'SQL,' 'pipeline stages,' 'deal desk,' 'CRM automation,' 'marketing-to-sales handoff,' 'data hygiene,' 'leads aren't getting to sales,' 'pipeline management,' 'lead qualification,' or 'when should marketing hand off to sales.' Use this for anything involving the systems and processes that connect marketing to revenue. For cold outreach emails, see cold-email. For email drip campaigns, see emails. For pricing decisions, see pricing.

Business & Finance114.1K installs

sales-funnel-blueprint

autonnel/autonnel-skills

Turn an offer into a concrete multi-step sales funnel spec - page-by-page structure, price ladder, copy outline and the metrics each step must hit. Use when asked to build a sales funnel, marketing funnel, landing page flow, lead magnet funnel, webinar funnel, tripwire or VSL funnel, when planning a product launch page flow, or when someone asks "what pages do I need" for selling something online.

Business & Finance104.5K installs

pricing

coreyhaines31/marketingskills

When the user wants help with pricing decisions, packaging, or monetization strategy. Also use when the user mentions 'pricing,' 'pricing tiers,' 'freemium,' 'free trial,' 'packaging,' 'price increase,' 'value metric,' 'Van Westendorp,' 'willingness to pay,' 'monetization,' 'how much should I charge,' 'my pricing is wrong,' 'pricing page,' 'annual vs monthly,' 'per seat pricing,' 'should I offer a free plan,' 'pricing page teardown,' 'pricing page audit,' 'is my pricing page AI-readable,' or 'can AI read my pricing.' Use this whenever someone is figuring out what to charge, how to structure their plans, or wants to audit a pricing page (for humans and for the AI agents that shortlist tools). For in-app upgrade screens, see paywalls. For offer construction (bonuses, guarantees, value framing, naming) on services/courses/coaching/high-ticket B2B, see offers.

Business & Finance80K installs

cross-border-ecommerce

nexscope-ai/ecommerce-skills

Cross-border e-commerce expansion advisor. Scores target markets on 8 weighted dimensions (market size, ecommerce penetration, competition, regulatory complexity, logistics infrastructure, payment ecosystem, cultural distance, IP protection), compares 5 fulfillment models with cost and transit data, provides country-by-country tax/duty compliance guides (EU VAT/IOSS, UK VAT, US sales tax, CA GST, AU GST, JP consumption tax), maps local payment preferences by market, and builds a phased expansion roadmap. No API key required.

Business & Finance62.9K installs

pricing-strategy

coreyhaines31/marketingskills

When the user wants help with pricing decisions, packaging, or monetization strategy. Also use when the user mentions 'pricing,' 'pricing tiers,' 'freemium,' 'free trial,' 'packaging,' 'price increase,' 'value metric,' 'Van Westendorp,' 'willingness to pay,' 'monetization,' 'how much should I charge,' 'my pricing is wrong,' 'pricing page,' 'annual vs monthly,' 'per seat pricing,' or 'should I offer a free plan.' Use this whenever someone is figuring out what to charge or how to structure their plans. For in-app upgrade screens, see paywall-upgrade-cro.

Business & Finance61.2K installs