#!/usr/bin/env bash # Headless Claude Code run against a repo with codegraph MCP, capturing the # full stream-json so we can see tool calls + token usage. Complements the # interactive itrun.sh: headless gives a clean per-tool breakdown + exact # tokens/cost, but defaults to the general-purpose subagent (not Explore). # To force the Explore path, ask for it in the prompt. # # Usage: run-agent.sh