Sample utterance
“Is Gadget Max running low? Do we need to reorder?”
Step 1 Skill matching
The agent holds two skills:order-placement and inventory-check. It compares each skill’s description field against the utterance.
inventory-check, not order-placement. The agent loads only this skill’s full instructions into context. Tool access narrows to allowed-tools: check_inventory plus any agent-level tools (get_customer_profile).
Step 2 Instruction load
The fullinventory-check SKILL.md body enters context. The first instruction reads:
SKU-002 through catalog lookup, then calls the tool.
Step 3 Tool call
Step 4 Script run check_stock.py
The skill instructions say to runcheck_stock.py with the retrieved values:
Step 5 Reference read INVENTORY_GUIDE.md
The skill instructions send the agent toINVENTORY_GUIDE.md for threshold definitions and escalation rules. The file is not preloaded, it fetches now because the critical status needs to interpret.
The guide confirms:
Step 6 Script run calc_reorder.py
Becausereorder_needed is true, the guide instructs the agent to run calc_reorder.py:
Final answer
The agent combines the tool output, both script results, and the guide’s escalation line into one reply:Gadget Max (SKU-002) is critical, 0.6 days of supply left (5 units at 8.5 per day demand). Recommend ordering 170 units now (reorder point 85, safety stock 26). Per policy, alert the supply chain team and request an expedited shipment.
What loaded and in what order
Nothing from
order-placement loads. That skill’s SKILL.md, scripts, and reference all stay out of context because the utterance does not match its description.
Tool visibility during execution
Whileinventory-check runs, the agent’s available tool set is check_inventory (from allowed-tools) plus the agent-level tool get_customer_profile. The order-placement tools create_order and update_order_status are not visible or callable at any point in this run. The model cannot see them, cannot call them, and has no knowledge of them. Each skill sees only its own allowed-tools plus agent-level tools, never another skill’s.
Next steps
- See Inventory check skill for the full skill definition, both scripts, and the inventory guide reference.
- See Order placement skill to compare how a different utterance activates the other skill.
- See Operations assistant for the agent configuration that holds both skills.

