← Back to Skills Marketplace
abigale-cyber

Content System Wechat Formatter

by Abigale-cyber · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
129
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install content-system-wechat-formatter
Description
Render article markdown into WeChat-style HTML as an independent executor. Use when Codex needs公众号排版预览, WeChat HTML output, or a publishable HTML artifact ge...
README (SKILL.md)

WeChat Formatter

Convert article markdown into WeChat-style HTML for preview, inspection, and downstream publishing. If a sibling *-writing-pack.json exists, this executor will also consume summary points, highlight quotes, share copy, and ending CTA blocks.

Quick Start

Run the default command:

.venv/bin/python -m skill_runtime.cli run-skill wechat-formatter --input content-production/drafts/ai-content-system-article.md

Prepare Source Article

Start from an article markdown draft that is already written and ready for visual formatting. If a sibling *-writing-pack.json exists, it will be used as an optional sidecar.

Follow Formatting Workflow

  1. Read the article markdown draft.
  2. Render the content through the shared formatter runtime in skills/wechat-formatter/runtime.py.
  3. Produce standalone WeChat preview HTML for inspection and downstream publishing.
  4. When a writing-pack sidecar exists, append summary / quotes / share-copy / CTA presentation blocks without altering the source article file.
  5. If wechat-studio is involved, let the workbench apply its own theme, typography, inline image placement, and draft-push workflow on top of this executor.

Write Output

Write the primary exported file to:

content-production/ready/\x3Cslug>-wechat.html

Respect Constraints

  • This skill formats and renders content; it does not author the article itself
  • HTML quality depends on the article draft and current workbench state
  • Workbench theme choices belong to wechat-studio; this skill itself should stay focused on producing HTML from Markdown

Read Related Files

  • Shared runtime: skills/wechat-formatter/runtime.py
  • Pipeline entry: skill_runtime/engine.py
  • Workbench integration: skills/wechat-studio/frontend/server.py
  • Execution guide: docs/wechat-formatter-execution-spec.md
Usage Guidance
This skill's declared purpose (render Markdown to WeChat-style HTML) is reasonable on its face, but runtime.py contains a hardcoded absolute path into a developer's home directory and imports a module from there (wechat_html_renderer). That means: (1) at runtime, code outside the packaged files could be executed if that path exists; (2) the skill will likely fail or behave unpredictably if the external module isn't present; (3) this is a packaging/design issue that could be malicious if the external module were replaced. Before installing or running: ask the author to bundle or vendor the renderer (or change to a relative/importable dependency), or provide an install step that fetches a vetted package; inspect the wechat_html_renderer implementation for network calls or file access; run the skill in a sandboxed environment; and avoid granting access to sensitive systems until the dependency and import behavior are corrected. If you cannot verify the external module, treat this skill as untrusted.
Capability Analysis
Type: OpenClaw Skill Name: content-system-wechat-formatter Version: 1.0.1 The skill bundle contains a hardcoded absolute filesystem path ('/Users/Abigale/.codex/skills/wechat-article-workflow/scripts') in 'runtime.py', which is used to modify the Python system path and import external modules. This is a significant security risk and portability flaw, as it allows the skill to execute code from an arbitrary location outside the bundle's control. While the primary logic appears focused on WeChat HTML formatting, this dependency on a specific user's directory is highly irregular and potentially exploitable if the environment is shared.
Capability Assessment
Purpose & Capability
The skill's name, README, and SKILL.md all describe a straightforward Markdown→WeChat HTML formatter and declare no external credentials or binaries. However, runtime.py inserts the hardcoded path /Users/Abigale/.codex/skills/wechat-article-workflow/scripts onto sys.path and imports wechat_html_renderer from that location — a dependency unrelated to the stated packaged files and not justified by the description. A properly packaged formatter would either include its renderer or use a relative/packaged import; the absolute user-home path is unexpected and disproportionate.
Instruction Scope
SKILL.md gives narrow, focused runtime instructions (read markdown, render via the shared runtime, write HTML to content-production/ready). The instructions don't ask for unrelated filesystem or credentials. However, the SKILL.md references 'shared runtime' and other internal pipeline files — combined with the runtime.py import behavior this increases the scope of what actually runs at execution time (it will pull code from an external path).
Install Mechanism
There is no install spec (instruction-only), which is low risk in general — but runtime.py's reliance on an absolute, external script directory (not included in the file manifest) means code outside the packaged skill would be executed if present. That is effectively a hidden install/runtime dependency and raises risk because arbitrary code from that path would run without being packaged or reviewed.
Credentials
The skill declares no required env vars or credentials (appropriate). Nevertheless, runtime.py directly references a hardcoded filesystem location in a user home (/Users/Abigale/...). This is equivalent to requesting access to user-local resources and is disproportionate to the stated needs — it may cause execution of code outside the skill bundle or silently fail if the path is absent.
Persistence & Privilege
The skill is not always-enabled, does not request elevated privileges, and there is no indication it modifies other skills or global agent configuration. Autonomous invocation is allowed (platform default) but not combined here with other high-risk privilege requests.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install content-system-wechat-formatter
  3. After installation, invoke the skill by name or use /content-system-wechat-formatter
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Sync latest content-system skill docs and runtime implementation
v1.0.0
WeChat Formatter v1.0.0 – Initial release - Converts article markdown drafts into WeChat-style HTML for preview and publishing. - Optionally appends content blocks (summaries, quotes, CTA) from a sibling writing-pack file. - Produces standalone, publish-ready HTML output without modifying the source markdown. - Designed for integration with WeChat Studio and the wider content production pipeline.
Metadata
Slug content-system-wechat-formatter
Version 1.0.1
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 2
Frequently Asked Questions

What is Content System Wechat Formatter?

Render article markdown into WeChat-style HTML as an independent executor. Use when Codex needs公众号排版预览, WeChat HTML output, or a publishable HTML artifact ge... It is an AI Agent Skill for Claude Code / OpenClaw, with 129 downloads so far.

How do I install Content System Wechat Formatter?

Run "/install content-system-wechat-formatter" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Content System Wechat Formatter free?

Yes, Content System Wechat Formatter is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Content System Wechat Formatter support?

Content System Wechat Formatter is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Content System Wechat Formatter?

It is built and maintained by Abigale-cyber (@abigale-cyber); the current version is v1.0.1.

💬 Comments