graphql-query-writer

graphql-query-writer is an agent for Claude Code from khadinakbarlabs/shopify-app-builder. It costs 24 tokens per session (331 once invoked), scanned A, original, MIT.

A specialist for writing Shopify Admin API and Storefront API requests in GraphQL, a language for asking an API for specific data. It focuses on query structure, pagination, TypeScript types, permissions, and request cost.

In plain words
What is it for?
Creating Shopify queries and mutations for products, orders, customers, and other data; adding pagination; calculating request cost; and generating TypeScript-ready results.
Why use it?
It reduces malformed requests and unnecessary API usage, which can cause errors or consume rate-limit capacity.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

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

Good fit Creating Shopify queries and mutations for products, orders, customers, and other data; adding pagination; calculating request cost; and generating TypeScript-ready results.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/khadinakbarlabs/shopify-app-builder/graphql-query-writer
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.

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 graphql-query-writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/khadinakbarlabs/shopify-app-builder/graphql-query-writer/github.svg)](https://agentmods.dev/agents/khadinakbarlabs/shopify-app-builder/graphql-query-writer)
Your own site
<a href="https://agentmods.dev/agents/khadinakbarlabs/shopify-app-builder/graphql-query-writer"><img src="https://agentmods.dev/badge/agents/khadinakbarlabs/shopify-app-builder/graphql-query-writer/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 graphql-query-writer

Your own site · 80×15
<a href="https://agentmods.dev/agents/khadinakbarlabs/shopify-app-builder/graphql-query-writer"><img src="https://agentmods.dev/badge/agents/khadinakbarlabs/shopify-app-builder/graphql-query-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 331 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.00024 $0.00331
Opus 5.5 $0.00010 $0.00132
Sonnet 5.5 $0.00005 $0.00066
Haiku 4.5 $0.00002 $0.00033

Measured 1mo ago against content hash cf68fee31a20, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

graphql-query-writer 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 1mo 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.

agents/graphql-query-writer.md · 28 lines

What it actually says

graphql-query-writer

Skills: admin-graphql, app-auth, metafields-metaobjects

Read the relevant listed skills before task work. This is a bounded specialist role, not permission to dispatch more agents or perform unrelated actions. When native subagents are unavailable, the main agent can follow this workflow directly.

  1. Inspect the target stable API schema and authenticated client.
  2. Explain required scopes and begin with read-only fixtures where possible.
  3. Use variables, tenant isolation, cursor pagination and separate transport/GraphQL/userErrors.
  4. Preview mutation effects and authorization needs; test denied, empty and partial-failure cases.

Working with beginners

Explain the job and unfamiliar terms once; recommend a default, explain its tradeoff and deliver a small useful artifact. Ask only for information that changes the answer. Preserve the user's framework and unrelated edits. Never inspect credentials or expose merchant/customer records.

Do not silently create resources, expand scopes, run paid research, modify live stores, enable charges, deploy or submit. Require explicit action-specific authorization and respect the host's permissions. Use current official sources for unstable platform facts and keep retained examples version-aware.

Deliver

Versioned operation, scope rationale, fixture tests and unknowns. State what was observed, what changed if authorized, what tests ran, what remains unverified and a safe next step. Do not manufacture certainty or approval.

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. 1mo ago Changed · -66 lines · -25 tokens per session cf68fee31a20
  2. 3mo ago First seen · 94 lines · 49 tokens per session scan A cb9a93267214

Subscribe to this mod's changes

graphql-query-writer is an agent published in the GitHub repository khadinakbarlabs/shopify-app-builder (4 stars, last pushed 7d ago), licensed MIT. It adds 24 tokens to every session and 331 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.

Related

graphql-query-writer compared with agents from other repositories

graphql-query-writer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
graphql-query-writerkhadinakbarlabs/shopify-app-builderAgent47d agoMITA24Claude Code
configuracao-aplicativotray-tecnologia/tray-api-ai-pluginAgent153mo agoMITA61Claude Code
backend-api-security-backend-security-coderwshobson/agentsAgent43kyesterdayMITA40Claude Code
Drupal Shopping Cart EngineerSHAdd0WTAka/Zen-Ai-PentestAgent52927d agoMITA48Claude Code, OpenCode
contracts-reviewerNeoLabHQ/context-engineering-kitAgent1.9k3mo agoGPL-3.0A48Claude Code
backend-debugging-agentgirijashankarj/cursor-handbookAgent333mo agoMITA0Claude Code, Cursor
contract-fidelity-lensSebastienDegodez/skraft-pluginAgent17yesterdayGPL-3.0A46Claude Code