shopify-admin-execution

Execute validated Shopify Admin GraphQL operations via Shopify CLI commands.

491|60|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/Shopify/Shopify-AI-Toolkit --skill shopify-admin-execution
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shopify-admin-execution
Source: https://github.com/Shopify/Shopify-AI-Toolkit/tree/main/skills/shopify-admin-execution
Command: npx skills add https://github.com/Shopify/Shopify-AI-Toolkit --skill shopify-admin-execution

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps Shopify developers execute validated Admin GraphQL operations directly against a merchant store using the Shopify CLI, removing the gap between query validation and runnable store workflows.

Core Features & Use Cases

  • Validated execution workflow: Wraps a validated Admin GraphQL operation into a concrete shopify store auth and shopify store execute command sequence ready to run.
  • Scope and mutation awareness: Includes required scopes from validation output and adds --allow-mutations when the operation is a mutation.
  • Use Cases: Run store-scoped reads like listing products or inventory lookups, and perform store-scoped writes such as updating product quantities or location inventory.

Quick Start

Run a validated admin query via the shopify-admin skill and ask this skill to return the shopify store auth and shopify store execute commands for your store.

Frequently Asked Questions about shopify-admin-execution

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I execute Admin GraphQL queries against a specific Shopify store?

Running Shopify Admin GraphQL mutations requires adding the --allow-mutations flag to your shopify store execute command. This skill detects mutation operations and automatically includes the flag along with the required authorization scopes.

Can I update product inventory quantities using Shopify CLI?

Executing store-scoped workflows with Shopify CLI requires a validated GraphQL operation from the shopify-admin skill beforehand. This ensures your query is structurally correct before this skill generates the auth and execute commands.

How do I list products or lookup inventory on my Shopify store via CLI?

You can run store-scoped reads like product listings and inventory lookups by passing a validated Admin GraphQL query to the shopify store execute command. This skill formats the inline query and appropriate flags for your specific store domain.

Do I need specific authorization scopes to run Shopify Admin GraphQL commands?

Yes, executing Shopify Admin GraphQL commands requires including the necessary authorization scopes in your shopify store auth command. This skill extracts the required scopes from the validation output and integrates them into the final command sequence.