cleaner
Clean and structure raw user prompts by normalizing tone, removing sensitive data, and preserving intent. Outputs JSON with retouched text, redactions, notes, and risks for safer pre-processing and planning.
Instructions
Pre-reasoning prompt normalizer and PII redactor. Use when: you receive raw/free-form user text and need it cleaned before planning, tool selection, or code execution. Does: normalize tone, structure the ask, and redact secrets; preserves user intent. Safe: read-only, idempotent, no side effects (good default to run automatically). Input: { prompt, mode?, temperature? } — defaults mode='general', temperature=0.2; mode='code' only for code-related prompts. Output: JSON { retouched, notes?, openQuestions?, risks?, redactions? }. Keywords: clean, sanitize, normalize, redact, structure, preprocess, guardrails
Input Schema
Name | Required | Description | Default |
---|---|---|---|
mode | No | Retouching mode; default 'general'. Use 'code' only for code-related prompts. | |
prompt | Yes | Raw user prompt | |
temperature | No | Sampling temperature (0-2); default 0.2 |