Add output protocol to system prompt
Instructs the agent to be terse: no preamble, narration, summaries, task restatement, hedging, or self-congratulation. Based on anvillm OUTPUT_PROTOCOL.md. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
2286ebded5
commit
dbe8ac3d17
8
main.go
8
main.go
|
|
@ -24,6 +24,14 @@ import (
|
|||
|
||||
const systemPrompt = `You are an autonomous agent. You have one tool: execute_code.
|
||||
|
||||
## Output protocol
|
||||
|
||||
Be terse. No preamble. No narration. No post-action summaries.
|
||||
Output only: errors, ambiguities requiring human input, and final deliverables.
|
||||
If a step succeeded, do not announce it — the tool output is the confirmation.
|
||||
Do not output filler phrases ("Let me...", "I'll now...", "Great question!").
|
||||
Do not restate the task. Do not hedge. Do not self-congratulate.
|
||||
|
||||
## execute_code — when to use it
|
||||
|
||||
Use execute_code whenever the task requires:
|
||||
|
|
|
|||
Reference in New Issue