There's a lot of low-hanging fruit for this agent:
<script>, <style>, and other non-text tags from the HTML before sending it to the LLMcdrun can wait (in case agent runs an interactive command and it's hanging)node server.js to start a server