Official scripts
Explore our curated collection of scripts
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 chats
List your recent Claude.ai chats (the /recents + sidebar list), newest first. Paginate with limit+offset.
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.
Ask Claude
Open a new Claude.ai chat, send one question, and wait for the answer to finish (up to 3 minutes). Returns the answer as the markdown the model emitted, the message and conversation ids, why generation stopped, which model answered, the web_search queries it issued, 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. 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.
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 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.
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.
Remove org member (Claude Console)
Remove a member from an Anthropic / Claude Console organization by email, with built-in verification. It records the member list before and after, returning removed / verified / collateralLoss — proof the right person disappeared and nobody else moved. As a safety guard, the destructive click only fires when the confirmation dialog names the target email. Works with the console in English or French. dryRun (default true) walks to the dialog then dismisses it; set it to false to confirm. Requires an admin account on a team organization: an individual organization has no member management at all, and the script reports that case explicitly rather than failing obscurely. If you are not signed in, it stops with a clear message — chain platform.claude.com/login_with_google first if needed.
Login (self-authenticating via email magic link)
Authenticate to claude.ai without cookie injection: requests an email magic link, reads it from Gmail in the same browser (requires an active Google session for that inbox), and lands logged in. Returns {authenticated, method: existing|magic_link, email, orgs}. Chain it before other claude.ai scripts (e.g. list_invoices). Google SSO button is a GIS popup (not drivable) — this email flow is the automatable self-auth path.
List Le Chat conversations
List recent Le Chat conversations, newest first.
List Claude invoices
List every invoice across the orgs you have billing access to. 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, newest first. Orgs you lack billing access to are reported in skipped rather than raising an error. Feed hosted_invoice_url to invoice.stripe.com/download_invoice_pdf to fetch the PDF (verified public/login-free, no Claude session needed).
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.
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.
Download Stripe invoice/receipt PDF
Download a Stripe-hosted invoice or payment receipt PDF from its hosted_invoice_url. Returns the PDF bytes as base64 (decode + write it yourself) plus the real filename. Vendor-agnostic and login-free: the hosted_invoice_url is a public tokenized link, so it works for any Stripe-billed service (Claude, ChatGPT, Notion, Slack, Lovable, ...). An expired or dead URL fails cleanly.
