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 chenyuxiaojin/xiaochen-skills --skill cyxj-blog-pubgit clone --depth 1 https://github.com/chenyuxiaojin/xiaochen-skillsWrote 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/chenyuxiaojin/xiaochen-skills/cyxj-blog-pub)<a href="https://agentmods.dev/skills/chenyuxiaojin/xiaochen-skills/cyxj-blog-pub"><img src="https://agentmods.dev/badge/skills/chenyuxiaojin/xiaochen-skills/cyxj-blog-pub/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/chenyuxiaojin/xiaochen-skills/cyxj-blog-pub"><img src="https://agentmods.dev/badge/skills/chenyuxiaojin/xiaochen-skills/cyxj-blog-pub.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.00099 | $0.01086 |
| Opus 5 | $0.00049 | $0.00543 |
| Sonnet 5 | $0.00020 | $0.00217 |
| Haiku 4.5 | $0.00010 | $0.00109 |
Grade A, and why
cyxj-blog-pub scanned grade A with 0 findings 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 12d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
cyxj-blog-pub — Astro 博客发布
把一篇成稿文章发到博客站点。只做博客这一个平台,不要顺手发别处。
前置检查
- 博客仓库路径读环境变量
CYXJ_BLOG_REPO;未设置则回退~/项目/服务器/server-config/blog/,并向用户确认。 - 后文所有
$CYXJ_BLOG_REPO都指这个路径。
何时用
- 用户说「发到博客」「发个博客」并指明(或已存在)一篇文章
- 文章源通常是 Obsidian
$CYXJ_VAULT_BASE/待发布/的成稿(未设置CYXJ_VAULT_BASE时按~/obsidian/灵感库兜底,并向用户确认),或刚由cyxj-transcript产出的草稿
前置:文章已成文。还是逐字稿先走 /cyxj-transcript。
项目坐标(来自内容创作 CLAUDE.md)
| 项 | 值 |
|---|---|
| 博客项目 | $CYXJ_BLOG_REPO(见「前置检查」) |
| 文章目录 | src/content/posts/(文件名 kebab-case) |
| 图片 | 全部用图床公网 URL,禁止本地路径进正文 |
| 部署 | 进入 $CYXJ_BLOG_REPO 后先定位 package.json 所在目录再跑 pnpm build;build 后确认 dist/ 实际位置再拷贝 → bash deploy.sh blog |
frontmatter 规范
---
title: <文章标题> # 必填
description: <一句话摘要> # 必填
pubDate: <YYYY-MM-DD> # 必填
tags: [<可选>] # 可选
image: <封面图床 URL> # 可选
draft: false # 可选;true 则不发布
---
发布前校验三个必填项齐全:title/pubDate 可据稿推断后向用户确认;description 缺失必须问用户。
工作流
- 取稿:Read 文章源(路径不明就在
$CYXJ_VAULT_BASE/待发布/搜或问用户)。 - 定文件名:英文 kebab-case,如
claude-code-for-non-coders.md。 - 处理图片(关键红线):正文里所有图片必须是图床 URL。
- 本地图 → 先传图床(
img.xiaochens.com,Lsky Pro,见内容创作 CLAUDE.md「图床操作参考」),拿到公网 URL 再写进正文。 - 若读不到图床操作参考或缺少凭据,必须停下向用户要上传方式;绝不允许跳过图床直接用本地路径发布。
- 绝不把本地图片路径写进博客正文。
- 本地图 → 先传图床(
- 写 post:先检查目标
$CYXJ_BLOG_REPO/src/content/posts/<kebab>.md是否已存在,存在则停下确认是否覆盖;再组装 frontmatter + 正文写入。 - 构建 + 部署(动手前向用户确认要不要立即上线):
- 进入
$CYXJ_BLOG_REPO后先定位package.json所在目录,在那里跑pnpm build。 - build 完成后用
ls确认dist/的实际位置,再执行拷贝(如cp -r dist/* landing/);拷贝目标不确定时停下问用户。 - 最后
bash deploy.sh blog。
- 进入
- 报告:给出文章路径 + 部署结果;失败就贴报错原文,别说「成功了」。
红线
- 只发博客这一个平台,不默认走多平台。
- 正文图片只用图床 URL。
- 不臆造 frontmatter:title/pubDate 可据稿推断后向用户确认;description 缺失必须问用户。
- 部署是对外动作——
pnpm build之后、推上线之前,先跟用户确认一次。
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.
- 12d ago First seen · 72 lines · 99 tokens per session scan A 28a5c4e42af5
cyxj-blog-pub is a skill published in the GitHub repository chenyuxiaojin/xiaochen-skills (6 stars, last pushed 8d ago), licensed MIT. It adds 99 tokens to every session and 1,086 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
quick
Quick planning — single-response plans with no ceremony. Auto-detects intent or accepts explicit mode. /quick — auto-detect (build, research, fix, design, spec) /quick eng — lightweight implementation plan /quick spec — lightweight requirements /quick design — lightweight UI/UX plan /quick research — lightweight…
tldraw-canvas
Create interactive visual canvases using TLDraw React SDK. Generates mind maps, content plans, pipeline visualizations, and brainstorming boards.
top-design
Create award-winning, immersive web experiences at the level of Awwwards-featured agencies. Use when the user mentions "Awwwards quality", "make my site stunning", "scroll animations", "parallax storytelling", "cinematic web design", "portfolio site", or "brand experience". Also trigger when elevating a standard…
create-site
Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…
live-preview
Mid-build visual verification loop. Takes screenshots of components during construction, not just after. Catches visual regressions and invisible features before they compound. Requires Playwright or similar screenshot tool.
shiny-bslib
Build modern Shiny dashboards and applications using bslib (Bootstrap 5). Use when creating new Shiny apps, modernizing legacy apps (fluidPage, fluidRow/column, tabsetPanel, wellPanel, shinythemes), or working with bslib page layouts, grid systems, cards, value boxes, navigation, sidebars, filling layouts, theming…