Csdn Article Publish

csdn blog article publish skills,CSDN博客文章生成与发布技能。实现CSDN博客网站的文章的创建、保存草稿、更新和发布。适用场景:(1) 用户请求"帮我写一篇XX文章,保存到CSDN" (2) 用户请求"更新我CSDN上的某篇文章" (3) 用户请求"发布我的CSDN文章" 时调用此技能

43 stars 6 forksWriting & Content

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add wuchubuzai2018/expert-skills-hub --skill csdn-article-publish
Manual install
git clone --depth 1 https://github.com/wuchubuzai2018/expert-skills-hub.git /tmp/expert-skills-hub
mkdir -p ~/.claude/skills
cp -r /tmp/expert-skills-hub/skills/csdn-article-publish ~/.claude/skills/csdn-article-publish

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# CSDN Blog Article Publish Skills

## 技能概述

- 支持读取指定目录下的 Markdown 文件内容,并将其保存为 CSDN 草稿
- 生成 Markdown 文章并保存到本地文件
- 保存 Markdown 文章为 CSDN 草稿
- 支持本地前置校验,在请求发送前检查配置缺项、标题、标签数量、摘要长度、发布必填项等问题
- 自动维护本地文章映射文件 `csdn_article_map.json`,记录 `file -> articleId -> url`
- 根据文章 ID 或已保存过的 Markdown 文件更新文章
- 发布文章(需额外字段)

## ⚠️ 重要注意事项

- **防限流**:CSDN 有接口限流机制,请勿频繁调用 API
- **建议操作**:
  - 单次保存/更新操作间隔至少 5-10 秒
  - 每天保存/更新文章数量建议不超过5篇
  - 批量操作时适当增加间隔时间
  - 优先使用草稿状态,确认无误后再发布

## 使用流程

### 步骤 1:配置请求头

判断当前目录下是否存在 `csdn_config.json` 文件,若文件不存在请复制 `config/config_example.json`到工作目录下,并重命名为 `csdn_config.json`,文件需要根据示例文档让用户进行更改,填写请求头信息: [config_example.json](config/config_example.json)

#### 获取请求头方法

1. 登录 CSDN 并打开 https://editor.csdn.net/md/ Markdown风格的文章编辑器
2. 填写标题和内容,点击保存为草稿
3. 打开浏览器开发者工具(F12)
4. 切换到 Network(网络)标签
5. 找到 `saveArticle` 请求,右键 → Copy → Copy as cURL
6. 从 curl 命令中提取以下请求头:
   - `Cookie`: 用户登录Cookie
   - `x-ca-nonce`: 请求唯一标识(UUID)
   - `x-ca-signature`: 签名
   - `x-ca-signature-headers`: 签名头列表
   - `x-ca-key`: API Key

#### 配置文件格式

```json
{
  "headers": {
    "Cookie": "用户Cookie",
    "x-ca-nonce": "UUID",
    "x-ca-signature": "签名",
    "x-ca-signature-headers": "x-ca-key,x-ca-nonce",
    "x-ca-key": "API Key"
  },
  "defaults": {
    "readType": "public",
    "type": "original",
    "pubStatus": "draft",
    "creation_statement": 0,
    "tags": "",
    "categories": ""
  }
}
```

详细字段说明见 [config_example.json](config/config_example.json)

脚本会在发送请求前先做本地校验:
- 检查必需请求头是否缺失或仍是示例值
- 检查 Cookie 是否明显不完整
Read the full skill on GitHub

Details

Skill name
csdn-article-publish
Path
skills/csdn-article-publish/SKILL.md
Repo updated
7 November 2026

FAQ

What does the Csdn Article Publish skill do?

csdn blog article publish skills,CSDN博客文章生成与发布技能。实现CSDN博客网站的文章的创建、保存草稿、更新和发布。适用场景:(1) 用户请求"帮我写一篇XX文章,保存到CSDN" (2) 用户请求"更新我CSDN上的某篇文章" (3) 用户请求"发布我的CSDN文章" 时调用此技能

How do I install the Csdn Article Publish skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add wuchubuzai2018/expert-skills-hub --skill csdn-article-publish. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Csdn Article Publish popular?

It lives in wuchubuzai2018/expert-skills-hub, which has 43 GitHub stars and 6 forks.

Related skills

Apiyi Gpt Image 2 All Gen

43

wuchubuzai2018/expert-skills-hub

AI图片生成技能,使用ChatGPT最新生图 gpt-image-2-all,当用户需要生成图片、视觉信息图、创建图像、编辑/修改/调整已有图片时使用此技能。基于API易平台(https://api.apiyi.com/)的ChatGPT最新生图gpt-image-2-all模型(gpt-image-2-all)的图片生成服务,无需访问外网。该模型以 $0.03/张 按次计费,支持文生图、单图编辑、多图融合、自然语言改图,文字还原度高、中文提示词友好。尺寸通过prompt描述控制(无显式size参数)与NanoBanana2不同的关键点:无size参数,需在prompt开头描述尺寸;统一$0.03/张无分辨率阶梯;使用对话式端点/v1/chat/completions为主推。

Images, Video & Audio

Apiyi Gpt Image 2 Gen

43

wuchubuzai2018/expert-skills-hub

图片生成技能,当用户需要生成图片、视觉信息图、创建图像、编辑/修改/调整已有图片时使用此技能。基于API易平台(https://api.apiyi.com/)的ChatGPT Image 2模型(gpt-image-2)的官方正式版图片生成服务。该模型支持精确的尺寸/画质控制(含4K),按token计费。与gpt-image-2-all(官逆版)不同的关键点:使用/v1/images/generations和/v1/images/edits端点;有显式size参数;有quality参数;按token计费;使用multipart/form-data上传参考图;b64_json为纯base64无前缀。

Images, Video & Audio

Baidu Milan Winter Olympics 2026

43

wuchubuzai2018/expert-skills-hub

获取2026年米兰冬奥会数据技能,包括奖牌榜排名、现场新闻报道和赛程安排。从百度体育网页抓取实时的奖牌排行榜信息、最新新闻资讯和比赛赛程。当用户需要获取米兰冬奥会需求,需要查询冬奥会奖牌榜、了解各国奖牌数量、获取现场新闻、查看赛程安排时使用此技能。能够根据指定时间(今天、明天、yyyy-MM-dd日期格式)或指定运动项目获取赛程安排。A skill for retrieving 2026 Milan Winter Olympics data, including medal standings, live news reports, and competition schedules. Scrapes real-time medal rankings, latest news, and match schedules from Baidu Sports. Use this skill when users need to query Winter Olympics medal standings, check medal counts by country, get live news, or view competition schedules.

Data & Analytics

En Ru Translator Adv

35

miolamio/claude-skills

Professional English to Russian translation agent with three-step agentic workflow (translate, reflect, refine) and advanced editorial checks for technical documentation. Use when user asks to translate text from English to Russian, says "переведи на русский", "translate to Russian", "перевод с английского", "EN-RU", or provides English text requesting Russian translation. Handles technical documentation, marketing materials, UI strings, articles, educational content. Produces natural, idiomatic Russian that reads as if originally written by a native speaker. Enforces list parallelism, consist

Writing & Content

Secret Handling

45

Azure-Samples/agent-skills-dotnet-demo

Never read .env files or write secrets to .squad/ committed files

Writing & Content11

Haizei Okr Writing

43

wuchubuzai2018/expert-skills-hub

OKR 目标与举措撰写及润色技能。当用户需要编写季度 OKR、SMART 目标、PDCA 举措、个人行为描述,或要求将汇报话术改得更实在、更像本人表达时使用。适用于 AI 研发、产品、平台集成和代码质量等工作场景。

Writing & Content

Browse the most popular Claude skills, all writing & content skills, or write your own with the skills generator.