← 返回 Skills 市场
Social Push Semi
作者
yugulugulu
· GitHub ↗
· v1.0.1
454
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install social-push-semi
功能描述
小红书半自动发布脚手架:自动生成文案、自动抽封面图、产出发布包;最后由人工确认发布。
安全使用建议
What to consider before installing:
- Missing declared secret: The code requires an API key (DOUBAO_API_KEY by default) for the image-generation endpoint, but the skill metadata does not declare this. Expect to provide that key in your environment if you use the image-generation features; don't reuse high-privilege keys. Audit where you store the key.
- Browser/profile access: The skill creates/manages Chrome user-data directories and may launch Chrome with remote-debugging. That means it can access cookies/session data for accounts in those profiles. Use a dedicated Chrome profile (or a throwaway test account) rather than your primary browser/profile.
- Auto-publish capability exists: The SKILL.md emphasizes '半自动' and '不会自动点击发布', but the vendor code includes commands to publish and click-publish. The provided wrapper scripts use --preview and stop before clicking publish, but the capability to auto-click exists in the code — review and avoid running publish/click-publish CLI commands unless you trust the environment.
- External network calls: The image generation uses a third-party base URL (default: https://ark.cn-beijing.volces.com/api/v3) and the scripts download remote images. Confirm you trust those endpoints and the data policies; network calls could leak prompts, topics, or metadata.
- Recommended precautions before use:
- Inspect the code files (cdp_publish.py, chrome_launcher.py, account_manager.py) yourself or have someone you trust review them.
- Run the tool in an isolated environment (dedicated user account or container) and use a dedicated Chrome profile and Xiaohongshu test account.
- Provide only minimal API credentials and do not reuse cloud/production secrets.
- If you don't need image-generation, avoid running topic_auto_api.sh/generate_images_doubao.py to skip sending data to the external provider.
- Consider disabling or auditing any CLI invocation of publish/click-publish to ensure the workflow stays truly manual at the publish step.
Overall: functionality is coherent with the advertised purpose, but the undeclared env var, profile/cookie access, and the presence of automatic publish commands warrant caution and an explicit security review before trusting this skill with real accounts.
功能分析
Type: OpenClaw Skill
Name: social-push-semi
Version: 1.0.1
The skill is classified as suspicious due to a shell injection vulnerability in `scripts/run.sh`. The script uses `ffmpeg -i "$VIDEO"` without proper sanitization or quoting of the `$VIDEO` variable, which could allow arbitrary command execution if a malicious video path (e.g., containing shell metacharacters) is provided by the agent or user. While `scripts/fill_preview_cdp.sh` includes a partial path validation, this check is not present in `run.sh` itself, nor in `scripts/one_shot.sh` which calls `run.sh`. There is no clear evidence of intentional malicious behavior like data exfiltration or backdoors; the primary concern is the RCE vulnerability.
能力评估
Purpose & Capability
Overall the code implements a Xiaohongshu (小红书) semi-automatic publishing pipeline (generate captions, extract cover, build publish-pack, prefill CDP preview). That aligns with the skill name/description. However the repository also includes full publish/click-publish CLI actions and account/profile management (Chrome user-data-dirs and cookie/profile creation), which are more powerful than the SKILL.md emphasis on 'won't auto-click publish' — the capability exists in code even if the provided scripts use --preview. Creating/managing Chrome profiles and reading/writing profile dirs is plausible for this purpose but should be considered sensitive.
Instruction Scope
SKILL.md instructs an agent to ask a fixed template and then run local scripts that create a venv, call vendor Python code, and connect to a local Chrome CDP (127.0.0.1:9222). The scripts read/write files under the user's workspace and vendor directories and will create Chrome profile dirs under the user's home (LOCALAPPDATA fallback). The code expects an API key (DOUBAO_API_KEY) for image generation but SKILL.md and registry metadata do not declare that env var. The skill claims it will not click publish, but vendor code exposes publish and click-publish commands — the agent or a user could invoke them. The instructions also assume access to a logged-in Xiaohongshu account (cookies in Chrome profile), which means the tool can act on behalf of accounts if misused.
Install Mechanism
There is no remote install script from an arbitrary URL in the manifest — installation is local: creating a Python venv and pip installing requirements from vendor/xhs/requirements.txt (requests, websockets) via setup_vendor_xhs.sh. That is a low/moderate risk standard Python dependency install from PyPI. No brew/npm/external archive downloads are used by the included install helper. The code does make outbound HTTP(S) requests at runtime (image generation base_url, downloads), which is expected but noteworthy.
Credentials
The skill registry declares no required environment variables, but the code expects an API key env var (default DOUBAO_API_KEY) for the image-generation flow (scripts/generate_images_doubao.py and topic_auto_api.sh). That mismatch is a red flag: a secret is required but not declared. Additionally the skill will read/write Chrome profile directories (cookies, login state) under the user’s home/LOCALAPPDATA, which grants it access to account session data — this is proportionate to automated publishing but is sensitive and should be made explicit to users.
Persistence & Privilege
The skill does not request platform-wide 'always' installation and is user-invocable. It creates files under ~/.openclaw/workspace and vendor/.venv, and can create/manage Chrome profile directories under the user's home — persistent files and a venv are normal for this type of tool but are persistent. There is no manifest flag giving it elevated platform privileges. Still, the ability to launch Chrome and use existing profile cookies increases its effective privilege over account actions.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install social-push-semi - 安装完成后,直接呼叫该 Skill 的名称或使用
/social-push-semi触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Add mandatory post-install onboarding trigger: reply full template when user says 开始小红书流程.
v1.0.0
Initial public release: standalone XHS semi-auto publishing with optional Doubao image generation and built-in vendor scripts.
元数据
常见问题
Social Push Semi 是什么?
小红书半自动发布脚手架:自动生成文案、自动抽封面图、产出发布包;最后由人工确认发布。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 454 次。
如何安装 Social Push Semi?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install social-push-semi」即可一键安装,无需额外配置。
Social Push Semi 是免费的吗?
是的,Social Push Semi 完全免费(开源免费),可自由下载、安装和使用。
Social Push Semi 支持哪些平台?
Social Push Semi 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Social Push Semi?
由 yugulugulu(@yugulugulu)开发并维护,当前版本 v1.0.1。
推荐 Skills