tresjs-core-skilld

tresjs-core-skilld is a skill for Claude Code, Codex from skilld-dev/vue-ecosystem-skills. It costs 70 tokens per session (2,521 once invoked), scanned A, original, MIT.

A coding guide for TresJS, a Vue-based way to build Three.js scenes with Vue components. Three.js is a JavaScript library for displaying 3D graphics in a browser.

In plain words
What is it for?
Use it when writing, debugging, or modifying code that imports @tresjs/core.
Why use it?
It helps avoid incompatible APIs and version-specific mistakes in 3D Vue applications.

Skill for Claude CodeCodex

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

Good fit Use it when writing, debugging, or modifying code that imports @tresjs/core.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/skilld-dev/vue-ecosystem-skills/tresjs-core-skilld
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 skilld-dev/vue-ecosystem-skills --skill tresjs-core-skilld
Clone the repo
git clone --depth 1 https://github.com/skilld-dev/vue-ecosystem-skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin tresjs — /plugin install tresjs after adding the marketplace above.

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 tresjs-core-skilld

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/skilld-dev/vue-ecosystem-skills/tresjs-core-skilld"><img src="https://agentmods.dev/badge/skills/skilld-dev/vue-ecosystem-skills/tresjs-core-skilld.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,521 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.00070 $0.02521
Opus 5.5 $0.00028 $0.01008
Sonnet 5.5 $0.00014 $0.00504
Haiku 4.5 $0.00007 $0.00252

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

Security

Grade A, and why

tresjs-core-skilld 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 1mo 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.

skills/tresjs-core-skilld/SKILL.md · 167 lines

How it starts

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

@tresjs/core 5.9.0

Vue custom renderer for Three.js: any THREE class becomes a component by prefixing Tres (<TresMesh>, <TresBoxGeometry>). Prepared source: package.json, dist/tres.d.ts (public types), dist/tres.js.

npm dist-tags at generation time: latest 5.9.0, rc 5.0.0-rc.0, next 5.0.0-next.6, beta 2.0.0-beta.13, alpha 5.0.0-alpha.2.

Environment limits

  • ESM-only since v5. No UMD, no require(). import { TresCanvas } from '@tresjs/core'.
  • Peer deps: vue >=3.4, three >=0.133 (package.json:44-46). Built against three ^0.184.
  • Time source: three Timer on r179+, falls back to Clock on older three (dist/tres.d.ts:962-970).
  • WebGPU is experimental; requires the renderer prop with a three/webgpu Renderer (see references/webgpu.md).

Setup

pnpm i @tresjs/core three
pnpm i @types/three -D   # TypeScript

Vite: spread templateCompilerOptions into the Vue plugin, or Tres components warn as unknown custom elements (README.md:36-50):

import { templateCompilerOptions } from '@tresjs/core'
import vue from '@vitejs/plugin-vue'
import { defineConfig } from 'vite'

export default defineConfig({
  plugins: [vue({ ...templateCompilerOptions })],
})

A separate subpath export @tresjs/core/template-compiler-options exists for hosts that only need compiler options (package.json:21-25). For Nuxt use @tresjs/nuxt instead of manual setup.

Core model

  • Component catalogue is autogenerated from the THREE namespace: Tres + capitalized class name, also available kebab-case (<tres-mesh>, supported since v5.1.0) (dist/tres.d.ts:497-509).
  • args passes constructor arguments: <TresBoxGeometry :args="[1, 2, 3]" />. Changing reactive args recreates the whole instance; use props for everything settable after construction (dist/tres.d.ts:405-411).
  • Props map to instance properties. Math types accept shorthand: :position="[1, 2, 3]", :rotation="[0, Math.PI, 0]", color="#00ff00" (dist/tres.d.ts:457-485).
  • Child material/geometry auto-attach via attach: <TresMesh><TresBoxGeometry /><TresMeshNormalMaterial /></TresMesh> works without explicit attach.
  • extend({ MyObject }) before using non-THREE classes as <TresMyObject> (dist/tres.d.ts:872-874).
  • <primitive :object="existingThreeObject" /> mounts an object you created in JS. It does not own disposal; dispose manually (see references/performance.md).

Read the full file on GitHub · 167 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · +1 lines c241f9ded57a
  2. 2mo ago Changed · +75 lines · +17 tokens per session c14c5ccd729b
  3. 3mo ago First seen · 91 lines · 53 tokens per session scan A 68186c43cdb1

Subscribe to this mod's changes

tresjs-core-skilld is a skill published in the GitHub repository skilld-dev/vue-ecosystem-skills (188 stars, last pushed 15d ago), licensed MIT. It adds 70 tokens to every session and 2,521 once invoked, about $0.0003 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

tresjs-core-skilld compared with skills from other repositories

tresjs-core-skilld next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tresjs-core-skilldskilld-dev/vue-ecosystem-skillsSkill18815d agoMITA70Claude Code, Codex
shadcn-sveltevercel-labs/json-renderSkill20k9d agoApache-2.0A63Claude Code, Codex
add-localizationmicrosoft/power-platform-skillsSkill1.2ktodayMITA69Claude Code
moai-domain-uiuxmodu-ai/moai-adkSkill1.3ktodayApache-2.0A49Claude Code
moai-domain-frontendmodu-ai/moai-adkSkill1.3ktodayApache-2.0A54Claude Code
weapp-vite-vue-sfc-best-practicesweapp-vite/weapp-viteSkill530todayMITA107Codex
vue-router-best-practicesvuejs-ai/skillsSkill3.4k1mo agoMITA25Claude Code, Codex