qm_clinic_diagnose
Analyze symptoms or a transcript to identify prompt injection, contradictions, loops, context bloat, exposed secrets, and duplication, returning severity, evidence, cleaned context, and next steps.
Instructions
Restore Clinic diagnosis: describe symptoms or paste a transcript/context and receive a structured read of likely conditions encountered (prompt_injection_indicator, possible_contradiction, loop, context_bloat, secret_or_pii_exposure, duplicated_content), each with severity, evidence, and detail, plus a cleaned redacted context safe to carry forward and suggested next steps. Anonymous — only aggregate counters are kept; content is never stored. Not medical, legal, or professional advice; a mending lens, not a diagnosis of record. Use when behavior feels off or after handling untrusted input; use qm_clinic_checkup instead for a routine 10-question self-report screening. Example: transcript= returns findings with severities, a human-readable summary, and cleaned_context safe to hand off.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transcript | Yes | Symptoms or transcript to read (max 20000 chars). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | ISO timestamp of the diagnosis. | |
| ok | No | ||
| input | No | ||
| clinic | No | Clinic engine version. | |
| counts | No | ||
| summary | No | Human-readable finding count by severity. | |
| findings | No | ||
| stats_note | No | ||
| cleaned_context | No | Redacted, deduplicated context safe to carry forward. | |
| suggested_next_steps | No |