inventory-sync

inventory-sync is a skill for Claude Code from theYahia/WWmcp. It costs 17 tokens per session (521 once invoked), scanned A, original, MIT.

An inventory tool for Salla, an e-commerce platform, that checks product stock and changes quantities in bulk. It can identify products by SKU, variant, branch, or product ID.

In plain words
What is it for?
Use it to find sold-out products, inspect one item, update many stock quantities, correct a single product, and account for delayed bulk updates.
Why use it?
It removes repetitive stock checks and updates while making it possible to compare quantities before and after a change.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to find sold-out products, inspect one item, update many stock quantities, correct a single product, and account for delayed bulk updates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/theyahia/wwmcp/inventory-sync
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 theYahia/WWmcp --skill inventory-sync
Clone the repo
git clone --depth 1 https://github.com/theYahia/WWmcp

Made for: Claude Code.

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 inventory-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/theyahia/wwmcp/inventory-sync/github.svg)](https://agentmods.dev/skills/theyahia/wwmcp/inventory-sync)
Your own site
<a href="https://agentmods.dev/skills/theyahia/wwmcp/inventory-sync"><img src="https://agentmods.dev/badge/skills/theyahia/wwmcp/inventory-sync/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 inventory-sync

Your own site · 80×15
<a href="https://agentmods.dev/skills/theyahia/wwmcp/inventory-sync"><img src="https://agentmods.dev/badge/skills/theyahia/wwmcp/inventory-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 521 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00017 $0.00521
Opus 5.5 $0.00007 $0.00208
Sonnet 5.5 $0.00003 $0.00104
Haiku 4.5 $0.00002 $0.00052

Measured 2mo ago against content hash 05a8ca406730, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

inventory-sync 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 2mo 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.

servers/salla/.claude/skills/inventory-sync/SKILL.md · 54 lines

What it actually says

/inventory-sync — Stock Audit and Bulk Update

Algorithm

  1. Survey the catalogue with list_products (page, per_page up to 50, status: sale / out / hidden / deleted). Status out is the fastest way to see what is already sold out.
  2. Resolve a single item: get_product_by_sku (sku) when the user gives a SKU, get_product (product_id) when they give an ID.
  3. If stock is branch-specific, get the branch IDs with list_branches (page, per_page).
  4. Push quantities with bulk_update_quantities (products — an array of items). Each item takes:
    • identifer_type — whether identifer holds a product id, variant id or SKU;
    • identifer — the actual id or SKU value;
    • quantity — the new number;
    • mode — how quantity is applied;
    • unlimited_quantity, branch, reason_id — optional.
  5. Single-field corrections (name, price, quantity, status) on one product: update_product (product_id, plus the fields to change).
  6. Read back with get_product_by_sku or get_product and show before/after.

Notes

  • bulk_update_quantities is queued — Salla accepts the request and applies it asynchronously, so it may take minutes. A read straight after the call can still show the old number; say so instead of retrying blindly.
  • Do not batch more than the user has actually confirmed. Show the full table of intended changes first.
  • The parameter is spelled identifer / identifer_type in the API — keep that spelling.

Response Format

## Salla stock

### Out of stock (status: out)
| SKU | Product | Qty |
|-----|---------|-----|
| MUG-BLU-01 | Blue mug | 0 |

### Queued update (5 items)
| SKU | Was | Will be |
|-----|-----|---------|
| MUG-BLU-01 | 0 | 40 |

Salla queued the job — re-check in a few minutes.

Examples

/inventory-sync
/inventory-sync MUG-BLU-01
/inventory-sync set MUG-BLU-01 to 40
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. 2mo ago First seen · 54 lines · 17 tokens per session scan A 05a8ca406730

Subscribe to this mod's changes

inventory-sync is a skill published in the GitHub repository theYahia/WWmcp (42 stars, last pushed 2mo ago), licensed MIT. It adds 17 tokens to every session and 521 once invoked, about $0.0001 per session on Opus 5.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-06.

Related

inventory-sync compared with skills from other repositories

inventory-sync next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
inventory-synctheYahia/WWmcpSkill422mo agoMITA17Claude Code
typescript-linter-setupProjAnvil/MindForgeSkill39d agoMITA46Claude Code, Codex
brc-productsBrainrot-Creations/claude-pluginsSkill235mo agoMITA9Claude Code
writesgenvjacobc/lightspeed-x-mcpSkill01mo agoMITA124Claude Code
lemonsqueezy-tier-setupheysash/lemonsqueezy-mcpSkill04mo agoMITA90Claude Code, Codex
lemonsqueezymnlt/teleportSkill87mo agoMITB84Claude Code, Codex
javascript-typescriptProjAnvil/MindForgeSkill39d agoMITA85Claude Code