Install the Skill and use Lanhu from your AI tool.
Download the Skill ZIP from the download page and extract it. Keep the whole folder.
You need Node.js 24, an AI tool that can install local files and run commands (such as Codex, Claude Code or Cursor), a LanhuMCP account and a Lanhu account that can open your designs.
MCP and Skill do the same job, so install only one. Prefer the other? See the MCP guide.
Copy this prompt into your AI tool and fill in the blanks. The same prompt is on the download page.
Install and use the Lanhu Skill in WorkBuddy
Please install Lanhu Skill and make it available in my AI tool.
AI tool and version: [fill in]
Operating system: [fill in]
Downloaded ZIP or extracted folder: [absolute path]
Use it in: [this project / all my projects]
1. Read https://lanhumcp.com/docs/skill?lang=en and SKILL.md and references/setup.md in the ZIP. Check my environment and ask only for what you cannot determine.
2. Use the official ZIP and Node.js 24. In the extracted folder run npm ci --omit=dev --ignore-scripts, then npm exec -- playwright install chromium. Keep my other tools and settings. Check node scripts/lanhu.mjs --help first. Only if --help lists setup may you use it; otherwise use the separate auth commands.
3. Put the complete Skill folder where my AI tool can find it, name it lanhu-design-assistant and enable it. Do not copy only SKILL.md. Help me reload the tool if needed.
4. Tell me when to get my API Key from https://lanhumcp.com/account and run node scripts/lanhu.mjs auth configure in my own terminal. I will use the local hidden prompt and sign in to Lanhu myself. Never ask for my Key, password or Cookie in chat, and never read credential files.
5. Check in my AI tool that Lanhu Skill works and lists my teams. Do not read a design just to test. If anything is unfinished, say so; do not claim success.
6. Tell me where it is installed, the result of the check and what to do next, then wait for me to choose a project and design.Find the lanhu-communication folder in the extracted ZIP, move the whole folder to one location below and rename it lanhu-design-assistant. Do not copy just SKILL.md. Back up an old version before replacing it.
| AI tool | All projects | This project only |
|---|---|---|
| Codex | ~/.agents/skills/lanhu-design-assistant/ | .agents/skills/lanhu-design-assistant/ |
| Claude Code | ~/.claude/skills/lanhu-design-assistant/ | .claude/skills/lanhu-design-assistant/ |
| Cursor | ~/.cursor/skills/lanhu-design-assistant/ | .cursor/skills/lanhu-design-assistant/ |
~ is your home folder. Then open a terminal in that folder and run:
node --version
npm ci --omit=dev --ignore-scripts
npm exec -- playwright install chromium
node scripts/lanhu.mjs --help
node scripts/lanhu.mjs doctorThe first command should show v24.x. Keep the folder where it is.
Copy your API Key from your account and enter it in your own terminal when asked. Then sign in to Lanhu in the browser that opens, stay on the team homepage and wait for it to close. Do not paste your Key, password or Cookies into chat.
Run these yourself in the installed Skill folder. The first asks for the Key; the second opens the Lanhu login when needed.
node scripts/lanhu.mjs auth configure
node scripts/lanhu.mjs call lanhu_login --json '{}'If --help lists setup, node scripts/lanhu.mjs setup does both steps. Older ZIPs may not have it.
Open a new chat or reload your AI tool, then select the Skill:
Use lanhu-design-assistant to check the installation and list my teams.If the AI lists your teams, it works. An empty list is also fine if you have no team access. If it cannot find the Skill, give it the full path of the installed SKILL.md and ask it to check.
After selecting the Skill, send:
Use lanhu-design-assistant. List my teams, then let me choose a project and design. Save that design's original JSON and tell me where it is. I also need images: help me choose the ones to download. Inspect my current project, use the design to build the interface, then run it and compare the result with the design.If you only need the design files, drop the part about building the interface. Tell the AI whether you need images and where to save the files.
Need help? Send your system, AI tool, version and the error message to [email protected]. Do not send passwords, Keys or private designs.