Token导航 LogoToken导航TokenDH.com
效率操作浏览器clawhub未标认证来源可访问clear审计提醒

openclaw-threadsctlOpenClaw threadsctl 命令行

Agent Skill

openclaw-threadsctl 用于辅助安全审计、权限检查和凭据风险排查,适合在 OpenClaw 中需要复核安全边界、认证流程或敏感配置时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,293

周安装

140

GitHub Stars

公开资料未说明

下载量

1,154
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:openclaw-threadsctl(OpenClaw threadsctl 命令行)
来源仓库:https://github.com/dladislav201/openclaw-threadsctl
安装命令:
openclaw skills install openclaw-threadsctl
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install openclaw-threadsctl

简介

openclaw-threadsctl 提供本地 CLI 工具管理 Threads 账户与发布流程。

  • 适合需要发布内容到 Threads、管理草稿或处理 OAuth 连接的用户。
  • 支持账户绑定、URL 生成和内容发布,集成认证与发布功能。
  • 涉及敏感操作,应确保凭据安全,避免在生产环境直接运行未授权命令。
  • 适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
openclaw-threadsctl
description
Manage Threads accounts, OAuth connect URLs, drafts, and publishing through the local threadsctl CLI. Use when the user wants to post to Threads, create or approve drafts, connect a Threads account, or work with Threads safely without raw curl or direct HTTP requests.

OpenClaw Threads via threadsctl

Use threadsctl as the default interface for Threads operations.

This skill is model-agnostic. It can be used with OpenAI Codex, Gemini, or another OpenClaw text provider. Optional image generation providers are separate from Threads publishing.

Prerequisites

  • threadsctl is installed and available in PATH
  • THREADS_SERVICE_URL and THREADS_SERVICE_API_KEY are configured for the CLI
  • At least one working OpenClaw text model is configured
  • Optional: an image generation provider such as Gemini if the user wants help creating images before posting
  • Run threadsctl from /opt/threads-service-ts/threads-service on the server where the service is deployed

Use when

  • The user wants to publish to Threads
  • The user wants to create, approve, or publish a draft
  • The user wants to connect a Threads account
  • The user wants to inspect accounts, stats, drafts, or published posts
  • The user would otherwise need raw curl or direct HTTP requests

Rules

  1. Prefer threadsctl over raw curl or manual HTTP requests.
  2. Support both workflows:

- direct publish - draft-first

  1. If the user says "post now", use direct publish.
  2. If the user says "draft", "prepare", "queue", or wants review first, use draft flow.
  3. If the account is unclear, ask which account label or ID to use.
  4. Prefer account labels over raw account IDs when communicating with the user.
  5. Use --confirmed only when the user clearly intends immediate publishing.
  6. Show concise summaries of results and include IDs only when useful.
  7. If a command fails, surface the real error and explain the likely next step.
  8. If the user wants a new image created, handle image generation separately before publishing.
  9. Prefer --file for images generated locally by OpenClaw under /root/.openclaw/media/....
  10. Use --media-url only when the image is already hosted at a reachable public URL.
  11. Run threadsctl commands from default dir /opt/threads-service-ts/threads-service(if user run threadsctl service there) so the deployed wrapper and Docker setup are used.

Commands

Accounts

threadsctl accounts list
threadsctl accounts stats --account main-brand

OAuth

threadsctl auth connect-url --label main-brand

Drafts

threadsctl drafts list --account main-brand
threadsctl draft create --account main-brand --type text --text "Post content" --created-by "OpenClaw"
threadsctl draft create --account main-brand --type image --media-url "https://example.com/image.jpg" --text "Caption" --alt-text "Alt text" --created-by "OpenClaw"
threadsctl draft approve --id draft_xxx --approved-by "OpenClaw"
threadsctl draft publish --id draft_xxx --actor "OpenClaw"

Direct publish

cd /opt/threads-service-ts/threads-service
threadsctl publish text --account main-brand --text "Hello from Threads" --confirmed
threadsctl publish image --account main-brand --file "/root/.openclaw/media/tool-image-generation/image-1---real-file.jpg" --text "Caption" --alt-text "Alt text" --confirmed
threadsctl publish image --account main-brand --media-url "https://example.com/image.jpg" --text "Caption" --alt-text "Alt text" --confirmed

Published posts

threadsctl published list --account main-brand

Workflow

Direct publish

Use when the user clearly wants an immediate post.

Example:

cd /opt/threads-service-ts/threads-service
threadsctl publish text --account main-brand --text "Launching today" --confirmed

Draft-first

Use when the user wants review, approval, or preparation before posting.

Example:

threadsctl draft create --account main-brand --type text --text "Launching today" --created-by "OpenClaw"

Image generation plus publish

If the user wants a brand new image, first use the configured image generation provider. If OpenClaw saved the file locally under /root/.openclaw/media/..., publish it with --file.

Preferred publish step for local OpenClaw output:

cd /opt/threads-service-ts/threads-service
threadsctl publish image --account main-brand --file "/root/.openclaw/media/tool-image-generation/generated-image.jpg" --text "Launching today" --alt-text "Product launch image" --confirmed

Hosted-image fallback:

cd /opt/threads-service-ts/threads-service
threadsctl publish image --account main-brand --media-url "https://example.com/generated-image.jpg" --text "Launching today" --alt-text "Product launch image" --confirmed

Account connection

To connect a new Threads account:

  1. Run:
threadsctl auth connect-url --label client-two
  1. Return the generated URL to the user.
  2. Tell the user to open it in a browser and complete OAuth.

Do not

  • Do not use raw curl when threadsctl supports the action.
  • Do not invent account IDs.
  • Do not silently switch accounts.
  • Do not pass --confirmed unless immediate publishing is intended.
  • Do not hide command errors.
  • Do not assume an image generation provider is configured unless the environment actually supports it.
  • Do not pass local filesystem paths to --media-url.

Output style

Prefer short result summaries such as:

  • Published successfully from main-brand.
  • Draft created for second-brand.
  • Could not publish because confirmation was not provided.

Additional resources

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

70.15%
按下载量换算810

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills