3d-in-readme
БесплатноБез исполняемых скриптовНе проверенEmbed an interactive 3D model in a GitHub README, issue, PR, or any markdown file. Use when the user wants to add, embed, or show a 3D model, avatar, mesh…
от nirholas★ 289 звёзд на GitHubОб этом скилле
Put a 3D model in GitHub markdown
GitHub renders ASCII STL inside a ```stl fenced code block as an interactive 3D viewer - in READMEs, issues, PRs, discussions, and gists. The readme-3d CLI converts real model files into those blocks.
Workflow
Get the model file. Accept
.glb,.gltf,.obj,.stl, or.ast. If the user has no model but describes one, generate it first (step 2); otherwise skip to step 3.(Optional) Generate from text. POST to the free Forge API on three.ws - no key or account:
curl -s -X POST https://three.ws/api/v1/ai/text-to-3d \ -H 'content-type: application/json' \ -d '{"prompt": "<single object, shape-first description>"}'If
data.statusis"done", downloaddata.glb_url. If"pending", pollGET https://three.ws/api/forge?job=<data.job>every 5 s untilstatusis"done"(allow ~2 min). Shape-first prompts work best: silhouette survives the monochrome STL render, textures do not.Convert with a byte budget. Check the target markdown file's current size first, leave headroom under GitHub's 512 KB render limit, and never spend more than ~60% of what remains:
npx readme-3d model.glb --budget <headroom>kb --name <model_name> -o block.mdDefaults are sensible: 1,500 facets max, Y-up→Z-up correction for GLB/OBJ, coordinates normalized. Add
--detailswhen embedding into issues/PR threads so the block collapses.Embed. Insert the contents of
block.mdwhere the user wants it (for a README, typically after the intro). Then verify:npx readme-3d check README.mdcheckmust printOK. If it reportsTOO BIG, reconvert with a smaller--budget- never ship a file over the limit, because GitHub will display the entire file as raw text.
Rules
- ASCII STL only - binary STL in a fence renders as gibberish. The CLI always emits ASCII; never hand-build the block from a downloaded
.stlwithout converting. - The viewer is monochrome geometry. Warn the user if their model's identity depends on textures or color.
- One hero model beats several small ones; each block costs 45 KB+.
- The block renders on github.com only (README, issues, PRs, discussions, gists) - not on npm, GitLab, or in IDE previews. Mention this if the file is consumed elsewhere.
Установить 3d-in-readme в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл 3d-in-readme?
Embed an interactive 3D model in a GitHub README, issue, PR, or any markdown file. Use when the user wants to add, embed, or show a 3D model, avatar, mesh, STL, GLB, or 3D print in markdown or a README - "add a 3D model to my README", "embed this GLB", "show the part in the issue". Converts GLB/glTF/OBJ/STL to the ASCII STL block GitHub renders natively, simplified to fit GitHub's 512 KB markdown limit.
Как установить скилл 3d-in-readme?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл 3d-in-readme запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic