Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
40rty-ai avatar

Shopify Admin Inventory Valuation Report

  • 7 installs
  • 173 repo stars
  • Updated June 26, 2026
  • 40rty-ai/shopify-admin-skills

shopify-admin-inventory-valuation-report is a read-only Claude Code skill that calculates total Shopify inventory value (quantity × unit cost) broken down by location and vendor.

About

This Claude Code skill calculates the total on-hand inventory value for a Shopify store as quantity times unit cost, broken down by location and by vendor. An operator uses it for periodic balance-sheet reconciliation, insurance valuation, or cost-of-goods reporting. It is read-only; variants with no cost set are included at $0.

  • Calculates total inventory value (quantity × unit cost) broken down by location and vendor
  • Built for balance-sheet reconciliation, insurance valuation, and cost-of-goods reporting
  • Read-only; runs locations, productVariants, and inventoryItems queries only

Shopify Admin Inventory Valuation Report by the numbers

  • 7 all-time installs (skills.sh)
  • Ranked #1,583 of 2,064 Data Science & ML skills by installs in the Skillselion catalog
  • Data as of Aug 1, 2026 (Skillselion catalog sync)
At a glance

shopify-admin-inventory-valuation-report capabilities & compatibility

Free; needs read_products and read_inventory scopes on a Shopify CLI session.

Capabilities
inventory valuation · cost of goods report · vendor breakdown
Use cases
data analysis
Pricing
Free
From the docs

What shopify-admin-inventory-valuation-report says it does

Calculates the total inventory value (on-hand quantity × unit cost) broken down by location and vendor.
SKILL.md
Used for periodic balance sheet reconciliation, insurance valuation, and cost-of-goods reporting.
SKILL.md
npx skills add https://github.com/40rty-ai/shopify-admin-skills --skill shopify-admin-inventory-valuation-report

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs7
repo stars173
Last updatedJune 26, 2026
Repository40rty-ai/shopify-admin-skills

What it does

Report total Shopify inventory value by location and vendor for accounting and insurance.

Who is it for?

Balance-sheet reconciliation, insurance valuation, and cost-of-goods reporting from Shopify inventory data.

Skip if: Changing inventory quantities or costs; it runs no mutations.

When should I use this skill?

You need the current dollar value of on-hand inventory by location or vendor.

What you get

A valuation report totaling quantity × unit cost, aggregated by location and vendor.

  • Inventory value totals aggregated by location and by vendor

By the numbers

  • 3 breakdown modes (location, vendor, both)
  • 3-query workflow (locations, productVariants, inventoryItems)

Files

SKILL.mdMarkdownGitHub ↗

Purpose

Calculates the total inventory value (on-hand quantity × unit cost) broken down by location and vendor. Used for periodic balance sheet reconciliation, insurance valuation, and cost-of-goods reporting. Read-only — no mutations.

Prerequisites

  • Authenticated Shopify CLI session: shopify store auth --store <domain> --scopes read_products,read_inventory
  • API scopes: read_products, read_inventory
  • Unit costs must be set on inventory items for accurate valuation (variants without cost are included at $0)

Parameters

ParameterTypeRequiredDefaultDescription
storestringyesStore domain (e.g., mystore.myshopify.com)
breakdownstringnobothBreakdown level: location, vendor, or both
include_zero_costboolnotrueInclude items with no cost set (shown as $0)
formatstringnohumanOutput format: human or json

Safety

ℹ️ Read-only skill — no mutations are executed. Safe to run at any time.

Workflow Steps

1. OPERATION: locations — query Inputs: first: 50, active locations only Expected output: All active location IDs and names

2. OPERATION: productVariants — query Inputs: first: 250, select sku, inventoryQuantity, product { vendor }, inventoryItem { id, unitCost }, pagination cursor Expected output: All variants with cost and stock; paginate until hasNextPage: false

3. OPERATION: inventoryItems — query Inputs: Batch by inventory item IDs; fetch inventoryLevels per location Expected output: Per-location quantities for each inventory item

4. Calculate: for each (variant, location) pair: value = quantity × unit_cost; aggregate by location and vendor

GraphQL Operations

# locations:query — validated against api_version 2025-01
query ActiveLocationsForValuation {
  locations(first: 50, includeInactive: false) {
    edges {
      node {
        id
        name
        isActive
      }
    }
  }
}
# productVariants:query — validated against api_version 2025-01
query VariantsForValuation($after: String) {
  productVariants(first: 250, after: $after) {
    edges {
      node {
        id
        sku
        inventoryQuantity
        product {
          id
          title
          vendor
        }
        inventoryItem {
          id
          unitCost {
            amount
            currencyCode
          }
          tracked
        }
      }
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
# inventoryItems:query — validated against api_version 2025-01
query InventoryLevelsByLocation($ids: [ID!]!) {
  nodes(ids: $ids) {
    ... on InventoryItem {
      id
      sku
      inventoryLevels(first: 20) {
        edges {
          node {
            location {
              id
              name
            }
            quantities(names: ["on_hand"]) {
              name
              quantity
            }
          }
        }
      }
    }
  }
}

Session Tracking

Claude MUST emit the following output at each stage. This is mandatory.

On start, emit:

╔══════════════════════════════════════════════╗
║  SKILL: Inventory Valuation Report           ║
║  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):

══════════════════════════════════════════════
INVENTORY VALUATION REPORT
  Total inventory value:  $<amount> <currency>
  SKUs included:          <n>  (of which <n> have no cost)

  By Location:
    Warehouse A          $<amount>
    Warehouse B          $<amount>

  By Vendor:
    Vendor X             $<amount>
    Vendor Y             $<amount>
  Output: inventory_valuation_<date>.csv
══════════════════════════════════════════════

For format: json, emit:

{
  "skill": "inventory-valuation-report",
  "store": "<domain>",
  "total_value": 0,
  "currency": "USD",
  "skus_included": 0,
  "zero_cost_skus": 0,
  "by_location": [],
  "by_vendor": [],
  "output_file": "inventory_valuation_<date>.csv"
}

Output Format

CSV file inventory_valuation_<YYYY-MM-DD>.csv with columns: variant_id, sku, product_title, vendor, location, quantity_on_hand, unit_cost, total_value, currency

Error Handling

ErrorCauseRecovery
THROTTLEDAPI rate limit exceededWait 2 seconds, retry up to 3 times
No unit cost setVariants without cost dataInclude at $0, flag in report
No active locationsStore has no locations configuredExit with error

Best Practices

  • Run at month-end for balance sheet reconciliation — compare with your accounting system to identify discrepancies.
  • Items with no cost set will appear as $0 and understate total value. Use the output to identify and fill cost gaps before the next run.
  • For insurance purposes, use the total value as the minimum replacement cost baseline — add a markup for retail pricing if required by your policy.
  • Pair with dead-stock-identifier to understand what portion of your inventory value is tied up in slow-moving stock.

Related skills

FAQ

What if a variant has no cost?

Variants without a cost set are included in the valuation at $0.

How is it broken down?

By location, by vendor, or both, controlled by the breakdown parameter (default both).

Data Science & MLecommercefinance

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.