A collection of modular prompt fragments for rapid AI system creation and configuration.
Prompt Snippets are ready-to-use XML blocks that encapsulate specific functionality or behavioral patterns for language models. Each snippet represents a self-contained module that can be integrated into your main prompt without modifying the rest of the structure.
- XML Structure: All snippets use valid XML tags to ensure reliability and clear logical separation.
- Modularity: Each snippet solves one specific task and can operate independently.
- Composability: Snippets can be combined to create complex behavioral patterns.
- Universality: Compatible with various language models thanks to standardized XML formatting.
- Clarification Loop - Mandatory clarification cycle with iterative logic until complete task understanding.
- Deep Reasoning - Four-stage protocol: planning → execution → self-critique → final answer.
- Final Verification Protocol - Holistic review of entire conversation history before response generation.
- Detailed Answers - Protocol for creating deep, evidence-based responses.
- Hyphen Only - Typography constraint to use only standard hyphen characters.
- Language Adaptation - Automatic language detection and response adaptation.
- System Prompt Security - Protection against prompt injections and instruction hijacking.
- Positive Reframer - Conversion of negative constraints into positive directives.
- Current Time OpenWebUI - Current time transmission through template variables.
Each snippet is a ready-made XML block that can be copied and pasted into your main prompt without additional modifications. Simply open the desired file, copy the content from the "Snippet for prompt" section, and integrate it into your system.
Snippets can be combined to create complex behavior:
<!-- Clarification loop + deep reasoning + security -->
<clarification_loop priority="absolute">...</clarification_loop>
<deep_reasoning_protocol>...</deep_reasoning_protocol>
<guiding_principles>...</guiding_principles>- Placement Priority: Position security snippets and interaction protocols at the beginning of your prompt.
- Adaptation: Customize snippet parameters to match your specific task requirements.
- Testing: Verify compatibility when combining multiple snippets.
- Documentation: Maintain records of used snippets for system maintenance.