bc-api-graphql

bc-api-graphql is a skill for Claude Code from OrcaQubits/agentic-commerce-skills-plugins. It costs 45 tokens per session (1,363 once invoked), scanned A, original, MIT.

A guide to the BigCommerce GraphQL Storefront API, which lets browser-based storefronts request products, categories, carts, checkout data, customers, and site content. GraphQL lets the client ask for the fields it needs in a request.

In plain words
What is it for?
Use it for client-side features in themes, single-page stores, and headless storefronts built with frameworks such as React or Vue.
Why use it?
It helps storefronts fetch only the data they need without relying on many separate browser requests.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the bigcommerce-commerce plugin — 20 skills, 1 agent shipped together

Good fit Use it for client-side features in themes, single-page stores, and headless storefronts built with frameworks such as React or Vue.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/orcaqubits/agentic-commerce-skills-plugins/bc-api-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 OrcaQubits/agentic-commerce-skills-plugins --skill bc-api-graphql
Clone the repo
git clone --depth 1 https://github.com/OrcaQubits/agentic-commerce-skills-plugins

Made for: Claude Code.

Or install bigcommerce-commerce, the plugin that ships this one along with the rest of its 20 skills, 1 agent.

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 bc-api-graphql

README.md
[![agentmods](https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/bc-api-graphql/github.svg)](https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/bc-api-graphql)
Your own site
<a href="https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/bc-api-graphql"><img src="https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/bc-api-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 bc-api-graphql

Your own site · 80×15
<a href="https://agentmods.dev/skills/orcaqubits/agentic-commerce-skills-plugins/bc-api-graphql"><img src="https://agentmods.dev/badge/skills/orcaqubits/agentic-commerce-skills-plugins/bc-api-graphql.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,363 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.00045 $0.01363
Opus 5 $0.00023 $0.00681
Sonnet 5 $0.00009 $0.00273
Haiku 4.5 $0.00005 $0.00136

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

Security

Grade A, and why

bc-api-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 2d 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.

bigcommerce-commerce/skills/bc-api-graphql/SKILL.md · 244 lines

How it starts

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

BigCommerce GraphQL Storefront API

Before writing code

Fetch live docs:

  1. Fetch https://docs.bigcommerce.com/developer/docs/storefront/guides/graphql-storefront-api/overview for GraphQL overview
  2. Web-search site:developer.bigcommerce.com graphql storefront api reference for schema reference
  3. Web-search bigcommerce graphql storefront token for token creation

Architecture

What It Is

A client-side GraphQL API designed for storefront applications:

  • Endpoint: https://{store_domain}/graphql
  • Designed for browser/frontend usage (not server-to-server)
  • Fetch exactly the data you need in a single request
  • Supports: products, categories, cart, checkout, customer, site settings, content

When to Use

  • Stencil themes — client-side AJAX calls for dynamic content
  • Headless storefronts — Catalyst/Next.js primary data source
  • Single-page applications — React, Vue, Angular storefronts
  • Progressive enhancement — add dynamic features to server-rendered pages

GraphQL vs REST

Feature GraphQL Storefront REST API
Audience Frontend/browser Backend/server
Auth Storefront token API account token
Data shape Client-defined Server-defined
Rate limits Complexity-based Request count
Mutations Cart, checkout, login Full CRUD

Authentication

Storefront API Token

Create via REST API:

POST /v3/storefront/api-token
{
  "channel_id": 1,
  "expires_at": 1893456000,
  "allowed_cors_origins": ["https://my-storefront.com"]
}

Returns a token to use as Authorization: Bearer {token} header.

Customer Impersonation Token

For accessing customer-specific data (addresses, orders, wishlists):

POST /v3/storefront/api-token-customer-impersonation
{
  "channel_id": 1,
  "expires_at": 1893456000
}

Combine with X-Bc-Customer-Id header for customer-specific queries.

Stencil Theme Context

In Stencil themes, the GraphQL token is available automatically:

  • Use {{inject 'graphQLToken' settings.storefront_api.token}} in templates
  • Or fetch from /api/storefront/graphql-token endpoint

Read the full file on GitHub · 244 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. 2d ago First seen · 244 lines · 45 tokens per session scan A 67dc96637d47

Subscribe to this mod's changes

bc-api-graphql is a skill published in the GitHub repository OrcaQubits/agentic-commerce-skills-plugins (39 stars, last pushed 2d ago), licensed MIT. It adds 45 tokens to every session and 1,363 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-09-15.

Related

Other skills, from other repositories

archestra-dev-frontend

Use when modifying Archestra frontend Next.js/React code, UI components, forms, TanStack Query hooks, generated API client usage, frontend copy, or documentation links.

archestra-ai/archestra · 40 tokens

dflow-phantom-connect

Build Solana wallet-connected apps with Phantom Connect SDKs and DFlow spot trading. Use when user asks to connect a Phantom wallet, integrate Phantom in React, React Native, or vanilla JS, sign messages or transactions, build token-gated pages, mint NFTs, accept crypto payments, or swap/stream tokens with DFlow.…

internet-court/internet-court-skill · 122 tokens

near-dapp

Build NEAR Protocol dApps. Use for: (1) creating new NEAR dApps with create-near-app (Vite+React, Next.js), (2) adding NEAR wallet connection to existing apps with @hot-labs/near-connect and near-connect-hooks, (3) building frontend UI for NEAR smart contracts, (4) integrating wallet sign-in/sign-out, contract calls…

internet-court/internet-court-skill · 98 tokens

weaverse-hydrogen

Build Shopify Hydrogen storefronts with Weaverse — components, schemas, loaders, theming, data fetching, React Router v7, deployment, and advanced features.

Weaverse/shopify-hydrogen-skills · 38 tokens

shopify-hydrogen

Core Shopify Hydrogen APIs — createHydrogenContext, cart handler, CartForm, caching strategies, pagination, SEO, variant selection, analytics, and CSP.

Weaverse/shopify-hydrogen-skills · 37 tokens

portable-text-serialization

Render and serialize Portable Text to React, Svelte, Vue, Astro, HTML, Markdown, and plain text. Use when implementing Portable Text rendering in any frontend framework, building custom serializers for non-standard block types, converting Portable Text to HTML strings server-side, converting Portable Text to Markdown…

sanity-io/agent-toolkit · 85 tokens