shopline-graphql

shopline-graphql is a skill for Claude Code, Codex from lunw/shopline-ai-toolkit-dsh. It costs 58 tokens per session (886 once invoked), scanned A, original, MIT.

Instructions for using SHOPLINE's GraphQL APIs, which let an app request or change store data through structured queries. They cover both the Admin API for store management and the Storefront API for customer-facing features.

In plain words
What is it for?
Use it to design or generate Admin and Storefront queries and mutations, work with SHOPLINE global IDs, and check GraphQL code against the SHOPLINE schema.
Why use it?
It helps you form valid SHOPLINE requests while accounting for versioned endpoints, global object IDs, embedded errors, request-cost limits, and query-depth limits.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to design or generate Admin and Storefront queries and mutations, work with SHOPLINE global IDs, and check GraphQL code against the SHOPLINE schema.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lunw/shopline-ai-toolkit-dsh/shopline-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 lunw/shopline-ai-toolkit-dsh --skill shopline-graphql
Clone the repo
git clone --depth 1 https://github.com/lunw/shopline-ai-toolkit-dsh

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/lunw/shopline-ai-toolkit-dsh/shopline-graphql/github.svg)](https://agentmods.dev/skills/lunw/shopline-ai-toolkit-dsh/shopline-graphql)
Your own site
<a href="https://agentmods.dev/skills/lunw/shopline-ai-toolkit-dsh/shopline-graphql"><img src="https://agentmods.dev/badge/skills/lunw/shopline-ai-toolkit-dsh/shopline-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 shopline-graphql

Your own site · 80×15
<a href="https://agentmods.dev/skills/lunw/shopline-ai-toolkit-dsh/shopline-graphql"><img src="https://agentmods.dev/badge/skills/lunw/shopline-ai-toolkit-dsh/shopline-graphql.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 886 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.00058 $0.00886
Opus 5 $0.00029 $0.00443
Sonnet 5 $0.00012 $0.00177
Haiku 4.5 $0.00006 $0.00089

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

Security

Grade A, and why

shopline-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 12d 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/shopline-graphql/SKILL.md · 66 lines

How it starts

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

SHOPLINE GraphQL APIs (Admin + Storefront)

SHOPLINE exposes two GraphQL surfaces. Both use quarterly versions (vYYYYMMDD) and return HTTP 200 with errors embedded for most business failures.

Endpoints

Surface Endpoint
Admin GraphQL POST https://{handle}.myshopline.com/admin/graph/{version}/graphql.json
Storefront GraphQL POST https://{handle}.myshopline.com/storefront/graph/{version}/graphql.json

Headers: Content-Type: application/json, Authorization: Bearer {accessToken} (Admin). Storefront calls use storefront customer access tokens — see the Storefront API docs; the schema is browsable in the docs Explorer (/graphql/storefront).

Global IDs

GraphQL objects are addressed by global IDs:

gid://shopline/{object_name}/{id}

e.g. gid://shopline/Customer/1. Query an object's global ID first, then reuse it in mutations and follow-up queries. Never fabricate IDs — always fetch them.

Query limits (Admin)

  • Cost-point rate limiting: every request costs points; complex queries cost more. HTTP 429 Too many request means you exceeded the budget — simplify the query or wait.
  • Max field nesting: 13 levels. A deeper query returns HTTP 200 with "message": "maximum query depth exceeded 14 > 13" (extensions.classification: ExecutionAborted).
  • Keep selections minimal: only the fields you actually need (also cheaper).

Errors

Common business codes inside errors[].extensions.code (HTTP still 200):

Code Meaning
REQUEST_LIMIT_EXCEEDED rate limited — retry later
PARAM_ILLEGAL wrong parameter type/format
DATA_NOT_EXIST the object does not exist
REMOTE_ERROR / SYSTEM_ERROR / INNER_FAIL platform-side failures — retry
TOO_MANY_REQUESTS wait minutes
ACCESS_TOKEN_INVALID / ACCESS_TOKEN_IS_EXPIRED token problems — refresh (see shopline-oauth)
HTTP 402 Store has been frozen or closed

Generating & validating operations

Read the full file on GitHub · 66 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. 12d ago First seen · 66 lines · 58 tokens per session scan A af6d891b5f40

Subscribe to this mod's changes

shopline-graphql is a skill published in the GitHub repository lunw/shopline-ai-toolkit-dsh (5 stars, last pushed 16d ago), licensed MIT. It adds 58 tokens to every session and 886 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

pipefy-api-fallback

Use this skill when an MCP tool fails AND the introspection skill could not resolve the problem. This is the last-resort fallback (Tier 3): call the Pipefy GraphQL API directly using curl or httpx, authenticating with the Service Account (OAuth2) or a Personal Access Token (PAT) available as env var. Follow the 3-tier…

pipefy/ai-toolkit · 86 tokens

pipefy-introspection

Use this skill when you need to discover GraphQL type shapes, mutation signatures, enum values, or execute arbitrary GraphQL as a fallback. This is the first fallback tier (Tier 2) when dedicated MCP tools fail or don't exist for an operation. 7 MCP tools.

pipefy/ai-toolkit · 61 tokens

yao-process

Yao process execution expert. ALWAYS invoke this skill when the user needs to call a Yao process, query data models, run scripts, or check process permissions. Do not call processes without checking this skill first.

YaoApp/yao · 47 tokens

daytona-cloud-server

Daytona cloud server, Den sandbox, desktop plus cloud e2e, marketplace server, worker proxy, cloud auth, org policies, connect Electron to Den. Use for server-side setup in validated flows.

Devin-AXIS/iPolloWork · 46 tokens

stripe-billing-subscriptions

Analyze Stripe customers, subscriptions, prices, invoices, payment status, and lifecycle transitions with explicit environment and object scope.

Devin-AXIS/iPolloWork · 29 tokens

kotlin-ktor-patterns

Ktor server patterns including routing DSL, plugins, authentication, Koin DI, kotlinx.serialization, WebSockets, and testApplication testing. Use when building a Ktor server — routing, plugins, auth, DI, serialization, or tests.

gongyijie85/dsh-ecc · 55 tokens