Who it is forA developer who needs a coding agent to check a live internal dashboard or account page that only works after sign-in.
The problemThe agent cannot see pages that need your login, and driving them through a headless browser would not use your real session.
The outcomeThe agent gets the page's controls and visible text, and can check values, take a screenshot or confirm a condition, all in a tab that does not take focus.
What you need first
- A Mac with macOS and Google Chrome
- Go 1.25 or newer (`brew install go`)
- Chrome Relay extension installed from the Chrome Web Store and pinned in each Chrome profile agents should use
- Optional: Xcode command line tools for 1Password and Secure Enclave passkeys
- Optional: 1Password, for sign-ins and op:// references
- Optional: the Chrome Relay Approve iPhone app from TestFlight, for approvals away from the Mac
Steps
- Complete the one-time setup with
./buildand./chrome-relay setup - Open the page in the agent's own tab:
chrome-relay open <URL>(use--profileto pick the Chrome profile) (inferred, check the README) - Read the controls and text:
chrome-relay snapshot --text(inferred, check the README) - Check a value, for example with
chrome-relay get textorchrome-relay get url(inferred, check the README) - Take a screenshot with
chrome-relay screenshotand review the audit trail (inferred, check the README)
Prompt for your agent
Using the Chrome Relay repo at aindeev/agent-chrome-relay, open <URL> with chrome-relay open, read it with chrome-relay snapshot --text, and report the value of <element or text>. Expected output: the text found on the page plus the current URL. Verify the URL matches <URL> before reporting.
Caveat. The README describes the step commands for reading pages, but the exact output format of each command should be checked on your own Mac before you rely on it in a script.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page