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-scene-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-scene-management)<a href="https://agentmods.dev/skills/hexianweb/third-person-mc/vtj-scene-management"><img src="https://agentmods.dev/badge/skills/hexianweb/third-person-mc/vtj-scene-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-scene-management"><img src="https://agentmods.dev/badge/skills/hexianweb/third-person-mc/vtj-scene-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.00030 | $0.00889 |
| Opus 5.5 | $0.00012 | $0.00356 |
| Sonnet 5.5 | $0.00006 | $0.00178 |
| Haiku 4.5 | $0.00003 | $0.00089 |
Grade A, and why
vtj-scene-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 2mo 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 — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.
vite-threejs Scene Management
Overview
World 类作为场景 orchestrator,管理所有 3D 组件的生命周期。核心原则:等待资源、顺序注册、顺序更新、逆序清理。
When to Use
- 创建新的 World 或主场景管理器
- 添加新的 3D 组件到场景
- 管理组件初始化顺序
- 确保资源正确清理
Core Patterns
1. 等待资源 (Wait for Resources)
所有依赖资源的组件在 core:ready 后初始化:
constructor() {
this.experience = new Experience()
emitter.on('core:ready', () => {
// 资源已加载完成,开始初始化
this.initComponents()
})
}
2. 顺序注册 (Registration Order)
示例: 按依赖关系顺序创建组件:
initComponents() {
// 1. 先初始化地形(玩家需要地形数据)
this.chunkManager = new ChunkManager()
// 2. 再初始化玩家(需要地形做碰撞检测)
this.player = new Player()
// 3. 相机跟随玩家
this.cameraRig = new CameraRig()
this.cameraRig.attachPlayer(this.player)
// 4. 环境效果
this.environment = new Environment()
// 5. 交互系统(依赖地形和玩家)
this.blockRaycaster = new BlockRaycaster({
chunkManager: this.chunkManager
})
}
3. 顺序更新 (Update Order)
update() 中按依赖顺序调用:
update() {
// 1. 先更新地形流式加载
this.chunkManager?.updateStreaming()
this.chunkManager?.update()
// 2. 玩家依赖地形数据
this.player?.update()
// 3. 环境效果
this.environment?.update()
// 4. 交互系统
this.blockRaycaster?.update()
}
4. 逆序清理 (Reverse Disposal)
destroy() 中按相反顺序清理:
destroy() {
// 与注册顺序相反:后创建的先销毁
this.blockRaycaster?.destroy() // 5
this.environment?.destroy() // 4
this.cameraRig?.destroy() // 3
this.player?.destroy() // 2
this.chunkManager?.destroy() // 1
}
Quick Reference
| 阶段 | 原则 | 代码位置 |
|---|---|---|
| 初始化 | 等待 core:ready | emitter.on('core:ready', ...) |
| 注册 | 依赖先行 | constructor 或 init 方法 |
| 更新 | 数据流顺序 | update() 方法 |
| 清理 | 逆序销毁 | destroy() 方法 |
Common Mistakes
❌ 在 core:ready 之前访问资源
// BAD
constructor() {
this.model = this.resources.items['playerModel'] // undefined!
}
// GOOD
emitter.on('core:ready', () => {
this.model = this.resources.items['playerModel']
})
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.
- 2mo ago First seen · 151 lines · 30 tokens per session scan A ccf90f71ca3d
vtj-scene-management is a skill published in the GitHub repository hexianWeb/Third-Person-MC (197 stars, last pushed 3mo ago), licensed MIT. It adds 30 tokens to every session and 889 once invoked, about $0.0001 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.
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.
events-system
Use this skill when working with the Phaser 4 event system. Covers EventEmitter, scene events, game events, custom events, and event-driven communication. Triggers on: events, on, emit, EventEmitter, scene events, listeners.
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.
particles
Use this skill when creating particle effects in Phaser 4. Covers ParticleEmitter, emission zones, death zones, particle properties, textures, gravity wells, and particle movement. Triggers on: particles, emitter, particle effect, explosion, fire, smoke.
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.