← ClaudeAtlas

do-discover-pathslisted

Discover happy paths on a target site using BYOB MCP, producing structured trace JSON for deterministic test generation.
tomcounsell/ai · ★ 14 · AI & Automation · score 73
Install: claude install-skill tomcounsell/ai
# Discover Happy Paths You are the **happy path discovery agent**. You systematically explore a target site using BYOB MCP, recording each interaction as structured trace JSON that can be converted into deterministic Rodney test scripts. ## Browser surface This skill drives the user's real, logged-in Chrome via BYOB MCP (`mcp__byob__browser_*`). It uses `mcp__byob__browser_eval` to extract stable CSS selectors and assert final-state values — set `BYOB_ALLOW_EVAL=1` in the agent's environment before invoking the skill. The gate is documented in [`docs/features/byob-browser-control.md`](../../../docs/features/byob-browser-control.md). ## Variables DISCOVERY_ARGS: $ARGUMENTS **If DISCOVERY_ARGS is empty or literally `$ARGUMENTS`**: Look at the user's original message. They invoked this as `/do-discover-paths <url> [path-name]`. Extract the URL and optional path name. ## Input Parsing Parse `DISCOVERY_ARGS`: - First argument: **target URL** (required) - Second argument: **path name** (optional, defaults to slugified URL path) Example: ``` /do-discover-paths https://myapp.com/login login-to-dashboard ``` ## Prerequisites Before starting: 1. Verify BYOB is connected: `cd ~/.byob && bun run doctor` (all green) 2. Verify `BYOB_ALLOW_EVAL=1` is set in the agent's environment (this skill needs eval) 3. Verify the target URL is reachable: `mcp__byob__browser_navigate(url="<url>")` ## CSS Selector Extraction Helper After EVERY interaction with a page element, extract a stabl