← 返回 Skills 市场
WordPress Blog Automation
作者
Carl Luis Olivier
· GitHub ↗
· v1.0.1
487
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install blog-automation
功能描述
Automated WordPress blog publishing with scheduling
使用说明 (SKILL.md)
Blog Automation Skill
Overview
Scheduled blog publishing system that publishes generated articles to WordPress.
Purpose
- Convert articles to WordPress HTML format
- Schedule posts for optimal timing
- Handle image embeds and SEO tags
- Publish via WordPress REST API
Input Variables
| Variable | Description | Example |
|---|---|---|
| WP_URL | WordPress site URL | https://paylesstax.co.za |
| WP_USERNAME | WordPress API username | blog_manager |
| WP_APP_TOKEN | Application password | (configured in OpenClaw) |
| ARTICLE_JSON | Path to generated article | ./article.json |
| SCHEDULE_TIME | Optional publish time | 2025-03-15T09:00:00 |
| CATEGORIES | Post categories | [Tax, Compliance] |
| TAGS | Post tags | [SARS, 2026] |
Workflow
- Load article JSON from generator
- Convert markdown to HTML
- Upload images (if any) to WordPress media
- Create WordPress post via REST API
- Log result to memory file
Triggers
- Cron schedule (e.g., daily at 8am)
- Manual CLI execution
- Post-generation webhook from article generator
APIs & Dependencies
- WordPress REST API v2
- requests library for HTTP
- markdown2 or mistletoe for MD->HTML
Output
{
"status": "published|scheduled|failed",
"wordpress_id": 12345,
"url": "https://site.com/blog/post",
"timestamp": "2025-03-02T05:03:19"
}
Files
- index.py - Publishing logic
- formatter.py - MD to HTML conversion
- scheduler.py - Cron/schedule management
安全使用建议
This package mostly does what it says — it posts article JSON to a WordPress site using Basic auth and writes local logs on failure. Before installing consider: 1) The SKILL.md mentions additional files (formatter.py, scheduler.py) and dependencies that are missing; ask the author for the complete bundle or updated docs. 2) Provide WP credentials only for sites you control or staging instances; app passwords grant post privileges and should be scoped and rotated. 3) The script uses HTTP Basic (base64) headers — ensure you call an HTTPS WP_URL to protect credentials in transit. 4) The tool reads arbitrary article file paths and writes logs/failed HTML locally — avoid pointing it at sensitive directories and review log handling so tokens are not accidentally recorded. 5) If you need scheduling or media upload, verify those features exist in the full package (they are referenced in docs but not implemented in index.py). If the maintainer cannot explain the missing files or supply a complete, reviewed package, treat this skill as incomplete and avoid running it with real credentials.
功能分析
Type: OpenClaw Skill
Name: blog-automation
Version: 1.0.1
The skill is classified as suspicious due to critical vulnerabilities related to file system access. The `index.py` script directly reads the `ARTICLE_JSON` file path and writes to a `log` file path, both provided as command-line arguments, without any input sanitization. This creates a significant risk of Local File Inclusion (LFI) and Arbitrary File Write, allowing an attacker to potentially read arbitrary files (e.g., credentials, system files) or write to arbitrary locations on the agent's host system if they can control these input paths (e.g., via prompt injection against the OpenClaw agent). While the skill's stated purpose is benign, these vulnerabilities could be exploited for data exfiltration or system compromise.
能力评估
Purpose & Capability
The skill's name/description (WordPress publishing + scheduling) aligns with the included index.py which implements publishing via the WordPress REST API. However the SKILL.md references formatter.py and scheduler.py (and additional dependencies such as markdown2/mistletoe) which are not present in the bundle, and the SKILL.md version (1.0.0) differs from registry metadata (1.0.1). These omissions are unexplained and reduce confidence in the package completeness.
Instruction Scope
SKILL.md instructs reading an ARTICLE_JSON path, converting markdown to HTML, uploading images, and scheduling. index.py implements reading a provided article JSON, converting content to HTML, and posting to WordPress; it writes a local failure HTML and appends a log file. The SKILL.md mentions webhooks/cron triggers and image uploads, but index.py has no explicit media upload or scheduler implementation. The code will read arbitrary file paths supplied as --article and write logs/failed HTML to disk — expected for this task but worth noting.
Install Mechanism
No install spec — instruction-only plus a single Python file. No downloads or package installs are performed by the skill itself, which minimizes install-time risk.
Credentials
No required environment variables are declared. Credentials are accepted as CLI args (WP username and application password), which is proportionate for a WordPress publishing tool. The SKILL.md lists WP-related inputs (WP_URL, WP_USERNAME, WP_APP_TOKEN) consistent with the code. There are no unrelated credentials requested.
Persistence & Privilege
always is false and the skill does not request persistent platform privileges. It does not modify other skills or system-wide config; it only writes local logs/failed HTML files as part of its normal operation.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install blog-automation - 安装完成后,直接呼叫该 Skill 的名称或使用
/blog-automation触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Initial publish - WP publishing with scheduling
v1.0.0
Initial publish - WP publishing with scheduling
元数据
常见问题
WordPress Blog Automation 是什么?
Automated WordPress blog publishing with scheduling. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 487 次。
如何安装 WordPress Blog Automation?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install blog-automation」即可一键安装,无需额外配置。
WordPress Blog Automation 是免费的吗?
是的,WordPress Blog Automation 完全免费(开源免费),可自由下载、安装和使用。
WordPress Blog Automation 支持哪些平台?
WordPress Blog Automation 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 WordPress Blog Automation?
由 Carl Luis Olivier(@wespeakallday)开发并维护,当前版本 v1.0.1。
推荐 Skills