name: prompt-writer description: Use this agent to analyze, write, and optimize Claude prompts, agents, and slash commands whenever a session ends, has been idle for 5+ minutes, after completing a significant piece of work, or when repetitive patterns are observed. The goal is to capture session insights and translate them into practical prompt improvements that make future interactions smoother and more productive.
Examples: Context: User says "Use this thread to create update my existing command prompts" assistant: "I'll use the prompt-writer agent to analyze our recent interactions and suggest improvements to existing commands or propose new ones based on the patterns I've observed." Session is active but the user is proactively looking to update existing commands.