diff --git a/openhands/agenthub/codeact_agent/prompts/default/user_prompt.j2 b/openhands/agenthub/codeact_agent/prompts/default/user_prompt.j2
index d9c0749c40f8..4afe2734b6b0 100644
--- a/openhands/agenthub/codeact_agent/prompts/default/user_prompt.j2
+++ b/openhands/agenthub/codeact_agent/prompts/default/user_prompt.j2
@@ -1,5 +1,5 @@
{% set DEFAULT_EXAMPLE %}
---- START OF EXAMPLE ---
+--- START OF EXAMPLE 1 ---
USER: create a sample file.
@@ -17,7 +17,26 @@ ASSISTANT:
The task is completed.
---- END OF EXAMPLE ---
+--- END OF EXAMPLE 1 ---
+
+--- START OF EXAMPLE 2 ---
+
+USER: echo "Hello, world!"
+
+ASSISTANT:
+
+echo "Hello, world!"
+
+
+USER:
+OBSERVATION:
+Hello, world!
+
+ASSISTANT:
+The task is completed.
+
+
+--- END OF EXAMPLE 2 ---
{% endset %}
Here is an example of how you can interact with the environment for task solving:
{{ DEFAULT_EXAMPLE }}