Orders for Openclaw

A powerful CLI-based tool for local order lifecycle management and sales reporting.

xueyetianya
v3.4.1
Mar 18, 2026
0
1.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install orders

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install orders using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Orders?

The Orders skill is a comprehensive local management tool designed for AI coding agents to handle the entire lifecycle of a transaction. As a key component of Openclaw Skills, it allows developers and automated agents to create, track, and analyze order data without relying on external cloud services. It provides a robust command-line interface to manage customer information, item quantities, and delivery statuses, ensuring that your local ecommerce or inventory workflows remain organized and accessible.

Orders Use Cases

  • Automated creation of sales records during development or testing.
  • Generating periodic sales reports (daily, weekly, monthly) for business analysis.
  • Tracking shipment statuses and updating inventory quantities in real-time.
  • Managing cancellations and maintaining a historical log of all customer transactions.

How Orders Works

  1. The user or AI agent initiates an action via the command-line script.
  2. The script processes the input and interacts with the local storage file located at ~/.orders/orders.json.
  3. For new orders, a unique order ID is auto-generated and saved with metadata.
  4. Updates or cancellations modify existing entries while preserving data integrity.
  5. The report engine aggregates the JSON data to produce formatted summaries in table, JSON, or CSV formats.

Orders Setup

To get started with this entry in the Openclaw Skills library, ensure you have bash 4+ and python3 installed.

# Ensure the script is executable
chmod +x scripts/script.sh

# Create your first order
bash scripts/script.sh create "John Doe" "Laptop" 1 1200.00 --note "Expedited shipping"

Orders Data Schema & Taxonomy

This skill maintains a structured local database using a JSON format to ensure compatibility within the Openclaw Skills ecosystem.

  • Storage Path: ~/.orders/orders.json
  • Key Fields:
    • order_id: Auto-generated unique identifier.
    • customer: Buyer name or identifier.
    • item: Product description.
    • quantity: Quantity ordered.
    • unit_price: Price per unit.
    • status: Current status (pending, shipped, delivered, cancelled).
    • note: Optional context or metadata.

Orders Advanced Features

  • Multi-format output (table, JSON, CSV) for seamless integration with other Openclaw Skills.
  • Comprehensive filtering capabilities for order lists based on specific status flags.
  • Automated report generation for specific time periods including daily, weekly, and monthly summaries.
  • Local-first data architecture ensuring high privacy, speed, and offline availability.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*