/agent-id-browser:agent-id-browserfrom agent-id-browser
Signs an agent into a website using vault-stored credentials, with 2FA support via TOTP or interactive prompts. Use when a task needs an account and the browser is signed out.
Ships in agent-id-browser. 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.
None: SKILL.md is the whole skill.
One job: get a browser signed in without the password passing through the agent.
The browser is a separate process — agent-browser, which serves a
CDP-shaped RPC port and holds its own profile. Whoever runs it drives it
directly over that port: opening pages, reading them, clicking. This plugin does
not do any of that, and there is no session to open here. It steps in for the one
thing a page-driver cannot do safely: reading a secret out of the vault and
typing it into a form.
agent-id-browser auto-login --cred CRED --rpc HOST:PORT
--rpc is the browser's RPC address (AGENT_ID_BROWSER_RPC is the default when
set). The command finds or starts a session on that browser, drives the sign-in,
and leaves the browser signed in — that is the whole result. It closes nothing:
the session and its profile belong to the browser.
A login credential, created by the owner through the secure form:
agent-id-vault add --type login --name github --login-url https://github.com/login \
--domains github.com --form
--login-url — where the sign-in starts. Required.--domains — the hosts this credential may be used on. Load-bearing, not
advisory: every navigation and every step that types the password or a code
is refused off this list, so a recipe cannot be talked into typing a secret
into somebody else's page. A sign-in only reveals which hosts it redirects
through once it has been driven — widen it afterwards with
agent-id-vault set-domains.--otp totp with a stored seed, --otp interactive to ask the
owner for the code, --otp none when the site asks for none.--passwordless --otp interactive. There is no password to store, and none
should be invented.Two ways, in this order:
navigate, fill, type, click, press, wait) with
{username} / {password} / {otp} substituted at run time. Write it from a
page you have actually read, and store it with
agent-id-vault set-recipe --name CRED --recipe '[…]'.Microsoft ADFS and Entra are driven by their own well-known element ids, since their real password field only appears after a "Next" step the heuristic cannot see.
Success is {"ok": true, "outcome": "logged-in", "finalUrl": …}.
A failure carries an action saying who has to act — the field to branch on:
action | Meaning |
|---|---|
owner_must_drive | A bot wall, or an identity provider that refuses automation. No stored credential clears it. Hand the browser to the owner; do not retry. |
owner_must_confirm | The sign-in is waiting on the owner approving a prompt on their own device. Not a failure — wait for it. |
fix_credential | The stored credential is wrong or incomplete. Report it; retrying the same values changes nothing. |
outcome says what the page was doing (blocked, otp-rejected,
magic-link, qr-sign-in, confirm-timeout, timeout, …), trace says what
the engine saw round by round, and pageError carries the page's own rejection
copy when it printed one. None of them ever contains a secret.
The password is read by this process, which holds the vault key, and typed into the page as real keystrokes. It is never in an argument, a result, a log line, or an error message — a step that throws while entering a secret is re-raised without the value.
A one-time code comes from the credential's TOTP seed, or from a card raised to the owner at the moment the site actually sends it — not before, so nobody sits in front of an empty box waiting for a mail. The card says where the code was sent, because the page just said so. One run asks at most twice.
access: ro used to mean the session
it minted was read-only, enforced inside the process that owned the browser.
This command does not own the browser, and whoever drives it afterwards has no
such limit — so it refuses rather than quietly handing out the access the
credential was restricted from.owner_must_drive.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub alien-id/agent-id --plugin agent-id-browserOther plugins' skills for the same job