Vibe coding tip: Run playwright MCP and other token-hungry tools in a sub agent to preserve your main context window
Vibe coding / augmented engineering tip of the week pt. 6: Run playwright MCP and other high token usage MCPs or tasks in a sub agent in claude code so it doesn't eat your main context window nearly as fast.
Huge thanks to Anthony Panozzo for tipping me off to this one - I think the playwright MCP is really useful for testing changes and verifying things, but it burns through tokens at a crazy clip.
I'm also finding it useful when you're running a test suite that spits out a lot of logs or task output, etc. to have it run that in a subagent and pull out the key findings, then take the correct next action for your current goal.
Way fewer compactions.
Get More Like This
Follow along as I build and share what I learn
Found this helpful? Share it with your network!