astral3d

astral3d is a skill for Claude Code, Codex from znlgis/opengis-skills. It costs 45 tokens per session (2,205 once invoked), scanned A, original, MIT.

A framework for building industrial 3D applications that display and edit large technical models. It supports web-based scenes containing models, materials, lighting, cameras, animations, and interactive objects.

In plain words
What is it for?
Use it to build 3D viewers and editors for industrial models, with functions such as object selection, measurements, markup, live data updates, animations, and scene export.
Why use it?
It provides a shared structure for loading and interacting with complex 3D scenes instead of assembling every viewer feature separately. Available features can differ between its open-source and commercial versions.

Skill for Claude CodeCodex

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

Good fit Use it to build 3D viewers and editors for industrial models, with functions such as object selection, measurements, markup, live data updates, animations, and scene export.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/znlgis/opengis-skills/astral3d
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 astral3d
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 astral3d

README.md
[![agentmods](https://agentmods.dev/badge/skills/znlgis/opengis-skills/astral3d/github.svg)](https://agentmods.dev/skills/znlgis/opengis-skills/astral3d)
Your own site
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/astral3d"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/astral3d/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 astral3d

Your own site · 80×15
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/astral3d"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/astral3d.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,205 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.00045 $0.02205
Opus 5 $0.00023 $0.01103
Sonnet 5 $0.00009 $0.00441
Haiku 4.5 $0.00005 $0.00220

Measured yesterday against content hash 6006537b8d34, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

astral3d 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 yesterday.

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/astral3d/SKILL.md · 256 lines

How it starts

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

项目地址: https://github.com/mlt131220/Astral3D(Vue3 + THREE.JS 的 WebGL 3D 引擎,npm 包名 astral3d

演示: https://astral3d.com/

许可证: Apache-2.0 / MIT(视具体仓库)

概述

Astral3D 主要特性:

  • 基于 Three.js / Babylon.js 的高层封装
  • 场景编辑器:可视化拖拽、属性面板、节点树
  • 资产管理:模型库、材质库、HDR 环境
  • 动画与状态机:物体动画、相机路径、时间轴
  • 交互:射线拾取、点击、悬浮、UI 弹窗
  • 数据接入:MQTT、WebSocket 实时推送
  • 导出:JSON 场景、glTF、嵌入 SDK

不同发行版(开源版 / 商业版 / 企业版)功能差异较大,本 SKILL 聚焦开源版与通用 SDK 用法。


安装

# Web SDK(npm)
# 编辑器(如有桌面版):从官网下载

CDN:

<script src="https://cdn.jsdelivr.net/npm/astral3d/dist/astral3d.umd.js"></script>

入门:嵌入页面

<div id="scene" style="width:100%;height:100vh"></div>
<script type="module">
  import { Viewer } from 'astral3d';

  const viewer = new Viewer({
    container: document.getElementById('scene'),
    scene: '/scenes/factory.json',     // 由编辑器导出
    background: 'env/sky.hdr'
  });

  await viewer.load();

  // 监听点击事件
  viewer.on('pick', (obj) => console.log('clicked', obj.name));
</script>

场景模型

概念 说明
Scene 场景容器(场景树、灯光、相机)
Asset 资源(模型、纹理、HDR)
Entity 场景节点
Component 实体组件(Transform、Mesh、Light、Animator、Script)
Plugin 编辑器/运行时插件

加载模型

import { ModelLoader } from 'astral3d';

const car = await ModelLoader.load('/models/car.glb');
viewer.scene.add(car);

// 设置位置 / 旋转
car.position.set(10, 0, 0);
car.rotation.y = Math.PI / 4;

支持格式:glTF/GLB(首选)、OBJ、FBX、STL、IFC、STEP(通过 OCCT.js)。


场景编辑器

Astral3D 通常配套桌面/Web 编辑器:

  1. 新建场景 → 选模板(空 / 工业园区 / 数据中心)
  2. 拖入模型库资产
  3. 编辑材质、灯光、HDR
  4. 设置交互(点击事件、动画轨道)
  5. 导出 .json 场景文件 → 由 Viewer 加载

数据驱动(IoT 实时)

import { MqttBridge } from 'astral3d';

const bridge = new MqttBridge('wss://broker:8083/mqtt');
bridge.subscribe('factory/device/+/temp', (topic, payload) => {
    const id = topic.split('/')[2];
    const dev = viewer.scene.findById(id);
    dev.userData.temp = +payload;
    dev.material.color.setHSL(0.6 - payload/100, 1, 0.5);
});

Read the full file on GitHub · 256 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. yesterday Changed 6006537b8d34
  2. 8d ago Changed 2887c8cc3dea
  3. 11d ago First seen · 256 lines · 45 tokens per session scan A 4eb9554c7246

Subscribe to this mod's changes

astral3d is a skill published in the GitHub repository znlgis/opengis-skills (60 stars, last pushed 2d ago), licensed MIT. It adds 45 tokens to every session and 2,205 once invoked, about $0.0002 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

threejs-engineer

!cat skills/shared/protocols/3d-spatial-foundations.md 2>/dev/null || true !cat skills/shared/game-visual-foundations.md 2>/dev/null || echo "=== Visual Foundations not loaded ===" !cat skills/shared/protocols/ux-protocol.md 2>/dev/null || true !cat skills/shared/protocols/input-validation.md 2>/dev/null || true !cat…

buiphucminhtam/forgewright · 65 tokens

3d-visualizer

Expert in Three.js, 3D graphics, and interactive 3D visualizations.

daffy0208/ai-dev-standards · 23 tokens

3d-website-architect

Expert skill for designing, building, and deploying modern premium websites with advanced animations and 3D interactive experiences using Three.js, React Three Fiber, GSAP, and Framer Motion. Use this skill whenever the user wants to build a website with 3D elements, create an immersive web experience, add interactive…

deveshpunjabi/3d-website-skill · 240 tokens

antv-x6-editor

A skill for creating and troubleshooting interactive diagrams with AntV X6, a JavaScript engine for editors made of connected nodes and lines. It supports diagram types such as flowcharts, dependency graphs, entity-relationship diagrams, and organization charts.

antvis/chart-visualization-skills · 253 tokens

reimagine-it

Content-Derived Design — reads existing HTML and writes a stronger standalone page from headings, facts, names, dates, numbers, links, emails, and colors already in that file. CLI: npx reimagine-it --auto -i page.html -o out.html; also variations, lock, and audit. Use when the user says /reimagine-it, "reimagine it"…

Kayforkind/reimagine-it · 230 tokens

dile-components

Use when building or modifying UI with the Dile Components library (@dile/ui, @dile/crud, @dile/editor, @dile/utils, @dile/lib, @dile/iconlib, @dile/icons) — a framework-agnostic, Lit-based web component catalog. Trigger when installing/importing dile- custom elements, using tags like , , , building CRUD screens…

Polydile/dile-components · 123 tokens