img2threejs CLAUDE.md

img2threejs CLAUDE.md is an instructions file for coding agents from img2threejs/img2threejs. It costs 589 tokens per session, scanned A, original, Apache-2.0.

Project instructions for img2threejs, a skill that creates procedural Three.js models from reference images. They define its code-only approach, testing rules, shared checkout, and visual verification requirements.

In plain words
What is it for?
Use them when changing the img2threejs skill, its model-generation tools, sculpt rules, tests, documentation, or screenshot-based review process.
Why use it?
They help maintain consistent behaviour and prevent accidental use of downloaded meshes, unsupported claims, or machine-specific paths.

Instructions file

Install

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.

agentmods
npx agentmods add instructions/img2threejs/img2threejs/claude-md
Clone the repo
git clone --depth 1 https://github.com/img2threejs/img2threejs

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 img2threejs CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/img2threejs/img2threejs/claude-md.svg)](https://agentmods.dev/instructions/img2threejs/img2threejs/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/img2threejs/img2threejs/claude-md"><img src="https://agentmods.dev/badge/instructions/img2threejs/img2threejs/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 589 This file is loaded in full into every session.
When invoked 589 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00589 $0.00589
Opus 5 $0.00295 $0.00295
Sonnet 5 $0.00118 $0.00118
Haiku 4.5 $0.00059 $0.00059

Measured 4d ago against content hash 2f31fddeea96, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

img2threejs CLAUDE.md 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 4d 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.

CLAUDE.md · 50 lines

How it starts

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

Shared project instructions

This repository is the canonical source for the img2threejs skill. Host entrypoints (~/.claude/skills/img2threejs, ~/.codex/skills/img2threejs) should be symlinks to one checkout — never independent copies, or the two hosts drift apart silently.

Change rules

  • Preserve the code-only procedural Three.js contract; do not silently download meshes or art packs.
  • Keep claims honest: distinguish implemented capability from roadmap or design-only documentation.
  • Treat forge/ as deterministic tooling and grimoire/ as routed reference material.
  • Keep backward compatibility for existing sculpt specs unless a migration is explicitly planned.
  • When changing schema, gates, generators, or review behavior, add or update focused tests.
  • Keep SKILL.md, README.md, CHANGELOG.md, and ROADMAP.md consistent when release-facing behavior changes.
  • Reference the companion showcase through IMG2THREEJS_SHOWCASE_ROOT, never an absolute path — a path that only exists on one machine passes there and fails everywhere else, CI included.

Verification

python3 -m unittest discover -s forge/tests -p 'test_*.py'

Set IMG2THREEJS_SHOWCASE_ROOT to a showcase checkout to include the TypeScript typecheck gates; without it they skip, and a green run has not proven the emitted Three.js compiles. Add IMG2THREEJS_REQUIRE_SHOWCASE=1 to turn that skip into a failure.

Do not report completion without reading the fresh outputs. For visual reconstruction changes, structural tests and screenshot/reference-loop validation are separate required gates.

Mandatory visual screenshot gate

For every visual reconstruction task, a readable screenshot is a hard prerequisite for visual implementation claims and completion:

  1. Before accepting visual results, verify that the browser/screenshot tooling is installed, authenticated, reachable, and able to capture the running showcase.
  2. Save fresh PNG/JPEG screenshots inside the workspace, including the fixed reference view and the required orbit views. Inline previews alone are not evidence.
  3. Read the saved screenshots back with an image-capable tool and verify they contain the rendered model at the expected dimensions. A screenshot that cannot be opened or visually read is a failed gate.
  4. Produce and retain a side-by-side reference/render comparison, semantic image scoring, pixel/feature comparison, and the diagnose_render.py output for the saved render before reporting visual validation.
  5. If capture, file write, readback, comparison, scoring, or diagnosis fails, stop the visual workflow and repair the tooling first. Do not infer visual evidence from runtime readiness, structural tests, inline previews, or code review, and do not claim the visual gate passed.

Read the full file on GitHub · 50 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. 4d ago First seen · 50 lines · 589 tokens per session scan A 2f31fddeea96

Subscribe to this mod's changes

img2threejs CLAUDE.md is an instructions file published in the GitHub repository img2threejs/img2threejs (15,099 stars, last pushed today), licensed Apache-2.0. It adds 589 tokens to every session, about $0.0029 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 instructions, from other repositories