Starcat: Skill for Claude Code

.claude/skills/starcat-changelog-cdn-sync/SKILL.md

starcat-changelog-cdn-sync is a skill for Claude Code from starcat-app/Starcat. It costs 118 tokens per session (2,721 once invoked), scanned C, original, MIT.

A workflow for updating changelog files and moving local screenshot images to a content delivery network (CDN), a server that hosts files for fast access. It then replaces local image paths with CDN links and synchronizes four changelog files.

In plain words
What is it for?
It is for processing the newest section of CHANGELOG-ZH.md, uploading its local PNG or WebP screenshots through PicList, updating CDN links, and syncing the related changelogs.
Why use it?
It prevents the same release notes from drifting across language and distribution versions and removes only temporary images that were successfully uploaded.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is starcat-app/Starcat's own configuration. It tells Claude Code how to work on Starcat itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Starcat configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ![alt](./CHANGELOG-ZH/name.png).

Reuse

Borrowing it

Nothing to install: this file belongs to starcat-app/Starcat. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/starcat-app/Starcat/main/.claude/skills/starcat-changelog-cdn-sync/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/starcat-app/Starcat

Made for: Claude Code.

Wrote 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.

agentmods badge for starcat-changelog-cdn-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/starcat-app/starcat/starcat-changelog-cdn-sync/github.svg)](https://agentmods.dev/skills/starcat-app/starcat/starcat-changelog-cdn-sync)
Your own site
<a href="https://agentmods.dev/skills/starcat-app/starcat/starcat-changelog-cdn-sync"><img src="https://agentmods.dev/badge/skills/starcat-app/starcat/starcat-changelog-cdn-sync/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.

agentmods 80×15 button for starcat-changelog-cdn-sync

Your own site · 80×15
<a href="https://agentmods.dev/skills/starcat-app/starcat/starcat-changelog-cdn-sync"><img src="https://agentmods.dev/badge/skills/starcat-app/starcat/starcat-changelog-cdn-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,721 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00118 $0.02721
Opus 5 $0.00059 $0.01360
Sonnet 5 $0.00024 $0.00544
Haiku 4.5 $0.00012 $0.00272

Measured 12d ago against content hash fa650a2e0a13, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade C, and why

starcat-changelog-cdn-sync scanned grade C with 2 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

可选:若目录删空后只剩 `.DS_Store`,可提醒用户,但不要主动 `rm -rf` 整个目录,除非用户明确要求。

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsS http://127.0.0.1:36677/ >/dev/null
.claude/skills/starcat-changelog-cdn-sync/SKILL.md · 242 lines

How it starts

The opening of the file, as written. The whole thing — 242 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Starcat Changelog CDN 同步

以主仓库 CHANGELOG-ZH.md 为唯一编辑源,把「本地临时截图 + 中文条目改动」收口到 四份正式更新日志,并清理临时媒体文件。

四份文件

角色 路径
源(只从此处开始) CHANGELOG-ZH.md
App Store 英文 CHANGELOG.md
Direct 中文 supports/starcat-pro/CHANGELOG-ZH.md
Direct 英文 supports/starcat-pro/CHANGELOG.md

遵守 docs/5-规范/Changelog-更新规范.md:渠道专属条目只留在对应渠道;公共功能四份语义对齐。

硬性边界

  1. 必须等 dong4j 明确触发本 skill / 说「开干」后才改文件;讨论阶段只读。
  2. 作用域只限最新版本段CHANGELOG-ZH.md 里从上往下第一个 ## X.Y.Z(或 ## X.Y.Z-待发布)到下一个 ## 之前;更旧版本一律不动。
  3. 只处理相对路径本地图,形如:
    • ./CHANGELOG-ZH/xxx.png
    • ./CHANGELOG-ZH/xxx.webp
    • ./CHANGELOG/xxx.png(若出现)
  4. 已是 https://cdn.dong4j.site/... 的图不要重复上传,除非用户明确要求换图。
  5. PicList 必须已在跑:内置 Server http://127.0.0.1:36677;当前图床应为腾讯云 tcyun,path source/image/,customUrl https://cdn.dong4j.site
  6. CDN HEAD/GET 返回 200 之前,禁止删除任何本地临时文件
  7. 删除白名单极严(见 Step 5);禁止清空整个目录、禁止删未引用文件、禁止删 CDN 上已有但本次未处理的历史资源。
  8. 不要 git commit / push,除非用户另行要求。
  9. 不要改 supports/starcat-site/direct/changelog*.html,不要跑官网生成脚本。

触发方式

dong4j 通常流程:

  1. 先手改主仓库 CHANGELOG-ZH.md(可含本地 ./CHANGELOG-ZH/*.png 与中文描述改动);
  2. 再调用本 skill(或说「同步 changelog 图到 CDN」)。

Agent 不要在用户未改 ZH 时主动发明截图或条目。

动手前清单(强制)

在改任何文件之前,先在回复里列出:

  1. 将转换 / 上传的本地图路径;
  2. 将替换成的预期 CDN URL(basename 可知时);
  3. 将同步文案的短标题(中 ↔ 英);
  4. 将删除的临时文件(若已能预判);
  5. 将跳过的渠道专属条目。
  • 若本轮用户已明确说「开干 / 改吧 / GO / 动手 / 实施」→ 列出后直接执行,无需再等一轮。
  • 若仅讨论或只说「看看」→ 只列清单,等确认后再改。

前置检查

# PicList 内置 Server
curl -fsS http://127.0.0.1:36677/ >/dev/null

# WebP 转换
which cwebp

# 源文件存在
test -f CHANGELOG-ZH.md

若 PicList 未监听 36677:停下来让用户打开 PicList(启用内置 Server),不要改用其它上传通道, 除非用户明确授权。


Step 1 — 扫描源文件中的本地图

只扫最新版本段(第一个 ## X.Y.Z … 下一 ## 之前),在其中找出:

![alt](./CHANGELOG-ZH/name.png)
![alt](./CHANGELOG-ZH/name.webp)

记录清单:相对路径 → 绝对路径 → 所属短标题(bullet 冒号前)

若没有本地相对路径图,跳过 Step 2–3 的上传,仍可做 Step 4 的文案同步(同样只限最新版本段)。


Step 2 — PNG → WebP

对清单中每个 .png

cwebp -q 80 "CHANGELOG-ZH/foo.png" -o "CHANGELOG-ZH/foo.webp"

Read the full file on GitHub · 242 lines

Changes

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.

  1. 12d ago First seen · 242 lines · 118 tokens per session scan C fa650a2e0a13

Subscribe to this mod's changes

starcat-changelog-cdn-sync is a skill published in the GitHub repository starcat-app/Starcat (165 stars, last pushed today), licensed MIT. It adds 118 tokens to every session and 2,721 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories