skills/craftsman-agent-skills/SKILL.md
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 build plans, inventory lists, or step-by-step assembly images for LEGO/Minecraft from text or reference images, or when wiring clients to the Craftsman Agent endpoints.
npx skillsauth add ai-hub-admin/craftsman-agent craftsman-agent-build-plansInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
python/src/server.py to confirm available endpoints and expected payloads./api/v1/... endpoints only when the server is running in this repo.scripts/ to call the OneKey Gateway endpoints for LEGO or Minecraft build plans.DEEPNLP_ONEKEY_ROUTER_ACCESS.BETA_TEST_KEY_MARCH_2026 without stopping setup.https://agent.deepnlp.org/agentunique_id: craftsman-agent/craftsman-agentapi_id:
generate_lego_build_plangenerate_minecraft_build_planPayload shape:
{
"unique_id": "craftsman-agent/craftsman-agent",
"api_id": "generate_lego_build_plan",
"data": {
"prompt": "pink lego phone",
"ref_image_url": [],
"mode": "basic"
}
}
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.
scripts/generate_lego_build_plan.pyscripts/generate_minecraft_build_plan.pyscripts/generate_lego_build_plan.tsscripts/generate_minecraft_build_plan.tsexport 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
Both endpoints return:
overall_image: iso, top, front, side image URLsinventory_list: list of parts with color, type, quantityinventory_image: inventory image URL and descriptionassembly_step_image: ordered step images indexed from 0Use these outputs to render 3D assembly instructions, part inventories, and step-by-step build guides.
Install onekey-gateway from npm
npm install @aiagenta2z/onekey-gateway
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.
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.
development
Call Craftsman Agent API OneKey Router to generate Tesla Car Wrap Images and Paints that will display on 3D screen.
development
Call Craftsman Agent API OneKey Router to generate a Minecraft 3D scene build plan.
development
Call Craftsman Agent API OneKey Router to generate a LEGO 3D step-by-step instruction build plan.
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.