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 skills add zhuanggenhua/BoardGame --skill img2threejsgit clone --depth 1 https://github.com/zhuanggenhua/BoardGameWrote 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/zhuanggenhua/boardgame/img2threejs)<a href="https://agentmods.dev/skills/zhuanggenhua/boardgame/img2threejs"><img src="https://agentmods.dev/badge/skills/zhuanggenhua/boardgame/img2threejs/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/zhuanggenhua/boardgame/img2threejs"><img src="https://agentmods.dev/badge/skills/zhuanggenhua/boardgame/img2threejs.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.00063 | $0.02193 |
| Opus 5 | $0.00032 | $0.01097 |
| Sonnet 5 | $0.00013 | $0.00439 |
| Haiku 4.5 | $0.00006 | $0.00219 |
Grade A, and why
img2threejs 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 12d 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 — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.
img2threejs
角色
把参考图中的对象重建为 code-only procedural Three.js 模型。它不是摄影测量、mesh 抽取、素材包下载或手写近似原型。BoardGame 项目里的准入和落点先看 ../img2threejs-readiness/SKILL.md 与 ../img2threejs-reconstruction/SKILL.md;本文件只定义官方 pipeline 本体。
使用条件
适用:
- 用户提供对象 / 角色参考图,要求 Three.js 程序化重建。
- 要输出 sculpt spec、结构拆解、动画就绪模型或项目内临时原型。
- 要和官方 showcase 或已有 img2threejs 产物对齐。
最低输入:
- 可读参考图路径、截图、URL 或附件。
- 目标用途:浏览器实时 prop、游戏对象、角色 bust、可动画 / 可破坏对象等;未指定时默认实时浏览器 prop。
- 若是 CS2 路线,必须有权威分类记录或明确要求用户 / vision provider 补分类;启发式识别不能单独选择 adapter。
缺输入时停下说明缺什么,不用泛主题模型补位。
核心流程
脚本从 skill 根目录运行,Python 3.10+ stdlib 即可。脚本负责 gate 和状态,视觉判断由 agent 完成。
- 状态入口:先运行
python3 forge/next.py <spec>,确认当前解锁 pass、下一条命令和未满足标准。 - 读图与适配性:按
grimoire/intake/validation_rubric.md判断图是否适合 3D 重建;再用forge/stage1_intake/probe_image.py <image>只读元数据。 - 图面观察:先按
grimoire/intake/image_analysis.md做 macro -> meso -> micro 分解,列部件、材料、拓扑、身份特征和单视角缺失。 - 本地知识检索:需要领域 anatomy、PBR、wear、runtime 或 physics 规格时,运行 pre-spec assessment 的 local spec search;CS2 走
cs2collection,其它对象走core_3d。 - Pre-spec assessment:
forge/stage2_spec/new_pre_spec_assessment.py "Name" --image <img> --out assessment.json,写对象类别、复杂度、qualityContract、detailInventory。 - Detail inventory:中等以上复杂对象必须跑
forge/stage1_intake/build_detail_inventory.py,每个细节都映射到 component localFeatures 或 material localOverrides。 - Spec:
forge/stage2_spec/new_sculpt_spec.py "Name" --image <img> --assessment assessment.json --out object-sculpt-spec.json,写 component hierarchy、materials、lighting、pivots、sockets、action anchors。 - 严格校验:
forge/stage2_spec/validate_sculpt_spec.py object-sculpt-spec.json --strict-quality;浅 spec 不准 codegen。 - 锁 pass 构建:只改当前解锁 pass,使用
forge/stage3_build/orchestrate_passes.py和forge/stage3_build/generate_threejs_factory.py。 - 渲染截图:在浏览器 / 项目 preview 中渲染当前 pass,截当前 review viewpoint。
- 对比审查:
forge/stage4_review/make_comparison_sheet.py生成参考图 + render 对比图;agent 必须逐图判断。 - 记录结论:
forge/stage4_review/append_review.py ... --action continue|refine-spec|refine-code|request-input|stop --in-place。
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- .github/FUNDING.yml 118 B
- .gitignore 617 B
- .skill_id 26 B
- CHANGELOG.md 889 B
- CONTRIBUTING.md 1017 B
- docs/cs2-anatomy/gloves.md 12 KB
- docs/cs2-anatomy/heavy.md 14 KB
- docs/cs2-anatomy/knives.md 18 KB
- docs/cs2-anatomy/pistols.md 12 KB
- docs/cs2-anatomy/rifles.md 13 KB
- docs/cs2-anatomy/smgs.md 13 KB
- docs/cs2-anatomy/snipers.md 14 KB
- docs/cs2/3D_Technical_Mapping.json 11 KB
- docs/cs2/3D_Technical_Reference.md 22 KB
- docs/cs2/3D_Vocabulary_CS2_Dictionary.md 27 KB
- docs/cs2/3D_Vocabulary_CS2.json 12 KB
- docs/cs2/distill.md 9.9 KB
- docs/cs2/review-gates.md 2.5 KB
- docs/raw/.keep 0 B
- docs/raw/img2threejs-skill-dataset.json 107 KB
- docs/specs/vocabulary/core_3d_reconstruction.jsonl 56 KB
- docs/specs/vocabulary/core_3d.jsonl 13 KB
- docs/specs/vocabulary/cs2_reconstruction.jsonl 86 KB
- docs/specs/vocabulary/cs2.jsonl 7.1 KB
- docs/specs/vocabulary/README.md 4.4 KB
- docs/TOKEN_COST.md 1.9 KB
- docs/UPGRADE_PLAN.md 1.7 KB
- forge/_shared/artifact_cache.py 1.7 KB runs code
- forge/_shared/color_metrics.py 3.6 KB runs code
- forge/_shared/feature_acceptance_policy.py 4.2 KB runs code
- forge/_shared/image_hash.py 3.9 KB runs code
- forge/_shared/spec_search_profiles.json 1.4 KB
- forge/_shared/spec_search.py 62 KB runs code
- forge/_shared/status_banner.py 1.4 KB runs code
- forge/next.py 1.4 KB runs code
- forge/report.py 1.5 KB runs code
- forge/requirements.txt 335 B
- forge/stage1_intake/analyze_texture.py 12 KB runs code
- forge/stage1_intake/bind_detail_properties.py 4.6 KB runs code
- forge/stage1_intake/build_detail_inventory.py 12 KB runs code
- forge/stage1_intake/check_intake_correctness.py 4.8 KB runs code
- forge/stage1_intake/check_reference_admission.py 7.6 KB runs code
- forge/stage1_intake/cs2_foundation.py 7.9 KB runs code
- forge/stage1_intake/cs2_manifest.py 10 KB runs code
- forge/stage1_intake/cs2_review_contract.py 1.7 KB runs code
- forge/stage1_intake/delight_albedo.py 14 KB runs code
- forge/stage1_intake/detect_cs2.py 9.7 KB runs code
- forge/stage1_intake/detect_reference_effects.py 8.9 KB runs code
- forge/stage1_intake/extract_cs2_textures.py 5.6 KB runs code
- forge/stage1_intake/extract_gradient_stops.py 5.8 KB runs code
- forge/stage1_intake/extract_landmarks.py 16 KB runs code
- forge/stage1_intake/extract_part_color_recipe.py 21 KB runs code
- forge/stage1_intake/extract_pbr_evidence.py 32 KB runs code
- forge/stage1_intake/fetch_cs2_metadata.py 6.4 KB runs code
- forge/stage1_intake/locate_cs2_vpk.py 2.6 KB runs code
- forge/stage1_intake/probe_image.py 5.4 KB runs code
- forge/stage1_intake/search_specs.py 7.5 KB runs code
- forge/stage1_intake/solve_camera_pose.py 8.4 KB runs code
- forge/stage2_spec/cs2_adapters.py 1.7 KB runs code
- forge/stage2_spec/derive_geometry.py 4.3 KB runs code
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.
- 12d ago First seen · 119 lines · 63 tokens per session scan A 00b8b2bd71a0
img2threejs is a skill published in the GitHub repository zhuanggenhua/BoardGame (23 stars, last pushed yesterday), licensed MIT. It adds 63 tokens to every session and 2,193 once invoked, about $0.0003 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
gameobject-component-destroy
Destroy one or more Components from a target GameObject. Missing (null) components are skipped — they cannot be destroyed. Use 'gameobject-find' and 'gameobject-component-get' to identify the components first.
unity-version-split
Split a C# file into Unity 6.5+ and pre-Unity 6.5 variants. Use when a file needs different implementations for different Unity versions due to API changes (e.g., EntityId vs int, GetEntityId vs GetInstanceID).
godot-signals-groups
Build event-driven, decoupled Godot 4.7 gameplay with signals and node groups: declare and emit custom signals, connect with Callables (incl. bind/one-shot), and broadcast to many nodes via groups and callgroup. Use when wiring node communication in a Godot project, replacing tight references with signals…
motion
How an agent turns a character mesh into a usable animated FBX — and how to judge whether the result is shippable.
unity-addressables
Manage Addressables groups, entries, profiles and content builds (com.unity.addressables, reflection-based).
threejs-exposure-color-grading
Build a measured exposure and grading path in Three.js. Use for a 64x36 encoded luminance meter, asynchronous readback, weighted log-average exposure, asymmetric adaptation, single tone-map ownership, and a generated 32-cube post-tone-map LUT.