← 返回 Skills 市场
xhs-auto-content-by-hot
作者
18923236683
· GitHub ↗
· v1.0.0
· MIT-0
308
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install xhs-auto-content-by-hot
功能描述
自动获取百度热搜话题,生成小红书文案并调用Seedream-4.5生成封面及配图,输出完整内容包。
安全使用建议
This skill appears to implement the advertised workflow, but it asks you to paste your Seedream/ByteDance API key directly into scripts/generate.py — do NOT store secrets in source. Before installing or running: (1) inspect and, if needed, modify generate.py so it reads the API key from an environment variable or a protected config file instead of embedding it; (2) verify the Seedream API endpoint (ark.cn-beijing.volces.com) is the legitimate service you expect; (3) run the script in an isolated environment (container or VM) because it writes files under /root/.openclaw/workspace and makes outbound HTTP requests; (4) remove or ask the author to explain the unicode control characters in SKILL.md; (5) ensure Python and the requests package are present and consider reviewing/downloaded image URLs before following them. If you cannot confirm the endpoint or the control-characters explanation, treat this skill as risky and avoid providing high-privilege or reusable secrets.
功能分析
Type: OpenClaw Skill
Name: xhs-auto-content-by-hot
Version: 1.0.0
The skill instructs the AI agent in SKILL.md to solicit a sensitive API key from the user and programmatically write it into the 'scripts/generate.py' source file. This is a highly insecure practice that leads to hardcoded credentials and creates a significant risk of Remote Code Execution (RCE) if the agent fails to sanitize the user-provided input before modifying the Python script. While the script's logic for fetching Baidu trends and calling the Volcengine API (ark.cn-beijing.volces.com) appears legitimate, the automated code-modification pattern is a major security flaw.
能力评估
Purpose & Capability
The code and instructions match the stated purpose: fetching Baidu hot topics, generating Xiaohongshu copy, and calling a Seedream (火山引擎) image-generation endpoint. However, the SKILL.md does not declare the API key requirement as an environment variable or credential even though the script requires an API_KEY; instead it instructs the user to write the key into scripts/generate.py. That mismatch and the recommendation to embed a secret in source is disproportionate and unusual.
Instruction Scope
SKILL.md directs the agent/user to ask for the ByteDance/Seedream API key and store it inside generate.py. That expands scope to collecting and persisting a sensitive secret into code. The script performs network requests (to Baidu and the Volcengine endpoint) and writes files into /root/.openclaw/workspace by default; these actions are coherent with the feature but the instructions enable secret persistence in code and assume write access to /root, which is risky and not least-privilege.
Install Mechanism
No install spec (instruction-only + included script). Nothing is downloaded at install time and no external archive or unknown URLs are used by the installer. Execution requires Python and the requests library (not declared), which is a modest expectation.
Credentials
The skill requires a Seedream/ByteDance API key to function, but this is not declared in requires.env or primary credential fields; instead the SKILL.md instructs the user to paste the API key into the script. Asking to store a secret in source is disproportionate and dangerous. The script otherwise requests network access to Baidu and the Volcengine API only (no unrelated cloud creds), so the scope of credentials is small but handled insecurely.
Persistence & Privilege
always:false and user-invocable:true (defaults) — no elevated persistent privilege requested. The skill writes output files to a workspace directory (default /root/.openclaw/workspace) and stores generated artifacts, which is expected behavior for a content generation tool and does not modify other skills or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install xhs-auto-content-by-hot - 安装完成后,直接呼叫该 Skill 的名称或使用
/xhs-auto-content-by-hot触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
小红书根据百度热搜自动生成图文
元数据
常见问题
xhs-auto-content-by-hot 是什么?
自动获取百度热搜话题,生成小红书文案并调用Seedream-4.5生成封面及配图,输出完整内容包。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 308 次。
如何安装 xhs-auto-content-by-hot?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install xhs-auto-content-by-hot」即可一键安装,无需额外配置。
xhs-auto-content-by-hot 是免费的吗?
是的,xhs-auto-content-by-hot 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
xhs-auto-content-by-hot 支持哪些平台?
xhs-auto-content-by-hot 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 xhs-auto-content-by-hot?
由 18923236683(@18923236683)开发并维护,当前版本 v1.0.0。
推荐 Skills