← 返回 Skills 市场
Tweet Share Card
作者
Efficiency97
· GitHub ↗
· v0.1.0
· MIT-0
109
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install tweet-share-card
功能描述
Convert an X/Twitter post URL into a polished share card image by capturing the tweet content and compositing it on a styled background.
安全使用建议
This skill will open a browser tab in a visible Chrome window and take a screenshot of the browser area using macOS-specific tools (osascript and /usr/sbin/screencapture). That means: (1) it only realistically works on macOS with Google Chrome available; (2) it can capture on-screen content — potentially sensitive information if the browser or window shows other data; (3) the skill metadata does not declare these OS/binary requirements, which is an inconsistency you should ask the author to fix. Before installing: verify you want a skill that can control your browser and capture screenshots, confirm you are on macOS and have a dedicated Chrome profile for this use, inspect the two included scripts, and ensure the agent is only allowed to run the skill when you explicitly invoke it (disable autonomous invocation if you prefer). If you are not on macOS or do not want desktop/browser screenshots to be taken, do not install.
功能分析
Type: OpenClaw Skill
Name: tweet-share-card
Version: 0.1.0
The skill is classified as suspicious due to a critical command injection vulnerability in `scripts/capture_visible_tweet.py`, where the `url` argument is unsafely interpolated into an AppleScript string executed via `osascript`. This flaw allows for potential Remote Code Execution (RCE) on the host system if a malicious URL is provided to the agent. While the use of browser automation and the `/usr/sbin/screencapture` utility aligns with the stated purpose of generating tweet share cards, the combination of high-privilege system access and a lack of input sanitization poses a significant security risk.
能力评估
Purpose & Capability
The description says it converts a tweet URL into a share image, which matches the included scripts' purpose. However the skill metadata declared no required binaries/OS, while the capture script clearly depends on macOS-specific tools (osascript and /usr/sbin/screencapture) and a visible Google Chrome process. The package should have declared an OS restriction and required binaries.
Instruction Scope
Runtime instructions require opening the tweet in the user's logged-in Chrome profile and taking a visible-screen screenshot of the browser window. That is within the stated goal (a real screenshot) but grants the skill the ability to operate the user's browser and capture portions of the screen — which could expose unrelated on-screen content. The SKILL.md also prefers a 'dedicated Chrome profile' but gives no guidance on how that profile is selected or how profile isolation is enforced.
Install Mechanism
No install spec (instruction-only) which reduces distribution risk. However two local Python scripts are included and intended to be executed. There is no network download or external installer, but executing bundled scripts still requires runtime permissions and appropriate binaries (Python, PIL).
Credentials
The skill requests no environment variables or credentials, which is good, but it implicitly requires access to the user's desktop environment and Chrome session (which are not declared). It also assumes presence of system utilities and a logged-in X/Twitter session. The absence of these requirements in metadata is a proportionality/mis-declaration issue.
Persistence & Privilege
The skill is not marked always:true and does not modify other skills or system-wide settings. It writes output files to workspace/tmp only, which is normal for an image-generation task.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install tweet-share-card - 安装完成后,直接呼叫该 Skill 的名称或使用
/tweet-share-card触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release: generate tweet share cards with peach default and color presets
元数据
常见问题
Tweet Share Card 是什么?
Convert an X/Twitter post URL into a polished share card image by capturing the tweet content and compositing it on a styled background. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 109 次。
如何安装 Tweet Share Card?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install tweet-share-card」即可一键安装,无需额外配置。
Tweet Share Card 是免费的吗?
是的,Tweet Share Card 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Tweet Share Card 支持哪些平台?
Tweet Share Card 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Tweet Share Card?
由 Efficiency97(@efficiency97)开发并维护,当前版本 v0.1.0。
推荐 Skills