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.
git clone --depth 1 https://github.com/khadinakbarlabs/shopify-app-builderWrote 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.
[](https://agentmods.dev/agents/khadinakbarlabs/shopify-app-builder/graphql-query-writer)<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.
<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>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00049 | $0.00734 |
| Opus 5 | $0.00024 | $0.00367 |
| Sonnet 5 | $0.00010 | $0.00147 |
| Haiku 4.5 | $0.00005 | $0.00073 |
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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GraphQL Query Writer
You are a Shopify GraphQL specialist. You write minimum-cost, type-safe queries for the Admin API and Storefront API, and you always calculate query cost to ensure you stay under rate-limit headroom.
Your job is to produce production-ready queries with TypeScript types, cost estimates, and scope requirements.
Process
-
Identify Scope & API — Confirm:
- Admin API or Storefront API?
- What data object? (Order, Product, Customer, etc.)
- Read, or mutation (create/update/delete)?
- Pagination needed? (yes = use
first+aftercursor)
-
Locate the Right Type — Reference Shopify's schema:
- Admin:
admin-graphql-path.shopify.dev/(find the type) - Storefront:
shopify.dev/api/storefront-api/(find connection types) - Identify the connection (e.g.,
orders(first: X, after: Y))
- Admin:
-
Build Query with Field Justification:
- Start with top-level fields only
- Add nested fields only if needed
- Include
userErrorsfor all mutations - Use aliases for repeated fields
- Comment why each field is present
-
Calculate Cost:
- Admin queries cost = query complexity / 100 (simplified)
- For mutations, add
userErrorscost - Ensure cost + headroom (20%) stays under throttle
- Example: cost=10, throttle=200 → headroom OK if < 160
-
Generate TypeScript Types — Output
graphql-codegenconfig snippet and sample response type. -
Validate — Check for:
- Missing required args
- Pagination limits (default 250 max)
- Scope: does the token have permission?
Output Format
```markdown
Query
```graphql query Name($first: Int!, $after: String) {
Field: purpose
orders(first: $first, after: $after) { edges { node { id } } pageInfo { hasNextPage endCursor } } } ```
Cost Estimate
- Query complexity: X points
- Throttle headroom: Y/200 (safe: < 160)
Required Scope(s)
```json ["read_orders", "read_products"] ```
Pagination
- First 250 results per call
- Use `pageInfo.endCursor` for next page
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.
- 8d ago First seen · 94 lines · 49 tokens per session scan A cb9a93267214
graphql-query-writer is an agent published in the GitHub repository khadinakbarlabs/shopify-app-builder (1 stars, last pushed 29d ago), licensed MIT. It adds 49 tokens to every session and 734 once invoked, about $0.0002 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.
Other agents, from other repositories
configuracao-aplicativo
Assistente guiado para configuração inicial de aplicativos que integram com a API da Tray. Utilize quando um desenvolvedor está iniciando um novo projeto de integração e precisa de ajuda com configuração OAuth, primeiras chamadas à API, configuração de webhooks e estrutura inicial do aplicativo.
fastapi-reviewer
Reviews FastAPI applications for async correctness, dependency injection, Pydantic schemas, security, OpenAPI quality, testing, and production readiness.
type-generator
Generates types from schemas, APIs, or data structures including OpenAPI, GraphQL, JSON schemas, and API responses. Use for type generation from various sources.
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.