← 返回 Skills 市场
93
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install publish-mate
功能描述
Fetch global news from RSS/API sources, auto-generate articles with images, and publish to WordPress or custom CMS platforms
安全使用建议
What to check before installing:
- Credential handling: The skill needs a WordPress Application Password (WP_APP_PASSWORD). Confirm that the registry entry matches SKILL.md (SKILL.md marks WP_APP_PASSWORD as primaryEnv but the registry omitted it). Only provide an application password with narrowly scoped rights and consider creating a dedicated low-privilege account for publishing.
- Trust news/image sources: The skill will fetch arbitrary URLs from configured feeds and custom APIs and will follow links to fetch full article HTML and images. Only configure trusted feeds/APIs — a malicious feed could point at internal services (localhost, 169.254.*, internal IPs) and cause your agent to make unauthorized requests (SSRF-like behavior).
- Storage of secrets: The README/SKILL.md suggests storing WP_APP_PASSWORD in OpenClaw settings. Understand the security of that storage location (~/.openclaw/openclaw.json) and who can read it on your machine. If you must, run the skill in a restricted account or isolated environment.
- Review 'uv' install step: The manifest lists an install step using 'uv' to install certifi. Verify what 'uv' means in your OpenClaw environment and that it pulls packages from a trusted source before running install.
- Run offline/test first: Use the preview/dry-run commands and start with a safe config (small max, preview mode, no publish, no custom sources) to observe behavior. Inspect logs under the skill's logs/ directory.
- Network isolation if needed: If you are concerned about SSRF or accidental requests to internal services, run the skill in an environment with restricted outbound access or explicitly whitelist the domains you trust.
If you want, I can: (a) point out the exact lines where the skill reads environment variables and performs outbound requests, (b) draft a minimal config that limits risk for initial testing, or (c) suggest CLI flags/config changes to make fetching safer (e.g., disable fetch_full_article, restrict allowed hostnames).
功能分析
Type: OpenClaw Skill
Name: publish-mate
Version: 1.0.0
The skill provides automated news aggregation and WordPress publishing capabilities, but contains a significant security vulnerability in 'scripts/auto_publish.py' where SSL certificate verification is explicitly disabled (ssl.CERT_NONE) during image uploads. Additionally, 'scripts/fetch_news.py' performs unvalidated web scraping on URLs retrieved from external RSS feeds, which could be leveraged for Server-Side Request Forgery (SSRF) if a source is compromised. While the code appears to follow its stated purpose without clear malicious intent, these intentional security bypasses and lack of input validation pose a risk to the user's credentials and local network.
能力评估
Purpose & Capability
Name/description align with the code and instructions: Python scripts fetch RSS/NewsAPI, download images, compose content, and publish to WordPress. Required binary (python3) is appropriate. However the registry metadata claims no primary credential while SKILL.md and the code declare WP_APP_PASSWORD as a primary environment variable — an inconsistency that should be resolved before trusting automated setup.
Instruction Scope
Runtime instructions and scripts instruct the agent to fetch arbitrary remote URLs (RSS feeds, NewsAPI, custom APIs, and full article pages) and to download images from third-party image APIs or arbitrary image URLs. Fetching full article pages (fetch_full_article) will request arbitrary URLs discovered in feeds or provided via config; this is expected for an aggregator but creates a real risk of contacting internal or otherwise sensitive endpoints (SSRF-like risk) and downloading untrusted content. The instructions also encourage storing the WordPress application password in OpenClaw settings — this is functional but increases the blast radius if the skill or agent is compromised.
Install Mechanism
The skill's install spec lists a single 'uv' entry installing the 'certifi' package (SKILL.md metadata). Installing certifi is reasonable for improving SSL handling, but 'uv' is an uncommon/opaque installer name in the manifest and should be verified (where does 'uv' fetch packages from?). There are no arbitrary archive downloads or unknown URLs in the install manifest, and all code is present in the bundle, which reduces supply-chain ambiguity — but double-check the meaning/origin of the 'uv' install step before running it.
Credentials
The code legitimately requires WP_APP_PASSWORD to publish via WordPress application passwords and optionally uses UNSPLASH_API_KEY, PEXELS_API_KEY, PIXABAY_API_KEY, and NEWS_API_KEY. Those are proportional to the described capabilities. The concern is the manifest/registry mismatch: registry metadata listed no required envs while SKILL.md and scripts expect WP_APP_PASSWORD (and optional API keys). The config.example also shows headers using '$MY_API_TOKEN' placeholders — ensure those are not replaced automatically with unrelated secrets. Ask the author why registry metadata omitted the primaryEnv and confirm which variables are actually required and how they are stored.
Persistence & Privilege
The skill does not request global 'always: true' privilege and is user-invocable. It writes its own config and data under its baseDir (config.json, data/, logs/) which is normal. It does not appear to modify other skills or system-wide settings beyond suggesting that you add WP_APP_PASSWORD to OpenClaw settings (which is a user action).
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install publish-mate - 安装完成后,直接呼叫该 Skill 的名称或使用
/publish-mate触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Auto Publisher 1.0.0 — Initial Release
- Automates fetching news, generating articles with images, and publishing to WordPress or custom CMS platforms.
- Interactive setup guides users through configuration and secure environment variable usage.
- Supports news from RSS and API sources with configurable image sourcing (RSS images, Unsplash, Pexels, Pixabay, or fallback).
- Full publishing pipeline: fetch news, image sourcing, upload to CMS, compose & publish, plus reporting and error handling.
- Includes CLI commands for publishing, setup, preview, status, and config display.
- Supports customizable content templates and advanced usage with individual scripts.
元数据
常见问题
Publish-Mate 是什么?
Fetch global news from RSS/API sources, auto-generate articles with images, and publish to WordPress or custom CMS platforms. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 93 次。
如何安装 Publish-Mate?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install publish-mate」即可一键安装,无需额外配置。
Publish-Mate 是免费的吗?
是的,Publish-Mate 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Publish-Mate 支持哪些平台?
Publish-Mate 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux, win32)。
谁开发了 Publish-Mate?
由 tankeito(@tankeito)开发并维护,当前版本 v1.0.0。
推荐 Skills