An agent skill for inventory reordering is a reusable set of instructions that teaches Claude to watch your stock levels, flag items running low, and draft purchase orders for a human to approve. Build it once as a SKILL.md file, and the weekly “what do we need to order?” check takes minutes instead of an afternoon counting shelves and supplier emails.
Small businesses lose money the same two ways: a stockout that turns a paying customer away, and overordering that ties cash up in boxes on a shelf. Both usually come from one cause: nobody checked stock until it was already a problem. A skill fixes the checking part. It does not replace your judgment about what to buy, but it makes sure the numbers get looked at every week, in the same order, against the same rules.
The reorder rule every item needs
A skill can only reorder what it can measure. Define four numbers per item before you build anything.
| Field | What it means | Example |
|---|---|---|
| Current stock | Units you have now | 24 bottles |
| Daily usage | Units sold or used per day | 4 per day |
| Lead time | Days from order to delivery | 5 days |
| Safety buffer | Extra stock for slow deliveries | 8 units |
The reorder point is daily usage times lead time, plus the safety buffer: 4 times 5, plus 8, is 28 units. When stock falls to 28 or below, it is time to order. Keep these numbers in a spreadsheet, one row per item, and keep it updated. The skill reads the file; it cannot count your shelves.
Prerequisites
- A claude.ai paid plan (Pro, Max, Team, or Enterprise) with code execution enabled, or Claude Code.
- A stock list with current quantities, ideally in a spreadsheet you already maintain.
- Your supplier list: who supplies each item, the usual price, and the lead time.
Step 1: Write down your reorder rules
Open your stock list and pick the ten items that cause the most trouble: the ones you run out of or over-order. For each, write one line: the reorder point and the usual order quantity. Add the exceptions you already know, such as a supplier that delivers only on Tuesdays, or an item you stock only in summer. These rules are the skill. Everything else is packaging.
Step 2: Create the folder and the frontmatter
Every skill is a folder containing a SKILL.md file. Create one named inventory-reordering. It starts with YAML frontmatter, and only two fields are required. Per Anthropic’s documentation, the name is at most 64 characters, lowercase letters, numbers, and hyphens only, with no reserved words such as “anthropic” or “claude”.
---
name: inventory-reordering
description: Checks stock levels against reorder points and drafts purchase orders for low items. Use when checking stock, reordering supplies, or preparing a weekly order.
---
# Inventory Reordering
## Workflow
1. Read the stock list. For each item, compare current stock with its reorder point. Never guess a quantity.
2. Flag every item at or below its reorder point, and sort the list by days of stock left, lowest first.
3. Draft a purchase order per supplier: item, quantity, last price, and expected delivery date.
4. Ask a human to approve before anything is ordered.
## Rules
- Never invent a stock count, a price, or a lead time. Quote the source row for every figure.
- Never place an order or contact a supplier. Drafts only, for human approval.
The description is the trigger. Claude reads only the name and description at startup, about 100 tokens per skill, and loads the rest when your request matches.
Step 3: Write the checking workflow in plain language
Below the frontmatter, write the instructions as if onboarding a careful new hire: the order of checks, plus your rules. Keep the file short, under 5,000 tokens per Anthropic’s documentation, and keep stock data in separate reference files. Add the edge cases you know, such as items with two suppliers, or items bought by the case.
Step 4: Add your reference files
Keep data out of the instructions. Save your stock, supplier, and price lists in the same folder as separate files. Claude loads reference files only when needed; Anthropic calls this progressive disclosure, so a long price list costs nothing until a reorder runs. Our invoice-chasing skill uses the same pattern, keeping its customer list in a reference file.
Step 5: Install it where you work
Install the skill separately on each surface, since custom skills do not sync. In Claude Code, copy the folder into ~/.claude/skills/ for personal use or the project’s .claude/skills/ folder for the team. On claude.ai, zip the folder and upload it under Settings with code execution enabled. Anthropic’s public skills repository on GitHub shows the file layout and template.
Step 6: Test it against last month’s orders
Do not debut it on a live order. Run it on last month’s stock list, where you know what ran out and what you over-ordered. Does it flag the item that stocked out, and leave alone the item you have too much of? If it misses a known stockout, a reorder point is set too low. If it flags everything, the rules are too cautious.
Tips and common mistakes
- Keep a human in the loop: the skill drafts, you approve. That checkpoint stops a wrong quantity becoming a paid order.
- Update the stock list when deliveries arrive. A skill working from last week’s numbers will reorder what you already received.
- Review reorder points every quarter. A summer seller may sell one a day in winter, and the skill keeps ordering for summer unless you tell it otherwise.
- Only install skills from sources you trust. Anthropic warns a skill is like installing software.
FAQ
Can the skill place orders by itself?
No, and you should not let it. The workflow here ends with a draft purchase order for a human to approve. Ordering spends real money, so approval stays with a person. The skill saves time on checking and drafting, not on the decision.
What if my stock lives in a spreadsheet?
Keep the spreadsheet as a reference file in the skill folder, or upload it with each check, and the skill reads the quantities from it. The one rule: one row per item, with stock, daily usage, lead time, and reorder point in separate columns, so the skill never guesses which number is which.
What about seasonal items?
Flag them in the stock list and add a rule: seasonal items are only reordered inside their season, and outside it the skill lists them as “do not reorder”. Review the season dates when seasons change, or the skill will faithfully reorder snow shovels in July.
Conclusion
Running out of stock is rarely a buying problem. It is a checking problem, and checking is what a skill is good at. Set one reorder point per item, keep the stock list current, and let the skill do the weekly arithmetic and drafting, as our Agent Skills for Finance Teams guide does for money workflows. The order still needs your signature, but the surprise stockout need not happen again.



