← Back to Skills Marketplace
yugulugulu

Social Push Semi

by yugulugulu · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
454
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install social-push-semi
Description
小红书半自动发布脚手架:自动生成文案、自动抽封面图、产出发布包;最后由人工确认发布。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install social-push-semi
  3. After installation, invoke the skill by name or use /social-push-semi
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug social-push-semi
Version 1.0.1
License
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Social Push Semi?

小红书半自动发布脚手架:自动生成文案、自动抽封面图、产出发布包;最后由人工确认发布。 It is an AI Agent Skill for Claude Code / OpenClaw, with 454 downloads so far.

How do I install Social Push Semi?

Run "/install social-push-semi" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Social Push Semi free?

Yes, Social Push Semi is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Social Push Semi support?

Social Push Semi is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Social Push Semi?

It is built and maintained by yugulugulu (@yugulugulu); the current version is v1.0.1.

💬 Comments