技能潮 SkillTide 提交收录
官方说明Agent 技能7 天前
elcodabra/lego-build-inventory

elcodabra/lego-build-inventory

LEGO from my bricks: photograph your parts, get build ideas and step-by-step instructions
在 GitHub 查看 ↗直链 · 无中转页
官方说明LEGO from my bricks: photograph your parts, get build ideas and step-by-step instructions. Agent Skill + MCP server for Claude and ChatGPT.
★ 数取值
0 ★ · elcodabra/lego-build-inventory · 取自 GitHub 搜索 API · (2026-10-16 20:00:20 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-10-10 · 最近见到 2026-10-16 · 共见到 13 次 · 被 1 个来源列出
评分构成
综合分 103 · 1 个来源 · repo
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: Agent 技能。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 elcodabra/lego-build-inventory;我们收录于 2026-10-10;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

LEGO from my bricks

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

A Skill plus an MCP server for Claude and ChatGPT. It designs LEGO models **only from the parts you actually own**, checks that the model holds together and that you have enough of every part, and renders step-by-step instructions in the style of an official booklet (PNG, mp4 1080×1920 / 1920×1080).
**Main scenario: photograph your parts → get ideas for what you can build → get the instructions.**
Ideas are parametric models: house, tree, mushroom, rocket, robot, tower, heart, pyramid, fire truck, rover, spaceship, and a spaceport scene (a vehicle plus a ship side by side). The pile-driven ones (spaceship, spaceport) try to use as many of your parts as possible, and ideas are sorted so the one that takes the most parts comes first. Each is built from your parts: it picks the largest size that fits, the colours you have, and the part lengths available. Every proposed model passes the check (no overlaps, nothing floating, all parts in the inventory). Alongside the ideas that build now, it lists the ones that are close, with the exact parts missing. On top of the ideas, the agent can design any custom model from the same parts.
Built on the siliconbag/lego-build engine (MIT). On top of it this repo adds an inventory, a check against the inventory with substitute suggestions, JSON models, the MCP server, and packaging for Claude Code, claude.ai, Claude Desktop, Codex and ChatGPT.
Which option to pick
| Where | What to connect | How |
|---|---|---|
| **Claude Code** | plugin (skill + MCP) | scripts/install.sh claude-code or /plugin marketplace add → /plugin install lego-inventory-build@lego-tools |
| **claude.ai** (web/app) | skill zip | scripts/install.sh zip → Settings → Capabilities → Skills → Upload. Needs code execution. No network in the sandbox, so rendering is local only |
| **Claude Desktop** | MCP (stdio) | scripts/install.sh desktop prints the JSON for claude_desktop_config.json |
| **Codex CLI / ChatGPT desktop** | plugin (skill + MCP) | codex plugin marketplace add → codex plugin add lego-inventory-build@lego-tools (or scripts/install.sh codex) |
| **ChatGPT web** | remote MCP (HTTP) | see below |
On first launch the MCP server runs npm install and fetches Chromium for Playwright by itself (~100 MB, once). You also need **Node 20+** and **ffmpeg** (only for mp4).
ChatGPT (web, developer mode)
**Quickest: the hosted server** at https://lego-mcp.vercel.app/mcp, with sign-in (OAuth 2.1):
1. ChatGPT → Settings → Apps → Create app, URL https://lego-mcp.vercel.app/mcp, Authentication: **OAuth**.
2. Claude → Settings → Connectors → Add custom connector, same URL.
3. A sign-in window opens (lego-auth.vercel.app): create an account with a passkey (Face ID, Touch ID or device PIN; no password, no e-mail) and press «Разрешить».
Your parts and models belong to your account, the same in ChatGPT and Claude. Connected apps can be disconnected at https://lego-auth.vercel.app/account. Limits per account per day: 300 tool calls, 10 videos, 40 photos. Pictures and videos are kept for 30 days.
**Or run your own.** ChatGPT only connects to MCP servers over a public HTTPS URL.
1. ChatGPT → Settings → Security and login → **Developer mode**.
2. chatgpt.com/plugins → **+** → URL https:// /mcp?key= , auth: No Authentication.
3. In the chat: **+** → Developer mode → LEGO. Prompt: *"Use the lego app. Here are my sets 31058 and 10696, what can I build?"*
The token in ?key= is simple protection for personal use. For a public service you'd need OAuth and your own hosting (Fly.io, Render, any VPS with Chromium and ffmpeg). Links to mp4/PNG are served from PUBLIC_URL/files/....
Hosting on Vercel
api/mcp.mjs is the serverless entry. Each user's parts and models are one key in Upstash Redis (api/_store.mjs: one GET and one compare-and-set per request, daily quotas as atomic counters); without Redis it falls back to a private Vercel Blob store. Rendered PNG/mp4 go to a public Blob store, and identical files are uploaded only once. Handshakes, tool listings and reference tools don't touch storage at all. A full ChatGPT session (import, ideas, build, picture, steps) costs about 4 Blob operations instead of 27, which matters on Vercel Hobby (2,000 per month). Environment:
来源
github · https://github.com/elcodabra/lego-build-inventory
按领域浏览
Agent 技能
收录于
昨天

更多Agent 技能

查看Agent 技能全部 142 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引