← Back to Skills Marketplace
Article Publisher
by
phoenix1630
· GitHub ↗
· v1.5.1
· MIT-0
417
Downloads
1
Stars
2
Active Installs
22
Versions
Install in OpenClaw
/install article-publisher
Description
自媒体文章多平台发布工具,支持知乎、Bilibili、百家号、头条号、小红书等平台的一键发布。使用Playwright实现浏览器自动化,支持扫码登录和Cookie持久化。
README (SKILL.md)
Article Publisher - 自媒体文章发布助手
一键发布文章到知乎、Bilibili、百家号、头条号、小红书等平台。
Features
- ✅ 多平台支持 - 知乎、Bilibili、百家号、头条号、小红书
- ✅ 一键发布 - 一次操作,多平台同步
- ✅ 扫码登录 - 安全便捷,无需密码
- ✅ Cookie持久化 - 登录状态自动保存,免重复登录
- ✅ 登录状态检查 - 检查各平台的登录状态
Quick Start
1. 安装依赖
npm install
npx playwright install chromium
2. 登录平台
首次使用需要扫码登录各平台:
请帮我登录知乎
3. 发布文章
帮我发布一篇文章到知乎,标题是"xxx",内容是"xxx"
4. 一键发布到所有平台
把这篇文章发布到所有已登录的平台
Platform Support
| Platform | Login | Features |
|---|---|---|
| 知乎 | QR Code | 标题、内容、封面、标签 |
| Bilibili | QR Code | 标题、内容、封面 |
| 百家号 | QR Code | 标题、内容、封面、摘要、分类、标签 |
| 头条号 | QR Code | 标题、内容、封面、标签 |
| 小红书 | QR Code | 标题、内容、封面、标签 |
Scripts
src/index.ts- 主入口文件src/adapters/*.ts- 各平台适配器src/lib/*.ts- 工具库
Config
- Cookie 自动保存在本地,确保安全和隐私
Commands / Triggers
Use this skill when:
- "发布文章到知乎"
- "帮我发布文章"
- "一键发布到所有平台"
- "检查登录状态"
Security Notes
- Cookie 保存在本地,注意保密
- 定期更新登录状态
- 不要分享账号配置文件
Troubleshooting
Login timeout
- Check network connection
- Manually visit the platform website
- Re-run and scan QR code again
Publish failed
- Check article content format
- View browser window for error details
Playwright errors
npm install playwright
npx playwright install chromium
Ready to automate your article publishing? Let's go! 🚀
Usage Guidance
This package appears to be what it says: a Playwright-based publisher that automates a real browser. Before installing, consider:
- It will require running 'npm install' and 'npx playwright install chromium', which will download Playwright and a Chromium binary. Use a network/host you trust.
- The tool drives a browser and will persist login cookies locally via its CookieManager. Treat the cookie files as sensitive (don't share them). If you are uncomfortable, review the cookie-manager implementation to see where cookies are stored and consider storing them in a secure location.
- When uploading cover images the code uses local file paths (setInputFiles). The skill will read any file paths you provide—do not supply files you consider sensitive.
- Because the skill automates your browser sessions, avoid running it with accounts holding high-value data unless you audit the code fully and/or use a disposable account or isolated environment.
- The repository has no external or obfuscated download links in the provided files, but you should still inspect the full code (especially cookie-manager and auto-install modules) before trusting production credentials.
If you want extra caution: run it in a VM/container or with a throwaway account first, or inspect/modify the code to change cookie storage behavior.
Capability Analysis
Type: OpenClaw Skill
Name: article-publisher
Version: 1.5.1
The article-publisher skill is a legitimate browser automation tool designed to help users publish content to multiple Chinese social media platforms (Zhihu, Bilibili, etc.) using Playwright. It manages authentication by allowing users to scan QR codes and then persists session cookies locally in the 'data/cookies' directory for future use. The code logic is focused entirely on DOM interaction for article submission, and no evidence of data exfiltration, unauthorized remote execution, or malicious prompt injection was found.
Capability Assessment
Purpose & Capability
The name/description (multi-platform article publishing via Playwright) matches the provided code and README: adapters for Zhihu, Bilibili, Toutiao, Baijiahao, Xiaohongshu; browser automation logic; cookie management. There are no unrelated requested credentials, binaries, or config paths.
Instruction Scope
SKILL.md instructs user/agent to run npm install and 'npx playwright install chromium' and to perform QR code login. The runtime code manipulates page DOM, clicks buttons, uploads local files (cover images), and saves cookies locally. These behaviors are within the stated purpose, but they do mean the skill will access local files (images provided by the user) and persist authentication cookies on disk—both are sensitive operations that are, however, expected for a browser automation publisher.
Install Mechanism
No opaque remote download URLs are embedded in the registry metadata or SKILL.md. package.json depends on the official 'playwright' npm package and includes standard 'npx playwright install' commands (with an optional mirror override in scripts). This is a normal install flow for Playwright and not an arbitrary archive download from a personal server.
Credentials
The skill declares no required environment variables or external credentials. It operates via QR login and cookie persistence, which is appropriate. There are no unexpected SECRET/TOKEN env var requests in metadata. The main sensitivity is cookies and any local files the user supplies (cover images).
Persistence & Privilege
The skill is not force‑always included and uses normal autonomous invocation settings. It persists cookies locally (CookieManager usage visible in code), which is expected for reusing login sessions but is a form of local persistence — it does not request or modify other skills' configurations.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install article-publisher - After installation, invoke the skill by name or use
/article-publisher - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.5.1
- Removed mention of cover image limitations in the documentation.
- No changes to publishing logic or platform support.
v1.4.3
- 更新依赖版本(package.json)。
- 其他功能和文档保持不变。
v1.6.0
- Removed index.js file.
- Updated package.json.
- No changes to feature list or documentation.
v1.5.0
**Initial release with JavaScript entry point.**
- Added a new JavaScript main file (`index.js`).
- Updated configuration (`package.json`) to integrate the new entry point.
- No changes to features or documentation content.
v1.4.2
- Added new utility modules: auto-install, base-adapter, browser-manager, config, and cookie-manager.
- Enhanced code structure by introducing separate files for core library functions.
- Improved maintainability and separation of concerns within the project.
v1.4.1
- Added package.json file to the project.
- Initializes Node.js package management and prepares for dependency management and future development.
v1.4.0
**Major refactor and restructuring for improved multi-platform publishing**
- Migrated codebase to TypeScript, reorganized into structured adapters and modules per platform
- Added individual adapters for Zhihu, Bilibili, Baijiahao, Toutiao, and Xiaohongshu
- Introduced a new entry point (`src/index.ts`) and unified type definitions
- Updated documentation for clarity and added troubleshooting and usage sections
- Removed legacy files (`index.js`, `package.json`) in favor of the new TypeScript-powered structure
v1.3.1
- Improved SKILL.md documentation for clarity and easier setup.
- Updated installation instructions, removing duplicate and outdated guidance.
- Noted that cover images now only support local file paths, not URLs.
- Bumped version to 1.3.1.
v1.3.0
- Bumped version to 1.3.0.
- Updated documentation (SKILL.md) to reflect recent changes.
- No major new features or breaking changes noted.
v1.2.9
- Cleaned up the project by removing README.md, install.sh, test-login.js, and test-publish.js.
- SKILL.md updated to version 1.2.9 with no functional or documentation changes.
v1.2.8
- Removed deprecated and backup files related to cover image handling.
- Updated documentation in SKILL.md with no functional changes.
- Cleaned up the codebase by deleting 3 unused files.
v1.2.7
- Added backup files for cover image handling in the 失效备份 directory.
- Updated core files: index.js and test-publish.js.
- Bumped version to 1.2.7.
v1.2.6
- Bumped version to 1.2.6.
- Documentation updates in SKILL.md.
- Minor code or test improvements (see index.js, test-publish.js for details).
v1.2.5
- Bump version to 1.2.5 in SKILL.md.
- No other changes beyond version update.
v1.2.4
- 修改首次依赖安装说明,需用户手动执行安装命令
- 新增“安装依赖”章节,提供具体 npm 及 Playwright 安装命令
- 精简和更新安全说明内容
- 移除关于自动依赖安装及相关安全警告的描述
v1.2.3
- Added a license field (GPL-3.0) to SKILL.md.
- Updated version to 1.2.3.
v1.2.2
- Bumped version to 1.2.2.
- Updated dependencies in package.json.
- Made internal code and test enhancements in index.js, lib/cover-image.js, test-login.js, and test-publish.js.
- Minor updates to documentation in SKILL.md.
- Adjusted install.sh for improved installation process.
v1.2.1
- 移除了 release 目录及其下所有相关辅助和测试文件,精简了项目结构
- 保留和更新了核心文档 SKILL.md,不影响主要功能
- 无新增功能或用户界面变更
v1.2.0
- Major refactor: codebase restructured and build output simplified.
- Replaced previous dist/ and type files with a new, lighter lib/ and release/ structure.
- Added install, login, and publishing test scripts for easier setup and verification.
- Clarified privacy and local data storage in documentation.
- Reduced file count for easier maintenance and better performance.
v1.1.2
- Added a "安全说明" section to clarify normal security warnings related to shell and dynamic code execution.
- Clearly stated that the tool does not execute arbitrary user input, upload data to third parties, or contain malicious code.
- No changes to core functionality; update is documentation only.
Metadata
Frequently Asked Questions
What is Article Publisher?
自媒体文章多平台发布工具,支持知乎、Bilibili、百家号、头条号、小红书等平台的一键发布。使用Playwright实现浏览器自动化,支持扫码登录和Cookie持久化。 It is an AI Agent Skill for Claude Code / OpenClaw, with 417 downloads so far.
How do I install Article Publisher?
Run "/install article-publisher" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Article Publisher free?
Yes, Article Publisher is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Article Publisher support?
Article Publisher is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Article Publisher?
It is built and maintained by phoenix1630 (@phoenix1630); the current version is v1.5.1.
More Skills