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.
npx agentmods add skills/hexianweb/third-person-mc/vtj-component-modelnpx skills add hexianWeb/Third-Person-MC --skill vtj-component-modelgit 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-component-model)<a href="https://agentmods.dev/skills/hexianweb/third-person-mc/vtj-component-model"><img src="https://agentmods.dev/badge/skills/hexianweb/third-person-mc/vtj-component-model.svg" alt="Measured on agentmods" height="20"></a>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.00035 | $0.01866 |
| Opus 5 | $0.00017 | $0.00933 |
| Sonnet 5 | $0.00007 | $0.00373 |
| Haiku 4.5 | $0.00003 | $0.00187 |
Grade A, and why
vtj-component-model 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 6d 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 — 293 lines — stays where its author put it; the contents beside it link to each section on GitHub.
vite-threejs 3D Component Model
Overview
All 3D components in this project follow a class-based singleton pattern. Components access shared resources through the Experience singleton and implement standardized lifecycle methods.
Core principle: Extract only what you need, implement all required lifecycle methods, always clean up resources.
When to Use
- Creating any new class in
src/js/ - Building 3D objects, managers, controllers, or utilities that interact with the scene
- Wrapping Three.js functionality in reusable components
Component Template
import Experience from '@/js/experience.js'
import emitter from '@/js/utils/event-bus.js'
import * as THREE from 'three'
export default class YourComponent {
constructor(options = {}) {
// 1. 获取 Experience 单例
this.experience = new Experience()
// 2. 按需提取依赖(仅取所需,避免冗余)
this.scene = this.experience.scene
this.resources = this.experience.resources
this.debug = this.experience.debug
// 3. 组件参数
this.params = {
enabled: options.enabled ?? true,
// ... 其他参数
}
// 4. 组件状态
this.mesh = null
// 5. 初始化
this._init()
// 6. 调试面板(必须在 debug.active 条件下调用)
if (this.debug.active) {
this.debugInit()
}
}
_init() {
// 创建 3D 对象并添加到场景
this.mesh = new THREE.Mesh(/* ... */)
this.scene.add(this.mesh)
}
debugInit() {
// 调试面板 - 详见 vtj-debug-panel skill
}
update() {
// 每帧更新逻辑
// 时间通过 this.experience.time 访问,不通过参数传递
}
resize() {
// 窗口尺寸变化时调用
}
destroy() {
// 清理资源 - 涉及 Object3D 的组件必须实现
if (this.mesh) {
this.scene.remove(this.mesh)
this.mesh.geometry?.dispose()
this.mesh.material?.dispose()
this.mesh = null
}
}
}
Dependency Extraction Rules
只提取组件实际需要的依赖:
| 组件类型 | 典型依赖 |
|---|---|
| 渲染对象 | scene, resources |
| 交互组件 | scene, camera.instance, iMouse |
| 动画组件 | scene, time |
| 调试组件 | debug |
| UI 相关 | sizes, canvas |
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.
- 6d ago First seen · 293 lines · 35 tokens per session scan A 76dd129069ec
vtj-component-model is a skill published in the GitHub repository hexianWeb/Third-Person-MC (189 stars, last pushed 1mo ago), licensed MIT. It adds 35 tokens to every session and 1,866 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
game-3d-assets
3D asset engineer that finds, downloads, and integrates GLB/GLTF models into Three.js browser games. Use when a 3D game needs real models instead of primitive BoxGeometry/SphereGeometry shapes.
threejs-3d-generator
Generate, texture, rig, animate, stylize, convert, and download 3D assets for Three.js games using the Tripo API. Use for text-to-3D, image-to-3D, 2D concept to 3D conversion, game-ready GLB/FBX assets, characters, creatures, buildings, props, weapons, terrain pieces, auto-rigging, animation retargeting, model…
threejs-game-director
Primary entrypoint for complete Three.js browser game creation and premium iteration. Use by default for build-a-game, upgrade, polish, premium, AAA, high-fidelity, showcase, from-scratch, endless runner, arcade, action, or release-ready requests. Orchestrates sibling skills for gameplay, AAA graphics, UI…
gauntlet-fps
Roda o Gauntlet Loop do CS BRASIL / CORO SOLTO — o ciclo crítico-adversarial → builders em paralelo → captura medida → verificação A/B → caçador de regressões que melhora gráficos, mapas, armas, UI e jogabilidade do jogo FPS em Three.js. Use SEMPRE que o pedido for melhorar, avaliar, revisar ou "deixar melhor"…
threejs-aaa-graphics-builder
Upgrade Three.js games from basic/prototype visuals to premium AAA-inspired browser graphics. Combines art-direction critique, procedural model building, technical art, mandatory external asset sourcing decisions, threejs-3d-generator assets, threejs-image-generator concept/texture workflows, scene visual polish…
threejs-gameplay-systems
Build and iterate playable Three.js game systems. Combines starter scaffold creation, architecture, game design, level design, gameplay implementation, combat/encounter design, and game-feel tuning (hitstop, screenshake, easing, impact feedback). Use for first playable slices, new Vite/TypeScript/Three.js game setup…