Agent skill

Vtj Resource Management

by hexianWeb in hexianWeb/Third-Person-MC

Loads and manages 3D assets via the Resources system. An agent skill from hexianWeb/Third-Person-MC.

MITAuto-check passedGame Development

Install Vtj Resource Management

skills CLI
$ npx skills add hexianWeb/Third-Person-MC --skill vtj-resource-management -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install hexianWeb/Third-Person-MC vtj-resource-management --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/hexianWeb/Third-Person-MC.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agent/skills/vtj-resource-management .claude/skills/vtj-resource-management && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
vtj-resource-management
GitHub stars
195
Token cost
~1.6k tokens
SKILL.md length
182 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
MIT

At a glance

Loads and manages 3D assets via the Resources system. An agent skill from hexianWeb/Third-Person-MC.

  • Works in 3 steps: 放置文件 → 声明资源 → 使用资源
  • Declare in sources.js and access via core:ready event
  • SKILL.md covers Overview, When to Use, 资源声明 (sources.js) and 支持的资源类型, plus 7 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Vtj Resource Management is an agent skill from hexianWeb/Third-Person-MC. Loads and manages 3D assets via the Resources system. Use when adding models, textures, or fonts; declare in sources.js and access via core:ready event.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Game Development, covering Game assets and audio and 3D graphics and WebGL. It works with Three.js. The repository describes itself as: Three.js web version Minecraft in browser. The licence is MIT.

When your agent uses it

  • Declare in sources.js and access via core:ready event
  • Tasks that involve Game assets and audio
  • Tasks that involve 3D graphics and WebGL

Example prompts

  • “Use the vtj-resource-management skill to load and manages 3D assets via the Resources system. An agent skill from hexianWeb/Third-Person-MC”
  • “/vtj-resource-management”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. 放置文件
  2. 声明资源
  3. 使用资源

What it can do on your machine

Read from SKILL.md and the folder at commit 490203c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Vtj Resource Management loads about 1.6k tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 182 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~44
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from hexianWeb/Third-Person-MC at commit 490203c, republished under its MIT licence (© hexianWeb). 182 words, ~1,594 tokens.

Download SKILL.mdSave it as .claude/skills/vtj-resource-management/SKILL.md (or your agent's skills folder).
name
vtj-resource-management
description
Loads and manages 3D assets via the Resources system. Use when adding models, textures, or fonts; declare in sources.js and access via core:ready event.

vite-threejs Resource Management

Overview

所有资源(模型、纹理、字体等)通过 Resources 类统一加载。资源在 sources.js 中声明,加载完成后通过 this.experience.resources.items 访问。

核心原则:在 sources.js 声明,通过 items 访问,在 core:ready 事件后使用。

When to Use

  • 添加新模型(GLB/GLTF/FBX/OBJ)
  • 添加新纹理(PNG/JPG/HDR/EXR/KTX2)
  • 添加字体、音频、视频等资源
  • 需要等待资源加载完成后执行逻辑

资源声明 (sources.js)

所有资源在 src/js/sources.js 中统一声明:

javascript
// src/js/sources.js
export default [
  {
    name: 'playerModel',        // 资源名称(用于访问)
    type: 'gltfModel',          // 资源类型
    path: 'models/character/player.glb',  // 相对于 public/ 的路径
  },
  {
    name: 'grass_block_top_texture',
    type: 'texture',
    path: 'textures/blocks/grass_block_top.png',
  },
  // ...
]

支持的资源类型

type加载器用途示例路径
gltfModelGLTFLoaderGLB/GLTF 模型models/xxx.glb
fbxModelFBXLoaderFBX 模型models/xxx.fbx
objModelOBJLoaderOBJ 模型models/xxx.obj
textureTextureLoader普通纹理textures/xxx.png
hdrTextureRGBELoaderHDR 环境贴图textures/xxx.hdr
exrTextureEXRLoaderEXR 高动态范围textures/xxx.exr
ktx2TextureKTX2LoaderKTX2 压缩纹理textures/xxx.ktx2
cubeTextureCubeTextureLoader立方体贴图['px.jpg', 'nx.jpg', ...]
fontFontLoader字体文件fonts/xxx.json
audioAudioLoader音频文件audio/xxx.mp3
svgSVGLoaderSVG 文件images/xxx.svg
videoVideoTexture视频纹理videos/xxx.mp4

访问已加载资源

javascript
// 在组件中访问资源
constructor() {
  this.experience = new Experience()
  this.resources = this.experience.resources
}

// 通过 items[name] 访问
const texture = this.resources.items['grass_block_top_texture']
const model = this.resources.items['playerModel']
GLTF 模型结构
javascript
const gltf = this.resources.items['playerModel']

// 完整 GLTF 对象
gltf.scene        // THREE.Group - 场景根节点
gltf.animations   // AnimationClip[] - 动画列表
gltf.cameras      // Camera[] - 相机(如有)
gltf.asset        // 元数据

// 添加到场景
this.scene.add(gltf.scene)

// 克隆模型(多实例)
const clone = gltf.scene.clone()
纹理配置
javascript
const texture = this.resources.items['grass_block_top_texture']

// 常见纹理配置
texture.colorSpace = THREE.SRGBColorSpace  // 颜色空间
texture.wrapS = THREE.RepeatWrapping       // 水平重复
texture.wrapT = THREE.RepeatWrapping       // 垂直重复
texture.minFilter = THREE.NearestFilter    // 像素风格
texture.magFilter = THREE.NearestFilter
texture.generateMipmaps = false            // 像素风格关闭 mipmap

等待资源加载完成

资源全部加载完成后触发 core:ready 事件:

javascript
import emitter from './utils/event-bus.js'

// 在需要等待资源的地方
emitter.on('core:ready', () => {
  // 此时所有资源已加载完成
  this.initWithResources()
})
典型模式:World 初始化
javascript
// src/js/world/world.js
export default class World {
  constructor() {
    this.experience = new Experience()
    this.resources = this.experience.resources

    // 等待资源加载完成
    emitter.on('core:ready', () => {
      // 初始化需要资源的组件
      this.player = new Player()
      this.environment = new Environment()
      this.chunkManager = new ChunkManager()
    })
  }
}

添加新资源步骤

1. 放置文件
public/
├── models/
│   └── character/
│       └── my-model.glb      ← 新模型
├── textures/
│   └── blocks/
│       └── my-texture.png    ← 新纹理
2. 声明资源
javascript
// src/js/sources.js
export default [
  // ... 现有资源
  
  // 添加新资源
  {
    name: 'myModel',
    type: 'gltfModel',
    path: 'models/character/my-model.glb',
  },
  {
    name: 'myTexture',
    type: 'texture',
    path: 'textures/blocks/my-texture.png',
  },
]
3. 使用资源
javascript
// 在组件中(确保在 core:ready 后)
const model = this.resources.items['myModel']
const texture = this.resources.items['myTexture']

资源命名规范

类型命名模式示例
模型xxxModelplayerModel, steveModel
纹理xxx_texture 或描述性grass_block_top_texture, dirt
HDRxxxHDRTextureenvironmentMapHDRTexture
天空盒sky_xxxTexturesky_sunriseTexture
植物xxx_plant_Texturedandelion_plant_Texture
破坏阶段destroy_stage_Ndestroy_stage_0 ~ destroy_stage_9

加载进度

javascript
// Resources 提供加载进度
this.resources.loadProgress  // 0.0 ~ 1.0
this.resources.isLoaded      // boolean
this.resources.loaded        // 已加载数量
this.resources.toLoad        // 总数量

Common Mistakes

❌ 在 core:ready 之前访问资源
javascript
// BAD: 构造函数中直接访问(资源可能未加载)
constructor() {
  this.model = this.resources.items['playerModel']  // ❌ 可能是 undefined
}

// GOOD: 在 core:ready 回调中访问
constructor() {
  emitter.on('core:ready', () => {
    this.model = this.resources.items['playerModel']  // ✅
  })
}
❌ 忘记在 sources.js 声明
javascript
// BAD: 直接使用加载器(绕过资源系统)
const loader = new GLTFLoader()
loader.load('models/xxx.glb', (gltf) => { ... })

// GOOD: 在 sources.js 声明
// sources.js
{ name: 'xxx', type: 'gltfModel', path: 'models/xxx.glb' }

// 组件中
const gltf = this.resources.items['xxx']
❌ 资源名称拼写错误
javascript
// BAD: 名称不匹配
// sources.js 中是 'playerModel'
const model = this.resources.items['player_model']  // ❌ undefined

// GOOD: 名称完全一致
const model = this.resources.items['playerModel']   // ✅
❌ 路径不以 public/ 为根
javascript
// BAD: 使用绝对路径或 src/ 路径
{ path: '/public/models/xxx.glb' }     // ❌
{ path: 'src/assets/models/xxx.glb' }  // ❌

// GOOD: 相对于 public/ 目录
{ path: 'models/xxx.glb' }             // ✅
❌ 忘记配置像素风格纹理
javascript
// BAD: 模糊的像素纹理(Minecraft 风格需要锐利边缘)
const texture = this.resources.items['grass']
// 使用默认 filter,导致模糊

// GOOD: 配置 NearestFilter
const texture = this.resources.items['grass']
texture.minFilter = THREE.NearestFilter
texture.magFilter = THREE.NearestFilter
texture.generateMipmaps = false

Quick Reference

操作代码
声明资源sources.js: { name, type, path }
访问资源this.resources.items['name']
等待加载emitter.on('core:ready', () => {})
检查进度this.resources.loadProgress
GLTF 场景gltf.scene
GLTF 动画gltf.animations
资源类型type 值
GLB/GLTFgltfModel
普通纹理texture
HDRhdrTexture
字体font
音频audio

© hexianWeb, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agent/skills/vtj-resource-management of hexianWeb/Third-Person-MC.

Open the folder on GitHubat commit 490203c

Compare with similar skills

Vtj Resource Management next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Vtj Resource Management compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Vtj Resource Management this skillhexianWeb/Third-Person-MC195—~1.6kAutomated safety check: PassMIT
Threejs 3D Generatorvalkor-ai/loom1.2k1 repos~2.6kAutomated safety check: PassApache-2.0
Threejs 3D Generatorcorosolto/client257—~3.4kAutomated safety check: PassAGPL-3.0
Living BackdropTheOrcDev/skills106—~2.3kAutomated safety check: PassNone
Blender Web Export Pipelinefreshtechbro/claudedesignskills1k—~4.2kAutomated safety check: PassMIT
Pneuma Lucidpandazki/pneuma-skills161—~4.6kAutomated safety check: WarnMIT

Similar skills

  • Threejs 3D Generator

    valkor-ai/loom

    Generate, texture, rig, animate, stylize, convert, and download 3D assets for Three.js games via the Tripo API.

    1.2k GitHub starsUsed in 1 repo~2.6k tokens
    Game DevelopmentAuto-check passed
  • Threejs 3D Generator

    corosolto/client

    Generate, texture, rig, animate, stylize, convert, and download 3D assets for Three.js games using the Tripo API.

    257 GitHub stars~3.4k tokensUpdated today
    Game DevelopmentAuto-check passed
  • Living Backdrop

    TheOrcDev/skills

    Turn one still image into a living web backdrop - depth parallax that follows the pointer, a subject that breathes, and ambient wind, cloud drift, light and dust, in a single WebGL shader with a…

    106 GitHub stars~2.3k tokensUpdated 11 days ago
    Game DevelopmentAuto-check passed
  • Blender Web Export Pipeline

    freshtechbro/claudedesignskills

    Exports and optimizes Blender 3D models and animations for the web as glTF, covering batch Python scripting, texture baking, decimation and LOD generation for Three.js and Babylon.js.

    1k GitHub stars~4.2k tokensUpdated 10 mo ago
    Game DevelopmentAuto-check passed
  • Pneuma Lucid

    pandazki/pneuma-skills

    Pneuma Lucid Mode workspace guidelines. An agent skill from pandazki/pneuma-skills.

    161 GitHub stars~4.6k tokensUpdated today
    Game DevelopmentAuto-check: warnings
  • Game 3D Assets

    corosolto/client

    3D asset engineer that finds, downloads, and integrates GLB/GLTF models into Three.js browser games.

    257 GitHub stars~5.4k tokensUpdated today
    Game DevelopmentAuto-check: notes

More from hexianWeb/Third-Person-MC

All 12 skills in this repo
  • Vtj Debug Panel

    hexianWeb/Third-Person-MC

    Configures Tweakpane debug panels for 3D components. An agent skill from hexianWeb/Third-Person-MC.

    195 GitHub stars~638 tokensUpdated 2 mo ago
    Auto-check passed
  • Vtj Camera System

    hexianWeb/Third-Person-MC

    Configures third-person camera systems with collision avoidance.

    195 GitHub stars~1.9k tokensUpdated 2 mo ago
    Auto-check passed
  • Vtj Component Model

    hexianWeb/Third-Person-MC

    Creates 3D components using the Experience singleton pattern.

    195 GitHub stars~1.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Vtj Input System

    hexianWeb/Third-Person-MC

    Handles mouse, keyboard, and touch input via the IMouse and InputManager systems.

    195 GitHub stars~1.8k tokensUpdated 2 mo ago
    Auto-check passed
  • Vtj Performance

    hexianWeb/Third-Person-MC

    Optimizes Three.js rendering performance. An agent skill from hexianWeb/Third-Person-MC.

    195 GitHub stars~802 tokensUpdated 2 mo ago
    Auto-check passed
  • Vtj Raycasting System

    hexianWeb/Third-Person-MC

    Implements ray picking and collision detection. An agent skill from hexianWeb/Third-Person-MC.

    195 GitHub stars~2k tokensUpdated 2 mo ago
    Auto-check passed

Works with

Questions about Vtj Resource Management

What does Vtj Resource Management do?

Loads and manages 3D assets via the Resources system. An agent skill from hexianWeb/Third-Person-MC. Vtj Resource Management is an agent skill from hexianWeb/Third-Person-MC. Loads and manages 3D assets via the Resources system.

When should I use Vtj Resource Management?

Vtj Resource Management fits situations like: declare in sources.js and access via core:ready event; tasks that involve Game assets and audio; tasks that involve 3D graphics and WebGL.

How do I install Vtj Resource Management in Claude Code?

Run `npx skills add hexianWeb/Third-Person-MC --skill vtj-resource-management -a claude-code`. Or copy the skill folder (.agent/skills/vtj-resource-management in hexianWeb/Third-Person-MC) into .claude/skills/vtj-resource-management in your project. Claude Code loads it when a task matches its description.

How do I install Vtj Resource Management in Codex?

Run `npx skills add hexianWeb/Third-Person-MC --skill vtj-resource-management -a codex`. Or copy the skill folder (.agent/skills/vtj-resource-management in hexianWeb/Third-Person-MC) into .agents/skills/vtj-resource-management in your project. Codex loads it when a task matches its description.

Can I use Vtj Resource Management in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hexianWeb/Third-Person-MC --skill vtj-resource-management -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/vtj-resource-management, .gemini/skills/vtj-resource-management, .github/skills/vtj-resource-management and .opencode/skills/vtj-resource-management in your project.

What does Vtj Resource Management need to run?

SKILL.md names no scripts, command-line tools or credentials: Vtj Resource Management is instructions for the agent only.

Does Vtj Resource Management access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Vtj Resource Management safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Vtj Resource Management use?

Vtj Resource Management is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Vtj Resource Management use?

About 1.6k tokens (SKILL.md is roughly 6.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Vtj Resource Management?

Skills that share tags, products or a category with Vtj Resource Management: Threejs 3D Generator (valkor-ai/loom, 1.2k stars), Threejs 3D Generator (corosolto/client, 257 stars), Living Backdrop (TheOrcDev/skills, 106 stars) and Blender Web Export Pipeline (freshtechbro/claudedesignskills, 1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Vtj Resource Management?

hexianWeb (a GitHub user) maintains it in hexianWeb/Third-Person-MC, which has 195 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on July 27, 2026.

Source: hexianWeb/Third-Person-MC on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.