shopify-admin-inventory-valuation-report
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "shopify-admin-inventory-valuation-report":https://skillpi.com/zh/skills/deepskill-e0b98731ff74a5c557424335dbe5ab998847d12c919c90a58e8ef1e58b142343。安装前核对上游来源和版本:https://github.com/40RTY-ai/shopify-admin-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
只读:按地点和供应商计算库存总价值(数量×成本),用于会计与保险核算。
介绍来源: third_party · 40RTY-ai · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 输入和输出
- 翻译待完成,请参阅来源文档。
- 软件、账号及付费要求
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: shopify-admin-inventory-valuation-report
role: merchandising
description: "Read-only: calculates total inventory value (quantity × cost) per location and per vendor for accounting and insurance."
toolkit: shopify-admin, shopify-admin-execution
api_version: "2025-01"
graphql_operations:
- inventoryItems:query
- locations:query
- productVariants:query
status: stable
compatibility: Claude Code, Cursor, Codex, Gemini CLIPurpose
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
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| store | string | yes | — | Store domain (e.g., mystore.myshopify.com) |
| breakdown | string | no | both | Breakdown level: location, vendor, or both |
| include_zero_cost | bool | no | true | Include items with no cost set (shown as $0) |
| format | string | no | human | Output format: human or json |
Safety
ℹ️ Read-only skill — no mutations are executed. Safe to run at any time.
Workflow Steps
-
OPERATION:
locations— query Inputs:first: 50, active locations only Expected output: All active location IDs and names -
OPERATION:
productVariants— query Inputs:first: 250, selectsku,inventoryQuantity,product { vendor },inventoryItem { id, unitCost }, pagination cursor Expected output: All variants with cost and stock; paginate untilhasNextPage: false -
OPERATION:
inventoryItems— query Inputs: Batch by inventory item IDs; fetchinventoryLevelsper location Expected output: Per-location quantities for each inventory item -
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
| Error | Cause | Recovery |
|---|---|---|
THROTTLED |
API rate limit exceeded | Wait 2 seconds, retry up to 3 times |
| No unit cost set | Variants without cost data | Include at $0, flag in report |
| No active locations | Store has no locations configured | Exit 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-identifierto understand what portion of your inventory value is tied up in slow-moving stock.
版本历史
-
v1.1.0
GitHub ↗
原版更新说明
## 🤖 New category: Agentic Commerce Readiness The fix-it side of the [**agentiq.report**](https://agentiq.report) audit. The audit tells operators *where* AI shopping agents (ChatGPT, Gemini, Perplexity, agentic checkout) can't find, read, or recommend their store. This release adds **10 skills that remediate those findings** via the native Shopify Admin GraphQL toolkit — closing the loop: **audit finds the gap → run the matching skill → re-audit confirms.** Every skill declares the audit **signals** it fixes (`audit_signals` frontmatter), so a finding in the report maps directly to the skill that resolves it. ### Skills - **`agentic-readiness-audit`** — flagship, read-only store-side scorecard that routes each gap to its fix skill - **`agentic-product-jsonld-backfill`** — barcode/GTIN, vendor, product type for complete Product JSON-LD - **`agentic-image-alt-text`** — descriptive alt text on product media - **`agentic-description-enrichment`** — fact-rich descriptions for AI quoting - **`agentic-metafields-setup`** — define + populate agentic metafields for filtering - **`agentic-product-taxonomy`** — Shopify Standard Product Taxonomy categories - **`agentic-crawler-access`** — allow GPTBot/ClaudeBot/PerplexityBot… in `robots.txt.liquid` - **`agentic-llms-txt`** — publish a curated `/llms.txt` for AI assistants - **`agentic-organization-schema`** — Organization JSON-LD (sameAs, contactPoint) into the theme - **`agentic-policy-readability`** — machine-readable shipping/returns policies Plus a weekly **`agentic-readiness-monitor`** routine that re-audits and alerts on regressions. ### Stats **116 skills across 11 categories** (was 106/10), **21 routines** (was 20). All GraphQL validated against the live Admin 2025-01 schema; `pnpm validate:index` passes (116 skills, 64 operations). ### Notes Theme-editing and policy skills default to `dry_run`/`audit` mode, write inside managed `# BEGIN/END` blocks, and recommend duplicating the theme first.
当前收录版本
0.0.1
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 面向电商财务/运营人员的高频刚需场景:会计对账、保险估值、COGS报告
- 提供端到端闭环流程:数据拉取→计算→CSV输出→后续行动建议
- 明确解决实际业务痛点:库存价值核算自动化
亮点
- description清晰准确:'只读:按地点和供应商计算库存总价值'
- frontmatter中description完整且位置正确
- 触发词覆盖合理:inventory valuation, location, vendor, cost等
亮点
- Workflow Steps分4步,每步有OPERATION、Inputs、Expected output
- 包含完整端到端示例:GraphQL查询代码块+Session Tracking输出模板
- frontmatter完整:name, role, description, toolkit, api_version等
- 包含Error Handling、Best Practices、Output Format等必要章节
亮点
- 工具来源明确:shopify-admin toolkit,API version 2025-01
- GraphQL操作已验证版本兼容性
- 覆盖主要异常:THROTTLED、no unit cost、no active locations
- 重试机制完善:rate limit时wait 2s + retry up to 3 times
- read-only skill,无不可逆操作风险
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
翻译待完成,请参阅来源文档。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。