agent-harness-design
Designing agent harnesses and tool systems — risk taxonomy for tools, permission decisions, draft/commit pattern, structured tool…
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,
$ npx -y skills add AnastasiyaW/codex-claude-code-config --skill forensic-prompt-compiler --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/forensic-prompt-compilerContext preview
The summary Claude sees to decide when to auto-load this skill.
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,
name: forensic-prompt-compiler description: > 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 prompt FROM an existing image only.
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.
---
**MODE A — Forensic Extraction** (default, no reference images provided)
**MODE B — Reference-Driven** (reference images provided)
**DO NOT MIX MODES.**
---
Choose EXACTLY ONE:
---
**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 re-centering.
**Medium Lock:**
**Weirdness Preservation** — surreal proportions, strange shadows, impossible reflections → preserve exactly. Do NOT normalize or fix.
**Text Rule** — only transcribe clearly readable text. If unreadable:
---
Refer to figure ONLY as **"Subject"**.
**FORBIDDEN identity** — never describe:
**FACE — allowed scope only:**
**SKIN = material, not identity:**
**HAIR — abstract mass near scalp:**
| Allowed | Forbidden | |---|---| | Containment state (loose/tied/gathered/covered) | Length (long/short/shoulder-length) | | Physics state (wind-affected/wet/gravity-pulled) | Natural color (blonde/brown/black/red) | | Occlusion behavior | Hair type/texture traits (curly/wavy/straight) | | Era styling as overall impression only | Haircut names (bob/bangs/fringe/parting) |
**Hair Color Firewall:**
**Hair Physical Presence Lock (critical in floating/surreal scenes):** Add:
**BODY — allowed:**
**Key Constraints hair template:**
From scene describe ONLY: pose geometry, clothing architecture, hair physics state (no appearance traits), face as light-receiving surface (no descriptors).
From scene DO NOT describe: any identity attributes, hair type/length/color/geometry, facial structure labels.
---
When no visible floor/ground, check ALL gates before describing:
| Gate | Question | If NO → use | |---|---|---| | F1 Shadow Receiver | Visible shadow-receiving surface? | Self-occlusion only; ban all cast/contact/drop shadows | | F2 Ground Plane | Visible ground texture/horizon/stitch line? | "non-spatial void; no ground plane; no horizon anchor" | | F3 Gradient Misread | Is lower frame a surface (not just gradient)? | "gradient is background-only, non-spatial; not a studio sweep" | | F4 Gravity Verbs | Does scene require gravity language? | Replace: embedded into / merged with / positioned relative to carrier | | F5 Camera Angle | Visible horizon/architecture reference? | "camera s
A practical configuration kit for Claude Code, Codex, and other coding agents. It contains architectural principles, enforcement hooks, skills, drop-in rules, starter templates, and dynamic-workflow commands.
Designing agent harnesses and tool systems — risk taxonomy for tools, permission decisions, draft/commit pattern, structured tool…
Use when designing, auditing, refactoring, or explaining an agentic harness for any domain, especially when work must continue…
Практическая инженерия диффузионных моделей: архитектуры, обучение, инференс, оптимизация памяти. Использовать при любых задачах…
Expert prompt engineering for FLUX.2 [klein] image generation and editing model. Use this skill whenever the user wants to create…
Plan or review LoRA and edit-training work specifically for FLUX.2 Klein or Qwen-Image-Edit, including paired datasets,…
Machine-learning research loop for dataset curation, fine-tuning, evaluation, inference deployment, experiment tracking, and…