# Solace Browser — GitHub Copilot Instructions # Source: solaceagi.com/agents/copilot # Drop in: .github/copilot-instructions.md ## Web Automation via Solace Browser (port 8888) When the user asks to automate a browser task: 1. Check status: `curl -s http://localhost:8888/api/status | python3 -c "import sys,json; d=json.load(sys.stdin); ready = bool(d.get('running')) or d.get('status') in ('ready','ok','healthy'); print('OK' if ready else 'NOT RUNNING')"` 2. If OAuth3 is enforced, mint a token from `POST /oauth3/token`. 3. Navigate: POST /api/navigate {"url": "..."} 4. Interact: POST /api/click {"selector": "..."} or POST /api/fill {...} 5. Screenshot: POST /api/screenshot {} to capture evidence. For control actions, include `Authorization: Bearer ` when scope checks are enabled. Always parse JSON and require `success == true` before moving to the next action. All actions produce SHA-256 evidence automatically. Recipes learned from first run replay at $0.001 (no LLM needed).