image-gen-edit

Enforce safety gates and reference-first workflows for image generation and editing.

12|4|Updated Jun 21, 2026
One-click install
npx skills add https://github.com/eccstartup/grok_skills_bundle --skill image-gen-edit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-gen-edit
Source: https://github.com/eccstartup/grok_skills_bundle/tree/main/image-gen-edit
Command: npx skills add https://github.com/eccstartup/grok_skills_bundle --skill image-gen-edit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides responsible image generation and editing by enforcing safety gates, ensuring appropriate use of references, and providing clear prompts for consistent outputs.

Core Features & Use Cases

  • Reference-first handling for real people and likenesses, anchoring with reference images and avoiding non-consensual or inappropriate representations.
  • Factual grounding and gate: if the request depends on a real-world fact, call web_search first and incorporate verified facts into the prompt; use search_images to obtain visuals, not to fulfill factual queries.
  • Prompt ownership and clear edits: own or craft prompts that front-load the subject and describe the required mood, composition, and changes in 2–5 sentences; for edits, describe only the changes.
  • Sandbox constraints: no internet access from the bash environment; reuse downloaded visuals via search_images and avoid re-fetching.
  • Decision-tree guidance: determine when to render a new image, edit an existing one, or stitch multiple references, using a reference-first workflow for complex cases.
  • Reference-first procedure: identify the subject, search for target depictions, select best references, and decide whether to stitch multiple references or edit an image in place.
  • Stitching guidance: for multiple references, construct a composite canvas using non-destructive, equal-aspect layouts that preserve all subjects.

Quick Start

Describe the image task and the target style or edits to apply, and the system will generate or edit the image using the reference-first workflow.

Frequently Asked Questions about image-gen-edit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate images from text prompts safely?

To generate images safely, this Skill uses a reference-first pipeline and safety gates to guide responsible creation from text prompts. It anchors prompts with verified facts and real-world references, ensuring outputs remain ethical and appropriate.

What's the best way to edit an existing image without losing the original context?

The best way to edit an existing image is using a decision-tree workflow that focuses only on the requested changes. This Skill guides you to craft 2–5 sentence prompts describing the required mood and composition modifications while preserving the original subject.

How do I stitch multiple reference images into a single composite?

To stitch multiple reference images, this Skill uses a non-destructive, equal-aspect layout workflow. It constructs a composite canvas that preserves all subjects by selecting the best target depictions and combining them safely within a single frame.

Can I use image generation for real people and likenesses?

Yes, you can generate images of real people using a reference-first handling method. This Skill enforces safety gates to anchor outputs with reference images, ensuring appropriate representations and avoiding non-consensual or inappropriate depictions.

When do I need factual grounding before generating an image?

You need factual grounding when an image request depends on real-world facts. This Skill enforces a factual grounding gate that calls web search first, incorporating verified facts into the prompt before rendering to ensure accurate visual outputs.

What are the limitations of using search images for visual rendering?

A key limitation is the sandbox environment has no internet access from the bash environment. You must reuse downloaded visuals from search images and avoid re-fetching, meaning all visual rendering and editing must rely on previously obtained references.