macos-backup-overwrite-only
Use when setting up daily macOS backup that overwrites rather than accumulates.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when setting up daily macOS backup that overwrites rather than accumulates.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Social media account setup guide for AI/developer platforms. Agent prepares all content (bio, avatar, posts) for user to copy-paste, since automation is blocked by Cloudflare/CAPTCHA/React shadow DOM. Supports X/Twitter, Medium, Dev.to, Reddit, LinkedIn.
Fix missing .dylib libraries when brew upgrades break Node.js browser tooling — create symlinks from old version numbers to new.
Auto-detect environment and record terminal/GUI demos for GitHub repos. Supports VHS, asciinema+agg, svg-term, and cua-driver modes. Single-command orchestration layer.
Use when releasing a new open-source project or skill pack on GitHub. Follows the proven exposure playbook from Hermes Core Skills release — covering README, community health, topics, social media, and verification. Ensures every release meets a minimum exposure bar so the project is discoverable, trustworthy, and ready for adoption.
Multi-angle GitHub project discovery using browser + GitHub API + trending, with practical clone/install/absorption workflow
Use when installing any new tool/package from GitHub, Brew, or Cask — includes post-install verification script, automated health check cron, and deliverable report so the user can independently confirm the tool is in active daily use.
| name | macos-backup-overwrite-only |
| description | Use when setting up daily macOS backup that overwrites rather than accumulates. |
Uses macOS native launchd scheduling to daily backup ~/.hermes and directories to a fixed location, overwriting each time without keeping history.
~/Library/LaunchAgents/com.hermes.dailybackup.plist ← launchd schedule
~/.hermes/scripts/backup.sh ← backup script
~/Backups/Hermes-latest/ ← target location (overwrite each time)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.hermes.dailybackup</string>
<key>ProgramArguments</key>
<array>
<string>/path/to/backup.sh</string>
</array>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>0</integer>
<key>Minute</key>
<integer>0</integer>
</dict>
<key>RunAtLoad</key>
<false/>
<key>StandardOutPath</key>
<string>/path/to/log.log</string>
<key>StandardErrorPath</key>
<string>/path/to/log.log</string>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/usr/local/bin:/usr/bin:/bin:/opt/homebrew/bin</string>
</dict>
</dict>
</plist>
#!/bin/bash
# Daily backup, overwrite a fixed location each time
BACKUP_ROOT="/path/to/backup_root"
BACKUP_DIR="${BACKUP_ROOT}/BackupName-latest"
LOG_FILE="${BACKUP_ROOT}/backup.log"
echo "[$(date '+%Y-%m-%d %H:%M:%S')] === Starting Backup ===" >> "$LOG_FILE"
# 1. Clear old backup (overwrite each time)
if [ -d "$BACKUP_DIR" ]; then
rm -rf "$BACKUP_DIR"
fi
# 2. Create directory structure
mkdir -p "${BACKUP_DIR}/subdir"
# 3. rsync backup (exclude large directories)
rsync -a --delete \
--exclude='venv/' \
--exclude='__pycache__/' \
--exclude='node_modules/' \
--exclude='.git/' \
/source/path/ \
"${BACKUP_DIR}/subdir/"
# 4. Log size
DU_SIZE=$(du -sh "$BACKUP_DIR" 2>/dev/null | cut -f1)
echo "[$(date '+%Y-%m-%d %H:%M:%S')] ✅ Backup complete — Size: ${DU_SIZE}" >> "$LOG_FILE"
echo "---" >> "$LOG_FILE"
launchctl unload ~/Library/LaunchAgents/com.hermes.dailybackup.plist 2>/dev/null
launchctl load ~/Library/LaunchAgents/com.hermes.dailybackup.plist
bash /path/to/backup.sh
Check target folder and log.