inventory-optimizer
Intelligently manage stock levels, generate supplier orders, and prevent shortages or overstock. Tracks usage patterns, lead times, and par levels to keep the shop or restaurant running without waste.
npx skills add cosmicstack-labs/mercury-agent-skills --skill inventory-optimizer --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Inventory Optimizer ## Core Principles Inventory is cash sitting on shelves. Too much ties up capital and spoils. Too little loses sales and frustrates customers. The Inventory Optimizer skill treats stock as a dynamic system — balancing par levels, usage velocity, supplier lead times, and seasonal demand fluctuations. ### The Five Pillars of Smart Inventory 1. **Know your par levels.** Every item has a minimum quantity you should never dip below. Set pars based on historic usage and reorder lead time. 2. **Track usage velocity.** Fast-movers need frequent reordering. Slow-movers need scrutiny. Group items by turnover rate (A = high, B = medium, C = low). 3. **Account for lead time variance.** A supplier who delivers in 2 days on paper often takes 5. Build buffer based on actual delivery history. 4. **Seasonal forecasting.** Demand shifts with holidays, weather, and local events. Adjust pars proactively, not reactively. 5. **First-expiry-first-out (FEFO).** Rotate stock religiously. The oldest inventory moves first. Nothing wrecks margins like spoilage. --- ## Skill Workflow ### Step 1 — Audit Current Inventory Gather the current state by asking the user or pulling from their POS
- Core Principles
- The Five Pillars of Smart Inventory
- Skill Workflow
- Step 1 — Audit Current Inventory
- Step 2 — Calculate Par Levels & Reorder Points
- Step 3 — Classify Items (ABC Analysis)
- Step 4 — Identify Slow-Movers & Waste
- Step 5 — Generate Purchase Order
- Step 6 — Schedule Recurring Reviews
- Trigger Phrases
- Key Instructions Summary
- Common Mistakes
What does the inventory-optimizer skill do?
Intelligently manage stock levels, generate supplier orders, and prevent shortages or overstock. Tracks usage patterns, lead times, and par levels to keep the shop or restaurant running without waste.
How do I install it?
Run `npx skills add cosmicstack-labs/mercury-agent-skills --skill inventory-optimizer --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From cosmicstack-labs/mercury-agent-skills, a repository with 364 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.