Third-Person-MC: Skill for Claude Code

.agent/skills/vtj-resource-management/SKILL.md

vtj-resource-management is a skill for Claude Code, Codex from hexianWeb/Third-Person-MC. It costs 39 tokens per session (2,166 once invoked), scanned A, original, MIT.

A resource-management system for loading 3D models, textures, fonts, audio, video, and other assets in a Vite and Three.js project.

In plain words
What is it for?
Use it to register assets in sources.js and access them after the core:ready event through the project’s resources collection.
Why use it?
It gives assets one declared loading path and helps code wait until resources are ready before using them.

Skill for Claude CodeCodex

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

This is hexianWeb/Third-Person-MC's own configuration. It tells Claude Code and Codex how to work on Third-Person-MC itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Third-Person-MC configures →

Reuse

Borrowing it

Nothing to install: this file belongs to hexianWeb/Third-Person-MC. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/hexianWeb/Third-Person-MC/main/.agent/skills/vtj-resource-management/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/hexianWeb/Third-Person-MC

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 vtj-resource-management

README.md
[![agentmods](https://agentmods.dev/badge/skills/hexianweb/third-person-mc/vtj-resource-management/github.svg)](https://agentmods.dev/skills/hexianweb/third-person-mc/vtj-resource-management)
Your own site
<a href="https://agentmods.dev/skills/hexianweb/third-person-mc/vtj-resource-management"><img src="https://agentmods.dev/badge/skills/hexianweb/third-person-mc/vtj-resource-management/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 vtj-resource-management

Your own site · 80×15
<a href="https://agentmods.dev/skills/hexianweb/third-person-mc/vtj-resource-management"><img src="https://agentmods.dev/badge/skills/hexianweb/third-person-mc/vtj-resource-management.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,166 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.00039 $0.02166
Opus 5 $0.00019 $0.01083
Sonnet 5 $0.00008 $0.00433
Haiku 4.5 $0.00004 $0.00217

Measured 9d ago against content hash 20d65e5060bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

vtj-resource-management 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 9d 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.

.agent/skills/vtj-resource-management/SKILL.md · 290 lines

How it starts

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

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 中统一声明:

// 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 加载器 用途 示例路径
gltfModel GLTFLoader GLB/GLTF 模型 models/xxx.glb
fbxModel FBXLoader FBX 模型 models/xxx.fbx
objModel OBJLoader OBJ 模型 models/xxx.obj
texture TextureLoader 普通纹理 textures/xxx.png
hdrTexture RGBELoader HDR 环境贴图 textures/xxx.hdr
exrTexture EXRLoader EXR 高动态范围 textures/xxx.exr
ktx2Texture KTX2Loader KTX2 压缩纹理 textures/xxx.ktx2
cubeTexture CubeTextureLoader 立方体贴图 ['px.jpg', 'nx.jpg', ...]
font FontLoader 字体文件 fonts/xxx.json
audio AudioLoader 音频文件 audio/xxx.mp3
svg SVGLoader SVG 文件 images/xxx.svg
video VideoTexture 视频纹理 videos/xxx.mp4

访问已加载资源

// 在组件中访问资源
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 模型结构

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()

Read the full file on GitHub · 290 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. 9d ago First seen · 290 lines · 39 tokens per session scan A 20d65e5060bc

Subscribe to this mod's changes

vtj-resource-management is a skill published in the GitHub repository hexianWeb/Third-Person-MC (191 stars, last pushed 1mo ago), licensed MIT. It adds 39 tokens to every session and 2,166 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

super-claudio-brothers

Generate a unique themed Super Claudio Brothers platformer. Creates a custom level, colour palette, enemy look, and Claudio costume. Every run produces a different game.

alexconner-79/super-claudio-brothers · 40 tokens

game-object-components

Use this skill when working with Phaser 4 game object components and the mixin system. Covers Transform, Alpha, Tint, Origin, Depth, Flip, Mask, GetBounds, Lighting, and other shared component behaviors. Triggers on: component, mixin, transform, mask, bounds, lighting.

phaserjs/phaser · 65 tokens

geometry-and-math

Use this skill when using Phaser 4 math and geometry utilities. Covers vectors, rectangles, circles, triangles, polygons, random number generation, angles, distance, interpolation, and snapping. Triggers on: Vector2, Rectangle, Circle, math, distance, angle, random, lerp.

phaserjs/phaser · 64 tokens

physics-arcade

Use this skill when using Arcade Physics in Phaser 4. Covers enabling physics, velocity, acceleration, gravity, collisions, overlap, world bounds, physics groups, static bodies, and collision categories. Triggers on: physics, arcade, velocity, gravity, collide, overlap, bounce, physics body.

phaserjs/phaser · 65 tokens

physics-matter

Use this skill when using Matter.js physics in Phaser 4. Covers rigid bodies, constraints, composite bodies, sensors, collision filtering, world configuration, and advanced physics shapes. Triggers on: Matter, matter physics, constraint, joint, rigid body, sensor.

phaserjs/phaser · 57 tokens

animations

Use this skill when creating or controlling sprite animations in Phaser 4. Covers spritesheets, atlases, AnimationManager, AnimationState, play/stop/chain, frame callbacks, and animation events. Triggers on: sprite animation, spritesheet, play animation, animation frames.

phaserjs/phaser · 58 tokens