← Back to Skills Marketplace
文章风格克隆助手
by
antonia huang
· GitHub ↗
· v1.0.0
· MIT-0
354
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install style-cloner
Description
提供1-5篇参考文章 + 原始素材,AI 分析参考文章的风格特征, 将素材改写成同风格的成品文章,输出3个版本供选择,支持强度调节和迭代优化。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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 不会强制常驻或修改其他技能/系统配置。没有不当持久化或权限提升行为。
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install style-cloner - After installation, invoke the skill by name or use
/style-cloner - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
初版发布
Metadata
Frequently Asked Questions
What is 文章风格克隆助手?
提供1-5篇参考文章 + 原始素材,AI 分析参考文章的风格特征, 将素材改写成同风格的成品文章,输出3个版本供选择,支持强度调节和迭代优化。 It is an AI Agent Skill for Claude Code / OpenClaw, with 354 downloads so far.
How do I install 文章风格克隆助手?
Run "/install style-cloner" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 文章风格克隆助手 free?
Yes, 文章风格克隆助手 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does 文章风格克隆助手 support?
文章风格克隆助手 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 文章风格克隆助手?
It is built and maintained by antonia huang (@antonia-sz); the current version is v1.0.0.
More Skills