csdn-publisher
写文章并发布到 CSDN。使用浏览器自动化 + 扫码登录。支持通过 Telegram 发送二维码,无需 VNC。集成 blog-writer 写作方法论,产出高质量、有个人风格的技术文章。
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/c4chuan/csdn-publisherWhat This Skill Does
The csdn-publisher skill is an advanced automation agent designed to streamline the technical blogging lifecycle for CSDN creators. It leverages browser automation (Playwright) to handle article posting, including complex tasks like QR code-based authentication via Telegram. More than just a bot, it features an integrated "blog-writer" methodology that enforces a professional, high-quality technical writing style through automated style-guide enforcement and content structuring. It automates everything from the first draft to the final hit of the 'Publish' button, ensuring that your technical insights, tutorials, or industry news updates reach your audience without the overhead of manual formatting or browser fiddling.
Installation
To install this skill, run the following command in your terminal:
clawhub install openclaw/skills/skills/c4chuan/csdn-publisher
Ensure your environment has the necessary dependencies installed, specifically Google Chrome and the Playwright Python library. If running on a headless server, configure the OpenClaw browser settings to use headless: true and noSandbox: true in your gateway configuration patch.
Use Cases
- Technical Documentation: Quickly draft and publish complex coding tutorials or API deep-dives with a clean, readable layout.
- Industry News Aggregation: Automate the creation of industry roundups while utilizing the built-in deduplication engine to ensure your feed stays fresh and relevant without repetitive content.
- Personal Branding: Maintain a consistent "technical expert" voice by following the integrated style guide, which emphasizes first-person perspective, short, punchy paragraphs, and actionable insights.
- Workflow Automation: Connect your notes or research material directly to your blog platform without ever needing to copy-paste into the CSDN web editor manually.
Example Prompts
- "帮我写一篇关于 Python 异步编程实践的文章,强调一下踩过的坑,直接发布到 CSDN。"
- "基于我上传的这篇笔记,帮我润色成 CSDN 的技术博文,风格要口语化,像跟朋友聊天一样。"
- "整理过去一周的 AI 行业新闻,去重后生成一篇汇总文章并发布,记得保留原文链接。"
Tips & Limitations
- Login Persistence: The skill uses a QR code scan via Telegram for secure authentication. Ensure your Telegram account is connected to the agent to receive these login prompts.
- Semantic Deduplication: When publishing news, the agent uses a script-based check to verify if similar content has been posted recently. Always verify the output before the final publication step if you are unsure.
- Customization: The writing style is guided by
style-guide-cn.md. You can further influence the output by providing specific examples in theexamples/directory. - Environment Requirements: This skill requires direct internet access and the ability to launch a headless browser. It is not suitable for highly restricted network environments where browser automation is blocked.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-c4chuan-csdn-publisher": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read, external-api, code-execution
Related Skills
meme-collector
自动搜集最新网络热梗并写入 Dify 知识库。用于定期更新热梗数据库,支持去重。触发词:"收集热梗"、"更新热梗"、"热梗入库"、"meme collector"。当用户要求搜集/更新/补充网络热梗到 Dify 知识库时使用此 skill。
idea-storm
工程问题的自动化迭代实验室。给定一个 idea 或工程问题,自动调研方案、设计实现、验证效果、迭代优化,结果存入 Notion。触发词:"idea-storm"、"实验一下"、"帮我验证"、"迭代优化"、"idea 验证"。当用户提出一个工程问题并希望自动化地调研→设计→验证→迭代时使用此 skill。