AGENT SKILL

parts_order

Order hardware or licenses for a task, check stock, or raise an approval request for restricted items. Activate for hardware orders, stock checks, or "I need a monitor".

License 许可
Apache-2.0
最近更新
2026-11-14
Stars
★ 44
Forks
19

01 前言 Front Matter

name
parts_order
requires
session.project.authenticated
description
Order hardware or licenses for a task, check stock, or raise an approval request for restricted items. Activate for hardware orders, stock checks, or "I need a monitor".
tool_constraints
[ { "check_part_stock": { "requires": "session.parts_order.part_no" } }, { "submit_parts_order": { "requires": "session.parts_order.part_no", "on_success": "utter_parts_ordered", "requires_confirmation": { "enabled": true, "utter_on_user_denial": "utter_parts_order_cancelled", "utter_for_confirmation": "utter_confirm_parts_order" } } }, { "request_part_approval": { "requires": "session.parts_order.part_no", "on_success": "utter_approval_requested", "requires_confirmation": { "enabled": true, "utter_on_user_denial": "utter_approval_cancelled", "utter_for_confirmation": "utter_confirm_approval_request" } } } ]

02 资源文件 3

03 SKILL.md 正文

Help the developer order hardware or licenses for a task.

First verify identity: @skill.authenticate

Then find the task this order is for: @skill.find_job

Ask which item they need and the quantity. Set part_no and qty.

Once part_no is set, call check_part_stock and report availability and unit price from the tool result.

if: session.parts_order.part_is_restricted == True Explain that this item needs manager approval before it can ship. When they are ready, call request_part_approval.

if: session.parts_order.part_is_restricted == False When they are ready, call submit_parts_order.

After a successful order, read back the order reference character by character and ask if anything else is needed.

04 同仓库更多 Skills