shopify-admin-agentic-…
Edit the theme's robots.txt.liquid to explicitly allow AI crawlers (GPTBot, ClaudeBot,…
Read-only: shows which products are published to which sales channels and flags unpublished active products.
$ npx -y skills add 40rty-ai/shopify-admin-skills --skill shopify-admin-publication-channel-audit --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/shopify-admin-publication-channel-auditContext preview
The summary Claude sees to decide when to auto-load this skill.
Read-only: shows which products are published to which sales channels and flags unpublished active products.
name: shopify-admin-publication-channel-audit role: store-management description: "Read-only: shows which products are published to which sales channels and flags unpublished active products." toolkit: shopify-admin, shopify-admin-execution api_version: "2025-01" graphql_operations: - products:query - publications:query status: stable compatibility: Claude Code, Cursor, Codex, Gemini CLI
Queries all active products and the publications (sales channels) they are visible on. Flags products that are active but missing from key channels (e.g., Online Store, Google Shopping, Meta). Prevents silent revenue loss from products that exist in the catalog but are invisible on sales channels. Read-only — no mutations.
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | store | string | yes | — | Store domain (e.g., mystore.myshopify.com) | | required_channels | array | no | ["Online Store"] | Channel names that all active products should be on | | format | string | no | human | Output format: `human` or `json` |
> ℹ️ Read-only skill — no mutations are executed. Safe to run at any time.
1. **OPERATION:** `publications` — query **Inputs:** `first: 50` **Expected output:** All available publications (sales channels) with `id`, `name`
2. **OPERATION:** `products` — query **Inputs:** `query: "status:active"`, `first: 250`, select `publishedOnCurrentPublication`, `resourcePublications { publication { name } }`, pagination cursor **Expected output:** Active products with their channel publication status
3. For each product: check if it appears in each `required_channels` — flag if missing from any
# publications:query — validated against api_version 2025-01
query SalesChannels {
publications(first: 50) {
edges {
node {
id
name
supportsFuturePublishing
app {
title
}
}
}
}
}# products:query — validated against api_version 2025-01
query ProductPublications($after: String) {
products(first: 250, after: $after, query: "status:active") {
edges {
node {
id
title
handle
status
resourcePublications(first: 20) {
edges {
node {
publication {
id
name
}
publishDate
isPublished
}
}
}
}
}
pageInfo {
hasNextPage
endCursor
}
}
}**Claude MUST emit the following output at each stage. This is mandatory.**
**On start**, emit:
╔══════════════════════════════════════════════╗ ║ SKILL: Publication Channel Audit ║ ║ 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):
══════════════════════════════════════════════
PUBLICATION CHANNEL AUDIT
Active products: <n>
Sales channels found: <n>
Products missing channels: <n>
Missing from "Online Store":
"<product title>" (<handle>)
Output: publication_audit_<date>.csv
══════════════════════════════════════════════For `format: json`, emit:
{
"skill": "publication-channel-audit",
"store": "<domain>",
"active_products": 0,
"channels_found": 0,
"missing_channel_count": 0,
"output_file": "publication_audit_<date>.csv"
}CSV file `publication_audit_<YYYY-MM-DD>.csv` with columns: `product_id`, `title`, `handle`, `channel_name`, `is_published`, `publish_date`, `issue`
| Error | Cause | Recovery | |-------|-------|----------| | `THROTTLED` | API rate limit exceeded | Wait 2 seconds, retry up to 3 times | | Channel not found | Required channel not installed or renamed | Report channel as missing in summary | | No active products | Empty catalog | Exit with 0 results |
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…