Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Morningstar202604/awesome-skillkit --skill csdn-publishergit clone --depth 1 https://github.com/Morningstar202604/awesome-skillkitWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/csdn-publisher)<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/csdn-publisher"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/csdn-publisher/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/csdn-publisher"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/csdn-publisher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00021 | $0.01121 |
| Opus 5 | $0.00010 | $0.00561 |
| Sonnet 5 | $0.00004 | $0.00224 |
| Haiku 4.5 | $0.00002 | $0.00112 |
Grade A, and why
csdn-publisher scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- 标准库(`argparse` `json` `os` `sys` `urllib`) How it starts
The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CSDN Publisher
CSDN 博客发布/管理自动化客户端,基于 CSDN Web 端内部接口(无公开 API)。
功能
categories—— 拉取分类列表(用于获取 category_id)draft-save—— 保存草稿,返回 article_idpublish—— 发布草稿edit—— 编辑已发布文章delete—— 删除文章(移至回收站)list—— 列出我的文章
安全设计
- 默认 dry-run:所有写操作(draft-save/publish/edit/delete)默认只打印请求计划,不联网;加
--execute才真正发送。 - 凭据隔离:Cookie 从环境变量
CSDN_COOKIE或--cookie-file读取,绝不写入代码仓库。 - 端点声明:所有端点在
ENDPOINTS常量中集中维护,标注VERIFY BEFORE USE。
使用示例
# 1. 拉取分类(获取 category_id)
export CSDN_COOKIE="your_cookie_here"
python csdn_publisher.py categories --execute
# 2. 保存草稿
python csdn_publisher.py draft-save --execute \
--title "我的新文章" \
--markdown "# 标题\n内容..." \
--brief "文章摘要" \
--category-id "109265" \
--tags "Python,AI" \
--cover-image "https://example.com/cover.png"
# 3. 发布草稿(拿到 draft-save 返回的 article_id)
python csdn_publisher.py publish --execute 123456 \
--title "我的新文章" \
--markdown "# 标题\n内容..." \
--brief "文章摘要" \
--category-id "109265" \
--tags "Python,AI"
# 4. 编辑已发布文章
python csdn_publisher.py edit --execute 123456 \
--markdown-file article.md \
--title "更新后的标题"
# 5. 删除文章
python csdn_publisher.py delete --execute 123456
# 6. 列出我的文章
python csdn_publisher.py list --execute --page 1 --size 20
端点核对(首次使用必做)
CSDN 无公开 API,端点可能随时变更。首次使用前请按以下步骤核对:
- 打开浏览器 DevTools(F12),切到 Network 标签
- 在 blog.csdn.net 登录并执行对应操作(新建草稿/发布/编辑/删除/列表)
- 观察 XHR 请求,确认:
- Request URL 与
ENDPOINTS中对应值一致 - Request Method / Headers / Payload 结构一致
- Request URL 与
- 如有出入,直接修改脚本顶部
ENDPOINTS常量
当前端点(需核对):
- categories:
GET/POST https://blog.csdn.net/api/articles/category/list - draft_save:
POST https://blog.csdn.net/api/articles/save - publish:
POST https://blog.csdn.net/api/articles/publish - edit:
POST https://blog.csdn.net/api/articles/update - delete:
POST https://blog.csdn.net/api/articles/delete - list:
POST https://blog.csdn.net/api/articles/list
认证
Cookie 从环境变量 CSDN_COOKIE 或 --cookie-file 读取。需包含 CSDN 登录态 Cookie(通常包含 uuid_tt_dd、UserIdentity 等字段)。
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 116 lines · 21 tokens per session scan A a43e799e7033
csdn-publisher is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (1 stars, last pushed yesterday), licensed Apache-2.0. It adds 21 tokens to every session and 1,121 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
yao-geo-tracking
Build a company-specific GEO backend tracking plan from a company name plus optional supporting information, using authoritative retrieval anchored on the official website, business-feature recognition, and market-aware GEO monitoring methods, then deliver a direct-vs-indirect attribution design, data model, roadmap…
yao-geo-comparison-builder
A tool for creating evidence-based Chinese brand comparison content for AI search and answer platforms. It compares a target brand with competitors, traditional approaches, or self-built solutions.
yao-geo-explainer-builder
A tool for creating detailed, evidence-based educational articles about a topic for Chinese AI search and answer platforms. It can include explanations, how-to steps, selection guidance, common mistakes, FAQs, and a glossary.
yao-geo-page-audit
Diagnose a website page or small page set for GEO readiness with authoritative public evidence, systematic page analysis, code/content/schema fixes, and four-format Chinese report delivery.
yao-geo-brand-graph
A method for building a brand entity knowledge graph from company information, websites, products, customers, people, places, evidence sources, and use cases. A knowledge graph records entities and the supported relationships between them.
yao-deepseek-crawler
Use when a user provides DeepSeek web AI-search keywords, repeat count, target entity, and entity type, then needs repeated fresh-window crawls aggregated into JSON plus a Kami HTML GEO report. Not for generic website crawling, DeepSeek API chat, SEO writing, or one-off answer generation.