ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

generate-lego-3D-build-plan

Call Craftsman Agent API OneKey Router to generate a LEGO 3D step-by-step instruction build plan.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/ai-hub-admin/generate-lego-3d-build-plan
Or

Generate LEGO 3D Build Plan

Call Craftsman Agent API OneKey Router to generate a LEGO 3D step-by-step instruction build plan.

Quick Start

  1. Set your environment variable DEEPNLP_ONEKEY_ROUTER_ACCESS.
  2. Use the CLI (primary suggested method) or the provided scripts.

Usage

1. CLI (Recommended)

CLI Illustration

onekey agent <unique_id> <api_id> $JSON --timeout 30000
  • <unique_id>: the unique identifier of the onekey routed agents, "owner/repo".
  • <api_id>: refers to the unique endpoint name of API.
  • $JSON: the json string passed to cli.
  • --timeout: controlls the timeout of API calling, unit is mill seconds.

Example

export DEEPNLP_ONEKEY_ROUTER_ACCESS=YOUR_ACCESS_KEY
onekey agent craftsman-agent/craftsman-agent generate_lego_build_plan '{"prompt":"Build Lego yacht with 5 decks using blue and white bricks","images":[],"mode":"basic"}' --timeout 30000

2. Python REST API

python3 scripts/generate_lego_build_plan.py --prompt "pink lego phone" --mode basic

3. TypeScript REST API

node scripts/generate_lego_build_plan.ts --prompt "pink lego phone" --mode basic

Authentication

Remember to set the environment variable:

export DEEPNLP_ONEKEY_ROUTER_ACCESS=YOUR_ACCESS_KEY

Get your key at DeepNLP Workspace.

Demo Result

{"success":true,"inventory_list":[{"color":"bright_blue","size":[1,1,1],"position":[4,0,0]},{"color":"bright_blue","size":[1,1,1],"position":[4,1,0]},{"color":"bright_blue","size":[1,1,1],"position":[4,2,0]},{"color":"bright_blue","size":[1,1,1],"position":[3,3,0]},{"color":"bright_blue","size":[1,1,1],"position":[4,3,0]},{"color":"bright_blue","size":[1,1,1],"position":[5,3,0]},{"color":"bright_blue","size":[1,1,1],"position":[3,4,0]},{"color":"bright_blue","size":[1,1,1],"position":[4,4,0]},{"color":"bright_blue","size":[1,1,1],"position":[5,4,0]},{"color":"bright_blue","size":[1,1,1],"position":[2,5,0]},{"color":"bright_blue","size":[1,1,1],"position":[3,5,0]},{"color":"bright_blue","size":[1,1,1],"position":[4,5,0]},{"color":"bright_blue","size":[1,1,1],"position":[5,5,0]},{"color":"bright_blue","size":[1,1,1],"position":[6,5,0]},{"color":"bright_blue","size":[1,1,1],"position":[2,6,0]},{"color":"bright_blue","size":[1,1,1],"position":[3,6,0]},{"color":"bright_blue","size":[1,1,1],"position":[4,6,0]},{"color":"bright_blue","size":[1,1,1],"position":[5,6,0]},{"color":"bright_blue","size":[1,1,1],"position":[6,6,0]},{"color":"bright_blue","size":[1,1,1],"position":[1,7,0]},{"color":"bright_blue","size":[1,1,1],"position":[2,7,0]},{"color":"bright_blue","size":[1,1,1],"position":[3,7,0]},{"color":"bright_blue","size":[1,1,1],"position":[4,7,0]},{"color":"bright_blue","size":[1,1,1],"position":[5,7,0]},{"color":"bright_blue","size":[1,1,1],"position":[6,7,0]},{"color":"bright_blue","size":[1,1,1],"position":[7,7,0]},{"color":"bright_blue","size":[1,1,1],"position":[1,8,0]},{"c...

Metadata

Stars4473
Views1
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-ai-hub-admin-generate-lego-3d-build-plan": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.