forensic-prompt-compiler

Convert images into single-line forensic prompts for diffusion models.

140|23|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/AnastasiyaW/claude-code-config --skill forensic-prompt-compiler
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: forensic-prompt-compiler
Source: https://github.com/AnastasiyaW/claude-code-config/tree/main/skills/ai-ml/forensic-prompt-compiler
Command: npx skills add https://github.com/AnastasiyaW/claude-code-config --skill forensic-prompt-compiler

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Many users need to convert an existing image into a single, precise prompt for image-generation models while preserving exact visual properties and avoiding identity leakage or invented details. This Skill eliminates guesswork by enforcing strict observation-only rules, geometry and medium locks, color anchoring, and handler-based preservation for lighting, garments, jewelry, collages, and floating compositions.

Core Features & Use Cases

  • Forensic extraction: Produce one single-line, high-fidelity prompt that describes only visibly present elements with geometry lock and medium preservation.
  • Reference-driven rendering: Use reference images as render overrides for pose, costume, and stage while blocking identity leakage.
  • Active handlers and self-repair: Detect floating compositions, anomalous lighting, collages, close-ups, and sensitive apparel, applying mandatory rewrites and safety gates before output.
  • Use case: Convert a fashion editorial photo into a diffusion-model prompt that locks camera angle, clothing architecture, jewelry detail, and lighting tint without inventing unseen props or identity details.

Quick Start

Convert this image into one single-line forensic image-generation prompt that preserves geometry, lighting, color anchors, medium, and identity-safe subject description.

Frequently Asked Questions about forensic-prompt-compiler

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

FAQPage Schema
How do I convert an image into a precise diffusion model prompt without adding invented details?

To convert an image into a precise diffusion model prompt, apply forensic extraction rules that enforce strict observation-only descriptions, preventing invented details. This process locks geometry, lighting, and medium to generate a single high-fidelity text prompt.

What is identity-safe image-to-prompt generation and when do I need it?

Identity-safe image-to-prompt generation is the process of describing reference images while explicitly blocking identity leakage. You need it for reference-driven rendering tasks where you want to replicate pose, costume, or lighting without copying a subject's personal identity.

Can I use image-to-prompt conversion for fashion editorial photos in Stable Diffusion and Midjourney?

Yes, you can convert fashion editorial photos into prompts for Stable Diffusion and Midjourney. The process applies handler-based preservation to lock clothing architecture, jewelry detail, and camera angle while enforcing strict non-invention of unseen props.

How do I generate a single-line prompt that preserves lighting and color anchors from a reference image?

To generate a single-line prompt preserving lighting and color anchors, apply color anchoring and medium preservation techniques during image analysis. This outputs one continuous English text string that captures exact visual properties for diffusion-based models.

What is the best way to handle anomalous lighting and floating compositions when creating image generation prompts?

The best way to handle anomalous lighting and floating compositions is to apply active self-repair handlers. These handlers detect visual anomalies in the reference image and execute mandatory rewrites and safety gates before outputting the final prompt.

Why does my image-to-prompt output include unseen props or hallucinated elements?

Your image-to-prompt output includes hallucinated elements because it lacks a strict non-invention constraint. By enforcing forensic observation-only rules and geometry locks, the prompt generation is restricted to describing only visibly present elements from the original image.