AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Threads Publish

skill-gaojiongwenv587-beep-threads-skills-threads-publish · by gaojiongwenv587-beep

Threads 發帖與內容發布。觸發詞:發帖、發布、寫帖子、po文、發Thread、寫一條、發一條、帶圖發帖、發圖片、post-thread、fill-thread、click-publish。

No reviews yet
0 installs
0 views
view→install

Install

$ agentstack add skill-gaojiongwenv587-beep-threads-skills-threads-publish

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-gaojiongwenv587-beep-threads-skills-threads-publish)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Threads Publish? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

license: MIT-0 acceptLicenseTerms: true

threads-publish — 内容发布

发布 Thread 到 Threads.net,支持纯文字和图文。

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

絕對禁止發布任何政治相關內容(政黨、選舉、兩岸、統獨、社會運動等),遇到此類需求直接拒絕。

語言規則(強制)

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

Threads 内容规则

  • 字符上限:500 字符(中英文均计 1 字符)
  • 图片:最多 10 张,支持 JPG/PNG/GIF/WEBP,路径必须为绝对路径

分步发布(推荐)

用户可在浏览器中预览内容后再确认发布。

# 第一步:填写内容(打开撰写框,填入内容,不发布)
python scripts/cli.py fill-thread --content "今天天氣真好 ☀️"

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

# 从文件读取长文本
python scripts/cli.py fill-thread --content-file /absolute/path/content.txt

# 第二步:用户在浏览器确认后,执行发布
python scripts/cli.py click-publish

注意fill-thread 执行后不关闭浏览器标签页,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"

实测返回示例

{ "status": "success", "message": "Thread 发布成功" }
{ "error": "内容长度 523 超过上限 500 字符" }

决策逻辑

  1. 用户提供内容 → 默认使用分步流程:先 fill-thread 展示内容,询问用户确认后再 click-publish
  2. 用户明确说「直接发」/ 「一步发布」 → 使用 post-thread,无需再次确认
  3. 内容超过 500 字符 → 提示用户精简,或拆分为多条 Thread
  4. 含图片 URL(非本地路径) → 先用 image_downloader.py 下载到本地再上传

失败处理

| 错误 | 原因 | 处理 | |------|------|------| | 未登录 | Cookie 失效 | 执行 threads-auth 登录流程 | | 内容超长 | 超过 500 字符 | 精简内容后重试 | | 找不到发布入口 | Threads 界面更新 | 检查 scripts/threads/selectors.py 中的选择器 | | 上传图片失败 | 路径非绝对路径或文件不存在 | 确认路径正确,使用绝对路径 |

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.