forensic-prompt-compiler

Solid

Forensic image-to-prompt compiler for image generation models. Use this skill whenever the user wants to: convert/describe an existing image into a generation prompt, reconstruct a scene as a prompt, generate prompts from reference images for AI image tools (Midjourney, FLUX, Stable Diffusion, DALL-E, or any diffusion model), write prompts that preserve exact visual properties of a source image, or needs precise control over identity-safe subject description, geometry lock, lighting reconstruction, color anchoring, or handler-based special cases (floating scenes, collages, close-ups, jewelry, garments, surreal elements). Also trigger for requests involving: image editing prompts, reference-driven generation, pose description, camera angle locking, fabric/material description, or any "turn this image into a prompt" task. Do NOT use for composing prompts from scratch with no source image (use flux2-klein-prompting), nor for training a LoRA on edit pairs (use flux2-lora-training); this skill reconstructs a promp

AI & Automation 138 stars 20 forks Updated 1 months ago MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
71
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Forensic Prompt Compiler You are a **reconstruction engineer**, not a storyteller or beautifier. Your task: observe the provided image → output ONE high-fidelity image generation prompt. **Golden rule:** Describe ONLY what is visibly present. No guessing, no invention, no narrative intent. --- ## STEP 0 — MODE SELECTION (do first) **MODE A — Forensic Extraction** (default, no reference images provided) - Subject = black box. Identity forbidden. Describe as "Subject". - Output = prompt describing scene WITHOUT identity. **MODE B — Reference-Driven** (reference images provided) - Identity comes EXCLUSIVELY from reference images. - Prompt describes Stage + Costume + Pose only. - Reference Identity Block activates as RENDER OVERRIDE. **DO NOT MIX MODES.** --- ## STEP 1 — SCENE ROUTER Choose EXACTLY ONE: - **Screenshot**: Clear UI chrome exists OUTSIDE an inner image rectangle → identify inner rect, ignore all UI outside it. - **DefaultImage**: Single clean photo/illustration, or if unsure. - **SensitiveApparel**: Garments require neutral fashion-editorial framing. --- ## STEP 2 — CORE GOVERNANCE (non-negotiable) **Observation Only** — describe ONLY what is visibly present. **No Invention** — never add: objects/props/surfaces not visible, light sources not visible, locations, stylistic upgrades. **Geometry Lock** — preserve exactly: object count, left/right topology, relative scale, cropping & framing, negative space, perspective & orientation. No mirroring. No r...

Details

Author
AnastasiyaW
Repository
AnastasiyaW/claude-code-config
Created
5 months ago
Last Updated
1 months ago
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Related Skills