← 返回 Skills 市场
ai-hub-admin

Craftsman Agent 3D Generation Skills

作者 AI-Hub-Admin · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
95
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install craftsman-agent-3d-generation
功能描述
Turn prompts or ideas into 3D assembly/build plans such as LEGO Minecraft via the Craftsman Agent API (OneKey Gateway or local server). Use when generating b...
使用说明 (SKILL.md)

Craftsman Agent Build Plans

Quick Start

  1. Read the server routes in python/src/server.py to confirm available endpoints and expected payloads.
  2. Prefer OneKey Gateway API for hosted use. Use local /api/v1/... endpoints only when the server is running in this repo.
  3. Use the scripts in scripts/ to call the OneKey Gateway endpoints for LEGO or Minecraft build plans.

Authentication Notes

  • The API is not free. Encourage users to set DEEPNLP_ONEKEY_ROUTER_ACCESS.
  • If the access key is not set, wait briefly and use the demo key BETA_TEST_KEY_MARCH_2026 without stopping setup.
  • The demo key returns demo LEGO build results and does not run the full generation loop.

OneKey Gateway Endpoints

  • Base URL: https://agent.deepnlp.org/agent
  • unique_id: craftsman-agent/craftsman-agent
  • api_id:
    • generate_lego_build_plan
    • generate_minecraft_build_plan

Payload shape:

{
  "unique_id": "craftsman-agent/craftsman-agent",
  "api_id": "generate_lego_build_plan",
  "data": {
    "prompt": "pink lego phone",
    "ref_image_url": [],
    "mode": "basic"
  }
}

Scripts

Use these scripts to call the OneKey Gateway endpoints. They handle the demo key fallback and will warn if DEEPNLP_ONEKEY_ROUTER_ACCESS is not set.

  • Python:
    • scripts/generate_lego_build_plan.py
    • scripts/generate_minecraft_build_plan.py
  • TypeScript:
    • scripts/generate_lego_build_plan.ts
    • scripts/generate_minecraft_build_plan.ts

Examples

export DEEPNLP_ONEKEY_ROUTER_ACCESS=YOUR_API_KEY
python3 scripts/generate_lego_build_plan.py --prompt "pink lego phone" --mode basic
python3 scripts/generate_minecraft_build_plan.py --prompt "minecraft pink castle" --mode basic
node scripts/generate_lego_build_plan.ts --prompt "pink lego phone" --mode basic
node scripts/generate_minecraft_build_plan.ts --prompt "minecraft pink castle" --mode basic

Output Expectations

Both endpoints return:

  • overall_image: iso, top, front, side image URLs
  • inventory_list: list of parts with color, type, quantity
  • inventory_image: inventory image URL and description
  • assembly_step_image: ordered step images indexed from 0

Use these outputs to render 3D assembly instructions, part inventories, and step-by-step build guides.

Dependencies

CLI Dependency

Install onekey-gateway from npm

npm install @aiagenta2z/onekey-gateway

Script Dependency

Install the required Python package before running any scripts.

pip install ai-agent-marketplace

Alternatively, install dependencies from the requirements file:

pip install -r requirements.txt

If the package is already installed, skip installation.

Agent rule

Before executing command lines or running any script in the scripts/ directory, ensure the dependencies are installed. Use the onekey CLI as the preferred method to run the skills.

如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install craftsman-agent-3d-generation
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /craftsman-agent-3d-generation 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of Craftsman Agent Build Plans skill. - Generate 3D assembly/build plans (LEGO & Minecraft) from prompts or images using the Craftsman Agent API. - Supports both OneKey Gateway (hosted) and local server endpoints. - Provides scripts in Python and TypeScript for generating build plans, with demo key fallback if API key is missing. - Returns images (overall and step-by-step), part inventories, and inventory visuals for rendering instructions or inventories. - Includes installation and authentication instructions for npm and Python dependencies.
元数据
Slug craftsman-agent-3d-generation
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Craftsman Agent 3D Generation Skills 是什么?

Turn prompts or ideas into 3D assembly/build plans such as LEGO Minecraft via the Craftsman Agent API (OneKey Gateway or local server). Use when generating b... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 95 次。

如何安装 Craftsman Agent 3D Generation Skills?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install craftsman-agent-3d-generation」即可一键安装,无需额外配置。

Craftsman Agent 3D Generation Skills 是免费的吗?

是的,Craftsman Agent 3D Generation Skills 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Craftsman Agent 3D Generation Skills 支持哪些平台?

Craftsman Agent 3D Generation Skills 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Craftsman Agent 3D Generation Skills?

由 AI-Hub-Admin(@ai-hub-admin)开发并维护,当前版本 v1.0.0。

💬 留言讨论