Agent plugins/extensions for CLIs and IDEs
21 chapters · 2 hours 14 minutes · 29,945 words
npx skills add Shopify/Shopify-AI-Toolkit/plugin marketplace add Shopify/Shopify-AI-ToolkitTypeset 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 Pi: In your terminal, install the package from git:
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-toolkitThe 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.
This is on by default. To opt out — for skill scripts, the MCP server, and the hook — set the environment variable:
OPT_OUT_INSTRUMENTATION=trueIf 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 5 August 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./Shopify/Shopify-AI-Toolkit.md, and each chapter at its own .md URL.