chili3d

chili3d is a skill for Claude Code, Codex from znlgis/opengis-skills. It costs 55 tokens per session (2,139 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 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,139 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.00055 $0.02139
Opus 5 $0.00028 $0.01069
Sonnet 5 $0.00011 $0.00428
Haiku 4.5 $0.00006 $0.00214

Measured today against content hash 1512c52ec136, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 today.

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 · 224 lines

How it starts

The opening of the file, as written. The whole thing — 224 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/

许可证: AGPL-3.0

概述

Chili3D 主要特性:

  • 纯前端 CAD:基于 Three.js + OCCT.js(WebAssembly)
  • 参数化建模:草图、特征树、约束求解
  • 基础几何:立方体、圆柱、棱柱、扫掠、放样、布尔
  • 修饰:圆角、倒角、抽壳
  • 数据交换:STEP / IGES / BREP / STL / OBJ / glTF
  • 保存格式:自有 JSON 项目格式
  • 国际化:内置中/英文

在线使用

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

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

本地部署 / 二次开发

git clone https://github.com/xiangechen/chili3d.git
cd chili3d
pnpm install
pnpm dev          # 本地开发服务器(http://localhost:5173)
pnpm build        # 静态构建

构建产物可直接部署到任何静态托管(Nginx / Cloudflare Pages / GitHub Pages)。


项目结构

packages/
├── chili-core/         # 模型、命令、应用框架
├── chili-geo/          # 几何抽象、Visual
├── chili-three/        # Three.js 渲染
├── chili-occ/          # OCCT.js WebAssembly 桥接
├── chili-controls/     # 草图控件、操控器
├── chili-builder/      # 拉伸/扫掠/放样等特征构建器
├── chili-ui/           # UI 组件
└── chili-web/          # 主 Web 应用

嵌入到自有应用

<div id="cad" style="width:100%;height:100vh"></div>
<script type="module">
  import { Application } from '@chili3d/web';
  const app = new Application(document.getElementById('cad'));
  await app.start();
</script>

或作为 iframe:

<iframe src="https://chili3d.com/" allow="cross-origin-isolated"
        style="width:100%;height:100vh;border:0"></iframe>

WebAssembly OCC 需要启用 SharedArrayBuffer,要求站点设置 Cross-Origin-Opener-Policy: same-originCross-Origin-Embedder-Policy: require-corp


使用 OCCT.js 直接构造(脚本扩展)

import { occt } from '@chili3d/occ';

const oc = await occt();
const box = new oc.BRepPrimAPI_MakeBox_2(100, 60, 30).Shape();
// 进一步通过 chili-core 的 Visual 对象包装显示

命令系统

Chili3D 命令通过 Command 注册:

import { Command } from '@chili3d/core';

@Command({ id: 'my.line', display: '我的直线' })
export class MyLineCommand {
    async execute(app) {
        const p1 = await app.input.getPoint('选择起点');
        const p2 = await app.input.getPoint('选择终点');
        app.activeView.document.add(LineFactory.byPoints(p1, p2));
    }
}

Read the full file on GitHub · 224 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. today Changed 1512c52ec136
  2. 8d ago Changed 6306f7610495
  3. 12d 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 (61 stars, last pushed today), licensed MIT. It adds 55 tokens to every session and 2,139 once invoked, about $0.0003 per session on Opus 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

chat-sdk

Build multi-platform chat bots with Chat SDK (chat npm package). Use when developers want to (1) Build a Slack, Teams, Google Chat, Discord, Telegram, GitHub, Linear, or WhatsApp bot, (2) Use Chat SDK to handle mentions, direct messages, subscribed threads, reactions, slash commands, cards, modals, files, or AI…

vercel-labs/open-agents · 191 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