# ๐ฆ Prompt Commander
The unbreakable, local prompt management suite for Stable Diffusion WebUI (Forge & A1111).
Prompt Commander is a modern replacement for "Prompt All-in-One" style extensions. It focuses on stability, speed, and local control without relying on external APIs or fragile dependencies.
## โจ Key Features
### ๐ฎ The Visualizer (Control Console)
* Dual Engines: Full support for Positive (Blue) and Negative (Red) prompts.
* Smart Bubbles: Automatically groups complex syntax like (1boy, tall:1.2) or \[cat|dog\] into single, draggable units.
* **Ghost Mode:** Right-Click any bubble to "Ghost" it (hide it from the prompt but keep its position in memory). Click to revive.
* Weight Control: Hover over any bubble to see โฒ / โผ buttons for precision weighting.
* Smart LoRA Handling: Automatically detects LoRA syntax \<...:1.0\> and adjusts the internal number instead of wrapping it in parentheses.
* Visual BREAK: Click the ๐ BREAK button to insert a full-width visual separator, forcing the prompt parser to start a new context chunk.
* Multi-Select & Grouping:
* Ctrl \+ Click to select multiple bubbles.
Click *"๐ Link"** to merge them into a single group (A, B, C) for easy moving.
Click *"๐ Unlink"** to shatter a group back into individual words.
### ๐ The Keyword Library
* Drag & Drop Organization: Drag keywords to reorder them, or drag them onto a Category Header to move them to that category.
* Live Search: Filter thousands of keywords instantly with the search bar.
* Dynamic Categories: Create new categories just by typing a name. Naming a category "Negative" automatically styles it red.
* Right-Click Action: Left-click adds to Positive; Right-click adds to Negative.
* Smart Import: Includes a migration tool to rescue your favorites from the old "All-in-One" extension.
### ๐ ๏ธ Toolbar Actions
* ๐งน Clean: Removes double spaces, double commas, and empty brackets.
* ๐ BREAK: Inserts a hard visual break in your prompt.
* ๐ฒ Random: Inserts a random keyword from your library to spark creativity.
* โค๏ธ Save Selected: Saves your currently selected (Gold) bubbles directly to your library.
## ๐ฆ Installation
1. Open your Stable Diffusion folder.
2. Navigate to extensions.
3. Copy the sd-webui-prompt-commander folder into it.
4. Restart your WebUI.
## ๐ Migration Tool
Coming from "Prompt All-in-One"?
1. Find migrate.py inside the extension folder.
2. Move it to your root Stable Diffusion folder.
3. Run run\_migration.bat.
4. Drag and drop your old .json history file to import your database.
Built for stability. No APIs. No 404s.
Description
This code is provided without promise or guarantee. It works on my system, and I expect it will work on your setup as well.