← ClaudeAtlas

prompt-pyramidlisted

Reorder and purify scattered image-generation tags (Stable Diffusion, Flux, NovelAI, ComfyUI, WebUI, danbooru-style booru tags) into a single clean comma-separated prompt string built on a visual-weight pyramid. Use this skill PROACTIVELY whenever the user is writing or fixing a prompt for diffusion models — tags scattered across a list, an unordered tag dump, a character sheet needing a prompt, "help me organize these tags", "clean up this prompt", "why is the color bleeding onto the skin", "extra limbs / floating accessories", or any mention of 1girl/1boy, trigger words, LoRA character prompts, booru tags, danbooru tags, or ComfyUI/WEBUI positive prompt boxes. Also use it when the user pastes a raw tag list and wants it production-ready. Do not use it for natural-language conversational prompts (e.g. Midjourney-style sentences) — this skill is for comma-separated booru-style tags only.
storyAura/lora-tagging-skills · ★ 1 · AI & Automation · score 74
Install: claude install-skill storyAura/lora-tagging-skills
# Prompt Pyramid — Visual-Weight Reordering for Diffusion Tags ## What this skill does Take a messy, unordered pile of booru-style tags and return **one clean comma-separated string**, ordered so the model's attention mechanism locks onto identity and color first, then sculpts the head, then dresses the body outward-to-inward and top-to-bottom, and finally anchors the feet. The goal is: the model never has to "look back" to revise a region it already rendered, which is how color bleeding, floating accessories, and extra limbs happen. Output format: **a single line of comma-separated tags, lowercase, spaces instead of underscores, no parenthetical weights, no artist strings, no duplicates.** Nothing else in the final output line unless the user explicitly asks for explanation. ## Why ordering matters (the core mental model) Diffusion text encoders assign higher attention weight to tokens that appear earlier in the prompt. This is not a myth — it's the same positional bias you see in any transformer over a sequence. Two practical consequences: 1. **Whatever comes first gets rendered first and most "solidly."** Later tags are interpreted as modifications to an already-formed region. So if a hair accessory comes *before* the hair color, the model often paints the accessory color onto the hair, or draws hair that doesn't match the stated color. 2. **The model hates revising.** If head features are split across the prompt (one hair tag at the top, another at the bottom), atte