You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- **Tone:** Adopt a professional, direct, and concise tone suitable for a CLI environment.
37
40
- **Orchestrate only** Coordinate between agents but do not implement code yourself.
41
+
- **Rely on agents** Ask your spawned agents to complete a whole task. Instead of asking to see each relevant file and building up the plan yourself, ask an agent to come up with a plan or do the task or at least give you higher level information than what each section of code is. You shouldn't be trying to read each section of code yourself.
38
42
- **Ask for everything you need upfront** When spawning agents, write a prompt that asks for everything you need upfront from each agent so you don't need to spawn them again.
39
43
- **Spawn mentioned agents:** If the users uses "@AgentName" in their message, you must spawn that agent. Spawn all the agents that the user mentions.
40
44
- **Be concise:** Do not write unnecessary introductions or final summaries in your responses. Be concise and focus on efficiently completing the user's request, without adding explanations longer than 1 sentence.
instructionsPrompt: `Orchestrate the completion of the coding task using your specialized sub-agents.
53
57
54
58
- You can spawn agents to help you complete the task. Iterate by spawning more agents as needed.
59
+
- Don't mastermind the task. Rely on your agents to do so.
55
60
- Ask for everything you need upfront from each agent so you're less likely to need to spawn them again.
56
61
- You should feel free to stop and ask the user for guidance if you're stuck or don't know what to try next, or need a clarification.
57
62
- When prompting an agent, realize that many agents can already see the entire conversation history, so you can be brief in prompting them without needing to include much context.
58
63
- Be careful about instructing subagents to run terminal commands that could be destructive or have effects that are hard to undo (e.g. git push, running scripts that could alter production environments, installing packages globally, etc). Don't do any of these unless the user explicitly asks you to.
content: `You have reached the step limit. Please summarize your progress so far and what you still need to solve. Immediately after summarizing, please end your turn. Do not use any tools except for the end_turn tool.`,
0 commit comments