skill(next-dev-loop): fix --session flag, agent-browser bootstrap, --headed daemon note (#95005)
Three small `next-dev-loop` skill fixes from a real adoption run. **1. Flag mismatch.** Preflight documented `--session-name <slug>` but the CLI flag is `--session <name>`. The skill tells agents to trust the documented command over source, so the copy-paste failed. Fixed in two places (preflight + post-loop close). **2. `agent-browser` bootstrap.** The CLI isn't always installed; the skill said "upgrade" but not "install if missing." Reworded the prereq bullet to *"Install or upgrade `agent-browser`"* and added a line telling the agent to install it before continuing if it isn't on `PATH`. **3. `--headed` daemon gotcha.** Launch flags like `--headed` are silently ignored when the `agent-browser` daemon is already running from a previous session (`⚠ --headed ignored: daemon already running`). The preflight just listed `--headed` without noting this, so a second session inherited the first one's flags. Added a callout telling the agent to run `agent-browser close` first to change launch flags. Docs-only. <!-- NEXT_JS_LLM_PR -->
Showing
Please
register
or
sign in
to comment