Virtual Item Constructor for Openclaw

An intelligent utility for AI agents to find, clone, and modify compliant test items within e-commerce ecosystems.

cpu-hammer
v1.0.0
Apr 16, 2026
0
677
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install virtual-item-constructor

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 virtual-item-constructor 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 Virtual Item Constructor?

The Virtual Item Constructor is a specialized automation skill designed to streamline the creation of compliant test data for developers and QA engineers. By utilizing Openclaw Skills, this tool allows AI agents to intelligently identify production items, clone them to safe testing environments, and automatically adjust prices to minimize transaction costs. It ensures that all test items meet specific business rules regarding categories, tags, and properties, effectively eliminating manual data entry and reducing environment contamination during integration testing.

Virtual Item Constructor Use Cases

  • Finding specific e-commerce products by category or business ID for automated testing scenarios.
  • Safe cloning of production items to sandbox accounts using Openclaw Skills to prevent data leakage.
  • Automating price adjustments for test scenarios where minimum checkout values are required for validation.
  • Cleaning up conflicting metadata and tags to maintain a compliant and clean test environment.

How Virtual Item Constructor Works

  1. The agent extracts search criteria like Item ID, category, and business codes from the user request within the Openclaw Skills framework.
  2. It queries a localized knowledge base to determine the specific compliance rules and tag mapping for different business identities.
  3. The skill checks for existing test items using precision property matching to avoid redundant data creation in the database.
  4. If no existing test item is found, the system clones a production item into a designated test seller account safely.
  5. Automated scripts execute a price change, typically defaulting to 0.01 Yuan (1 cent), and configure the appropriate SKU identifiers.
  6. Finally, the tool identifies and removes any non-compliant tags based on the retrieved business logic to ensure environmental stability.

Virtual Item Constructor Setup

To integrate this with your environment, ensure you have the necessary python scripts from the Openclaw Skills repository.

# Example of searching for a product category
python3 scripts/tool_7b712rnk8z.py '{"category": "1623", "title": "test_item"}'

# Example of cloning a production item to a test account
python3 scripts/tool_780a1gyi1a.py '{"nick": "merchant_test_01", "itemId": "963014656847"}'

Make sure your seller credentials and environment variables are configured to allow cloning to the specified test accounts.

Virtual Item Constructor Data Schema & Taxonomy

Attribute Type Description
itemId string/number The unique product identifier for the e-commerce item
category string The leaf category ID used for classification and search
price string Product price represented in cents (e.g., 100 = 1 Yuan)
bizCode string Business identity code used for logic mapping and rule lookup
itemTags array A list of tag IDs associated with the product for metadata management

Virtual Item Constructor Advanced Features

  • Intelligent search retry logic that automatically adjusts parameters upon tool failure within the Openclaw Skills execution loop.
  • Multi-seller account support for horizontal test scaling across different merchant identities.
  • Automated SKU detection and mapping for complex products requiring distinct variant identifiers.
  • Knowledge-base driven tag removal to prevent production-level business logic from interfering with test workflows.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*