threads

threads is a skill for Claude Code, Codex from gaojiongwenv587-beep/threads-skills. It costs 126 tokens per session (1,547 once invoked), scanned A, original, MIT.

A combined automation tool for Threads, the social network connected to Instagram. It covers login, account switching, browsing, searching, posting, and social interactions.

In plain words
What is it for?
Use it to manage accounts, browse feeds, search posts and profiles, publish text or images, inspect posts, and like, repost, reply, or follow.
Why use it?
It brings several separate Threads tasks into one command-based workflow instead of requiring repeated manual browser work.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/chrome_launcher.py.

Good fit Use it to manage accounts, browse feeds, search posts and profiles, publish text or images, inspect posts, and like, repost, reply, or follow.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/gaojiongwenv587-beep/threads-skills
agentmods
npx agentmods add skills/gaojiongwenv587-beep/threads-skills/threads

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for threads

README.md
[![agentmods](https://agentmods.dev/badge/skills/gaojiongwenv587-beep/threads-skills/threads/github.svg)](https://agentmods.dev/skills/gaojiongwenv587-beep/threads-skills/threads)
Your own site
<a href="https://agentmods.dev/skills/gaojiongwenv587-beep/threads-skills/threads"><img src="https://agentmods.dev/badge/skills/gaojiongwenv587-beep/threads-skills/threads/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for threads

Your own site · 80×15
<a href="https://agentmods.dev/skills/gaojiongwenv587-beep/threads-skills/threads"><img src="https://agentmods.dev/badge/skills/gaojiongwenv587-beep/threads-skills/threads.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,547 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00126 $0.01547
Opus 5.5 $0.00050 $0.00619
Sonnet 5.5 $0.00025 $0.00309
Haiku 4.5 $0.00013 $0.00155

Measured 2mo ago against content hash 5f833d7298ef, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

threads scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

threads/SKILL.md · 218 lines

How it starts

The opening of the file, as written. The whole thing — 218 lines — stays where its author put it; the contents beside it link to each section on GitHub.

threads — Threads 全功能自动化

基于 Chrome CDP 的 Threads.net 自动化工具,支持登录、浏览、发帖、互动、多账号管理和复合运营。

前置条件:Chrome 必须先启动

所有命令依赖 Chrome 调试端口,使用前确认 Chrome 已运行:

python scripts/chrome_launcher.py

Chrome 启动后会保持运行,无需每次重启。


一、认证管理

检查登录状态

python scripts/cli.py check-login

登录(Instagram 账号)

python scripts/cli.py login

浏览器自动打开登录页,手动输入账号密码后 Cookie 自动保存,长期有效。

退出 / 切换账号

python scripts/cli.py delete-cookies

多账号管理

python scripts/cli.py add-account --name "work" --description "工作号"
python scripts/cli.py list-accounts
python scripts/cli.py set-default-account --name "work"
python scripts/cli.py remove-account --name "work"

# 指定账号执行任意命令
python scripts/cli.py --account work post-thread --content "..."

二、内容发现

首页 Feed

python scripts/cli.py list-feeds
python scripts/cli.py list-feeds --limit 30

搜索

python scripts/cli.py search --query "AI"
python scripts/cli.py search --query "AI" --type recent   # 最新
python scripts/cli.py search --query "AI" --type profiles # 用户
python scripts/cli.py search --query "AI" --limit 10

帖子详情

python scripts/cli.py get-thread --url "https://www.threads.net/@user/post/xxx"

用户主页

python scripts/cli.py user-profile --username "@someuser"
python scripts/cli.py user-profile --username "someuser" --limit 20

用户历史回复(回复 Tab)

python scripts/cli.py user-replies --username "@someuser"
python scripts/cli.py user-replies --username "someuser" --limit 30

抓取 /@用户名/replies 页面的历史回复列表,字段与 user-profile 相同。


三、内容发布

分步发布(推荐,可预览)

# 第一步:填写内容
python scripts/cli.py fill-thread --content "今天天氣真好 ☀️"

# 含图片
python scripts/cli.py fill-thread --content "今天的風景" --images "/path/photo.jpg"

# 第二步:浏览器确认后发布
python scripts/cli.py click-publish

一步发布

python scripts/cli.py post-thread --content "Hello Threads!"
python scripts/cli.py post-thread --content "今天的照片" --images "/path/photo1.jpg" "/path/photo2.jpg"

Read the full file on GitHub · 218 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 218 lines · 126 tokens per session scan A 5f833d7298ef

Subscribe to this mod's changes

threads is a skill published in the GitHub repository gaojiongwenv587-beep/threads-skills (5 stars, last pushed 4mo ago), licensed MIT. It adds 126 tokens to every session and 1,547 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

threads compared with skills from other repositories

threads next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
threadsgaojiongwenv587-beep/threads-skillsSkill54mo agoMITA126Claude Code, Codex
obscurah4ckf0r0day/obscuraSkill30kyesterdayApache-2.0A100Claude Code, Codex
pinchtabpinchtab/pinchtabSkill11k10d agoMITA94Codex
pinchtab-mcppinchtab/pinchtabSkill11k10d agoMITA52Claude Code, Codex
browser_harnessbrowser-use/browser-harnessSkill19kyesterdayMITA0Claude Code
agent-browser-clisleepinginsummer/agent-browser-cliSkill6465d agoMITA32Claude Code, Codex
browser-use-terminalbrowser-use/terminalSkill6607d agoMITA41Claude Code, Codex