Official scripts
Explore our curated collection of scripts
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.
Remove team member (Claude.ai)
Remove a member from a Claude.ai Team or organisation by email, with built-in verification. Records the member list before and after and returns removed / verified / collateralLoss, giving you proof the right person was removed and nobody else was affected. The removal is guarded: it proceeds only once the confirmation step names the target email. dryRun (default true) walks up to the confirmation and cancels without removing — set it false to remove for real. Requires being signed in to claude.ai as an organisation owner or admin. Works with the interface in French or English, and reads the current members page, so it suits teams that fit on one page.
Get Claude chat messages
Full message transcript of one Claude.ai conversation by uuid, oldest→newest. `text` is the readable prose; `tools` lists tool calls the UI renders as cards.
List Claude.ai models and effort levels
List the models the Claude.ai composer offers, the effort levels available for the selected model, and which of each is currently selected. Takes no arguments. Models come back with their id, their display name and whether they sit in the picker's main list or under "More models". Effort levels are empty when the selected model has none (Haiku, for example, only offers an extended-thinking switch). Requires a signed-in session. Feed a model or effort id to set_model.
List Claude chats
List your recent Claude.ai chats (the /recents + sidebar list), newest first. Paginate with limit+offset.
Set Claude.ai model and effort
Change the model and/or the effort level the Claude.ai composer uses for new chats, by id (from list_models). Pass model, effort, or both; the effort applies to the model selected once the change is made. The choice is saved to the account, so it holds across browsers and reloads. Returns the model and effort now selected as the site confirms them. A target that is already selected is left as is. Asking for an effort a model does not offer, or a model the picker does not list, fails with the available ids. Requires a signed-in session.
Login (self-authenticating via email magic link)
Authenticate to claude.ai by email magic link, with no cookie injection: requests the link, reads it from Gmail in the same browser, and lands signed in. Requires an active Google session for that inbox. Returns {authenticated, method: existing|magic_link, email, orgs}. Chain it before other claude.ai scripts, e.g. list_invoices.
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.
Search Claude chats
Search your Claude.ai chats (the "Search chats…" box): server-side full-text over titles + message bodies. Each hit carries the matched snippet and match offsets the UI bolds.
Delete Claude chats
Permanently delete one or more Claude.ai conversations by uuid (from list_chats, search_chats, or ask's conversationId). This is irreversible and cannot be undone — claude.ai has no trash and no undo for conversations. dryRun (default true) resolves every uuid and reports the exact conversation names that would be deleted, without deleting anything; set it to false to actually delete. Each uuid is resolved before the destructive call, so a wrong or already-deleted uuid is reported as notFound rather than acted on blindly, and each deletion is confirmed by re-reading the conversation until the site itself 404s it — never on the strength of an optimistic 204. Addresses conversations by uuid, not by title: titles are model-generated and routinely collide.
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).
List connector Claude directory
Every connector in Claude's Directory (Settings → Connectors → Add → Browse connectors) — the whole catalogue the page loads, not one page. Each entry carries id, slug, name, one-liner, verified tier (anthropic/partner/community), categories, author, its claude.ai/directory link and the MCP endpoint URL. The Directory's Plugins tab (local extensions) is a different affordance and is not returned.
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 Code sessions
List your Claude Code web sessions (the Recents list in the /code sidebar), newest first. Each entry carries the session id used by get_code_session, its full title, and the live status the sidebar dot reports (e.g. Running, Needs input) when it shows one. An account with no sessions yet returns an empty list. Claude Code sessions are not part of /recents ("Chats and tasks") — that page's Cowork filter is a different feature — so this sidebar list is the surface that has them.
Claude Console login (Google SSO)
Log into the Claude Console (platform.claude.com, formerly console.anthropic.com) with Continue with Google. Returns straight away if you are already signed in, and reports the account.
Get Claude Code session
Full transcript of one Claude Code web session by id, oldest→newest. The transcript is virtualized — only the messages near the viewport exist in the DOM — so this walks it from the top and stops on the count the list itself declares (aria-setsize), rather than guessing when it has seen everything; a read it cannot complete throws instead of returning a partial transcript that would look whole. Each message carries its own id, who sent it (human, assistant, or neither for a system card like "Context cleared"), and the readable text of what the page shows for that turn — prose plus the tool cards' own summaries, in reading order. No timestamp: the page only holds an absolute one in a per-message hover tooltip.
List Le Chat conversations
List recent Le Chat conversations, newest first.
Get company info
Fetch a French company's public profile from societe.com by SIREN. Returns url, siren, name, country, status, headcount, resume, and legal.
Search France Travail jobs
Search France Travail (formerly Pôle Emploi) public job listings by keyword, optional free-text location (city or department) or location code, and page (20 offers/page). Returns jobs (jobId, title, company, location, description, contract, postedAgo, url) and, on page 1 only, the total match count. An ambiguous or unrecognized location is refused rather than silently searching nationwide.
Look up a French company on Infogreffe
Returns the registry record for a French company from its SIREN: registered name, trading status, registration and strike-off dates, activity, registered address, headcount, share capital and VAT number. Reads the public company page, so no account is needed.
Get Pappers company officer history
Fetches a French company's full officer history from Pappers by SIREN: both current and former officers/auditors, with role, tenure dates, and status. Complements pappers.fr/get_company, which only returns current officers — this is the affordance for "who held what role, and when" including people who've left. An unknown SIREN throws (Pappers' unknown-SIREN placeholder page lists unrelated companies' officers).
Get a lawyer's detail
One lawyer's public detail sheet from the Barreau de Nantes directory, by slug (from list_lawyers or list_lawyers_by_cabinet): name, phone, email, photo, plus the page's own labelled fields (cabinet, address, languages, dominant activities, case palais, oath date, fax). Which labelled fields appear varies per lawyer. No login required. An unknown slug throws a clear not-found error rather than returning the directory's error page as a person.
Anthropic Console whoami (signed-in account)
Report which Anthropic Console (platform.claude.com) account this browser is signed in as: the user id, uuid, email, name, and every organization it belongs to with its uuid and role (the organization other Console scripts act on). Being signed out is reported as a normal answer (loggedIn false), not an error, so it can be used to check a session before running other Console scripts.
Download Stripe invoice/receipt PDF
Download a Stripe-hosted invoice or payment receipt PDF from its hosted_invoice_url. Returns the file's real name and the path where the browser saved it (or a url to it on a managed browser), so you can read or move the PDF directly. Vendor-agnostic and login-free: the hosted_invoice_url is a public tokenized link, so it works for any Stripe-billed service (Claude, ChatGPT, X, Notion, Slack, Lovable, ...). An expired or dead URL fails cleanly.
List Anthropic Console invoices
List your Claude API invoices from the Anthropic Console (platform.claude.com): date, type, invoice number, status, amount and each invoice's Stripe-hosted page, plus the organization id and name. Reads the whole invoice history, following pagination, and works whatever language the Console is in. An organization with no invoices returns an empty list; signed out, it stops with a clear error rather than returning nothing. The Stripe links are re-signed on every load, so use them rather than store them; to download a PDF, feed one to invoice.stripe.com/download_invoice_pdf.
