shopify-admin-agentic-…
Edit the theme's robots.txt.liquid to explicitly allow AI crawlers (GPTBot, ClaudeBot,…
Read-only: lists B2B company accounts with locations, catalogs, and payment terms for wholesale management.
$ npx -y skills add 40rty-ai/shopify-admin-skills --skill shopify-admin-b2b-company-overview --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/shopify-admin-b2b-company-overviewContext preview
The summary Claude sees to decide when to auto-load this skill.
Read-only: lists B2B company accounts with locations, catalogs, and payment terms for wholesale management.
name: shopify-admin-b2b-company-overview role: customer-ops description: "Read-only: lists B2B company accounts with locations, catalogs, and payment terms for wholesale management." toolkit: shopify-admin, shopify-admin-execution api_version: "2025-01" graphql_operations: - companies:query - companyLocations:query status: stable compatibility: Claude Code, Cursor, Codex, Gemini CLI
Queries all B2B company accounts and their associated locations, price lists, and payment terms. Provides a consolidated view of the wholesale account portfolio for ops and sales teams. Read-only — no mutations. Requires Shopify B2B (available on Shopify Plus).
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | store | string | yes | — | Store domain (e.g., mystore.myshopify.com) | | format | string | no | human | Output format: `human` or `json` |
> ℹ️ Read-only skill — no mutations are executed. Safe to run at any time.
1. **OPERATION:** `companies` — query **Inputs:** `first: 250`, select `name`, `locations`, `contacts`, `createdAt`, pagination cursor **Expected output:** All B2B company accounts; paginate until `hasNextPage: false`
2. **OPERATION:** `companyLocations` — query **Inputs:** `first: 250` per company, select `name`, `buyerExperienceConfiguration { paymentTermsTemplate, checkoutToDraft }`, `catalogsCount` **Expected output:** Company locations with payment and catalog configuration
# companies:query — validated against api_version 2025-01
query B2BCompanies($after: String) {
companies(first: 250, after: $after) {
edges {
node {
id
name
note
createdAt
updatedAt
locationsCount {
count
}
contactsCount {
count
}
orders(first: 1, sortKey: CREATED_AT, reverse: true) {
edges {
node {
createdAt
totalPriceSet {
shopMoney {
amount
currencyCode
}
}
}
}
}
}
}
pageInfo {
hasNextPage
endCursor
}
}
}# companyLocations:query — validated against api_version 2025-01
query CompanyLocationsDetail($companyId: ID!) {
company(id: $companyId) {
id
name
locations(first: 50) {
edges {
node {
id
name
shippingAddress {
countryCode
city
}
buyerExperienceConfiguration {
paymentTermsTemplate {
name
dueInDays
}
checkoutToDraft
}
catalogsCount {
count
}
}
}
}
}
}**Claude MUST emit the following output at each stage. This is mandatory.**
**On start**, emit:
╔══════════════════════════════════════════════╗ ║ SKILL: B2B Company Overview ║ ║ Store: <store domain> ║ ║ Started: <YYYY-MM-DD HH:MM UTC> ║ ╚══════════════════════════════════════════════╝
**After each step**, emit:
[N/TOTAL] <QUERY|MUTATION> <OperationName>
→ Params: <brief summary of key inputs>
→ Result: <count or outcome>**On completion**, emit:
For `format: human` (default):
══════════════════════════════════════════════
B2B COMPANY OVERVIEW
Total companies: <n>
Total locations: <n>
With net terms: <n>
With catalogs: <n>
Company: <name>
Locations: <n> | Last order: <date>
Payment terms: Net 30
Output: b2b_companies_<date>.csv
══════════════════════════════════════════════For `format: json`, emit:
{
"skill": "b2b-company-overview",
"store": "<domain>",
"total_companies": 0,
"total_locations": 0,
"companies": [],
"output_file": "b2b_companies_<date>.csv"
}CSV file `b2b_companies_<YYYY-MM-DD>.csv` with columns: `company_id`, `company_name`, `locations_count`, `contacts_count`, `last_order_date`, `last_order_value`, `currency`, `payment_terms`, `has_catalog`
| Error | Cause | Recovery | |-------|-------|----------| | `THROTTLED` | API rate limit exceeded | Wait 2 seconds, retry up to 3 times | | Empty companies list | B2B not configured or no accounts | Exit with 0 companies, note B2B Plus requirement | | `companies` query not available | Store not on Shopify Plus | Return clear error: B2B requires Shopify Plus |
Community-maintained AI agent skills for operating Shopify stores — workflows, optimization, reports and more
Edit the theme's robots.txt.liquid to explicitly allow AI crawlers (GPTBot, ClaudeBot,…
Rewrite thin product descriptions into structured, fact-rich copy (materials, fit, use-cases,…
Generate and set descriptive alt text on product images so AI agents (which can't 'see'…
Generate and publish an /llms.txt guide (brand summary, flagship products, key policies,…
Define and populate agentic-commerce metafields (material, attributes, key features, specs,…
Inject an Organization JSON-LD block (name, logo, sameAs social links, contactPoint) into the…