threads-user-posts
Fetches public posts from a Threads user's profile page, extracting post text, engagement metrics, and media info from SSR-embedded JSON.
Skill by browser-act
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/browser-act-threads-user-posts
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 2
codeload.github.com· found in install commandthreads.com· found in code
Files it touches
~/.claude/skills/threads-user-posts
What's inside
- Skill name
threads-user-posts- Description
- Fetches public posts from a Threads user's profile page, extracting post text, engagement metrics, and media info from SSR-embedded JSON. Use when user asks to scrape Threads posts, get someone's Threads feed, pull posts from a Threads account, collect Threads content by username, download Threads user posts, extract Threads profile posts, monitor a Threads user's activity, retrieve recent posts from a Threads handle, gather Threads post data for a creator, or fetch all posts from a specific Threads profile.
- License
- MIT
- Instructions
- 152 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (3)
- SKILL.md
- extract-posts.py · scripts/
- scroll-load-more.py · scripts/
SKILL.md (first lines)
# Threads — User Posts
> username → list of public posts with engagement metrics (SSR + scroll pagination)
## Language
All process output to user (progress updates, process notifications) follows the user's language.
## Objective
Extract public posts from a given Threads user's profile page using SSR-embedded JSON data, with optional scroll-triggered pagination to load more posts.
## Prerequisites
- A browser is open and connected via browser-act
- **Login recommended**: Threads enforces a login wall on profile pages in most regions as of mid-2026. A logged-in browser session is required for reliable access. Unauthenticated access via US-based proxies may work in some configurations but is not guaranteed.
## Pre-execution Checks
### 1. Tool Readiness
If browser-act has been confirmed available in the current session → skip this step.
Invoke `browser-act` via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.
### 2. Login Verification
If login status for Threads has been confirmed in the current session → skip this step.
Otherwise: `navigate https://www.threads.com` and check page state:
- User avatar or username visible at top → logged in, continue
- "Log in" / "Sign up" buttons visible → not logged in, inform the user that login is needed, assist completing the login flow via the Threads login page
If not logged in and user cannot log in → the capability may still work on some proxy/IP configurations; attempt `navigate https://www.threads.com/@{username}` and check if profile content loads. If the page redirects to `/login/`, terminate and inform the user that a logged-in session is required.
## Capability Components
> This Skill's operational boundary = what the user can manually do in their browser. It only reads data already displayed to the user on the page. JS code is encapsulated in Python files under the `scripts/` directory, invoked via `eval "$(python scripts/xxx.py {params})"`. `$(...)` is bash syntax; it is recommended to use the bash tool for execution.
### SSR: Extract posts from profile page (initial load)
Navigate to the user's profile page first, then extract all posts embedded in the initial page HTML:
1. `navigate https://www.threads.com/@{username}`
2. `wait stable`
3. `eval "$(python scripts/extract-posts.py)"`
Output example:
```json
{
"posts": [
{
"id": "3936653356768062022", // post internal ID (pk)
"code": "DKmzN8wJzFG", // post short code for URL
"url": "https://www.threads.com/@zuck/post/DKmzN8wJzFG", // direct post link
"text": "Excited to share...", // post text content, null if no caption
"taken_at": 1780953646, // Unix timestamp of post creation
"like_count": 3583, // number of likes
"reply_count": 3039, // number of direct replies
"repost_count": 232, // number of reposts
"quote_count": 114, // number of quote posts
"reshare_count": 460, // number of reshares
"is_reply": false, // true if this post is a reply to another
"media_type": 19, // 1=photo, 2=video, 8=carousel, 19=text-only
"has_media": false, // true if post contains image/video/carousel
"user": {
"pk": "63055343223", // Threads-specific user ID
"username": "zuck",
"full_name": "Mark Zuckerberg",
"is_verified": true
}
}
],
"count": 4, // number of posts in this batch
"page_info": {
"end_cursor": "QVFES...", // cursor for next page (null when no more)
"has_next_page": true, // whether more posts are available
"has_previous_page": false,
"start_cursor": null
}
}
```
Error handling: If `error: true` is returned, check that the profile page was fully loaded (`navigate` and `wait stable` completed without timeout). If `mediaData not found`, the page may have redirected to a login wall or the username is invalid.
### DOM: Scroll to trigger more posts
When `page_info.has_next_page` is true, scroll the page to trigger GraphQL auto-load:
`eval "$(python scripts/scroll-load-more.py)"`
Then `wait stable` and read the new batch from network traffic:
`network requests --type xhr,fetch --filter threads.com`
Find the `POST https://www.threads.com/graphql/query` request(s) that appeared after the scroll. Read the response:
`network request <id>`
The response body contains `data.mediaData.edges[]` with the same post structure as the SSR extraction output. Each edge has `node.thread_items[0].post` with the same field layout (id/pk, code, caption.text, taken_at, like_count, text_post_app_info.direct_reply_count, etc.).
Error handling: If no new `graphql/query` requests appear after scrolling, the user may have reached the login wall (~15 posts without authentication) or all posts have loaded. Check for a "Log in to see more" message on screen via `screenshot`.
### Composite: Full profile post collection (SSR + scroll pagination)
To collect all available posts for a user:
1. `navigate https://www.threads.com/@{username}` → `wait stable`
2. `eval "$(python scripts/extract-posts.py)"` → collect initial posts, note `page_info`
3. While `page_info.has_next_page == true`:
a. `eval "$(python scripts/scroll-load-more.py)"`
b. `wait stable`
c. `network requests --type xhr,fetch --filter threads.com` → locate new `graphql/query` POST
d. `network request <id>` → extract `data.mediaData.edges[]` posts
e. Check `data.mediaData.page_info.has_next_page` in response to decide whether to continue
4. Stop when `has_next_page == false` or login wall encountered (~15 posts without login)
## PaginationFrom browser-act/skills, MIT.
More from browser-act/skills
- 0.750score
browser-act-skill-forge
BrowserAct
Forges reusable Skill packages (SKILL.md + scripts) from website exploration via browser-act — no re-exploration later.
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
webcrawler-deep-crawl
browser-act
Deep-crawl any website from start URLs, return per-page LLM-ready text/markdown/HTML plus metadata (title, description, author, language, canonical URL, OG)…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
facebook-groups-scrape-posts
browser-act
Scrapes posts from a Facebook group given a group URL, sort order, and desired count — returns structured post metadata including post_id, permalink, author…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
ebay-search-listing
browser-act
Extracts product listings from any eBay search or category page URL, returning per-item cards (itemNumber, url, title, subtitle, caption, price…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
ecommerce-seller-info
browser-act
Extract seller or merchant profile data from marketplace platform seller pages.
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
ebay-item-detail
browser-act
Extracts full item detail from any open eBay item URL, returning JSON with url, itemNumber, title, subTitle, categories, price, priceWithCurrency, currency…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
etsy-keyword-search
browser-act
Etsy keyword search scraper: given a search keyword and optional page number, returns paginated product listings with listingId, shopId, title, url, image…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
facebook-page-profile-posts
browser-act
Scrapes posts from any public Facebook Page or personal Profile timeline, returning structured data including post text, author info with profile picture…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
threads-keyword-search
browser-act
Searches Threads posts by keyword or hashtag and returns matching posts with engagement metrics, extracted from SSR-embedded JSON.
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
taobao-keyword-search
browser-act
Search Taobao and Tmall product listings by keyword, returning paginated product cards with title, price, shop, image, sales, and tags.
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
taobao-product-detail
browser-act
Fetch full product detail from a Taobao or Tmall product page by itemId, returning title, price, shop info, images, SKU variants, and product attributes.
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
1688-product-detail
browser-act
Extracts comprehensive wholesale product data from 1688.com product detail pages: title, tiered pricing, SKU variants with dimensions/weight, product images…
SkillCFreshness: C★ 6.3KClaude Code +9
Signals
- Stars
- 6,268
- Forks
- 330
- Open issues
- 9
- Last commit (this folder)
- Jul 20, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/browser-act/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from browser-act
- 0.674score
ebay-search-listing
browser-act
Extracts product listings from any eBay search or category page URL, returning per-item cards (itemNumber, url, title, subtitle, caption, price…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
ebay-item-detail
browser-act
Extracts full item detail from any open eBay item URL, returning JSON with url, itemNumber, title, subTitle, categories, price, priceWithCurrency, currency…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
etsy-keyword-search
browser-act
Etsy keyword search scraper: given a search keyword and optional page number, returns paginated product listings with listingId, shopId, title, url, image…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
taobao-keyword-search
browser-act
Search Taobao and Tmall product listings by keyword, returning paginated product cards with title, price, shop, image, sales, and tags.
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
ecommerce-seller-info
browser-act
Extract seller or merchant profile data from marketplace platform seller pages.
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
facebook-groups-scrape-posts
browser-act
Scrapes posts from a Facebook group given a group URL, sort order, and desired count — returns structured post metadata including post_id, permalink, author…
SkillCFreshness: C★ 6.3KClaude Code +9
Cite this page
threads-user-posts skill. Agent Mart. https://agentmart.dev/skills/browser-act-threads-user-posts (last updated 2026-10-24)