Who am I on Claude.ai
Report which Claude.ai account the browser is signed in as: id (the sign-in email, the identifier a connector for this host is labelled with), full name and display name (the name in the sidebar's bottom-left corner), the account uuid, plus every organisation it belongs to with the role held there and the subscription plan (free, pro, max, team, enterprise). Throws when signed out. Use it before any other claude.ai script to confirm the session, or to pick the organisation uuid another script needs.
Input
None
Output
id requiredThe account's sign-in email; the identifier a connector for claude.ai is labelled with.
orgs requiredEvery organisation the account is a member of. A personal account has exactly one.
uuid requiredThe account's uuid.
full_name requiredThe name given at signup.
display_name requiredThe name Claude greets the user with and shows in the sidebar; equal to full_name unless changed in settings.
FAQ
Ask Claude
Open a new Claude.ai chat, send one question, and wait for the answer to finish (up to 100 s). Returns the answer as the markdown the model emitted, the message and conversation ids, why generation stopped, which model answered, each web search it made with the results it was shown, every source its web_search and web_fetch tools surfaced, and — separately — the sources the answer actually cited. Requires a signed-in session: claude.ai has no anonymous chat, and a signed-out browser fails at once with an error that says so. When the account has used up its 5-hour or weekly allowance, it fails at once with the time the allowance resets, without sending anything. Avoid running many of these at once: claude.ai limits how many chats one account may hold concurrently and refuses the extras, so a refused send comes back quickly carrying Claude's own message and only needs to be retried at a slower pace.
List Claude invoices
List your Claude (claude.ai) plan invoices, with a PDF link for each, across every organization you have billing access to, newest first. Returns invoices (org_uuid, org_name, created_ts, due_date_ts, total, total_excluding_tax, currency, status, num_seats, hosted_invoice_url, invoice_pdf_url, payment_status) and skipped. Organizations you lack billing access to are reported in skipped rather than raising an error. To download a PDF, feed hosted_invoice_url to invoice.stripe.com/download_invoice_pdf (verified public/login-free, no Claude session needed).
Claude (Anthropic) login
Log into Claude (Anthropic) via Google SSO. Drives Claude's Continue-with-Google popup, picks the account (optional email arg), clears the consent screen, and lands in the Claude app. Runs on your local extension-paired browser only — it relies on the browser's own signed-in Google session, so it won't work on a cloud/managed browser without one.
