threads-interact

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

A tool for interacting with Threads, the social network connected to Instagram. It can like, repost, reply to posts, and follow users.

In plain words
What is it for?
Use it to like or unlike posts, repost, write replies from text or files, follow accounts, and inspect the reply history.
Why use it?
It removes repetitive browser actions and records replied posts so the same post is not answered twice.

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/cli.py list-replied.

Good fit Use it to like or unlike posts, repost, write replies from text or files, follow accounts, and inspect the reply history.

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-interact

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-interact

README.md
[![agentmods](https://agentmods.dev/badge/skills/gaojiongwenv587-beep/threads-skills/threads-interact/github.svg)](https://agentmods.dev/skills/gaojiongwenv587-beep/threads-skills/threads-interact)
Your own site
<a href="https://agentmods.dev/skills/gaojiongwenv587-beep/threads-skills/threads-interact"><img src="https://agentmods.dev/badge/skills/gaojiongwenv587-beep/threads-skills/threads-interact/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-interact

Your own site · 80×15
<a href="https://agentmods.dev/skills/gaojiongwenv587-beep/threads-skills/threads-interact"><img src="https://agentmods.dev/badge/skills/gaojiongwenv587-beep/threads-skills/threads-interact.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,003 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.00070 $0.01003
Opus 5 $0.00035 $0.00502
Sonnet 5 $0.00014 $0.00201
Haiku 4.5 $0.00007 $0.00100

Measured 10d ago against content hash b498cf22b118, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

threads-interact 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 10d 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-interact/SKILL.md · 115 lines

What it actually says

license: MIT-0 acceptLicenseTerms: true

threads-interact — 社交互动

发起点赞、转发、回复、关注等社交互动。

🚫 內容禁區(最高優先級)

絕對禁止生成或回覆任何政治相關內容,包括但不限於:

  • 政黨、選舉、政治人物、政府政策
  • 兩岸關係、統獨議題、領土主權
  • 社會運動、抗議示威
  • 任何可能引發政治爭議的話題

遇到政治相關帖子,直接跳過,不作任何回應

語言規則(強制)

所有 AI 生成的回覆內容一律使用繁體中文撰寫,不得使用简体中文。

確認規則

所有互動操作直接執行,無需事先確認,完成後彙報結果。用戶如認為回覆不妥可手動刪除。

防重複回覆(自動)

系統自動記錄已回覆的帖子 ID(~/.threads/replied_posts.json),對同一帖子不會重複回覆,跳過時返回:

{ "status": "skipped", "message": "已回复过该帖子,跳过", "url": "..." }

查看已回覆記錄:

python scripts/cli.py list-replied

命令

点赞 / 取消点赞

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

第二次调用同一帖子会取消点赞(toggle 逻辑)。

转发(Repost)

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

回复

# 内联内容
python scripts/cli.py reply-thread \
  --url "https://www.threads.net/@user/post/xxx" \
  --content "這個觀點很有意思!"

# 从文件读取内容
python scripts/cli.py reply-thread \
  --url "https://www.threads.net/@user/post/xxx" \
  --content-file /absolute/path/reply.txt

回复内容同样受 500 字符限制。

关注用户

python scripts/cli.py follow-user --username "@someuser"
python scripts/cli.py follow-user --username "someuser"   # @ 可选

决策逻辑

  1. 用户说"点赞" + 提供 URL → 直接执行 like-thread
  2. 用户说"转发" / "Repost" + 提供 URL → 直接执行 repost-thread
  3. 用户说"回复" + 提供内容 → AI 生成繁体中文回覆,直接执行 reply-thread
  4. 用户说"关注" + 提供用户名 → 直接执行 follow-user
  5. 遇到政治相关帖子 → 跳过,告知用户跳过原因

批量互动注意

批量点赞/关注时,每次操作之间至少间隔 3-5 秒,避免触发 Threads 频率限制。

失败处理

错误 原因 处理
找不到点赞按钮 帖子已删除或界面更新 确认 URL 有效,检查 scripts/threads/selectors.py
回复失败 内容超过 500 字符或 URL 错误 精简内容,确认 URL 正确
关注失败 私密账号或用户不存在 确认用户名有效
未登录 Cookie 失效 执行 threads-auth 登录流程
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. 10d ago First seen · 115 lines · 70 tokens per session scan A b498cf22b118

Subscribe to this mod's changes

threads-interact is a skill published in the GitHub repository gaojiongwenv587-beep/threads-skills (5 stars, last pushed 2mo ago), licensed MIT. It adds 70 tokens to every session and 1,003 once invoked, about $0.0003 per session on Opus 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

Other skills, from other repositories

obscura

Operate and validate Obscura for JavaScript page loading, stealth browsing, anti-fingerprinting, tracker blocking, screenshots and visual comparison, CDP automation with Puppeteer or Playwright, screencasting, PDF export, MCP browser interaction, and web extraction. Use when running Obscura against deterministic…

h4ckf0r0day/obscura · 100 tokens

pinchtab

Use this skill when a task needs browser automation through PinchTab: open a website, inspect interactive elements, click through flows, fill out forms, scrape page text, reuse a dedicated automation profile with user approval, export screenshots or PDFs, manage multiple browser instances, or fall back to the HTTP API…

pinchtab/pinchtab · 94 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

pinchtab-stealth-score

Run the PinchTab stealth-score sweep against 15 bot-detection / fingerprint sites (sannysoft, rebrowser, deviceandbrowserinfo, iphey, whoer, browserscan, pixelscan, fingerprint-scan, incolumitas, fvision, amiunique, browserleaks, creepjs, coveryourtracks, fingerprint-demo). Starts a Docker PinchTab container per…

pinchtab/pinchtab · 168 tokens

pinchtab-dev

Develop and contribute to the PinchTab project. Use when working on PinchTab source code, adding features, fixing bugs, running tests, or preparing PRs. Triggers on "work on pinchtab", "pinchtab development", "contribute to pinchtab", "fix pinchtab bug", "add pinchtab feature".

pinchtab/pinchtab · 77 tokens

browser_harness

../../SKILL.md.

browser-use/browser-harness · 0 tokens