chili3d

chili3d is a skill for Claude Code, Codex from znlgis/opengis-skills. It costs 109 tokens per session (4,367 once invoked), scanned A, original, MIT.

A browser-based 3D computer-aided design (CAD) toolkit for building and viewing solid models in JavaScript and TypeScript. It runs in the browser and supports formats such as STEP, IGES, STL, OBJ and glTF.

In plain words
What is it for?
Use it to build browser-based model viewers and design tools with sketches, measurements, sections, editable parameters and 3D geometry. It can also import, edit and export common engineering model files.
Why use it?
It lets you add 3D CAD work to a web application without requiring users to install a desktop CAD program. It also provides standard modeling operations such as cutting shapes, rounding edges and creating hollow parts.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build browser-based model viewers and design tools with sketches, measurements, sections, editable parameters and 3D geometry. It can also import, edit and export common engineering model files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/znlgis/opengis-skills/chili3d
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add znlgis/opengis-skills --skill chili3d
Clone the repo
git clone --depth 1 https://github.com/znlgis/opengis-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for chili3d

README.md
[![agentmods](https://agentmods.dev/badge/skills/znlgis/opengis-skills/chili3d/github.svg)](https://agentmods.dev/skills/znlgis/opengis-skills/chili3d)
Your own site
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/chili3d"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/chili3d/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for chili3d

Your own site · 80×15
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/chili3d"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/chili3d.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,367 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00109 $0.04367
Opus 5.5 $0.00044 $0.01747
Sonnet 5.5 $0.00022 $0.00873
Haiku 4.5 $0.00011 $0.00437

Measured 2d ago against content hash ee59c322b2f2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

chili3d scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

cad/chili3d/SKILL.md · 305 lines

How it starts

The opening of the file, as written. The whole thing — 305 lines — stays where its author put it; the contents beside it link to each section on GitHub.

项目地址: https://github.com/xiangechen/chili3d

在线体验: https://chili3d.com/(Cloudflare 部署:https://chili3d.pages.dev)

许可证: AGPL-3.0

包管理器: npm workspaces(根 package.json 版本 0.7.1;npm 上仅 @chili3d/core 已发布 0.7.0,其余 @chili3d/* 为工作区包,截至 2026-10)

版本: 0.7.1(GitHub tag 0.7.1,2026-09-19)

中文教程: https://znlgis.github.io/cad/chili3d/

概述

Chili3D 主要特性:

  • 纯前端 CAD:基于 Three.js + 自研 chili-wasm(Emscripten 直接绑定 Open CASCADE,源码在仓库 cpp/,不是 opencascade.js)
  • 参数化建模:草图、特征树、捕捉与追踪(对象捕捉 / 工作平面捕捉 / 轴追踪 / 特征点识别)
  • 基础几何:立方体、圆柱、圆锥、球、棱锥、环面;2D 直线/圆弧/圆/椭圆/矩形/多边形/贝塞尔
  • 构造运算:布尔(并/差/交)、拉伸、旋转、扫掠、放样、偏移曲面与厚实体、线性/圆形阵列、形状检查与修复
  • 编辑:倒角、圆角、修剪、打断、分割、缝合、简化、特征移除、子形状操作、复合体炸开
  • 测量:角度、长度、长度和 / 面积和 / 体积和
  • 数据交换:STEP / IGES / BREP / STL 导入导出,完整撤销重做事务栈
  • 插件系统:plugins/ 内置 helloworld-js / helloworld-ts / macro / visual-programming 示例,.chiliplugin 拖拽安装
  • 国际化:内置中/英文,Office 风格 Ribbon

环境准备:本地部署与二次开发

仓库使用 npm workspaces(根目录有 package-lock.json),Node + npm 即可:

git clone https://github.com/xiangechen/chili3d.git
cd chili3d
npm install

npm run dev           # rspack dev server,http://localhost:8080
npm run build         # 生产构建

npm run test          # Rstest + Happy-DOM 全量测试
npm run testc         # 带覆盖率
npm run check         # Biome lint + 自动修复
npm run format        # Biome + clang-format(TS 与 C++)

自研 WASM 模块已随仓库提供(packages/wasm/lib),只有需要改 C++ 绑定时才重新编译:

npm run setup:wasm    # 一次性准备 Emscripten/CMake 依赖
npm run build:wasm    # cmake --preset release 编译,产物回拷到 wasm 包 lib

Docker 部署(compose.yml 已在仓库根):

docker compose up -d  # 构建并在 http://localhost:8080 提供服务

构建产物是静态站点,可直接部署到 Nginx / Cloudflare Pages / GitHub Pages。

在线试用(免安装)

直接打开 https://chili3d.com/:

  1. 选择「新建」或导入 STEP/IGES/BREP
  2. 左侧工具栏:Sketch / Box / Cylinder / Sphere / ...
  3. 右侧属性面板:编辑参数、变换
  4. 顶部 Ribbon:Boolean / Fillet / Chamfer / Offset / Array
  5. 文件 → 导出(STEP / IGES / BREP / STL)

核心 API

项目结构

Read the full file on GitHub · 305 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · +5 lines · +19 tokens per session ee59c322b2f2
  2. 15d ago Changed · +72 lines · +35 tokens per session 028f7cbf50eb
  3. 1mo ago Changed · +4 lines eb9ffd4e7a45
  4. 1mo ago Changed 1512c52ec136
  5. 1mo ago Changed 6306f7610495
  6. 2mo ago First seen · 224 lines · 55 tokens per session scan A 15f0b588ab3c

Subscribe to this mod's changes

chili3d is a skill published in the GitHub repository znlgis/opengis-skills (76 stars, last pushed 2d ago), licensed MIT. It adds 109 tokens to every session and 4,367 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

typescript-expert

Expert-level TypeScript development with modern tooling, advanced types, and best practices. Use this skill for TypeScript projects requiring type-safe code, modern bundling, and comprehensive testing.

personamanagmentlayer/pcl · 40 tokens

adapter-express

Mount tRPC as Express middleware with createExpressMiddleware() from @trpc/server/adapters/express. Access Express req/res in createContext via CreateExpressContextOptions. Mount at a path prefix like app.use('/trpc', ...). Avoid global express.json() conflicting with tRPC body parsing for FormData.

trpc/trpc · 67 tokens

trpc-router

Entry point for all tRPC skills. Decision tree routing by task: initTRPC.create(), t.router(), t.procedure, createTRPCClient, adapters, subscriptions, React Query, Next.js, links, middleware, validators, error handling, caching, FormData.

trpc/trpc · 59 tokens

stripe-projects

Use after E2B sandbox/API access has been provisioned through Stripe Projects and the user needs to use the resulting E2B API key with the E2B CLI, JavaScript SDK, Python SDK, or Code Interpreter SDK.

e2b-dev/E2B · 51 tokens

nestjs-expert

Creates and configures NestJS modules, controllers, services, DTOs, guards, and interceptors for enterprise-grade TypeScript backend applications. Use when building NestJS REST APIs or GraphQL services, implementing dependency injection, scaffolding modular architecture, adding JWT/Passport authentication, integrating…

Jeffallan/claude-skills · 107 tokens

walkeros-create-source

Use when creating a new walkerOS source to capture events (browser source, dataLayer interception, server/HTTP source, webhook receiver, event capture), web or server-side. Example-driven workflow: research the input format and define step examples before implementing the push interface, createTrigger, and env pattern.

elbwalker/walkerOS · 65 tokens