lanhu-mcp-collaboration — Claude Code skill: how it works and setup
lanhu-mcp-collaboration connects your assistant to Lanhu to extract UI specifications, inspect Axure prototypes, and download slices.
no license 256 installs ★ 9 updated 2026-10-09
npx skills add reason-machines/mcp-skills --skill lanhu-mcp-collaboration -a claude-codeWhat lanhu-mcp-collaboration does
This skill connects your coding assistant to a local Lanhu MCP service. It pulls spacing values, color palettes, typography metrics, and generated HTML/CSS snippets straight from design links. When examining Axure prototypes, it runs targeted checks across development, testing, or exploratory workflows to identify edge cases and business rules.
Asset extraction is handled automatically. The underlying tool detects designated export layers and saves PNG or SVG files into your local folders using semantic names. Team notes can also be saved to a shared message board across client sessions.
The skill fails immediately if the backing server is offline or lacks a valid LANHU_COOKIE token. The host machine must also have Python 3.10 or newer and Chromium binaries installed via Playwright.
What it helps with
- extract layout tokens, colors, and CSS rules from design frames
- parse functional requirements and logic from Axure prototypes
- download image slices and icons with descriptive file names
Example prompts for the agent
- Analyze the requirements from this Lanhu document in development mode
- Extract design tokens and CSS snippets for the provided Lanhu board link
- Export all asset slices from the target Lanhu stage into ./assets
How to install lanhu-mcp-collaboration
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill lanhu-mcp-collaboration -a claude-code2Manually: put the files in place
~/.claude/skills/lanhu-mcp-collaboration/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/lanhu-mcp-collaboration/
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill lanhu-mcp-collaboration -a codex2Manually: put the files in place
.agents/skills/lanhu-mcp-collaboration/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill lanhu-mcp-collaboration -a cursor2Manually: put the files in place
.cursor/skills/lanhu-mcp-collaboration/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/mcp-skills skills/lanhu-mcp-collaboration2Manually: put the files in place
.github/skills/lanhu-mcp-collaboration/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill lanhu-mcp-collaboration -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/mcp-skills --path skills/lanhu-mcp-collaborationManually: put the files in place
.devin/skills/lanhu-mcp-collaboration/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill lanhu-mcp-collaboration -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about lanhu-mcp-collaboration
How to install lanhu-mcp-collaboration in Claude Code?
Run npx skills add reason-machines/mcp-skills --skill lanhu-mcp-collaboration -a claude-code. The skill file will be placed at ~/.claude/skills/lanhu-mcp-collaboration/SKILL.md.
What does lanhu-mcp-collaboration do?
It interfaces with a Lanhu MCP backend to read UI parameters, inspect prototype logic, and retrieve sliced graphic assets directly into your workspace.
What prerequisites are required?
You need Python 3.10+, Playwright Chromium, and a valid session token exported under LANHU_COOKIE. The MCP server must run at http://localhost:8000/mcp.