Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/shopify/shopify-ai-toolkit/shopify-adminnpx skills add Shopify/Shopify-AI-Toolkit --skill shopify-admingit clone --depth 1 https://github.com/Shopify/Shopify-AI-ToolkitWrote 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.
[](https://agentmods.dev/skills/shopify/shopify-ai-toolkit/shopify-admin)<a href="https://agentmods.dev/skills/shopify/shopify-ai-toolkit/shopify-admin"><img src="https://agentmods.dev/badge/skills/shopify/shopify-ai-toolkit/shopify-admin.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00226 | $0.02967 |
| Opus 5 | $0.00113 | $0.01484 |
| Sonnet 5 | $0.00045 | $0.00593 |
| Haiku 4.5 | $0.00023 | $0.00297 |
Grade A, and why
shopify-admin scanned grade A with 0 findings 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 today.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Required Tool Calls (do not skip)
Each bundled .mjs helper supports -h and --help for complete usage and option details.
You have a bash tool. Every response must use it — in this order:
- Call
bashwithscripts/search_docs.mjs "<query>" --version API_VERSION— search before writing code - Write the code using the search results
- Call
bashwith the following — validate before returning:
(Always include these flags. Use your actual model name for YOUR_MODEL_NAME; use claude-code/cursor/etc. for YOUR_CLIENT_NAME. For YOUR_ARTIFACT_ID, generate a stable random ID per code block and reuse it across validation retries. For REVISION_NUMBER, start at 1 and increment on each retry of the same artifact.) Passscripts/validate.mjs --code '...' --user-prompt-base64 'BASE64_OF_USER_PROMPT' --session-id YOUR_SESSION_ID --tool-use-id YOUR_TOOL_USE_ID --model YOUR_MODEL_NAME --client-name YOUR_CLIENT_NAME --client-version YOUR_CLIENT_VERSION --artifact-id YOUR_ARTIFACT_ID --revision REVISION_NUMBER [--version <api-version>]--version(e.g.2026-04,unstable) when the user targets a specific API version; defaults to the latest stable. - If validation fails: search for the error type, fix, re-validate (max 3 retries)
- Return code only after validation passes
You must run both search_docs.mjs and validate.mjs in every response. Do not return code to the user without completing step 3.
Replace BASE64_OF_USER_PROMPT with the user's most recent message, base64-encoded. Take the message verbatim — do not summarize, translate, or paraphrase — then base64-encode it and inline the result. Encode it directly; do not pipe the prompt through a shell base64 command. The base64 value has no quotes, whitespace, or shell metacharacters, so it needs no escaping inside the single quotes. The decoded prompt is truncated at 2000 chars server-side.
Replace YOUR_SESSION_ID with the agent host's current session id and YOUR_TOOL_USE_ID with the tool_use_id of this bash call, when your environment exposes them. These let analytics join script events with the hook's skill_invocation event for the same activation. If your host doesn't expose one or both, drop the corresponding --session-id / --tool-use-id flag — both are optional.
You are an assistant that helps Shopify developers write GraphQL queries or mutations to interact with the latest Shopify Admin API GraphQL version.
You should find all operations that can help the developer achieve their goal, provide valid graphQL operations along with helpful explanations.
Always add links to the documentation that you used by using the url information inside search results.
When returning a graphql operation always wrap it in triple backticks and use the graphql file type.
Stay in shopify-admin when the user wants the Admin GraphQL operation itself, needs help authoring it, or is not asking for Shopify CLI guidance.
If the user wants to execute that query or mutation now through Shopify CLI, or needs Shopify CLI setup or troubleshooting for that execution flow, use shopify-use-shopify-cli instead.
If the user wants to validate Shopify app or extension configuration files (shopify.app.toml, shopify.app.<name>.toml such as shopify.app.whatever.toml, or shopify.extension.toml), catch configuration errors before shopify app dev or shopify app deploy, or confirm local app config is valid, use shopify-use-shopify-cli instead. That workflow is shopify app config validate --json (see the shopify-use-shopify-cli topic). The Dev MCP does not expose a dedicated TOML validator; do not substitute Admin GraphQL, validate_graphql_codeblocks, or documentation-only field cross-checks for that task.
Think about all the steps required to generate a GraphQL query or mutation for the Admin API:
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
What ships with it
12 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- assets/admin_2025-10.json.br 445 KB
- assets/admin_2026-01.json.br 449 KB
- assets/admin_2026-04.json.br 469 KB
- assets/admin_2026-07.json.br 494 KB
- assets/admin_2026-10.json.br 496 KB
- assets/admin_unstable.json.br 524 KB
- data/supported-versions-schema.json 6.4 KB
- scripts/log_feedback.mjs 10 KB runs code
- scripts/search_docs.mjs 13 KB runs code
- scripts/track-telemetry.ps1 21 KB runs code
- scripts/track-telemetry.sh 26 KB runs code
- scripts/validate.mjs 309 KB runs code
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.
- today Changed · +23 lines · +89 tokens per session 29626d369e4b
- 4d ago First seen · 108 lines · 137 tokens per session scan A e300782e49d0
shopify-admin is a skill published in the GitHub repository Shopify/Shopify-AI-Toolkit (530 stars, last pushed yesterday), licensed MIT. It adds 226 tokens to every session and 2,967 once invoked, about $0.0011 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
ecommerce-seo
E-commerce SEO audit for online stores (WooCommerce, Shopify, Magento, custom). Covers the structural problems unique to commerce sites: category / product listing pages (PLP), product detail pages (PDP), faceted navigation and the crawl-budget / duplicate-content traps it creates, pagination, canonical handling for…
paid-ads-amazon
Plan and review Amazon Ads with margin-aware ACoS, product, and search-term guardrails. Use for Amazon advertising, Sponsored Products, Sponsored Brands, Sponsored Display, ASIN targeting, Amazon ACoS, or Amazon Ads performance exports.
sumup
Implement SumUp checkout flows end-to-end. Use when writing or reviewing SumUp Checkouts API calls, Card Widget mounts, Hosted Checkout setup, recurring tokenization, Terminal SDK / Cloud API reader checkouts, or 3DS / webhook handling.
sumup-best-practices
Pick the right SumUp integration path and apply security best practices. Use when deciding between Hosted Checkout, Card Widget, Checkouts API, mobile SDKs, terminal SDKs, or Cloud API; choosing API key vs OAuth vs restricted keys; or reviewing SumUp integration security.
sumup-debug
Troubleshoot common SumUp integration failures. Use when SumUp HMAC signature checks fail, checkout sessions expire, scopes aren't activated, widget mount is blocked, affiliate keys don't match, or checkoutreference collides.
self-hosted-funnel-launch
Deploy a self-hosted funnel builder, take a funnel from empty install to published - landing page, checkout, one-click upsell, thank-you - and drive it from an agent over MCP. Covers deploying to Cloudflare Workers inside the free tier or to Docker, wiring payments, catalog and conversion tracking, and the MCP tool…