Kujiale Intelligent Design: Completing Interior Plans and Rendering via Step-by-Step Dialogue

Preface

In indoor design solution communication, a common practice is to switch repeatedly between CAD, rendering tools, and chat: first aligning on the floor plan, then discussing the style, modifying the layout, and finally waiting for the render. Every step requires manual context retention, and Agents often tend to skip confirmations and jump straight to conclusions. The following introduces the “Kujiale Smart Design” on SkillHub, which consolidates the workflow into a four-stage dialogue: “Floor Plan Confirmation → Style Selection → Layout Confirmation → Render Generation.” It utilizes scripts to interface with the Kujiale API endpoints.

What is this

“Kujiale Smart Design” is an Agent Skill for intelligent interior design (Coordinates @user_b14347c4/ai-kujiale-design, current version 0.0.6, category design-media, source community, publisher user_b14347c4). The author is listed as ManycoreTech in the SKILL metadata.

It addresses the need to: advance interior decoration design in fixed stages within a conversation. It calls Node scripts under scripts/ to perform floor plan search or trace (re-drawing), create design schemes, select styles, trigger layouts and rendering, and outputs rendering images and links according to agreed templates. The SkillHub page indicates requires_api_key=true, specifically configured as the project’s Kujiale access_token.

Official Entry:

  • SkillHub Display Page: https://www.skillhub.cn/skills/user_b14347c4/ai-kujiale-design
  • Resource URL: https://api.skillhub.cn/user_b14347c4/ai-kujiale-design

(SkillHub Statistics: Rating 100000, Downloads 10357, Installs 35.)

Core Functions

Based on SKILL.md and the scripts included in the package, the verified capabilities are as follows.

Four-Stage Dialogue Flow

  1. Floor Plan Acquisition & Confirmation: After a user submits an interior design request, the process can proceed via “Community Name + City Search” or by uploading a floor plan image (tracing task). After confirming planImage and the area, createDesign.js is called to obtain a designId.
  2. Style Selection: getTags.js fetches preference tags, and getStyles.js matches hard decoration styles based on tags (if multiple styles are available, covers are displayed for selection).
  3. Layout Generation & Confirmation: The user must first be informed that this will consume the account’s intelligent layout quota/beans; triggerLayout.js triggers the layout, and getLayoutResult.js polls for results and summarizes the furniture for each room.
  4. Render Generation: trigger-render.js triggers rendering, and getRenderResult.js retrieves the rendering image (pictype=0) and the panoramic link (pictype=1). It outputs highlights, images, and the scheme detail link according to the outputs/result.md template.

Supporting Scripts & Documentation

The package includes scripts such as searchPlan.js, getFloorplanInfo.js, getUploadToken.js, createBitmapTask.js, versionCheck.js, etc. It also includes documentation for each interface under docs/ (e.g., planSearch.md, layout.md, renderResult.md).

Execution Constraints

  • Before execution, the Skill version (0.0.6) must be verified via versionCheck.js.
  • Progress is fed back via message(action=send); Webchat sends image links, while Feishu (Lark) uses the MEDIA:image_url format.
  • Final results must strictly follow ./outputs/result.md, and the scheme detail link format is https://www.kujiale.com/pcenter/design/{designId}/setting?from=skills.

Installation & Activation

1. Get the Skill

Open the display page mentioned above on SkillHub and follow the platform instructions to install @user_b14347c4/ai-kujiale-design into the Skills directory available to the current Agent. The package uses the universal SKILL.md format; after extraction, it should contain files such as SKILL.md, scripts/, .kjlconfig-example.json, etc.

You can also obtain the compression package via the download API (consistent with SkillHub distribution):

curl -L -o ai-kujiale-design.zip \
  "https://api.skillhub.cn/api/v1/download?slug=ai-kujiale-design&namespace=user_b14347c4"

After extraction, add the Skill directory to the Skills loading path of the client you are using. The specific menu names for various clients (Cursor, Codex CLI, Claude Code, etc.) are subject to their respective documentation; this Skill package does not differentiate installation steps separately.

2. Configure access_token

For first-time use, create a .kjlconfig.json in the project root directory at the same level as .kjlconfig-example.json. The example structure is as follows:

{
  "access_token": "your_token_here"
}

If there is no token, guide the user to visit https://www.kujiale.com/skills to generate one according to the SKILL instructions, and write the copied value into the access_token field. The token is read from this file before all script calls.

3. Environment Requirements

The scripts are invoked via Node.js, for example:

node ./scripts/versionCheck.js --token=<token> --version=0.0.6

Version verification returns action=1 to continue; action=2 indicates an update is available; action=3 requires reinstalling the Skill.

Typical Usage

After enabling the Skill, the user can initiate decoration design via natural language; the Agent must execute strictly step-by-step according to SKILL.md and must not skip steps. Below is a summary of a reproducible path consistent with the official workflow.

Floor Plan (Text Search)

  1. Ask for city, community, and floor plan information.
  2. Execute search:
node ./scripts/searchPlan.js --token=<token> --query=<CommunityName> --areaId=<CityID> --start=0 --num=20
  1. After the user selects an entry, use getFloorplanInfo.js --planId=<planId> to display the floor plan and wait for “Confirmation”.
  2. After confirmation: node ./scripts/createDesign.js --token=<token> --planId=<planId>.

Style

node ./scripts/getTags.js --token=<token>
node ./scripts/getStyles.js --token=<token> --tagItemIds=<id1,id2,...>

Layout (Requires User Confirmation of Quota Consumption)

node ./scripts/triggerLayout.js --token=<token> --designId=<designId> \
  --tagIds=<id1,id2,...> --styleId=<styleId> \
  --applyDecorationStyle=true --buildCeiling=true --autoDesign=true
node ./scripts/getLayoutResult.js --token=<token> --designId=<designId>

Rendering

node ./scripts/trigger-render.js --obsDesignId=<designId> --xToken=<token>
node ./scripts/getRenderResult.js --token=<token> --designId=<designId>

The final output must include design highlights, renderings sorted in the order of “Living/Dining Room → Master Bedroom → Secondary Bedroom → Others”, panoramic links, and the scheme detail URL.

Use Cases & Notes

Who is it for

  • Product or operations staff who need to complete a closed loop from floor plan to rendering images within an Agent dialogue.
  • Teams that already possess the Kujiale Skills access_token and accept that the layout stage consumes the account’s intelligent layout quota/beans.

Limitations & Notes

  • .kjlconfig.json must be configured; if not configured, the user should be guided to https://www.kujiale.com/skills to obtain a token.
  • The floor plan upload path relies on monitoring new files in ~\.openclaw\media\inbound (checked every 5 seconds); the deployment environment must be consistent with this convention.
  • When rendering results are empty, the documentation stipulates a retry every minute; failure should be reported if it exceeds 5 minutes.
  • The Skill requires “not to diverge on one’s own initiative”; confirmation phrasing and script parameters within stages must remain consistent with SKILL.md.

Conclusion

“Kujiale Smart Design” breaks down interior solutions into verifiable step-by-step dialogues and uses Node scripts to interface with Kujiale’s floor plan, style, layout, and rendering capabilities. It is suitable for creating reproducible decoration design Agents within the SkillHub ecosystem. For details and installation, visit: https://www.skillhub.cn/skills/user_b14347c4/ai-kujiale-design

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye