STPHE DOCUMENTATION
v3.3.0
STPHE / Folders & prompts

Organize without losing intent.

Folders group prompts visually while keeping SillyTavern’s native prompt list in sync.

Mute versus force all

ControlBehavior
Folder toggleMutes the folder and descendants. Restoring it preserves each prompt’s intended on/off state.
Enable allSets every prompt in the folder and descendants on; clears overlapping folder mute state.
Disable allSets every prompt in the folder and descendants off; clears overlapping folder mute state.
Prompt toggleChanges that prompt’s intended state. A muted ancestor still prevents it from being active.
The folder row has a mute toggle followed by Enable all (check) and Disable all (cross). Each prompt has its own toggle below.
The folder row has a mute toggle followed by Enable all (check) and Disable all (cross). Each prompt has its own toggle below.

Read the toggle colors

The enabled count describes intended states. A separate “currently active” count appears when folder mutes suppress some of them.

Close-up from the nested-folder test: green folder toggles, a yellow mixed Unfiled bucket, and gray prompt toggles below a muted branch.
Close-up from the nested-folder test: green folder toggles, a yellow mixed Unfiled bucket, and gray prompt toggles below a muted branch.

Example: restoring a mixed folder

Suppose a folder contains three prompts: two enabled and one disabled. Muting the folder makes all three inactive in SillyTavern, but keeps the remembered two-on/one-off selection. Restoring the folder activates the original two prompts. Use Enable all only when you want to change the disabled prompt as well.

Behavior diagram: mute and restore preserve the two-on, one-off selection; Enable all deliberately changes it.
Behavior diagram: mute and restore preserve the two-on, one-off selection; Enable all deliberately changes it.

Nested folders

A child folder can be muted independently. Turning its parent off and back on does not erase that child mute. Unfiled is a separate bucket, not a master switch for all named folders.

Indentation shows PF Stress Test → Branch 00 → Section. Each level has its own toggle; the small triangle collapses that branch.
Indentation shows PF Stress Test → Branch 00 → Section. Each level has its own toggle; the small triangle collapses that branch.

Edit and preview

Use the eye control for a read-only preview and the edit control for SillyTavern’s native editor. Save in the native editor to update the prompt. Full Preview combines enabled prompt content for inspection; it is not a guarantee of the complete provider-specific request.

On each prompt row, the eye opens a read-only view and the pencil opens the native editor. Full Preview is in the toolbar.
On each prompt row, the eye opens a read-only view and the pencil opens the native editor. Full Preview is in the toolbar.

Move and reorder

Use move selectors or drag and drop. Ctrl/Cmd-click selects multiple entries. Moving a selected parent includes its descendants. The native prompt order follows the tree’s top-to-bottom order.

The dropdown at the far right moves a prompt to a folder. Rows can also be dragged into tree order.
The dropdown at the far right moves a prompt to a folder. Rows can also be dragged into tree order.

When loading ends

STPHE serializes native changes, verifies requested states, updates the tree, and waits for its paint before releasing the loading overlay. There is no fixed completion delay. Large native context calculations can still take time.

Behavior diagram: native changes are applied and verified before the updated tree is painted and unlocked.
Behavior diagram: native changes are applied and verified before the updated tree is painted and unlocked.