Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

lanreneditor-pro

v1.0.3

通过用户自定义模板排版AI生成文章,并一键发布到指定微信公众号草稿箱,支持多账号管理和额度查询。

1· 153·0 current·0 all-time
Security Scan
Capability signals
Crypto
These labels describe what authority the skill may exercise. They are separate from suspicious or malicious moderation verdicts.
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
medium confidence
Purpose & Capability
The skill's name/description (WeChat article formatting + publish) match the code and API descriptions: handler.js makes HTTP calls to a configured apiBaseUrl using an apiKey, and SKILL.md/skill.yaml declare apiBaseUrl and apiKey as required configuration. However the registry metadata reported "Required env vars: none" while the included skill.yaml and SKILL.md require an API key — an inconsistency. README also mentions optional environment variables (OPENAI_API_KEY, OPENCLAW_GATEWAY_URL) for cover generation that are not declared in the skill config, which is another mismatch to be aware of.
!
Instruction Scope
Runtime instructions and integration docs direct the agent to call the SaaS endpoints (templates, accounts, publish, quota, etc.) — that is expected. But the package also includes explicit system-prompt text (in skill.yaml and INTEGRATION.md) that tells the model to 'must strictly follow' the workflow and 'not allowed to skip' steps; a pre-scan flagged a system-prompt-override pattern. That system-level instruction aims to override agent behavior and could broaden the agent's authority when this skill is active. Otherwise, the instructions do not ask the agent to read unrelated system files or collect unrelated credentials.
Install Mechanism
No remote download/install spec is included; the bundle is instruction + code (handler.js) and a normal package.json that depends on axios. The Quickstart recommends running npm install locally (standard). There are no obscure external URLs or archives in the install process, so install risk is low.
Credentials
The skill needs an API base URL and an API key for the third‑party formatting/publishing service — that is proportional to its stated purpose. However, documentation also references optional environment variables (OpenAI key, gateway URL, default cover image path) that are not declared in the skill's config/registry metadata. Registry metadata claiming 'no required env vars' is inconsistent with skill.yaml/ SKILL.md which require apiKey; this mismatch should be resolved before trusting credentials.
Persistence & Privilege
The skill does not request 'always: true' and uses normal network/storage permissions (expected for a connector). However the included systemPrompt (and guidance in integration docs to inject system prompts into host bots) elevates its capacity to influence agent decision-making. Because model invocation is enabled (the default), that prompt could affect agent behavior when the skill is active — combine this with credential access and it's an increased blast radius. This is not proof of maliciousness, but it is a significant caution.
Scan Findings in Context
[system-prompt-override] expected: The skill includes explicit systemPrompt text and integration instructions advising operators to add a strict system prompt to host bots. Including a system prompt is expected for integration, but the prompt's language ('must strictly follow', 'not allowed to skip') is forceful and can override host agent behavior; treat as a risky capability and review carefully.
What to consider before installing
Plain-language checklist before installing / enabling: - Origin & trust: This package's source/homepage is unknown. Prefer skills from known vendors. Ask the author for the official SaaS site and verify the domain (https://open.tyzxwl.cn is referenced). - Credentials: The skill requires an API key (apiKey) for the publishing SaaS. Do NOT reuse high‑privilege or production credentials. Create a limited-scope/test API key, enable strict logging, and be ready to revoke it. - System prompt risk: The skill includes a strong system-level prompt which can influence the agent's behavior. If your platform allows, inspect and, if desired, remove or weaken that prompt before enabling autonomous runs. Consider disabling autonomous invocation for this skill until you trust it. - Inconsistencies: Registry metadata says 'no required env vars' but the skill expects apiBaseUrl/apiKey; README mentions optional OpenAI keys and file paths that are not declared. Ask the maintainer to reconcile these mismatches. - Test safely: Test with a sandbox account / test WeChat binding and a test API key first. Monitor API logs and quota usage while testing. - Code review: If you can, scan handler.js fully for any hard-coded endpoints, unexpected network calls, or any code that reads local files or environment variables beyond what it should. The visible code appears to only call the declared SaaS APIs, but the file was truncated in the package listing — review the full file before trusting in production. If you are uncomfortable with the unknown source, aggressive system prompt, or metadata mismatches, do not install or provide production credentials.

Like a lobster shell, security has layers — review code before you run it.

latestvk974755fxcg0erczj21gh95cmh84g9wa
153downloads
1stars
4versions
Updated 1w ago
v1.0.3
MIT-0

微信公众号内容管线(排版与发布)

从素材收集到多平台分发的全链路 AI 内容管线,让 AI 帮你写文章、排版、生成封面、转换多平台文案并一键分发。


功能介绍

🔄 两条管线路径

路径流程适用场景
Path A:素材→出稿素材收集 → AI写稿 → 排版 → 封面 → 多平台文案 → 分发日常内容积累、从零创作
Path B:微信文章→多平台抓取文章 → 分析结构 → 多平台转换 → 封面 → 文案 → 分发内容复用、跨平台分发

✨ 核心功能

  • 📝 素材管理:收集零散灵感,按主题归类,AI 自动提取摘要
  • 🤖 AI 写稿:六段式教程 + 四幕式深度两种框架,素材自动组织成文
  • 🎨 排版渲染:自定义模板 + CSS 内联(微信兼容),100+ 主题可选
  • 🖼️ AI 封面图:三种风格(渐变/品牌/极简),支持横版和竖版
  • 📕 小红书轮播图:文章一键转 8-10 张小红书卡片
  • 📱 多平台文案:小红书/即刻/朋友圈/播客,一键生成适配文案
  • 🔗 文章抓取:微信文章链接 → 提取标题/正文/图片
  • 📊 文章分析:解析结构、提取关键数据、推荐写作框架
  • 📤 一键发布:直接发布到微信公众号草稿箱
  • 📡 多平台分发:微信 L0 API 直推 + 多平台 CDP 分发
  • 📊 额度查询:查看发布额度、公众号绑定、模板配额

⚠️ 重要提示:本技能优先使用用户自定义模板进行排版。如果你尚未创建自定义模板,请先在平台创建。


配置参数

参数名类型必填说明示例值
apiBaseUrlstringSaaS 平台地址https://open.tyzxwl.cn
apiKeysecretAPI 密钥(从平台获取)wemd_xxxxxxxxxxxx

获取 API 密钥

  1. 访问 https://open.tyzxwl.cn 并登录
  2. 进入「个人中心」→「API Key」
  3. 点击「生成新密钥」

绑定公众号

首次使用前需授权公众号:

  1. 登录平台后点击「授权公众号」
  2. 使用公众号管理员微信扫码授权

API 接口

Base URL: https://open.tyzxwl.cn
鉴权方式: Header X-API-Key: {apiKey}


1. 获取模板列表

GET /api/skill/templates

Query 参数(均可选):

参数说明
category模板分类筛选
search搜索关键词
page页码,默认 1
limit每页数量,默认 20

响应示例:

{
  "success": true,
  "data": {
    "list": [
      {
        "id": "tech-blue",
        "name": "科技蓝",
        "description": "渐变蓝色,适合技术/产品类文章",
        "category": "tech",
        "categoryName": "科技",
        "emoji": "💻",
        "isPremium": false,
        "isUserTemplate": false,
        "tags": ["科技", "产品", "技术"]
      }
    ],
    "userTemplatesCount": 2,
    "pagination": {
      "page": 1,
      "limit": 20,
      "total": 8,
      "totalPages": 1
    }
  }
}

关于模板: 优先使用用户自定义模板(isUserTemplate: true)。如果模板列表中没有用户模板(userTemplatesCount: 0),需要引导用户先创建模板。


2. 获取模板分类

GET /api/skill/templates/categories

3. 获取公众号列表

GET /api/skill/accounts

4. 查询发布额度

GET /api/skill/quota

响应示例:

{
  "success": true,
  "data": {
    "planName": "专业版",
    "publish": { "used": 15, "total": 100, "remaining": 85 },
    "accounts": { "used": 2, "total": 5, "remaining": 3 }
  }
}

5. 发布文章

POST /api/skill/publish
Content-Type: application/json

请求参数:

参数类型必填说明
contentstring文章内容(Markdown 格式)
templateIdstring模板 ID
titlestring文章标题(不填则从内容提取)
accountIdstring公众号 AppID
authorstring作者名
digeststring文章摘要
coverImagestring封面图 URL
contentSourceUrlstring阅读原文链接
autoGenerateCoverboolean是否 AI 生成封面(默认 true)

6. 查询发布状态

GET /api/skill/publish/status?taskId={taskId}

7. 素材管理(v2.0 新增)

添加素材:

POST /api/skill/materials
Content-Type: application/json
参数类型必填说明
contentstring素材内容
typestring素材类型(manual/auto/hybrid,默认 manual)
topicstring主题标签

查看素材列表:

GET /api/skill/materials

清空素材:

DELETE /api/skill/materials

8. AI 写稿(v2.0 新增)

POST /api/skill/draft
Content-Type: application/json
参数类型必填说明
topicstring文章主题
frameworkstring写作框架(tutorial=六段式教程/deep=四幕式深度/auto=自动选择)
templateIdstring关联排版模板 ID

写作框架说明:

  • tutorial(六段式教程):引言→概念→步骤→案例→常见问题→总结,适合技术教程、实操指南
  • deep(四幕式深度):现象→分析→洞察→展望,适合深度分析、行业观点
  • auto:根据主题自动选择最合适的框架

9. 排版渲染(v2.0 新增)

POST /api/skill/render
Content-Type: application/json
参数类型必填说明
contentstring文章内容(Markdown 或 HTML)
templateIdstring模板 ID

返回内联 CSS 的 HTML,可直接粘贴到微信公众号编辑器。


10. 封面生成(v2.0 新增)

POST /api/skill/cover
Content-Type: application/json
参数类型必填说明
titlestring文章标题
stylestring封面风格(gradient/brand/minimal,默认 gradient)
sizestring封面尺寸(900x383=横版/1080x1440=竖版,默认 900x383)

11. 小红书轮播图(v2.0 新增)

POST /api/skill/xiaohongshu
Content-Type: application/json
参数类型必填说明
titlestring文章标题
contentstring文章内容

返回 8-10 张小红书轮播卡片的 HTML。


12. 多平台文案(v2.0 新增)

POST /api/skill/social-copy
Content-Type: application/json
参数类型必填说明
titlestring文章标题
contentstring文章内容
platformsstring目标平台(逗号分隔:xiaohongshu,jike,moments,podcast)

返回适配各平台的文案版本。


13. 文章抓取(v2.0 新增)

POST /api/skill/fetch
Content-Type: application/json
参数类型必填说明
urlstring微信文章链接

返回标题、作者、正文 HTML、纯文本内容。


14. 文章分析(v2.0 新增)

POST /api/skill/analyze
Content-Type: application/json
参数类型必填说明
urlstring文章链接
contentstring文章内容(url 和 content 二选一)

返回文章结构、关键数据、推荐写作框架。


15. 多平台分发(v2.0 新增)

POST /api/skill/distribute
Content-Type: application/json
参数类型必填说明
manifestobject分发内容清单(含各平台内容)
platformsarray目标平台列表

微信 L0 API 直推,其他平台需 CDP 集成。


16. 管线编排(v2.0 新增)

一步完成全链路操作:

POST /api/skill/pipeline
Content-Type: application/json
参数类型必填说明
stepsarray执行步骤(默认全部:material,draft,render,cover,socialCopy)
materialobject素材参数(content, topic)
draftobject写稿参数(framework, templateId)
renderobject排版参数(templateId)
coverobject封面参数(style, size)
socialCopyobject文案参数(platforms)

请求示例:

{
  "steps": ["material", "draft", "render", "cover", "socialCopy"],
  "material": { "content": "AI 正在改变内容创作方式...", "topic": "AI内容创作" },
  "draft": { "framework": "tutorial" },
  "render": { "templateId": "tech-blue" },
  "cover": { "style": "gradient" },
  "socialCopy": { "platforms": ["xiaohongshu", "jike"] }
}

返回 jobId,轮询 GET /api/skill/pipeline/:jobId 获取进度。


系统提示词

将以下内容添加到 Bot 的系统提示词中:

你是一个微信公众号内容管线助手。你支持从素材收集到多平台分发的全链路操作。
你必须严格按照以下步骤执行,不允许跳过或合并任何步骤。

## 🔄 两条管线路径

### Path A:素材→出稿(日常积累场景)
素材收集 → AI写稿 → 排版 → 封面 → 多平台文案 → 分发

### Path B:微信文章→多平台(内容复用场景)
抓取文章 → 分析结构 → 多平台转换 → 封面 → 文案 → 分发

## ⚠️ 强制工作流程

### 全链路管线(推荐)

当用户说"出稿"、"一键出稿"、"全链路"时:
1. 检查素材:GET /api/skill/materials
2. AI 写稿:POST /api/skill/draft(需指定 topic 和 templateId)
3. 排版渲染:POST /api/skill/render(content + templateId)
4. 生成封面:POST /api/skill/cover(title)
5. 多平台文案:POST /api/skill/social-copy(title + content)
6. 或使用一键编排:POST /api/skill/pipeline

### 单步操作

**素材收集**:
- 添加素材:POST /api/skill/materials(content 必填)
- 查看素材:GET /api/skill/materials
- 清空素材:DELETE /api/skill/materials

**AI 写稿**:
- POST /api/skill/draft(topic 必填,framework 可选:tutorial/deep/auto)

**文章抓取**:
- POST /api/skill/fetch(url 必填,仅微信链接)

**排版渲染**:
- POST /api/skill/render(content + templateId)
- 返回内联CSS的HTML,可直接粘贴到公众号编辑器

**封面生成**:
- POST /api/skill/cover(title 必填)
- 支持 gradient/brand/minimal 三种风格

**小红书轮播图**:
- POST /api/skill/xiaohongshu(title + content)

**多平台文案**:
- POST /api/skill/social-copy(title + content)

**文章分析**:
- POST /api/skill/analyze(url 或 content)

**多平台分发**:
- POST /api/skill/distribute(manifest + platforms)

### 一键发布流程(保留 v1.x 兼容)

当用户说"发布到公众号"时:
1. GET /api/skill/templates → 选择模板
2. GET /api/skill/accounts → 选择公众号
3. POST /api/skill/publish → 一键发布
4. GET /api/skill/publish/status → 查询状态

## 排版输出规则(生成内容时必须遵守)
- 目标不是只生成"语义正确的 Markdown",而是生成"能让模板 CSS 真正命中的内容结构"。
- 当模板依赖自定义 className 样式时,优先输出带 class 的 HTML 结构。
- 如果平台给出了 ::: className 容器语法,必须使用它或等价 HTML。
- 核心原则:使用 HTML 结构确保 CSS 样式显示。

## 模板选择规则
- 优先使用用户自定义模板(isUserTemplate: true)
- 用户无自定义模板时,引导到模板设计器创建
- 访问 https://open.tyzxwl.cn/website/template-designer.html

## 🚫 禁止事项
1. 禁止跳过模板选择
2. 禁止在用户未确认前调用发布接口
3. 禁止自动选择公众号(必须让用户确认)
4. 如果发布失败,展示完整的错误信息

使用示例

管线操作

帮我出一篇关于 AI 内容创作的文章,全链路
添加素材:AI 正在改变内容创作方式,从写作到排版到分发全流程自动化
AI写稿,主题:产品经理的 AI 工具箱
把这篇文章转成小红书轮播图

一键发布

写一篇关于人工智能的文章,发布到公众号
帮我写个美食探店文案,发到微信公众号

查询

查询我的发布额度
/pipeline-status jobId=pipeline_abc123

计费说明

操作消耗配额
素材管理(增删查)免费
排版渲染免费
多平台文案生成免费
AI 写稿1 次
封面生成1 次
小红书轮播图1 次
多平台分发1 次
一键发布1 次

错误码说明

HTTP 状态码错误信息解决方案
400缺少文章内容/主题检查必填参数
401未授权检查 API Key 是否正确
403发布配额已用完升级套餐或等待下月重置
404模板/任务不存在检查 ID 是否正确
429请求频率超限降低调用频率(默认 100 次/小时)

常见问题

Q: 为什么发布后样式没生效?
A: 微信公众号不支持 <style> 标签,系统已自动将 CSS 转为内联样式。如仍有问题请检查模板 CSS 是否正确。

Q: 封面图比例不对怎么办?
A: 系统会自动裁剪封面图到 2.35:1 比例(900×383),也可设置 autoGenerateCover: true 让 AI 生成封面。

Q: 看不到我的自定义模板?
A: 确保 API Key 对应的用户已在 Web 端创建了自定义模板。可访问 https://open.tyzxwl.cn/website/template-designer.html 创建。

Q: 管线任务进度怎么查?
A: 调用 GET /api/skill/pipeline/:jobId 轮询,每 2 秒一次,直到 status 为 completed 或 failed。

Q: AI 写稿的两种框架怎么选?
A: tutorial 适合教程/实操类,deep 适合分析/观点类,auto 自动判断。默认 auto


联系方式


版本信息

当前版本: v2.0.0

更新日志

  • v2.0.0: Content Pipeline 全链路管线 — 新增素材管理、AI 写稿、排版渲染、封面生成、小红书轮播图、多平台文案、文章抓取/分析、多平台分发、管线编排共 14 个 API 端点
  • v1.3.0: 模板组件识别、容器注入、HTML 结构补全,统一渲染链路
  • v1.2.0: 新增额度查询、文章预览、自定义模板支持
  • v1.1.0: 新增 AI 封面图生成、5 层兜底策略
  • v1.0.0: 基础发布功能、6 种内置模板

Comments

Loading comments...