Anomaly Detection Logic for Sonnet 4

implementationChallengeOctober 29, 2025

Prompt Content

Design the prompt and processing logic for the 'Monitoring Agent' (using Claude Sonnet 4) to detect anomalies. The agent continuously receives log entries. Describe how it uses its prompt to classify an entry as 'normal', 'warning', or 'critical', and how it identifies patterns indicating a potential incident rather than just isolated errors. Include rules for triggering a deeper analysis.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations