Agent Skillsneilsonnn/image-blaster › image-blast-plate

image-blast-plate

GitHub

为IMAGE-BLASTER项目生成单张清洁遮罩图。基于确认对象移除前景内容,提示词仅包含移除指令。自动选择最新源图或指定输入,按规则命名输出文件并调用编辑脚本,最后报告元数据。

.claude/skills/image-blast-plate/SKILL.md neilsonnn/image-blaster

Trigger Scenarios

需要移除图像中的特定对象或内容 生成用于后续合成的清洁背景板

Install

npx skills add neilsonnn/image-blaster --skill image-blast-plate -g -y
More Options

Non-standard path

npx skills add https://github.com/neilsonnn/image-blaster/tree/main/.claude/skills/image-blast-plate -g -y

Use without installing

npx skills use neilsonnn/image-blaster@image-blast-plate

指定 Agent (Claude Code)

npx skills add neilsonnn/image-blaster --skill image-blast-plate -a claude-code -g -y

安装 repo 全部 skill

npx skills add neilsonnn/image-blaster --all -g -y

预览 repo 内 skill

npx skills add neilsonnn/image-blaster --list

SKILL.md

Frontmatter
{
    "name": "image-blast-plate",
    "agent": "image-blast-plate",
    "context": "fork",
    "description": "Generate one clean plate\/source cleanup image for an IMAGE-BLASTER world. Use after confirmed objects exist, when removing foreground objects or other specified content from a source image.",
    "allowed-tools": "Read Write Glob Bash(ls *) Bash(node .claude\/scripts\/project\/project-state.mjs *) Bash(node .claude\/scripts\/project\/ensure-local-assets.mjs *) Bash(node .claude\/scripts\/image-edit\/generate-edit.mjs *)",
    "argument-hint": [
        "world-name"
    ]
}

Create one clean plate for project $0.

Instructions

  • If $0 is missing, ask for the world slug.
  • Use ls -a before reading generated state.
  • Select the source image from $ARGUMENTS when provided; otherwise use the newest visible source image in worlds/$0/source/.
  • Build one removal prompt from confirmed objects plus any extra removal instructions. Confirmed objects are worlds/$0/output/<object>/object.json files; use object.name, adding short details from object.description when needed.
  • Keep the prompt removal-only: name what to remove, and do not list objects or scene features to keep or add fill-in/background repair instructions unless the user explicitly asked for that wording.
  • Remove all requested content in one image edit pass. Do not split removals across multiple agents or one edit per object.
  • Follow image-blast-image-edit by calling the generic edit script with --role plate and --output-slug "<source-slug>-plate".
  • The plate is a new source artifact. It must use the next available visible file index in worlds/$0/source/, not the source image's index. For example, if the selected source image is 0-room.png, the first plate must be named like 1-room-plate.png with matching .1-room-plate-request.json, never 0-room-plate.png.
node .claude/scripts/project/project-state.mjs --world "$0"

Run:

node .claude/scripts/image-edit/generate-edit.mjs \
  --image "<selected source image path>" \
  --prompt "remove the following from the image: <confirmed object names and any extra removals the user requests>" \
  --output-dir "worlds/$0/source" \
  --role plate \
  --output-slug "<source-slug>-plate"

Optional provider override: --provider nano-banana|gpt-image-2.

If request metadata records provider URLs but local plate files are missing, fill them from the matching hidden request JSON:

node .claude/scripts/project/ensure-local-assets.mjs --from "<request-json-path>"
node .claude/scripts/project/project-state.mjs --world "$0"

Final response: report input image, output plate image, request metadata, and prompt used.

Version History

  • 4acb43b Current 2026-07-24 11:45

Same Skill Collection

.claude/skills/image-blast-3d/SKILL.md
.claude/skills/image-blast-image-edit/SKILL.md
.claude/skills/image-blast-project/SKILL.md
.claude/skills/image-blast-sfx/SKILL.md
.claude/skills/image-blast-uncover/SKILL.md
.claude/skills/image-blast-wildcard/SKILL.md
.claude/skills/image-blast-world/SKILL.md

Metadata

Files
0
Version
4acb43b
Hash
a3e5236f
Indexed
2026-07-24 11:45

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-07 11:18
浙ICP备14020137号-1 $방문자$