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.
curl -O https://raw.githubusercontent.com/hexianWeb/Third-Person-MC/main/.agent/skills/vtj-resource-management/SKILL.mdgit clone --depth 1 https://github.com/hexianWeb/Third-Person-MCWrote 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.
[](https://agentmods.dev/skills/hexianweb/third-person-mc/vtj-resource-management)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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.
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()
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.
- 9d ago First seen · 290 lines · 39 tokens per session scan A 20d65e5060bc
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.
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.
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.
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.
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.
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.
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.