Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计提醒

wechat-layout-publish微信布局发布

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

4,004

周安装

172

GitHub Stars

公开资料未说明

下载量

1,404
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:wechat-layout-publish(微信布局发布)
来源仓库:https://github.com/08820048/wechat-layout-publish
安装命令:
openclaw skills install wechat-layout-publish
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install wechat-layout-publish

简介

将 Markdown 转换为微信兼容格式的发布工具。

  • 内置主题选择与草稿箱发布功能。wechat-layout-publish 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 支持 HTML 输出与样式定制。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。
  • 需微信开发者账号与 API 密钥配置。
  • 预览时注意文本溢出与移动端适配问题。

SKILL.md

name: welight-wechat-layout-publish description: Welight standalone skill for turning an article into WeChat Official Accounts compatible Markdown/HTML, presenting built-in theme choices, and publishing to WeChat as a draft or formal post when publishing prerequisites are already configured.


Welight WeChat Layout Publish

Use this skill as a self-contained OpenClaw capability for:

  • obtaining article content from user input, local files, or a URL
  • normalizing non-Markdown content into clean Markdown
  • presenting real built-in theme options to the user
  • applying the selected theme to produce WeChat-friendly output
  • publishing to WeChat Official Accounts when the required credentials and publishing tools are already configured in the runtime

This skill must not depend on any specific local product codebase. Treat the instructions and references inside this skill folder as the complete operating guide.

Built-In Runtime

This skill includes its own minimal rendering runtime:

  • scripts/normalize_to_markdown.py

- normalizes pasted text, HTML files, or article URLs into Markdown

  • scripts/list_themes.py

- prints the built-in theme list from the skill assets

  • scripts/render_wechat_html.py

- renders Markdown into WeChat-friendly HTML with inline styles

  • scripts/publish_wechat.py

- publishes the rendered HTML to WeChat Official Accounts when the runtime already has valid credentials and network access

  • assets/theme-pack.json

- the built-in theme token pack used by the renderer

After the user selects a theme, the expected execution path is:

  1. normalize the article into Markdown with scripts/normalize_to_markdown.py
  2. list or validate the theme with scripts/list_themes.py
  3. render themed HTML with scripts/render_wechat_html.py --theme <theme_id>
  4. publish the rendered HTML with scripts/publish_wechat.py

Capability Contract

When invoked, this skill should aim to complete the following end-to-end flow:

  1. Accept one of these inputs:

- raw article text - a file containing article content - a URL that points to an article

  1. Extract or rewrite the source into clean Markdown if it is not already usable Markdown.
  2. Keep that Markdown as the canonical source of truth.
  3. Read the built-in theme list from references/theme-catalog.md.
  4. Present the available themes in a compact format:

theme id + theme name + short style description

  1. If the user did not specify a theme:

- ask the user to choose, or - recommend 3 to 5 themes from the built-in catalog only

  1. Apply the selected theme to the Markdown and generate WeChat-compatible HTML.
  2. If publishing prerequisites are already configured, continue to draft publish or formal publish.

Working Rules

  1. Never invent unsupported themes.

- Only use theme ids listed in references/theme-catalog.md. - Always preserve the real theme id in the output so the user can see exactly what was chosen.

  1. Normalize content before styling.

- If the source is plain text, HTML, rich text, OCR output, copied chat content, or scraped article content, first rewrite it into structured Markdown. - Preserve meaning. Improve hierarchy, paragraphing, headings, lists, quotes, and emphasis, but do not silently change the argument or facts.

  1. Treat Markdown as the editable master.

- Theme application and WeChat export happen after Markdown normalization. - If the user wants revisions, revise the Markdown first and then regenerate themed output.

  1. Make theme selection explicit.

- Show real choices before publishing. - If recommending themes, explain the recommendation in one short sentence each. - Keep recommendations inside the built-in catalog.

  1. Produce WeChat-safe output.

- Flatten overly complex nesting. - Avoid unsupported layout patterns. - Prefer predictable heading structure. - Keep list nesting shallow. - Ensure images use valid URLs and are suitable for WeChat-side upload or replacement.

  1. Publish only when prerequisites already exist.

- Required publishing prerequisites are described in references/publish-spec.md. - If the runtime lacks configured WeChat credentials, upload capability, or publish capability, stop and state exactly which prerequisite is missing.

Standard Workflow

  1. Determine the source.

- User pasted article text - User gave a file - User gave a URL

  1. Acquire the content.

- If the content comes from a URL, extract the article body and metadata when possible. - If the content comes from a file, read and interpret it according to type.

  1. Normalize to Markdown.

- Create a readable heading hierarchy. - Merge broken lines into paragraphs. - Convert visual bullets into Markdown lists. - Convert emphasized phrases into Markdown emphasis. - Remove obvious navigation junk, ads, or unrelated footer text.

  1. Prepare theme choice.

- Read references/theme-catalog.md. - List all available themes or a narrowed recommendation set. - Wait for the user to choose if the task requires explicit confirmation.

  1. Apply the chosen theme.

- Keep the selected theme id visible in the result. - Generate WeChat-friendly HTML from the Markdown plus theme by using scripts/render_wechat_html.py.

  1. Publish if requested.

- Follow references/publish-spec.md. - Use references/runtime-config.md for the standalone script interfaces. - Prefer draft publish unless the user explicitly asks for formal publish and the account supports it.

Output Expectations

Optimize for one of these outcomes:

  • Clean Markdown generated from messy or non-Markdown source material
  • A compact list of real available themes for user selection
  • A recommended shortlist of real themes that fit the article tone
  • WeChat-compatible themed HTML derived from the Markdown
  • A successful WeChat draft publish
  • A successful WeChat formal publish
  • A precise explanation of which publishing prerequisite is missing or failing

Validation

  • Confirm the article is normalized into Markdown before styling.
  • Confirm the chosen theme id exists in the built-in catalog.
  • Confirm the generated output is suitable for WeChat rendering.
  • For publishing, verify the sequence in references/publish-spec.md.
  • If publishing fails, report the exact step that failed and the exact missing condition or error code.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

83.77%
按下载量换算1,176

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills