← 返回 Skills 市场
1905
总下载
4
收藏
3
当前安装
4
版本数
在 OpenClaw 中安装
/install x-publisher
功能描述
Publish tweets to X (Twitter) using the official Tweepy library. Supports text-only tweets, tweets with images or videos, and returns detailed publish result...
安全使用建议
This skill appears to implement what it claims (a Tweepy-based X/Twitter publisher). Before installing or running it: 1) Verify you trust the source — the package has no homepage and the registry metadata omits the env var requirements. 2) Do not paste credentials into code or version control — set the four OAuth env vars (X_API_KEY, X_API_SECRET, X_ACCESS_TOKEN, X_ACCESS_TOKEN_SECRET) and optionally X_BEARER_TOKEN in your environment. 3) Limit the credentials' permissions (use a token with only the needed write scope) and consider using a dedicated account. 4) Inspect the full script in your environment (the provided file preview was truncated) to ensure there are no hidden network calls or telemetry. 5) Run it in a controlled environment (local or isolated container) and confirm behavior with the verify command before any automation or batch publishing.
功能分析
Type: OpenClaw Skill
Name: x-publisher
Version: 1.0.6
The skill is a legitimate tool for publishing content to X (Twitter) using the official Tweepy library. It correctly handles authentication via environment variables and provides standard functionality for text and media uploads (images/videos) without any signs of malicious intent, data exfiltration, or prompt injection. The code in scripts/x_publisher.py is well-structured, includes proper error handling, and limits its actions to the stated purpose.
能力评估
Purpose & Capability
Name/description, SKILL.md, and scripts/x_publisher.py all consistently implement a Twitter/X publisher using Tweepy and legitimately require X API credentials. However, the registry metadata claims 'Required env vars: none' and 'Primary credential: none' while the SKILL.md and code clearly require X_API_KEY, X_API_SECRET, X_ACCESS_TOKEN, X_ACCESS_TOKEN_SECRET (and optionally X_BEARER_TOKEN). This is a packaging/metadata mismatch that could confuse users or automated permission checks.
Instruction Scope
Runtime instructions and the script stay within the expected scope: install tweepy, set API credentials in environment variables, verify credentials, upload local media files, and call the X API. The instructions do not ask for unrelated files, other service credentials, or to exfiltrate data to third-party endpoints.
Install Mechanism
This is an instruction-only skill (no install spec). It suggests installing tweepy via pip, which matches the code's import dependency. No arbitrary downloads, URL-based installers, or archive extraction are present.
Credentials
The environment variables requested by the SKILL.md and used in the code are exactly the expected Twitter/X credentials (API key/secret, access token/secret, optional bearer token). That is proportionate. Note again the registry metadata does not declare these required env vars — the skill will fail if those vars are not actually provided at runtime.
Persistence & Privilege
The skill does not request 'always: true' or any elevated platform persistence. It does not modify other skills or system-wide settings. Autonomous invocation (disable-model-invocation=false) is the default and not, by itself, a concern here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install x-publisher - 安装完成后,直接呼叫该 Skill 的名称或使用
/x-publisher触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.6
- Added explicit declaration of required environment variables (X_API_KEY, X_API_SECRET, X_ACCESS_TOKEN, X_ACCESS_TOKEN_SECRET, X_BEARER_TOKEN) to the skill metadata.
- No changes to code logic or user-facing functionality.
v1.0.5
- Initial release of X-Publisher for publishing tweets to X (Twitter) using the official Tweepy library
- Supports text-only tweets, tweets with images (JPG, PNG, GIF, WebP), and videos (MP4, MOV, AVI, WebM)
- Returns detailed publish results including tweet ID, URL, content preview, and timestamp
- Includes authentication verification and detailed error messages for common issues
- Command-line usage documentation and media limitations provided in both Chinese and English
v1.0.1
- Version bump to 1.0.1 with no file or documentation changes detected.
- Functionality, documentation, and usage remain unchanged from the previous version.
v1.0.0
Initial release of X-Publisher.
- Publish tweets to X (Twitter) using the official Tweepy library.
- Supports text-only tweets, tweets with up to 4 images, or with a video (various formats).
- Returns detailed results including tweet ID, URL, publish time, and preview text.
- Includes credential verification command for X API keys/tokens.
- Detailed error handling and output for common issues.
- Documentation with setup, usage examples, supported formats, and troubleshooting.
元数据
常见问题
X tweet publisher 是什么?
Publish tweets to X (Twitter) using the official Tweepy library. Supports text-only tweets, tweets with images or videos, and returns detailed publish result... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1905 次。
如何安装 X tweet publisher?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install x-publisher」即可一键安装,无需额外配置。
X tweet publisher 是免费的吗?
是的,X tweet publisher 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
X tweet publisher 支持哪些平台?
X tweet publisher 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 X tweet publisher?
由 manifold(@manifoldor)开发并维护,当前版本 v1.0.6。
推荐 Skills