admin-graphql

admin-graphql is a skill for Claude Code from khadinakbarlabs/shopify-app-builder. It costs 21 tokens per session (472 once invoked), scanned A, original, MIT.

A guide to Shopify’s Admin GraphQL API, the interface used by apps to read and change store data through structured queries.

In plain words
What is it for?
It covers products, orders, customers, inventory, metafields, webhooks, refunds, and bulk operations.
Why use it?
It helps developers build API calls that handle Shopify’s limits, pagination, large jobs, and current API requirements correctly.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the shopify-app-builder plugin — 36 skills, 17 commands, 8 agents shipped together

Good fit It covers products, orders, customers, inventory, metafields, webhooks, refunds, and bulk operations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/khadinakbarlabs/shopify-app-builder/admin-graphql
Install

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.

Any agent
npx skills add khadinakbarlabs/shopify-app-builder --skill admin-graphql
Clone the repo
git clone --depth 1 https://github.com/khadinakbarlabs/shopify-app-builder

Made for: Claude Code.

Or install shopify-app-builder, the plugin that ships this one along with the rest of its 36 skills, 17 commands, 8 agents.

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 admin-graphql

README.md
[![agentmods](https://agentmods.dev/badge/skills/khadinakbarlabs/shopify-app-builder/admin-graphql/github.svg)](https://agentmods.dev/skills/khadinakbarlabs/shopify-app-builder/admin-graphql)
Your own site
<a href="https://agentmods.dev/skills/khadinakbarlabs/shopify-app-builder/admin-graphql"><img src="https://agentmods.dev/badge/skills/khadinakbarlabs/shopify-app-builder/admin-graphql/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for admin-graphql

Your own site · 80×15
<a href="https://agentmods.dev/skills/khadinakbarlabs/shopify-app-builder/admin-graphql"><img src="https://agentmods.dev/badge/skills/khadinakbarlabs/shopify-app-builder/admin-graphql.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 472 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.
Origin original No closer match found 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.00021 $0.00472
Opus 5.5 $0.00008 $0.00189
Sonnet 5.5 $0.00004 $0.00094
Haiku 4.5 $0.00002 $0.00047

Measured 23d ago against content hash 7d92b40d6c3a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

admin-graphql 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 23d ago.

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.

skills/admin-graphql/SKILL.md · 39 lines

How it starts

The opening of the file, as written. The whole thing — 39 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Read and update store data safely

Start here

GraphQL asks Shopify for specific data; a mutation changes it.

First useful outcome: List products with pagination before adding any write operation. Ask only for missing information that changes this task. Inspect the existing project and use synthetic data before touching a merchant store. Explain the next action and its expected result in plain language; offer a recommended default with its tradeoff.

Guided workflow

  1. Inspect the app's API version and required scopes; start with a read-only query and synthetic fixtures.
  2. Use variables and server-side authenticated clients; handle transport errors, GraphQL errors and mutation userErrors separately.
  3. Paginate with cursors, budget query cost, retry throttling with bounded backoff and preserve per-shop isolation.
  4. For writes, preview affected records, obtain scope/operation approval, and design idempotency plus recovery.

Check it worked

Test empty pages, multiple pages, access denial, throttling and partial mutation failure; HTTP 200 alone is not success. Report what was changed, what was tested, and what still needs account access or live verification. Do not claim production readiness or approval from generated code alone.

If you get stuck

If a field fails, check that exact stable-version schema before expanding scopes. Give one safe next step and a redacted error example, not a list of speculative fixes.

Safety and optional depth

Use only the user's selected project/accounts. Never read credential caches or request secrets in chat; the operator configures the application's approved secret store. Ask before live deployment, store mutations, billing, publication or paid runs unless that exact action is already authorized. No MCP service is required by this plugin.

For concrete examples in an existing project, read only the relevant section of technical-guide.md. These retained v1.x examples are version-sensitive, not the default template. Verify SDKs, schema fields, CLI flags and platform rules with official documentation before using them.

Read the full file on GitHub · 39 lines

Files

What ships with it

1 file 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.

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. 23d ago Changed · -824 lines · -25 tokens per session 7d92b40d6c3a
  2. 25d ago Changed · +1 lines 4a84bc694d00
  3. 1mo ago First seen · 862 lines · 46 tokens per session scan A 160f5dc07aa3

Subscribe to this mod's changes

admin-graphql is a skill published in the GitHub repository khadinakbarlabs/shopify-app-builder (2 stars, last pushed 15d ago), licensed MIT. It adds 21 tokens to every session and 472 once invoked, about $0.0001 per session on Opus 5.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-31.