Official scripts
Explore our curated collection of scripts
Get Threads profile
Fetch a Threads user's profile: display name, bio, avatar, website, topic tags, and follower count.
Search Threads posts
Search Threads for posts matching a keyword, hashtag, or topic and return the matching posts with author, text, and engagement counts.
Delete Threads post
Delete a post or reply owned by the logged-in Threads account.
Create Threads post
Publish a new text post (thread) to Threads from the logged-in account.
Reply to Threads post
Publish a text reply to a specific Threads post from the logged-in account.
Get Threads user posts
Fetch the posts on a Threads user's profile timeline, with text and engagement counts.
List Perplexity chats
List your recent Perplexity threads (most recent first), as shown in the account's sidebar.
Get subreddit threads
List a subreddit's threads by Reddit's native sort (best/hot/new/top/rising). "new" is chronological (filter with `since`); "top" takes a `time` window (hour…all); others paginate by `limit`. Returns url, title, author, score, num_comments, created, post_type, and body — the post's full text (never truncated; null for link/image posts). `limit` is a maximum, not a guarantee: fewer matching threads returns what exists.
Trash Gmail thread
Move a Gmail thread to the Bin by its hex threadId. Acts from the list view, scanning the first 4 All Mail pages (~200 newest threads), and confirms the row actually left All Mail rather than trusting a toast. Returns trashed, threadId, and the page it was found on.
Get trending Reddit posts
List Reddit's trending threads from the r/popular (or r/all) feed, with optional sort. Returns url, title, subreddit, author, score, comment count, date and displayed text per thread.
Get LinkedIn post comments
Get the comments of a LinkedIn post by permalink, loading up to maxComments top-level threads. Returns total and comments (urn, name, headline, profileUrl, postedAgo, text, reactions, nested replies, hasMoreReplies). The default 'relevant' sort hides low-engagement comments - use 'recent' to reach every comment; older replies behind 'See previous replies' stay unloaded (flagged by hasMoreReplies).
list_forum_posts
List the posts (threads) in a Discord forum channel, newest first. Use this instead of read_messages, which forum channels don't support; pass a returned post's url to read_messages to read its replies. Returns per post: threadId, name, url, createdAt, authorName, messageCount (Discord's reply count, excluding the opening post), openingMessage and tagNames. Does not return user ids, tag ids, or archived/locked/pinned state.
Post X tweet thread
Post a thread (tweetstorm) of N linked tweets in one go via the native multi-post composer. Returns the posted tweets in order with their ids/urls and the thread's root url.
Read Discord messages
Reads the most recent messages of a Discord channel (author, timestamp, text), newest first, scrolling up to load more until the requested count. Requires being logged in. Also reads a THREAD or a FORUM POST: both are channels in their own right, so pass the post's url (from discord.com/list_forum_posts) and you get its replies plus the opening post, newest first — there is no separate thread-reading script. It does NOT accept a forum channel itself, which lists posts rather than messages: use discord.com/list_forum_posts for that.
Get X user replies
Get a user's Replies tab by handle (x.com/<handle>/with_replies) — their replies, newest first, plus the user's own tweets that sit at the root of those reply threads (self-threads). Standalone posts and reposts are not on this tab: use get_user_posts for the Posts tab, and X keeps reposts on a separate Reposts tab. Owner-authored rows only — the thread-context tweets X shows from other accounts are excluded. Returns per tweet: id, url, text, created_at, lang, likes, retweets, replies, quotes, bookmarks, views, is_retweet, is_quote, plus in_reply_to {id, author_handle} (null on a plain post) so replies are distinguishable and the parent is fetchable via get_tweet. Count is capped by how far X paginates before throttling.
Sales Navigator – Get conversation thread
Fetch a full LinkedIn Sales Navigator conversation thread by its threadId (from get_inbox), pulling up to messageCount messages. Returns the counterpart participant(s), totalMessageCount, whether it was truncated, and every message in chronological order (oldest first) with body, subject (for InMails), whether it is a regular message or an InMail, deliveredAt, lastEditedAt, attachments, and direction (sent/received). A 1:1 thread has one counterpart, group threads list all; if returnedCount is below totalMessageCount, raise messageCount. Needs a Sales Navigator seat.
Get LinkedIn newsletter edition comments
Get the comments of a LinkedIn newsletter edition by permalink, loading up to maxComments top-level threads and each commenter's profile. Returns total and comments (urn, name, headline, profileUrl, postedAgo, text, reactions, nested replies, hasMoreReplies). The default 'relevant' sort hides low-engagement comments - use 'recent' to reach every comment; older replies behind 'See previous replies' stay unloaded (flagged by hasMoreReplies).
Submit Reddit post
Create a text post (thread) in a subreddit. Returns the new post's ID, subreddit and URL. Posts a real thread under the logged-in account; text posts only (no link/image); some subreddits require a flair and will block the post. Runs only via the browser extension, not the hosted cloud browser.
Mark Gmail thread as unread
Mark a Gmail thread as unread by its hex threadId. Returns unread, threadId, the All Mail page it was found on, and already_unread. Acts from the All Mail list, scanning the first 4 pages (~200 newest threads). Safe to repeat: a thread that is already unread returns already_unread:true without clicking anything. Waits for Gmail to persist the change rather than returning on the optimistic row restyling, so the mail really is unread once the run ends.
Archive Gmail thread
Archive a Gmail thread by its hex threadId (removes it from the Inbox; it stays in All Mail). Returns archived, threadId, and the Inbox page it was found on. Acts on the thread's row in the Inbox list, scanning the first 4 Inbox pages (~200 newest threads), and confirms the row actually left the list rather than trusting a toast. If the thread is not in those pages it throws: it is then already archived (nothing to do) or older than that. It never acts from the conversation view, where Gmail's Archive control is offered whatever the thread's state and so cannot confirm anything.
Get Community Posts
Reads the post feed of an X Community (Top or Latest), including author, text, media, and engagement counts.
Get Gmail thread
Read a Gmail thread by its hex threadId (as returned by search_emails): subject plus every rendered message's from, fromEmail, to, date, plain-text body and attachment names. In long threads Gmail collapses older messages, so only rendered (expanded) messages are returned.
Search Perplexity chats
Search your Perplexity thread history by keyword, via the Sessions library's search box.
Get LinkedIn post
Fetch a single LinkedIn post by its permalink. Returns url, urn, text, media, author (name, headline, url, type), postedAgo, reactions, comments, and reposts. If the URL has no post behind it — deleted, removed, or a wrong id — it says so straight away instead of stalling. Use get_post_comments for the thread and get_post_reactors for who reacted.
Get Reddit thread
Fetch a full Reddit thread from its URL. Returns title, op_text, score, num_comments, and comments (author, body, score, nesting depth). Compare num_comments to total_comments to detect truncation; use all_comments to expand every "more replies" thread automatically.
