System Prompt Logic Analyzer
Long system prompts accumulate contradictory rules — "never mention pricing" in one paragraph, "always summarize the pricing tier" in another. This tool extracts every obligation and prohibition, then flags opposite-polarity rules that share a topic.
Tool interface
Analysis
Potential contradictions
Extracted rules
Introduction
As system prompts grow, rules added at different times can contradict each other, causing unpredictable model behavior. This tool surfaces those contradictions before they reach production.
How it works
- Splits the prompt into sentences and detects modal triggers.
- Classifies each rule as an obligation or prohibition.
- Maps each rule's significant content words.
- Flags opposite-polarity rules that share a content word as potential contradictions.
Privacy
All analysis is local and deterministic. No upload, no account, no API key, no LLM.
Limitations
- Heuristic topic matching may flag benign overlaps or miss subtle conflicts.
- Does not evaluate semantic meaning beyond polarity + shared topic.
FAQ
Why is a pair flagged as a conflict?
Because one rule obligates an action on a topic while another prohibits it (e.g. "always summarize pricing" vs "never mention pricing"). Review the pair to confirm.
Is my prompt uploaded?
No. Everything runs in your browser — important for proprietary system prompts.