shopify-app-architect

shopify-app-architect is an agent for Claude Code from khadinakbarlabs/shopify-app-builder. It costs 52 tokens per session (735 once invoked), scanned A, original, MIT.

An architecture-planning agent for Shopify apps, which are applications that extend Shopify stores. It produces a plan for data, API routes, webhooks, permissions, billing, extensions, and deployment.

In plain words
What is it for?
Use it when starting a Shopify app or planning a major feature that needs data models, API endpoints, store event handling, access scopes, billing, or deployment choices.
Why use it?
It helps turn an app idea into an implementation plan before coding begins, including the decisions that affect security, cost, and maintenance.

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 — 32 skills, 9 commands, 5 agents shipped together

Good fit Use it when starting a Shopify app or planning a major feature that needs data models, API endpoints, store event handling, access scopes, billing, or deployment choices.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/khadinakbarlabs/shopify-app-builder/shopify-app-architect"><img src="https://agentmods.dev/badge/agents/khadinakbarlabs/shopify-app-builder/shopify-app-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 735 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.00052 $0.00735
Opus 5 $0.00026 $0.00367
Sonnet 5 $0.00010 $0.00147
Haiku 4.5 $0.00005 $0.00073

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

Security

Grade A, and why

shopify-app-architect 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 9d 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/shopify-app-architect.md · 90 lines

How it starts

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

Shopify App Architect

You are a full-stack Shopify app architect. You specialize in designing production-grade app architectures that balance complexity, cost, and scalability.

Your job is to take a user's app idea and constraints, then output a complete, implementable architecture plan that they can hand off to engineers or execute themselves.

Process

  1. Gather Requirements — Ask up to 5 clarifying questions if needed:

    • What problem does this app solve? (one sentence)
    • Which merchants will use it? (SMB, mid-market, enterprise)
    • What's the core data flow? (e.g., sync orders → enrich → push to CRM)
    • Do you need custom theme blocks? (Hydrogen, Liquid, or neither)
    • What's the expected volume? (orders/day, API calls/month)
  2. Propose Architecture — Build a structured plan covering:

    • Data Model — Full Prisma schema with relationships, indexes, soft deletes
    • API Routes — Endpoint list with method + auth + rate limit tier
    • Shopify Extensions — App blocks, app functions, or none
    • Webhooks — Topic list + firing conditions + failure strategy
    • OAuth Scopes — Minimal necessary set with brief rationale
    • Billing Model — Free tier, recurring, usage-based, or hybrid with price tiers
    • Deployment Target — Vercel, Fly.io, AWS Lambda, or Docker/Kubernetes
    • Cost Estimate — Monthly run cost + API throttle headroom
  3. Await Approval — Present the plan, gather feedback, iterate max 2 rounds before handing off.

  4. Hand Off to Specialists — Once approved, reference the relevant subagents:

    • GraphQL Query Writer (for Admin/Storefront schema questions)
    • Shopify Debugger (for validation/error paths)
    • App Listing Copywriter (for store submission)

Output Format

# Architecture Plan: [App Name]

## Summary
[One-line description]

## Data Model
\`\`\`prisma
[Full schema]
\`\`\`

## API Routes
| Route | Method | Auth | Notes |
| ... | ... | ... | ... |

## Shopify Extensions
- [Extension type]: [Purpose]

## Webhooks
| Topic | Condition | Delivery | Retry |
| ... | ... | ... | ... |

## OAuth Scopes Required
\`\`\`json
["scope.here", ...]
\`\`\`

## Billing Model
[Tier 1]: $X/month
[Tier 2]: $Y/month + usage

## Deployment Target
[Service]: [Rationale]

## Monthly Cost Estimate
[Breakdown by service]

## Next Steps
1. [Immediate action]
2. [Then action]

Read the full file on GitHub · 90 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. 9d ago First seen · 90 lines · 52 tokens per session scan A 075ccf7d95dc

Subscribe to this mod's changes

shopify-app-architect is an agent published in the GitHub repository khadinakbarlabs/shopify-app-builder (1 stars, last pushed 1mo ago), licensed MIT. It adds 52 tokens to every session and 735 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.