Skip to content
Back to skills

Cc Pages Backup

ASecurity

CC Pages 增量备份到 GitHub private repo

  • 5 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 13, 2026
ai-agentsbashgit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 13, 2026

npx -y skills add yangwhale/CloseCrab --skill cc-pages-backup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cc Pages Backup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cc Pages Backup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yangwhale-cc-pages-backup/badge)](https://www.skillsdirectory.com/skills/yangwhale-cc-pages-backup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cc-pages-backup
description: CC Pages 增量备份到 GitHub private repo
trigger: 用户说"备份 CC Pages"、"sync pages"、"backup pages" 时触发
---

# CC Pages Backup

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

## 触发场景

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

## 使用方法

```bash
# 增量同步 + 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/` 目录

Files in this skill

  • SKILL.md1.3 KB
  • scripts/backup-cc-pages.sh1.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.