agentleFS
yangwhaleyangwhale/CloseCrab/skills/cc-pages-backup/SKILL.md

cc-pages-backup

Skill5 starsChanged 3 months agoApache-2.0View on GitHub

CC Pages 增量备份到 GitHub private repo

The file

Files
SKILL.md

CC Pages Backup

将 CC Pages 的 pages/ 和 assets/ 增量同步到 GitHub private repo (yangwhale/my-private)。

触发场景

  • 用户说 "备份 CC Pages" / "sync pages" / "backup pages"
  • 定期维护时主动执行
  • 写了新的重要文档后

使用方法

# 增量同步 + commit + push
~/CloseCrab/skills/cc-pages-backup/scripts/backup-cc-pages.sh

# 先看看会同步什么(不实际执行)
~/CloseCrab/skills/cc-pages-backup/scripts/backup-cc-pages.sh --dry-run

备份范围

目录包含排除
pages/全部 HTML 技术文档无
assets/PNG/JPG/WebP/OGG/MP3/HTML/CSS/JS/PDF/PPTX.pb/.trace.json/.mp4/.m4a/.webm/.zip/.wav/tb-traces/

排除的大文件(性能 trace、视频、ZIP)留在 GCS bucket 不进 GitHub。

依赖

  • gcsfuse mount 在 /home/chrisya/cc-pages-new(挂载 chris-pgp-host-asia bucket 的 cc-pages 子目录)
  • 如果 mount 不在,脚本会报错并给出重新挂载命令

备份目标

  • 本地路径: ~/my-private/cc-pages-backup/
  • GitHub: github.com/yangwhale/my-private → cc-pages-backup/ 目录

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.