Create or inspect an Image Blast project. Input: $ARGUMENTS.
Instructions
Follow the generic file convention in .claude/rules/project.md. Inspect generated directories with ls -a before reading JSON details.
Use generic project tools for local indexed asset path computation, explicit downloads, local asset repair, and deletion. Provider-specific scripts are only for provider generation/polling.
- Resolve the project slug:
- If
$0is an existingworlds/<slug>directory or a slug-like name, use it. - Otherwise derive a lowercase hyphenated slug from
$ARGUMENTS. - If no usable input is provided, ask the user which project/world to use.
- If
- Run the project-state helper from the repo root. If
input/contains images or the user asked to use staged input, include--stage-inputso files move immediately into stable source paths:
node .claude/scripts/project/project-state.mjs --world "<slug>" --stage-input
- The helper creates and validates:
worlds/<slug>/
project.json
scene.json
image.json
source/
<image-name>.json
output/
world/
sfx/
<object-slug>/
Only minimal project.json and directories are created automatically. /image-blast-uncover writes per-image source/<image-name>.json and root image.json, then waits for user confirmation before writing per-object output/<object-slug>/object.json files.
Read the printed project state or
worlds/<slug>/project.json.Report:
- project slug and display name
- source file count
- per-image JSON count
- staged files moved from
input/, if any - whether World Labs output exists
- whether
image.jsonexists - derived object count
- whether world-level SFX exists
- whether
scene.jsonexists
If source images now exist and
image.jsonis missing, continue directly with the/image-blast-uncoverworkflow for no-cost image analysis and object directory creation. If no source images exist and the user needs to add images, report theinput/path and ask them to add files there.Recommend downstream actions only after no-cost setup/analysis is complete, in this order:
Agent(image-blast-plate)for clean plate/source cleanup after object confirmation, when requested or one-shottingAgent(image-blast-world)for static 3D environment world generationAgent(image-blast-3d)per object 3D generationAgent(image-blast-sfx)for ambient, object-impact, or arbitrary sound effectsAgent(image-blast-image-edit)for generic standalone prompt-based image editing