shopify-partner

shopify-partner is a skill for Claude Code from Shopify/Shopify-AI-Toolkit. It costs 29 tokens per session (2,612 once invoked), scanned A, a copy of shopify-customer, MIT.

A set of instructions for using Shopify’s Partner API, which lets programs read data from the Shopify Partner Dashboard, including apps, themes, and affiliate referrals.

In plain words
What is it for?
Use it to search Shopify API documentation, write code that accesses Partner Dashboard data, and validate that code with the required command.
Why use it?
It helps an agent find the right API documentation and check generated code before returning it. This reduces errors when working with a particular Shopify API version.

Skill for Claude Code ✓ vendor

Written for Claude Code: hooks in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the shopify-plugin plugin — 22 skills, 2 hooks shipped together

Good fit Use it to search Shopify API documentation, write code that accesses Partner Dashboard data, and validate that code with the required command.

Compare 6 skills from other repositories ↓
About the project

Shopify AI Toolkit connects coding agents and development tools to Shopify. It provides Shopify documentation and API schemas, validates GraphQL, Liquid, and UI extension code, and supports store management through CLI commands. Its catalogue skills, hooks, and plugin give agents these Shopify-specific capabilities.

Shopify/Shopify-AI-Toolkit · 535 stars · on GitHub

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Shopify/Shopify-AI-Toolkit
Claude Code
/plugin install shopify-plugin

Made for: Claude Code.

Or install shopify-plugin, the plugin that ships this one along with the rest of its 22 skills, 2 hooks.

Wrote 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.

agentmods badge for shopify-partner

README.md
[![agentmods](https://agentmods.dev/badge/skills/shopify/shopify-ai-toolkit/shopify-partner.svg)](https://agentmods.dev/skills/shopify/shopify-ai-toolkit/shopify-partner)
Your own site
<a href="https://agentmods.dev/skills/shopify/shopify-ai-toolkit/shopify-partner"><img src="https://agentmods.dev/badge/skills/shopify/shopify-ai-toolkit/shopify-partner.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,612 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 15 May 2026
  • Snyk warn 15 May 2026
How audits are shown
Origin 91% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.02612
Opus 5 $0.00015 $0.01306
Sonnet 5 $0.00006 $0.00522
Haiku 4.5 $0.00003 $0.00261

Measured 3d ago against content hash 0cc62f188bb2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

shopify-partner 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 3d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/log_feedback.mjs, scripts/search_docs.mjs, scripts/track-telemetry.ps1, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

This is a copy

91% identical to shopify-customer — 30 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/shopify-partner/SKILL.md · 130 lines

How it starts

The opening of the file, as written. The whole thing — 130 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:

  1. Call bash with scripts/search_docs.mjs "<query>" --version API_VERSION — search before writing code
  2. Write the code using the search results
  3. Call bash with the following — validate before returning:
    scripts/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>]
    
    (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.) Pass --version (e.g. 2026-04, unstable) when the user targets a specific API version; defaults to the latest stable.
  4. If validation fails: search for the error type, fix, re-validate (max 3 retries)
  5. 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 Partner 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.

Think about all the steps required to generate a GraphQL query or mutation for the Partner API:

First think about what I am trying to do with the Partner API (e.g., manage apps, themes, affiliate referrals) Search through the developer documentation to find similar examples. THIS IS IMPORTANT. Remember that Partner API requires partner-level authentication, not merchant-level Consider which organization context you're operating in when querying data For app-related queries, think about app installations, revenues, and merchant relationships For theme-related operations, consider theme versions, publishing status, and store associations When working with transactions and payouts, ensure proper date range filtering For affiliate and referral data, understand the commission structures and tracking

When building a Partner GraphQL operation, use the Partner schema documentation as the source of truth for root fields, object fields, connection pagination, enum values, and interface subtype fragments. If validation disagrees with an example or prior knowledge, follow the schema and fix the operation before returning it.

Read the full file on GitHub · 130 lines

Changes

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.

  1. 3d ago Changed · +23 lines 0cc62f188bb2
  2. 7d ago First seen · 107 lines · 29 tokens per session scan A f4f0c53adf7d

Subscribe to this mod's changes

shopify-partner is a skill published in the GitHub repository Shopify/Shopify-AI-Toolkit (535 stars, last pushed 4d ago), licensed MIT. It adds 29 tokens to every session and 2,612 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to shopify-customer, differing in 30 lines, and is treated as a copy.

Related

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…

nowork-studio/notfair-plugin · 235 tokens

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.

nowork-studio/notfair-plugin · 55 tokens

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/sumup-skills · 53 tokens

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/sumup-skills · 62 tokens

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…

autonnel/autonnel-skills · 123 tokens

funnel-platform-picker

Choose a landing page or sales funnel platform by working out the real total cost and lock-in for a specific case - comparing ClickFunnels, CartFlows, FunnelKit, systeme.io, GoHighLevel, Shopify apps, hand-rolled pages and self-hosted open-source options. Use when asked which funnel builder or landing page builder to…

autonnel/autonnel-skills · 101 tokens