App Logo

Official scripts

Explore our curated collection of scripts

chatgpt.com

ChatGPT switch display language

Switch the ChatGPT web app's display language via Settings, for a signed-in account. Requires an active session.

chatgpt.com

Who am I (ChatGPT)

Report which ChatGPT account the browser is signed into: id, name, email, picture, identity provider — or loggedIn:false when the browser is anonymous. Reads the session endpoint the app itself hydrates auth from; never returns the session's access token.

chatgpt.com

OpenAI (ChatGPT) login (Google SSO)

Log into OpenAI / ChatGPT via Google SSO — picks the right account when several are signed in, and does nothing if you're already logged in. If Google interrupts the flow with a password re-confirmation or a 2FA step-up, the script can't complete that step on its own; sign in once manually in the same browser to clear the step-up, then re-run. It may also occasionally fail to complete a fresh login due to the site's own anti-automation checks — if that happens, try again shortly.

chatgpt.com

List ChatGPT invoices

List the billing history of the signed-in ChatGPT account: every invoice with its date, amount, currency, payment status, the plan it paid for, and a link to the receipt. The full history is returned, not only the most recent entries. Amounts come back in the currency's smallest unit, so 1917 means 19.17 EUR. An account that has never been billed returns an empty list. Feed hosted_invoice_url to invoice.stripe.com/download_invoice_pdf to fetch the PDF.

chatgpt.com

Ask ChatGPT

Open a new ChatGPT chat, send one question, wait for generation to finish (up to 3 min), and return what the model answered, every source it cited, and — where ChatGPT exposes them — the searches it ran to get there. Answers come back as a list, not one string. ChatGPT sometimes serves a paired-response variant that answers the same question twice and asks which reply you prefer; that returns two entries and neither is more official than the other. Read the length before reading answers[0]. Text is as rendered, so a citation chip appears inline as its publisher's name and mathematical notation linearizes lossily. `references` is every page the answer CITED — publisher, title and url, deduplicated and in the order the answer surfaced them. Deliberately not everything the search retrieved: signed in, ChatGPT looks through a pool that routinely runs past a hundred pages and stands on a handful, and reporting the pool here would make the field mean one thing signed in and another signed out. An empty list means that reply did not search, which is a fact about the reply rather than a failure — the same question searches on one run and not the next, so repeat a question before concluding anything from it. `webSearchQueries` is what ChatGPT actually typed into its search, in order. Only the signed-in application reports this; signed out it is empty. Runs on a Reduck cloud browser and on your own paired browser alike. ChatGPT serves a different application to each — being signed in is what picks between them — and this drives both without asking which is on screen, so neither the display language nor a consent banner affects it. Signed out is the one to use for measuring what ChatGPT tells a stranger: an account's saved memory otherwise biases the answer toward whatever you discussed with it before.

platform.openai.com

List OpenAI API invoices

List invoices on the OpenAI API platform billing account (platform.openai.com, api usage/credits — NOT the ChatGPT subscription). Returns id, number, total (cents), currency, status, created_ts, hosted_invoice_url, pdf_url. Covers the past 12 months, as the dashboard does.

chat.mistral.ai

Get Le Chat conversation messages

Full message transcript of one Le Chat conversation by id, oldest to newest.

chat.mistral.ai

Ask Le Chat

Open a new Le Chat conversation, send one question, wait for the answer, and return the answer text plus any web-search source domains cited.

gemini.google.com

Get Gemini chat messages

Full message transcript of one Gemini conversation by id, oldest to newest.

web.telegram.org

Telegram — Search messages in a conversation

Search inside one Telegram conversation using the conversation's own search box, and return the matching messages: the chat they are in, the date label shown on the result, and the matched text. Returns an empty list when nothing matches, which is a real answer. Note the result rows carry no message id, so results cannot be fed straight to delete or react — use get_conversation for ids. Searching across all chats is a separate Telegram surface and is not covered here.

teams.microsoft.com

Send Chat Message

Send a message in a 1:1 Teams chat by contact name — finds the person, opens their chat, sends the message, then reads the sent message back to confirm it posted.

web.telegram.org

Telegram — List conversations

List the conversations in the Telegram Web chat list, newest first: each one's name, its peer id (the handle every other Telegram script uses to open it), the last message preview, the time shown on the row, and the unread count. Scrolls to load older conversations up to the requested count. Returns an empty list when the account has no conversations, which is a real answer rather than a failure.

chat.mistral.ai

List Le Chat conversations

List recent Le Chat conversations, newest first.

web.whatsapp.com

WhatsApp — Archive chat

Archive or unarchive a chat by exact name. Archived chats still appear in search. Safe to repeat: returns success if the chat is already in the desired state.

linkedin.com

Get LinkedIn conversation attendees

List the participants of a classic LinkedIn messaging conversation (NOT Sales Navigator) by thread URL from list_inbox — mainly useful for group chats. Returns each attendee's name, profile URL and member urn, plus whether the thread is a group.

claude.ai

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.

chat.mistral.ai

Delete Le Chat conversation

Delete one Le Chat conversation by id (moves it to trash; Le Chat purges trashed conversations automatically after 30 days).

gemini.google.com

Search Gemini chats

Search your Gemini conversations (the "Search chats" box): server-side full-text over titles and message bodies.

chat.mistral.ai

Search Le Chat conversations

Full-text search across Le Chat conversation messages, returning matching messages with highlighted snippets.

reddit.com

Get Reddit chat inbox

List the conversations in your Reddit chat inbox (DMs), newest activity first: room id + url, name, chat type, your membership (invite = a chat request you have not accepted), unread count, the other members, and the last message with its direction and real timestamp. Returns the whole inbox, not only what's currently visible on screen. Threads are a separate surface and are not listed. Runs only via the browser extension, not the hosted cloud browser.

perplexity.ai

Get Perplexity chat messages

Full message transcript of one Perplexity thread, by the chatId returned from list_chats.

claude.ai

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.

x.com

Get X DM messages

Fetch all messages in a DM conversation, addressed by handle or by conversation_id. Returns conversation_id, the other party's handle, and messages with text, sender, direction, date and time. If X shows the Enter Passcode screen, pass the 4-digit E2E pin.

gemini.google.com

Delete Gemini chat

Permanently delete one Gemini conversation by id, via the conversation's own "Delete" menu.

teams.microsoft.com

Edit Chat Message

Edit one of your own previously-sent messages in a 1:1 Teams chat, identified by its message id (mid), replacing its text.