Inventory Manager
by @yinanping-cpu
E-commerce inventory management for Taobao, Douyin, and other platforms. Use when tracking stock levels, syncing inventory across stores, managing suppliers,...
clawhub install yinan-inventory-managerπ About This Skill
name: inventory-manager description: E-commerce inventory management for Taobao, Douyin, and other platforms. Use when tracking stock levels, syncing inventory across stores, managing suppliers, or automating reorder alerts. Supports multi-store sync and sales forecasting.
Inventory Manager
Overview
Professional inventory management skill for e-commerce sellers. Track stock levels, sync across multiple stores (Taobao, Douyin), manage suppliers, and automate reordering.
Features
Quick Start
Check Stock Levels
python scripts/check_stock.py \
--stores taobao,douyin \
--output stock_report.csv
Sync Inventory
python scripts/sync_inventory.py \
--source taobao \
--target douyin \
--sync-all
Set Low Stock Alerts
python scripts/stock_alerts.py \
--threshold 10 \
--notify email,wechat
Scripts
check_stock.py
Check current stock levels across stores.
Arguments:
--stores - Comma-separated store names--output - Output file (CSV/Excel)--format - Output formatsync_inventory.py
Sync inventory between stores.
Arguments:
--source - Source store--target - Target store(s)--sync-all - Sync all products--sku - Sync specific SKUstock_alerts.py
Monitor and alert on low stock.
Arguments:
--threshold - Low stock threshold--notify - Notification channels--check-interval - Check frequency (minutes)generate_po.py
Generate purchase orders for suppliers.
Arguments:
--supplier - Supplier name--items - Items to order--output - PO fileMulti-Store Sync
Taobao β Douyin Sync
# Sync from Taobao to Douyin
python scripts/sync_inventory.py \
--source taobao \
--target douyin \
--conflict-resolution source_winsTwo-way sync
python scripts/sync_inventory.py \
--source taobao \
--target douyin \
--sync-mode bidirectional
Stock Level Rules
Low Stock Alerts
Alert Configuration
{
"alerts": {
"critical": {"threshold": 5, "action": "immediate_reorder"},
"low": {"threshold": 10, "action": "send_alert"},
"medium": {"threshold": 20, "action": "log_only"}
},
"notifications": {
"email": "your@email.com",
"wechat": "your_wechat_id"
}
}
Alert Actions
Supplier Management
Supplier Database
supplier_id,name,contact,email,lead_time_days,min_order
SUP001,Factory A,John, john@factory.com,7,100
SUP002,Factory B,Jane, jane@factory.com,14,50
Purchase Order Generation
python scripts/generate_po.py \
--supplier SUP001 \
--items "SKU001:50,SKU002:100" \
--output po_20260307.xlsx
Sales Forecasting
Forecast Next Month
python scripts/forecast_sales.py \
--history sales_history.csv \
--months 1 \
--output forecast.csv
Forecast Methods
Reports
Daily Stock Report
Weekly Summary
Monthly Analytics
Best Practices
1. Sync frequently - At least hourly during business hours 2. Set buffer stock - Don't wait until zero to reorder 3. Track lead times - Know how long suppliers take 4. Monitor trends - Adjust stock based on sales patterns 5. Audit regularly - Physical count vs system count
Integration
Taobao Store
Douyin Store
Troubleshooting
π‘ Examples
Check Stock Levels
python scripts/check_stock.py \
--stores taobao,douyin \
--output stock_report.csv
Sync Inventory
python scripts/sync_inventory.py \
--source taobao \
--target douyin \
--sync-all
Set Low Stock Alerts
python scripts/stock_alerts.py \
--threshold 10 \
--notify email,wechat
π Tips & Best Practices
1. Sync frequently - At least hourly during business hours 2. Set buffer stock - Don't wait until zero to reorder 3. Track lead times - Know how long suppliers take 4. Monitor trends - Adjust stock based on sales patterns 5. Audit regularly - Physical count vs system count