Skip to content
Marketing
Command

/edit-image

Edit a generated image — adjust background, lighting, colors, or composition

shell
$ npx -y skills add indranilbanerjee/socialforge --agent claude-code

Ships with socialforge. Installing the plugin gets this command.

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/edit-image

Context preview

What this command does when you run it.

Edit a generated image — adjust background, lighting, colors, or composition

Command definition

edit-image.md
description: Edit a generated image — adjust background, lighting, colors, or composition
argument-hint: "<post-id> <instruction>"

Edit Image

Send an AI edit instruction to modify a generated image while preserving the core subject.

Process

1. Load the current image for the post 2. Show image to user with current state 3. Accept edit instruction (e.g., "make the background warmer", "extend the left side") 4. Call the editor with the instruction plus any style references:

   python3 "${CLAUDE_PLUGIN_ROOT}/scripts/edit_image.py" --image <current> --instruction "<text>" --output <new> [--references <img> ...] [--model <id>]

`--image`, `--instruction`, and `--output` are required. 5. Show edited result for approval 6. If approved: replace the variant, re-run quality review 7. If rejected: try different instruction or revert

Read it on GitHub ↗
Ships withsocialforge

Your client wants 30 days of social content across six platforms with brand-faithful imagery, AI-generated video, and provenance signed for EU markets. You have five days.

Get the whole plugin, auto-invoked
Stats
24
Stars
0
Views
6
Forks
Active
Maintenance
Python
Language
MIT
License
2d ago
Last commit
4mo ago
Created

Repo: indranilbanerjee/socialforge