inventory-check skill retrieves stock data for a product, computes its health status, and provides reorder recommendations when needed. It covers the skill definition, two scripts for stock analysis and reorder calculation, and the inventory guide reference the agent consults for threshold definitions and escalation rules.
Allowed tools: check_inventory
For the tool source code, see Tools. For the agent YAML that loads this skill, see Operations assistant. To see this skill execute a request end-to-end, see the Sample query walkthrough.
Skill definition SKILL.md
YAML
Script scripts/check_stock.py
Computes the stock health status and days-of-supply metric from raw inventory data.
Script scripts/calc_reorder.py
Computes the reorder point, suggested order quantity, and safety stock. Run this script when reorder_needed is true.
Reference references/INVENTORY_GUIDE.md
Next steps
- See Order placement skill for the companion skill that handles order submission.
- See Agent configuration for how both skills are attached to the agent.

