STPHE DOCUMENTATION
v3.3.0
STPHE / Auto Filter

Let recent chat choose the prompts.

An Auto Filter rule pairs a chat condition with an effect. Rules run in their numbered order.

Create a rule

  1. Open Auto Filter and enter a name.
  2. Choose a word, regular expression, or XML-tag condition.
  3. Set chat depth: zero means always on; a positive number checks that many recent messages.
  4. Choose Enable when triggered or Disable when triggered.
  5. Select matching prompts/folders or manually chosen targets, then Add filter.
When a condition stops matching, the opposite effect applies. “Enable when triggered” disables its targets when the trigger leaves the checked chat range.
An unsaved example: Specific Word = tavern, chat depth = 4. Set the effect and targets below before adding the rule.
An unsaved example: Specific Word = tavern, chat depth = 4. Set the effect and targets below before adding the rule.

Group and order

Use + Group and subgroup controls to organize rules. A muted group gates all descendant rules while preserving their individual checkboxes. Grouping does not alter execution order: numbered rule order wins when effects overlap.

The rule list has a + Group button and an Unfiled drop area. This capture shows the empty list before any rules are saved.
The rule list has a + Group button and an Unfiled drop area. This capture shows the empty list before any rules are saved.

Evaluation timing

Rules react to supported chat events and rule edits. Re-evaluate now runs them manually. The master Disable all filters switch pauses automatic effects without deleting rules.

OptionMeaning
Generation finishes or is abortedRechecks after completion, failure, or stop. Enabled by default.
Before sending (wait for filters)Includes the new user message and awaits filter effects before request assembly. Works with Send and Enter; disabled by default.
The master switch and two independent send/abort checkboxes control when rules run. Before sending is unchecked by default.
The master switch and two independent send/abort checkboxes control when rules run. Before sending is unchecked by default.

Example: a location trigger

Create a rule matching the word tavern in the last four messages. Set its effect to enable a manually selected atmosphere prompt. The prompt becomes active while that word is in range and turns off when it no longer matches. Keep an unrelated base instruction outside this rule’s targets.

Choose Enable when triggered and Manually chosen prompts/folders, then check your atmosphere prompt. No targets are checked in this unsaved example.
Choose Enable when triggered and Manually chosen prompts/folders, then check your atmosphere prompt. No targets are checked in this unsaved example.

Check your rule

Use a small selection first. Test a matching message and a non-matching message, inspect native prompt states, and check overlapping rules. Local OpenAI-compatible mock tests covered streaming, non-streaming, abort/error recovery, group gating, and pre-send timing; real providers can differ.

Use Re-evaluate now below the rule list to test the current rules, then inspect their target states in the prompt hierarchy.
Use Re-evaluate now below the rule list to test the current rules, then inspect their target states in the prompt hierarchy.