audit-scopes

audit-scopes is a command for Claude Code from khadinakbarlabs/shopify-app-builder. It costs 11 tokens per session (252 once invoked), scanned A, original, MIT.

A command for checking which permissions a Shopify app requests from a store and reducing them to what the app actually needs. API scopes are permissions such as reading products or changing orders.

In plain words
What is it for?
Use it to list scopes, find where each is used, connect permissions to app features, identify unused access, and remove scopes that are not needed.
Why use it?
It helps prevent unnecessary access and prepares a clear explanation of permissions for Shopify App Store review.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

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

Good fit Use it to list scopes, find where each is used, connect permissions to app features, identify unused access, and remove scopes that are not needed.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/khadinakbarlabs/shopify-app-builder/audit-scopes"><img src="https://agentmods.dev/badge/commands/khadinakbarlabs/shopify-app-builder/audit-scopes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 252 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.00011 $0.00252
Opus 5.5 $0.00004 $0.00101
Sonnet 5.5 $0.00002 $0.00050
Haiku 4.5 $0.00001 $0.00025

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

Security

Grade A, and why

audit-scopes 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 2mo 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.

commands/audit-scopes.md · 25 lines

What it actually says

audit-scopes

Skills: app-auth, admin-graphql, merchant-pain-prevention

Read the named skills from this plugin before following the workflow. Use only the relevant ones; commands guide work rather than grant permissions.

  1. Read non-secret declared config and map each operation to a documented scope.
  2. Explain unnecessary scopes, protected-data approvals and what will break if a scope is removed.
  3. Draft a minimal change with tests; do not reauthorize a store or expand access without approval.
  4. Compare declared versus observed granted permissions using supported redacted status, not token dumps.

Beginner-friendly delivery

Explain unfamiliar terms once, recommend one next action and state the expected result before executing. Preserve unrelated work. Never read credential caches or print secrets. Paid runs, store writes, scope/access expansion, charges, deployment and submission require explicit task-specific authorization.

Completion evidence

A per-scope rationale and exact unverified permissions. Show actual results, the remaining blocker and the next step; do not print anticipated success checkmarks. If the host cannot register commands, invoke the listed skills in ordinary language instead.

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. 2mo ago Changed · -39 lines · -9 tokens per session 6482a20c8d6a
  2. 3mo ago First seen · 64 lines · 20 tokens per session scan A d71fb6217378

Subscribe to this mod's changes

audit-scopes is a command published in the GitHub repository khadinakbarlabs/shopify-app-builder (4 stars, last pushed 11d ago), licensed MIT. It adds 11 tokens to every session and 252 once invoked, about $0.0000 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

audit-scopes compared with commands from other repositories

audit-scopes next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
audit-scopeskhadinakbarlabs/shopify-app-builderCommand411d agoMITA11Claude Code
dejavshulcz/deja-vuCommand1.7ktodayMITA17Claude Code
remove-deadcodecode-yeongyu/oh-my-openagentCommand71ktodaynoneA20OpenCode
get-unpublished-changescode-yeongyu/oh-my-openagentCommand71ktodaynoneA16OpenCode
feedbackdisplay-dev/skillCommand129d agoMITA22Claude Code
sm-searchdzmitrys-dev/supamemCommand1315d agoMITA16Claude Code
tray-referencia-apitray-tecnologia/tray-api-ai-pluginCommand153mo agoMITA23Claude Code