system-prompts-and-models-o.../Open Source prompts/OpenHands/microagent_generate_remember_prompt.j2
Claude d53e1887bd
Add OpenHands Jinja2 prompt templates from source
Additional prompt templates fetched from the OpenHands repo including
system_prompt, security_risk_assessment, in_context_learning examples,
microagent prompts, and variant modes (interactive, long_horizon, tech_philosophy).

https://claude.ai/code/session_01LsnvBa7HwF5hs99VZbgLGj
2026-03-30 09:26:26 +00:00

22 lines
1.4 KiB
Django/Jinja

You are tasked with generating a prompt that will be used by another AI to update a special reference file. This file contains important information and learnings that are used to carry out certain tasks. The file can be extended over time to incorporate new knowledge and experiences.
You have been provided with a subset of new events that may require updates to the special file. These events are:
<events>
{{ events }}
</events>
Your task is to analyze these events and determine what updates, if any, should be made to the special file. Then, you need to generate a prompt that will instruct another AI to make these updates correctly and efficiently.
When creating your prompt, follow these guidelines:
1. Clearly specify which parts of the file need to be updated or if new sections should be added.
2. Provide context for why these updates are necessary based on the new events.
3. Be specific about the information that should be added or modified.
4. Maintain the existing structure and formatting of the file.
5. Ensure that the updates are consistent with the current content and don't contradict existing information.
Now, based on the new events provided, generate a prompt that will guide the AI in making the appropriate updates to the special file. Your prompt should be clear, specific, and actionable. Include your prompt within <update_prompt> tags.
<update_prompt>
</update_prompt>