npx skills add Shopify/Shopify-AI-Toolkit/plugin marketplace add Shopify/Shopify-AI-ToolkitMIT572 stars41,957 wordsUpdated 18 September 2026
22 skills · 190 min
Typeset in this issue’s own colours, resolved from the awesome-design-md registry.
Connect your AI tools to the Shopify platform.
The Toolkit gives your agent access to Shopify’s documentation, API schemas, and code validation for building apps, and store management through the CLI’s store execute capabilities. For more info, see the docs (opens in a new tab).
For Claude Code: In your terminal, run claude plugin install:
claude plugin install shopify-ai-toolkit@claude-plugins-officialFor OpenAI Codex: In your terminal, run codex plugin add:
codex plugin add shopify@openai-curatedFor Antigravity CLI: In your terminal, install the Shopify plugin:
agy plugin install https://github.com/Shopify/shopify-ai-toolkitFor Cursor: In Cursor Chat, add the Shopify plugin:
/add-plugin shopifyFor Hermes: In your terminal, download the install script and run it:
curl -fsSL https://raw.githubusercontent.com/Shopify/Shopify-AI-Toolkit/main/.hermes-plugin/install.sh -o /tmp/shopify-hermes-install.sh
bash /tmp/shopify-hermes-install.shFor OpenClaw: In your terminal, install the package from npm:
openclaw plugins install npm:@shopify/ai-toolkitAlternatively, install from ClawHub with openclaw plugins install clawhub:@shopify/ai-toolkit, or directly from the git mirror with . The plugin is recognized as a native OpenClaw plugin and a compatible Agent Plugins bundle.
The skill scripts (scripts/search_docs.mjs, scripts/validate.mjs, scripts/log_skill_use.mjs) send a usage event to https://shopify.dev/mcp/usage on each invocation. The payload includes:
search_docs.mjs)validate.mjs)--user-prompt-base64 to validate.mjs (for skills with validation) or log_skill_use.mjs (for skills without). Encoding the prompt keeps untrusted message text out of shell syntax. Exactly one designated capture point per skill — search_docs.mjs does not carry user_prompt.sessionId and toolUseId (when supplied via --session-id / --tool-use-id) so analytics can join script events with the hook’s skill_invocation event for the same activation.The plugin also registers a PostToolUse hook (hooks/track-telemetry.sh, .ps1) on Claude Code, Cursor, and GitHub Copilot. It emits a skill_invocation event to the same endpoint whenever the agent calls the host Skill tool with a Shopify AI Toolkit skill or reads a SKILL.md from a recognized install path. The payload includes:
skill-tool or skill-md-read)claude-code / cursor / copilot-cli / vscode / vscode-insiders)plugin or skill)sessionId and toolUseId (when supplied)UserPromptSubmit hook that stashes it locally and attached here only when a skill activates. Honors OPT_OUT_INSTRUMENTATION; other hosts carry no prompt on this surface.The same script is also injected into each generated SKILL.md as a hooks: frontmatter block, so Claude Code emits the same event when skills are installed standalone (e.g. via npx skills add Shopify/shopify-ai-toolkit) without the plugin. Events from each source are labeled with hookSource and carry sessionId + toolUseId inside the body’s parameters object, so downstream consumers can dedup on (sessionId, toolUseId) when both surfaces are installed.
The hook does not report tool inputs, file contents, generated code, or other tool arguments. On Claude Code it can additionally attach user_prompt (the most recent prompt verbatim) via the UserPromptSubmit stash, but only when a Shopify skill activates. On other hosts (Cursor, Copilot) the hook carries no prompt and user_prompt capture happens on the script surfaces only (validate.mjs for skills with validation, log_skill_use.mjs for skills without). See hooks/README.md (opens in a new tab) for full coverage details.
Telemetry is on by default. Opting out applies to every surface at once — skill scripts, the MCP server, and the hooks — and also stops local capture (no prompt is stashed to disk).
There are two ways to opt out. Either is sufficient on its own.
1. A user-level opt-out file (recommended). This is the only method that reliably works everywhere, because it does not depend on the agent passing your shell environment through to the processes it spawns:
mkdir -p ~/.config/shopify-ai-toolkit && touch ~/.config/shopify-ai-toolkit/opt-outThe file is checked at:
| Platform | Path |
|---|---|
| Linux / macOS | $XDG_CONFIG_HOME/shopify-ai-toolkit/opt-out, else ~/.config/shopify-ai-toolkit/opt-out |
| macOS (also) | ~/Library/Application Support/shopify-ai-toolkit/opt-out |
| Windows | %APPDATA%\shopify-ai-toolkit\opt-out |
An empty file opts you out — the filename is the signal. Writing false, 0, no, or off into it means “present, but do not opt me out”, which is useful if the file is managed by a dotfiles repo. Set SHOPIFY_AI_TOOLKIT_OPT_OUT_FILE to point every surface at a different absolute path.
2. An environment variable.
export OPT_OUT_INSTRUMENTATION=trueDO_NOT_TRACK=1 (donottrack.sh (opens in a new tab)) is honored as well.
Environment variables only reach a telemetry surface if the process emitting it inherits your exported environment. Several hosts spawn skill scripts, hooks, MCP child processes, and sub-agents from non-interactive subshells that do not — Hermes’ terminal tool, Codex’s exec mode, and GUI-launched MCP servers among them. If you use one of those, use the file.
Opt-out is monotone. Any signal that says “opted out” wins, and nothing can turn telemetry back on for that process. In particular, a wrapper script or CI image exporting OPT_OUT_INSTRUMENTATION=false cannot override the file you created.
If your platform doesn’t support plugins, you can install agent skills or the Dev MCP server directly. For instructions, see shopify.dev/docs/apps/build/ai-toolkit (opens in a new tab).
Thanks for your interest but we don’t accept pull requests. Any pull requests will be automatically closed.
main, last pushed 18 September 2026.SKILL.md, not by matching a directory convention. One layout observed: skills/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by Shopify, declaring 1 plugin. It is read for editorial metadata only — never as the skill index, which is always the repository tree.openclaw plugins install git:github.com/Shopify/Shopify-AI-ToolkitFor Pi: In your terminal, install the package from npm:
pi install npm:@shopify/ai-toolkitAlternatively, install directly from the git mirror:
pi install git:github.com/Shopify/Shopify-AI-ToolkitFor VS Code:
Ensure the Agent plugins (opens in a new tab) preview is enabled in your VS Code settings.
Open the Command Palette (Cmd+Shift+P on macOS, Ctrl+Shift+P on Windows/Linux) and run:
Chat: Install Plugin From SourceWhen prompted, enter the repository URL:
https://github.com/Shopify/shopify-ai-toolkit/Shopify/Shopify-AI-Toolkit.md, and each skill at its own .md URL.