← 返回 Skills 市场
antonia-sz

文章风格克隆助手

作者 antonia huang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
354
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install style-cloner
功能描述
提供1-5篇参考文章 + 原始素材,AI 分析参考文章的风格特征, 将素材改写成同风格的成品文章,输出3个版本供选择,支持强度调节和迭代优化。
安全使用建议
Before installing or using this skill: - Expect your reference articles and draft to be sent to an external LLM service; do not submit sensitive or confidential text. - The skill's metadata does NOT list required API keys, but the script requires OPENAI_API_KEY or DEEPSEEK_API_KEY — confirm which key you must provide and whether you trust the target endpoint (default https://api.deepseek.com). - If you prefer a specific provider (e.g., OpenAI), set OPENAI_API_BASE and OPENAI_API_KEY and test with non-sensitive content first. - Review scripts/clone_style.py yourself (or with a security-savvy person) to confirm there are no hidden endpoints or unexpected behavior; the code appears straightforward but the default endpoint may be unfamiliar. - Consider whether cloning a living author's style raises copyright or ethical concerns in your use case. If you need higher assurance, ask the skill author to update registry metadata to declare required env vars and to document the default API provider and its privacy policy.
功能分析
Type: OpenClaw Skill Name: style-cloner Version: 1.0.0 The skill contains a vulnerability in `scripts/clone_style.py` where the `read_input` function automatically reads the contents of any valid file path provided in the input arguments. This allows for arbitrary local file disclosure if an attacker or a malicious prompt tricks the agent into passing sensitive system paths (e.g., configuration files or SSH keys) as 'reference articles,' which are then exfiltrated to an external LLM API (defaulting to `api.deepseek.com`). While this behavior appears to be a risky design choice for CLI convenience rather than intentional malware, it poses a significant security risk in an agentic environment.
能力评估
Purpose & Capability
功能与“风格克隆”描述一致 — 脚本将参考文章与素材发送给一个 LLM 来生成改写版本。但 registry 元数据 declares no required env vars/credentials while both README 和脚本 expect an API key (OPENAI_API_KEY or DEEPSEEK_API_KEY). 元数据与实际能力不一致,应该声明所需凭证。
Instruction Scope
SKILL.md 指令会执行 scripts/clone_style.py,并将用户提供的参考文章与原始素材作为 prompt 发往远端 /chat/completions 接口。该流程会把用户文本发送到外部服务(默认 API_BASE=https://api.deepseek.com),SKILL.md/README 未充分提示隐私或内容外发风险。除此之外,指令并未访问本地无关文件或凭据。
Install Mechanism
无安装规范(instruction-only + 附带脚本),脚本只使用标准库 urllib 等,无额外第三方依赖或可疑下载,写磁盘仅限于可选输出文件。安装风险低。
Credentials
脚本需要 API 密钥(OPENAI_API_KEY 或 DEEPSEEK_API_KEY)并可能使用 OPENAI_API_BASE 和 LLM_MODEL,但 registry 要求部分声明为“无”,Primary credential 未设置。请求的环境访问与功能相关但未在元数据中声明 — 这是不一致且对用户决策重要。默认 API_BASE 指向 api.deepseek.com(不是公开的 OpenAI endpoint),应确认其信誉和隐私策略。
Persistence & Privilege
没有 always:true,skill 不会强制常驻或修改其他技能/系统配置。没有不当持久化或权限提升行为。
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install style-cloner
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /style-cloner 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
初版发布
元数据
Slug style-cloner
版本 1.0.0
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 1
常见问题

文章风格克隆助手 是什么?

提供1-5篇参考文章 + 原始素材,AI 分析参考文章的风格特征, 将素材改写成同风格的成品文章,输出3个版本供选择,支持强度调节和迭代优化。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 354 次。

如何安装 文章风格克隆助手?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install style-cloner」即可一键安装,无需额外配置。

文章风格克隆助手 是免费的吗?

是的,文章风格克隆助手 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

文章风格克隆助手 支持哪些平台?

文章风格克隆助手 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 文章风格克隆助手?

由 antonia huang(@antonia-sz)开发并维护,当前版本 v1.0.0。

💬 留言讨论