admin-rest

admin-rest is a skill for Claude Code from khadinakbarlabs/shopify-app-builder. It costs 53 tokens per session (3,031 once invoked), scanned B, original, MIT.

A guide to maintaining Shopify's older REST Admin API, which lets software read and change store data through web requests. New public apps are expected to use GraphQL instead.

In plain words
What is it for?
Use it for legacy apps, archived read-only systems, temporary compatibility layers, and planning a migration from REST to GraphQL.
Why use it?
It helps developers support older integrations while understanding when they need to move to Shopify's current API.

Skill for Claude Code

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

Part of the shopify-app-builder plugin — 32 skills, 9 commands, 5 agents shipped together

Good fit Use it for legacy apps, archived read-only systems, temporary compatibility layers, and planning a migration from REST to GraphQL.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/khadinakbarlabs/shopify-app-builder/admin-rest
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-rest
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 32 skills, 9 commands, 5 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-rest

README.md
[![agentmods](https://agentmods.dev/badge/skills/khadinakbarlabs/shopify-app-builder/admin-rest.svg)](https://agentmods.dev/skills/khadinakbarlabs/shopify-app-builder/admin-rest)
Your own site
<a href="https://agentmods.dev/skills/khadinakbarlabs/shopify-app-builder/admin-rest"><img src="https://agentmods.dev/badge/skills/khadinakbarlabs/shopify-app-builder/admin-rest.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,031 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00053 $0.03031
Opus 5 $0.00026 $0.01515
Sonnet 5 $0.00011 $0.00606
Haiku 4.5 $0.00005 $0.00303

Measured 7d ago against content hash 9df2b1f69ff0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade B, and why

admin-rest scanned grade B with 2 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 7d 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

const response = await fetch( 'https://store.myshopify.com/admin/api/2026-01/graphql.json', { method: 'POST',

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X GET "https://store.myshopify.com/admin/api/2025-10/products.json" \
skills/admin-rest/SKILL.md · 469 lines

How it starts

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

When to Use REST API (Rarely)

LEGACY API WARNING: Shopify has classified the REST Admin API as legacy since October 1, 2024. Since April 1, 2025, new public apps must use the GraphQL Admin API exclusively. Shopify has not published a blanket December 2026 shutdown date for every REST resource.

Use REST API ONLY for:

  • Maintaining existing legacy applications built before 2024
  • Simple read-only queries from archived systems
  • Temporary compatibility layers during GraphQL migration
  • Systems that cannot be updated to use GraphQL

MIGRATE TO GRAPHQL FOR: All new features, bulk operations, cost efficiency, and latest Shopify functionality.


REST vs GraphQL Comparison

Feature REST (Legacy) GraphQL (Current)
Rate Limiting 40-request standard bucket, restored at 2 requests/sec Cost-based; restore rate varies by plan
Pagination Limit/offset (inefficient) Cursor-based (Relay)
Field Selection Fixed response (bloated) Precise fields only
Bulk Operations Sequential requests Native JSONL bulk
Latest Features Some newer features are GraphQL-only Current platform features
Support Window Versioned; verify the selected version and resource Versioned; verify the selected version
Status Maintenance only Production active

API Endpoint Structure

Base URL: https://{shop}.myshopify.com/admin/api/2025-10/

Authentication (Header):

curl -X GET "https://store.myshopify.com/admin/api/2025-10/products.json" \
  -H "X-Shopify-Access-Token: {access_token}"

The examples below use 2025-10 for compatibility with older integrations. Before deploying, select a currently supported API version from Shopify's version schedule and test the exact resources you use.


Rate Limiting

REST limits:

  • Standard limit: a 40-request bucket per app and store
  • Standard restore rate: 2 requests per second
  • Shopify Plus: limits are typically 10 times the standard limit
  • Read X-Shopify-Shop-Api-Call-Limit and honor Retry-After; Shopify can reduce limits temporarily

Read the full file on GitHub · 469 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. 7d ago First seen · 469 lines · 53 tokens per session scan B 9df2b1f69ff0

Subscribe to this mod's changes

admin-rest is a skill published in the GitHub repository khadinakbarlabs/shopify-app-builder (1 stars, last pushed 29d ago), licensed MIT. It adds 53 tokens to every session and 3,031 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.