/edge-pilot:browserfrom edge-pilot
Drive Microsoft Edge (or Chrome) with the user's real logins through the edgectl CLI. Use for any web task that needs a signed-in account or a real browser - reading Outlook mail, Teams chats, SharePoint/OneDrive files and lists, Excel for the web, Jira, Confluence, Power BI, Business Central, Travel Compositor, Facebook, WhatsApp Web or any internal web app; calling a web app's own API with its captured token; discovering which API a page uses; screenshots, PDFs, downloads; clicking and filling forms. Works on Windows, Linux and macOS.
Ships in edge-pilot. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
edgectl (on PATH while this plugin is enabled; Node 22+) drives Edge on the user's login state: a headless copy of a profile, a persistent automation profile, or the user's running browser itself through the bridge extension (--mode real). Every command prints JSON. Run edgectl help for the full list, and read references/cli.md before using a command for the first time.
| Task | Method |
|---|---|
| Public page, no login | WebFetch first (free). If the site blocks crawlers or needs JavaScript: firecrawl scrape URL --only-main-content -o page.md (about 2 s and 1 credit per page; firecrawl --status shows credits). Many pages: firecrawl map / firecrawl crawl; finding pages: firecrawl search. Never pass the user's cookies or tokens to firecrawl |
| No login, but a CAPTCHA or bot wall stops headless Edge, or a cloud browser is wanted | browser-use MCP: browser_login, then start_remote_daemon() in browser_exec. Its local mode launches its own Chromium, which may open a window: skip it while the user wants headless only |
| Data from a signed-in web app (mail, chats, tickets, files, reports) | Capture the app's token once (edgectl token), then call its API (edgectl fetch). Fast, no UI side effects. Recipes per system: references/recipes/ |
| Unknown app: which API does it call? | edgectl net --url <page> --bodies <dir> records every XHR/fetch with status and JSON bodies |
| Click, type, read what is on screen | edgectl ab snapshot -i -c (add --selector "#main" or -d N on large pages, ab diff snapshot after an action), then edgectl ab click @e3, edgectl ab fill @e5 "text" (agent-browser on the same session) |
| Long or repeated flow | A script that connects to edgectl cdp (Playwright connect_over_cdp) - see references/sessions.md |
| Visual proof | edgectl shot file.png --full, edgectl shot file.png --selector "#main", edgectl pdf file.pdf |
| Needs the user's own logins now (Windows above all), or a tab the user already has open | edgectl start s1 --mode real --profile <account> (a minimized window of the user's browser; --headed shows it), add --all-tabs for the user's existing tabs |
edgectl profiles # real profiles and their signed-in account
edgectl alias work [email protected] # once: a short name, so commands carry no email
edgectl start work --profile work # clone that profile into a headless session
edgectl token --url https://outlook.office.com/mail/ --match 'outlook\.(office\.com|cloud\.microsoft)/.*(/api/|service\.svc)' --save outlook
edgectl fetch 'https://outlook.office.com/api/v2.0/me/mailfolders?$top=10' --token outlook
edgectl stop work # always stop: clones hold cookies
-s NAME picks a session; without it the only running session is used. Several sessions can run at once.clone (copy of a real profile, default on Linux and macOS), persist (a dedicated profile the user logs in to once with edgectl login), fresh (empty), real (the user's running browser through the bridge extension). Choose real when the task needs the user's live logins or open tabs, clone/persist for silent background work. Details: references/sessions.md.start in auto mode then runs a headless clone and copies the cookies of the running profile through its bridge (nothing opens on the user's screen), else uses the linked persistent profile, else fails with APP_BOUND and both setup options: the bridge (edgectl bridge install, then the user loads the extension once per profile; no login needed afterwards), or edgectl login <name> --for "<profile dir>" --url <site> (the user logs in once, MFA included, then edgectl stop <name>).{"error", "code"}. LOGIN_NEEDED means the session reached a login page: ask the user to log in (Linux: in their normal Edge, then start a new clone; Windows: edgectl login <name>). Never type the user's password yourself unless they ask.fetch (GET), not through the UI.--readonly: a guard fails every non-GET request from any client of that browser (edgectl, agent-browser, Playwright, the page itself); in real mode the browser enforces it for the session window. Allow specific read-only POSTs with --allow <regex> (for example Jira search/jql).edgectl tokens masks values; use --print only to pipe a value into a local script, never into chat output or an external service.edgectl stop every session you started, then edgectl ls to confirm. edgectl gc removes leftovers of crashed runs. A forgotten clone is stopped by the next edgectl call after 60 idle minutes.--all-tabs only when the task is about a tab the user already has open.edgectl fetch runs inside a tab of the target origin, so cookies and CORS behave like the app. If the app redirected to another origin (outlook.office.com to outlook.cloud.microsoft), fetch retries on the page origin, then from Node with the session cookies. --via page|node forces one path.edgectl token --reuse --save KEY returns the saved token while it is valid, so loops do not reopen the app. Add --keep and the token outlives stop: edgectl fetch URL --token KEY with no session running sends it from Node until 2 minutes before it expires; edgectl tokens --forget KEY deletes it.--headed, --mode real, edgectl login) only when the user asks for one.start takes the desktop session bus and desktop variables itself, so clones decrypt their cookies; edgectl doctor reports a missing bus or an AppArmor user-namespace restriction (then --arg --no-sandbox).fetch --token KEY in a running session captures an expired token again on HTTP 401 and resends once. Otherwise fetch notes 401/403 as an expired token or login and refuses with LOGIN_NEEDED when the app's tab sits on a sign-in page: start a new session (Windows copies the running Edge's cookies at start) instead of retrying.edgectl wait 'JS condition' --stable 2, not fixed sleeps; it survives sign-in redirects.DIALOG means an alert, confirm or prompt blocks the page: edgectl dialog dismiss (or accept) clears it; eval --dialog accept accepts a confirm the code itself opens.net --bodies and replay it with the next cursor (references/recipes/facebook.md).edgectl ab ... keeps agent-browser and edgectl on the same tab in both directions.edgectl open URL --new gives each sub-task its own tab; edgectl tabs lists them.--ua keep disables that.references/cli.md (opens in a new tab)references/recipes/atlassian.md (opens in a new tab)references/recipes/business-central.md (opens in a new tab)references/recipes/facebook.md (opens in a new tab)references/recipes/outlook.md (opens in a new tab)references/recipes/power-automate.md (opens in a new tab)references/recipes/powerbi.md (opens in a new tab)references/recipes/sharepoint.md (opens in a new tab)references/recipes/teams.md (opens in a new tab)references/recipes/travel-compositor.md (opens in a new tab)references/recipes/whatsapp.md (opens in a new tab)references/sessions.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub ntphiep/edge-pilot --plugin edge-pilot