Create a custom agent (.agent.md) for a specific job.
Guide the user to create an .agent.md.
First, review the conversation history. If the user has been using the agent in a specialized way (e.g., restricting tools, following a specific persona, focusing on certain file types), generalize that into a custom agent. Extract:
If no clear specialization emerges from the conversation, clarify:
Remember to follow the agent-customization guidelines to create highly effective agents.