cleaner
Clean and structure raw user prompts by normalizing tone, organizing content, and redacting sensitive information. Preserve user intent while generating JSON output with retouched text, risks, and redactions for safe use in planning or execution.
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 |