Pilot Inventory Management Setup
/install pilot-inventory-management-setup
Inventory Management Setup
Deploy 3 agents that automate inventory tracking from stock monitoring to reorder alerts.
Roles
| Role | Hostname | Skills | Purpose |
|---|---|---|---|
| tracker | \x3Cprefix>-tracker |
pilot-metrics, pilot-stream-data, pilot-audit-log | Monitors stock levels, tracks shipments, updates quantities |
| forecaster | \x3Cprefix>-forecaster |
pilot-dataset, pilot-task-router, pilot-cron | Analyzes sales trends and predicts stock needs |
| alerter | \x3Cprefix>-alerter |
pilot-alert, pilot-webhook-bridge, pilot-slack-bridge | Triggers reorder notifications and sends PO requests |
Setup Procedure
Step 1: Ask the user which role this agent should play and what prefix to use.
Step 2: Install the skills for the chosen role:
# For tracker:
clawhub install pilot-metrics pilot-stream-data pilot-audit-log
# For forecaster:
clawhub install pilot-dataset pilot-task-router pilot-cron
# For alerter:
clawhub install pilot-alert pilot-webhook-bridge pilot-slack-bridge
Step 3: Set the hostname:
pilotctl --json set-hostname \x3Cprefix>-\x3Crole>
Step 4: Write the setup manifest:
mkdir -p ~/.pilot/setups
cat > ~/.pilot/setups/inventory-management.json \x3C\x3C 'MANIFEST'
\x3Crole-specific manifest from templates below>
MANIFEST
Step 5: Tell the user to initiate handshakes with direct communication peers.
Manifest Templates Per Role
tracker
{
"setup": "inventory-management", "setup_name": "Inventory Management",
"role": "tracker", "role_name": "Stock Tracker",
"hostname": "\x3Cprefix>-tracker",
"description": "Monitors warehouse stock levels, tracks incoming/outgoing shipments, and updates quantities in real time.",
"skills": {
"pilot-metrics": "Collect and expose real-time stock level metrics and movement rates.",
"pilot-stream-data": "Stream live inventory updates as shipments arrive and orders ship.",
"pilot-audit-log": "Log all stock movements for compliance and audit trail."
},
"peers": [{"role": "forecaster", "hostname": "\x3Cprefix>-forecaster", "description": "Receives stock snapshots for demand analysis"}],
"data_flows": [{"direction": "send", "peer": "\x3Cprefix>-forecaster", "port": 1002, "topic": "stock-snapshot", "description": "Stock snapshots with quantities and movement history"}],
"handshakes_needed": ["\x3Cprefix>-forecaster"]
}
forecaster
{
"setup": "inventory-management", "setup_name": "Inventory Management",
"role": "forecaster", "role_name": "Demand Forecaster",
"hostname": "\x3Cprefix>-forecaster",
"description": "Analyzes sales trends, seasonal patterns, and lead times to predict stock needs.",
"skills": {
"pilot-dataset": "Load and analyze historical sales data and seasonal patterns.",
"pilot-task-router": "Route incoming stock snapshots to the appropriate forecasting model.",
"pilot-cron": "Schedule recurring demand forecast runs on daily and weekly cadences."
},
"peers": [
{"role": "tracker", "hostname": "\x3Cprefix>-tracker", "description": "Sends stock snapshots with current levels"},
{"role": "alerter", "hostname": "\x3Cprefix>-alerter", "description": "Receives reorder forecasts for threshold alerting"}
],
"data_flows": [
{"direction": "receive", "peer": "\x3Cprefix>-tracker", "port": 1002, "topic": "stock-snapshot", "description": "Stock snapshots with quantities and movement history"},
{"direction": "send", "peer": "\x3Cprefix>-alerter", "port": 1002, "topic": "reorder-forecast", "description": "Reorder forecasts with quantities and urgency scores"}
],
"handshakes_needed": ["\x3Cprefix>-tracker", "\x3Cprefix>-alerter"]
}
alerter
{
"setup": "inventory-management", "setup_name": "Inventory Management",
"role": "alerter", "role_name": "Reorder Alerter",
"hostname": "\x3Cprefix>-alerter",
"description": "Triggers reorder notifications when stock hits thresholds and sends PO requests to suppliers.",
"skills": {
"pilot-alert": "Evaluate stock levels against thresholds and fire reorder alerts.",
"pilot-webhook-bridge": "Send purchase order requests to supplier systems via webhook.",
"pilot-slack-bridge": "Notify procurement team in Slack when reorders are triggered."
},
"peers": [{"role": "forecaster", "hostname": "\x3Cprefix>-forecaster", "description": "Sends reorder forecasts with quantities and urgency"}],
"data_flows": [
{"direction": "receive", "peer": "\x3Cprefix>-forecaster", "port": 1002, "topic": "reorder-forecast", "description": "Reorder forecasts with quantities and urgency scores"},
{"direction": "send", "peer": "external", "port": 443, "topic": "purchase-order", "description": "Purchase order requests to suppliers"}
],
"handshakes_needed": ["\x3Cprefix>-forecaster"]
}
Data Flows
tracker -> forecaster: stock-snapshot (port 1002)forecaster -> alerter: reorder-forecast (port 1002)alerter -> external: purchase-order via webhook (port 443)
Handshakes
# tracker and forecaster handshake with each other:
pilotctl --json handshake \x3Cprefix>-forecaster "setup: inventory-management"
pilotctl --json handshake \x3Cprefix>-tracker "setup: inventory-management"
# forecaster and alerter handshake with each other:
pilotctl --json handshake \x3Cprefix>-alerter "setup: inventory-management"
pilotctl --json handshake \x3Cprefix>-forecaster "setup: inventory-management"
Workflow Example
# On forecaster -- subscribe to stock snapshots:
pilotctl --json subscribe \x3Cprefix>-tracker stock-snapshot
# On alerter -- subscribe to reorder forecasts:
pilotctl --json subscribe \x3Cprefix>-forecaster reorder-forecast
# On tracker -- publish a stock snapshot:
pilotctl --json publish \x3Cprefix>-forecaster stock-snapshot '{"warehouse":"us-east-1","sku":"WIDGET-A100","quantity_on_hand":142,"daily_velocity":12}'
# On forecaster -- publish reorder forecast to alerter:
pilotctl --json publish \x3Cprefix>-alerter reorder-forecast '{"sku":"WIDGET-A100","current_stock":142,"reorder_quantity":500,"urgency":"high"}'
Dependencies
Requires pilot-protocol skill, pilotctl binary, clawhub binary, and a running daemon.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install pilot-inventory-management-setup - After installation, invoke the skill by name or use
/pilot-inventory-management-setup - Provide required inputs per the skill's parameter spec and get structured output
What is Pilot Inventory Management Setup?
Deploy an inventory management system with 3 agents. Use this skill when: 1. User wants to set up an automated inventory management system 2. User is configu... It is an AI Agent Skill for Claude Code / OpenClaw, with 67 downloads so far.
How do I install Pilot Inventory Management Setup?
Run "/install pilot-inventory-management-setup" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Pilot Inventory Management Setup free?
Yes, Pilot Inventory Management Setup is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Pilot Inventory Management Setup support?
Pilot Inventory Management Setup is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Pilot Inventory Management Setup?
It is built and maintained by Calin Teodor (@teoslayer); the current version is v1.0.0.