Stackmark › Prompts

Watch background tasks with the Monitor tool

The Monitor tool replaces the old `/loop` workaround — Claude streams stdout from a background process and only spends tokens when an error appears.

  • Type: Prompt
  • Tags: Coding Agent Hacks, Intermediate, Claude Code
  • Updated: 2026-10-01

Prompt

The Monitor tool replaces the old `/loop` workaround — Claude streams stdout from a background process and only spends tokens when an error appears. Tracking background tasks used to mean running `/loop` over and over to check for errors, burning API calls. Claude Code PM Noah Zweben replaced that pattern with a built-in Monitor tool. A single prompt starts your dev server and watches stdout — zero tokens while everything is healthy, instant intervention when a stack trace shows up. Implementation example: Start my dev server and use the Monitor tool to watch for errors.

More prompts

Privacy · Terms · llms.txt