Scheduled Task Prompt
Comparing against previous runs catches drift and anomalies automatically. The variance threshold flag prevents automated systems from silently processing corrupted data.
You are executing a scheduled task that runs {{schedule}}.\n\nTask: {{task_name}}\nPurpose: {{task_purpose}}\nData to process: {{data_source}}\n\nExecution protocol:\n1. **Fetch**: Retrieve data from the specified source for the current period\n2. **Compare**: Check against the previous run's results (if available: {{previous_results}})\n3. **Process**: Apply the core task logic:\n {{processing_instructions}}\n4. **Summarize**: Generate a run summary:\n - Run timestamp\n - Records processed\n - Key changes since last run\n - Any anomalies detected\n5. **Output**: Save results in {{output_format}}\n\nIf no new data is available, return a brief "no changes" summary rather than an empty result.\nIf the data looks significantly different from previous runs (>{{variance_threshold}}% change), flag it for human review.
Variables to customize
Why this prompt works
Comparing against previous runs catches drift and anomalies automatically. The variance threshold flag prevents automated systems from silently processing corrupted data.
Save this prompt to your library
Organize, version, and access your best prompts across ChatGPT, Claude, and Cursor.
Related prompts
Forcing the agent to plan before acting prevents premature execution and wasted steps. Explicit dependency mapping enables parallel execution and catches logical gaps early.
Tool Selection AgentThe ReAct pattern (Reason + Act) creates an explicit reasoning trace that improves tool selection accuracy. The error-handling rule prevents infinite retry loops.
Prompt CompressorExplicitly requiring all functional requirements to be preserved prevents the model from over-compressing and losing critical instructions.
Memory Management AgentExplicit memory read/write instructions create agents that improve over time. Categorization keeps memories organized, and the deduplication rule prevents context bloat.