[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CANH5XDHM8Q8MWN4R4ZJ9M":3,"skill-same:01M6CANH5XDHM8Q8MWN4R4ZJ9M":90},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":17,"categories":18,"keywords":29,"publishedAt":57,"linkOnly":58,"markdownContent":59,"markdownBody":60,"frontMatter":61,"refName":63,"commitSha":64,"skillDirectory":65,"forksCount":66,"repositoryHtmlUrl":67,"repositoryHomepageUrl":13,"ownerHtmlUrl":68,"ownerBlogUrl":13,"ownerDescription":13,"updatedAt":69,"install":70,"resources":83},"01M6CANH5XDHM8Q8MWN4R4ZJ9M","home-config-backup-audit","Mac备份作业泄露审计","Audit ALL home\u002F~\u002Fbackup\u002Fsync\u002Fsnapshot-related jobs + scripts on a Mac for any that push personal home-dir content to PUBLIC GitHub repos. Trigger when a backup\u002F leak is found in a public repo, when the user says \"double check all the backup jobs\", or when any cron-driven backup is added\u002Fchanged. Use after fixing one backup leak to catch sibling landmines in the same fleet.","审查 Mac 上所有与 home\u002F~\u002Fbackup\u002Fsync\u002Fsnapshot 相关的作业和脚本，查找是否有将个人主目录内容推送到公开 GitHub 仓库的情况。当在公开仓库中发现备份\u002F泄露、用户说「再次检查所有备份作业」，或添加\u002F更改任何 cron 驱动的备份时触发。在修复一处备份泄露后使用，以排查同一批次中其他潜藏的隐患。","jleechanorg\u002Fjleechan-skills","jleechanorg","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F221404966?v=4","01M6C1VJ99XG950X1DWPEBCBGX",null,"01M6C1VJDK5YVDNT3362RT5WSB",6,"MIT","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fsecurity\u002Fhome-config-backup-audit\u002FSKILL.md",[19,24],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师","PROFESSION","适用职业",{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BSSTY86MWS6W5GDQWB1ADQ","备份与灾难恢复","SCENARIO","使用场景",[30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56],"home","config","home config backup audit","audit","backup","public","when","catch","fleet","scripts","double check","public-repo","launchd","use","snapshot","check","repo","personal","cron","data-leak","data","push","git","repos","sync","security","github","2026-11-10 10:12:30",false,"---\nname: home-config-backup-audit\ndescription: Audit ALL home\u002F~\u002Fbackup\u002Fsync\u002Fsnapshot-related jobs + scripts on a Mac for any that push personal home-dir content to PUBLIC GitHub repos. Trigger when a backup\u002F leak is found in a public repo, when the user says \"double check all the backup jobs\", or when any cron-driven backup is added\u002Fchanged. Use after fixing one backup leak to catch sibling landmines in the same fleet.\ntags: [security, git, github, launchd, data-leak, public-repo, backup, audit, cron]\n---\n\n# Home-config backup audit (fleet-wide sibling scan)\n\nWhen one backup\u002F sync leaks personal home-dir content to a public repo, there are\nusually **sibling landmines** nearby — other crons that haven't leaked *yet* but use\nthe same anti-pattern (rsync ~\u002F \u003Csomewhere> + git add + git push origin main).\nThis skill catches them before they leak.\n\nVerified 2026-07-15 against `$HOME\u002F`: after fixing the\n`org.$USER.user-scope-backup` leak, this audit flagged\n`ai.hermes.schedule.cron-backup-sync` (latent landmine — bash-bug currently masks it),\n4 dormant scripts (`backup-hermes-full.sh`, `backup-openclaw-full.sh`, etc.) wired to\nan uninstalled launchd job, and the `daily-repo-export` pipeline that calls\nauto-push-to-main.sh.\n\n## When to use this skill\n\n- A backup\u002F leak was just fixed. **Run this skill BEFORE declaring done.**\n- User says \"double check all the backup jobs\", \"audit all the crons\", \"any other\n  push to public repos?\", \"what else is leaking?\".\n- A new home-config backup script is added anywhere on disk.\n- Periodic security sweep (monthly or on cron-bundle changes).\n\n## Audit surface — every place a home-config backup could leak\n\nThere are **5 surfaces** a backup cron can push from. Each needs its own probe:\n\n### Surface 1: Loaded launchd jobs\n```bash\nlaunchctl list | grep -iE \"backup|home-config|user-scope|conversation-backup|di[REDACTED_OPENAI_KEY]|cron-backup|qdrant-backup|snapshot|home\\\\.sh\"\n```\nFor each hit, read the plist + identify the script: `plutil -convert xml1 -o - \u003Cplist>`.\n\n### Surface 2: System crontab\n```bash\ncrontab -l\n```\nLook for any line referencing `backup`, `home-config`, `user-scope`, or any\n`rsync`\u002F`tar` followed by `git push`.\n\n### Surface 3: Dormant launchd plists\n```bash\nls ~\u002FLibrary\u002FLaunchAgents\u002F | grep -iE \"backup|home-config|user-scope|snapshot\"\n```\nFilter for `.plist` (active) AND `.plist.disabled*` (dormant but on disk). The\ndormant ones are landmines: a single `launchctl load` re-enables them.\n\n### Surface 4: Shell scripts with backup + push logic\n```bash\n# Scripts that have BOTH a push AND a ~\u002F backup\ngrep -l \"git push\" ~\u002Fscripts\u002F*.sh ~\u002Fprojects_other\u002F*\u002Fscripts\u002F*.sh ~\u002F.hermes\u002Fscripts\u002F*.sh 2>\u002Fdev\u002Fnull | while read f; do\n  if grep -qE \"backup\u002F|\u002Fbackup|home-config|user_scope|~\u002F\" \"$f\"; then\n    echo \"$f\"\n  fi\ndone\n```\n**Skip intentional per-repo wrappers**: `push.sh`, `sync_branch.sh`,\n`integrate.sh`, `commit-pending.sh`, `auto-push-to-main.sh`,\n`consolidate-*-snapshots.sh`. Those are repo-local, not home-config backup.\n\n### Surface 5: Each backup script's target repo privacy\nFor every backup-push script found, trace:\n- `REPO_ROOT` in the script = where it `cd`s before `git push`\n- The git remote of that path: `git -C \u003CREPO_ROOT> remote -v`\n- **Public repos** (jleechanorg\u002F* are mostly public by default) → red flag\n- **Private repos** (org\u002Frepo, or private fork) → review contents\n\n## Per-job audit checklist\n\nFor each launchd-loaded suspicious job:\n\n1. **What script does it run?** `plutil -convert xml1 -o - \u003Cplist>` →\n   extract the program argument.\n\n2. **What does the script write?** Grep for `rsync`, `cp`, `>`, `tee`, etc.\n   - If it writes only to `~\u002F\u003Csomething>` and\u002For Dropbox\u002F`\u002FVolumes` → local\n   - If it writes to `$REPO_ROOT\u002Fbackup\u002F...` and then `git add && git push` → red flag\n\n3. **Where does it push?** Grep for `git push`, `gh repo`, `hub api`:\n   - `git push origin main` → check `git -C \u003CREPO_ROOT> remote get-url origin`\n   - Look for `HEAD:refs\u002Fheads\u002F...` (custom refspec), worktree-based pushes,\n     `--force-with-lease`, `--no-verify` (hint that hook was bypassed)\n\n4. **What content does it include?** Sample the JSON\u002FMD\u002Ftext output:\n   - Just metadata (cron IDs, names, schedules) → low risk\n   - Source code, configs, dots (claude\u002F, openclaw\u002F) → high risk\n\n5. **Is the push step guarded?** Look for:\n   - `ALLOW_GIT_BACKUP_PUSH=0` env var (script-level guard) ✓\n   - `if [[ \"$REMOTE\" == *github.com\u002Fjleechanorg* ]]; then skip` (caller-side) ✓\n   - Pre-push hook checking `^backup\u002F` paths (filesystem-level guard) ✓\n   - `git add -f` to override .gitignore (sign it's bypassing safety) ?\n   - `--no-verify` on push (sign hook is being skipped) ?\n\n6. **Is the script currently broken?** `set -e` + bash syntax error = push\n   silently never runs. **Latent risk**: fixing the bug without removing the\n   push resumes the leak. Probe by reading the .err.log.\n\n7. **Is it actually loaded?** Cross-check `launchctl list` (active) vs. the\n   `.plist` file existing. A plist can exist without being loaded.\n\n## Common sibling anti-patterns\n\nThese appear in ANY home-config backup script on the user's fleet:\n\n| Anti-pattern | Risk | Where seen |\n|---|---|---|\n| `rsync -a ~\u002F $REPO\u002Fbackup\u002F\u003Chost>\u002F` + `git add backup\u002F && git push origin main` | **Catastrophic** — direct home-dir push to public repo | backup-home.sh, backup-hermes-full.sh, backup-openclaw-full.sh |\n| `git add -f backup\u002F` to bypass `.gitignore` | **Critical** — same pattern as catostrophic, just hidden | backup-home.sh originally |\n| `git commit \"backup: ...\" && git push` in cron | **High** — automated pushes with no human review | backup-home.sh, di[REDACTED_OPENAI_KEY] snapshot |\n| `command not found` errors in stderr but commit succeeds elsewhere | **Latent** — broken script masked the leak for months | cron-backup-sync.sh (bash bug since 2026-05-18) |\n| Di[REDACTED_OPENAI_KEY] style: script with caller-output vs default-push branch | **Moderate** — depends on which branch is taken | disk_magician.sh line 285 |\n| Cron schedule uses 4h\u002F2h cadence (StartInterval \u003C14400) | **High** — leak rate matches schedule | backup-home.sh, daily-repo-export 24h |\n\n## Audit outcome — what to fix vs what to report\n\nFor each finding, classify:\n- **FIX**: Push to public of private content. Stop it now.\n- **REPORT**: Push to public of metadata. User decision: kill it or accept the leak.\n- **DEFEND**: Push to public of nothing relevant. Add pre-push hook, watchdog.\n- **IGNORE**: Local-only. No action.\n\n**Default for ambiguous metadata-push-to-public cases**: REPORT, don't auto-fix.\nReason: past session showed user-preference is \"I want local backup, not in claude-commands\"\n— which means they want to keep the cron running. Killing it without consent\nleads to \"I think you got it backwards\" corrections.\n\n## Recurring-pipeline check (the 6th surface)\n\nEven if you audit all the cron jobs, there's a **6th place** a backup can leak:\nscripts that *call* backup scripts, e.g.\n`$HOME\u002F.worktrees\u002Fjleechanclaw\u002Fwatchdog-20min\u002Fscripts\u002Fstandard_ao_jobs.py`.\nThat file's `default_jobs()` calls `backup-home.sh --prepare-only` on the\n`user-scope` repo. Even though the wrapper's own `git add -u` doesn't stage\nnew backup\u002F paths, the underlying `backup-home.sh` does. So if\n`backup-home.sh`'s git-commit step is re-enabled, this pipeline ALSO pushes.\n\n**Probe for it**:\n```bash\n# Find scripts that invoke known backup scripts\ngrep -lE \"backup-home|backup-hermes|backup-openclaw|backup-smartclaw|disk_magician\" \\\n  $HOME\u002Fscripts\u002F*.sh $HOME\u002F.worktrees\u002F*\u002Fscripts\u002F*.sh 2>\u002Fdev\u002Fnull\n```\nFor each match, read the call site — does it pass flags that disable the\npush step (`--prepare-only` was a phantom flag in 2026-07-15;\n`backup-home.sh` only knows `--dry-run` and no-args)?\n\n## Verification recipe after fixes\n\nOnce you've patched plist env vars, scripts, or gitignores:\n\n```bash\n# 1. Re-list ALL backup jobs (sanity)\nlaunchctl list | grep -iE \"backup|home-config|user-scope|snapshot\"\n\n# 2. For each impacted script, do a dry-run if it has one\n~\u002Fprojects_other\u002Fuser_scope\u002Fscripts\u002Fbackup-home.sh --dry-run 2>&1 | grep -E \"Skipping|push|origin\" | head -5\n\n# 3. Verify env actually loaded\nlaunchctl print gui\u002F$(id -u)\u002F\u003Clabel> | grep ALLOW_GIT_BACKUP_PUSH\n\n# 4. Force a tick and check the log\nlaunchctl kickstart -k gui\u002F$(id -u)\u002F\u003Clabel>\nsleep 5\ntail -20 ~\u002FLibrary\u002FLogs\u002F\u003Clabel>.launchd.log | grep -E \"git|dropbox|SUCCESS|skip\"\n\n# 5. Run the watchdog at least once to confirm it doesn't false-alarm\n~\u002Fscripts\u002Fuser-scope-backup-watchdog.sh\ntail -3 ~\u002FLibrary\u002FLogs\u002Fuser-scope-backup-disable-watchdog.log\n```\n\n## Pitfalls\n\n1. **One bad launchd job often masks sibling latent risk.** The fix you do for\n   the known leak may turn a dormant sibling into the next leak. Always run\n   this audit AFTER fixing any backup incident, not before.\n\n2. **A plist file existing ≠ loaded.** Many repos leave `.plist.template` and\n   even `.plist` files around that aren't loaded. `launchctl list` is the only\n   reliable source of truth for what's actually scheduled.\n\n3. **`set -e` + bash error = silent non-execution.** If a script has been\n   \"running\" daily for months with no successful push, suspect `set -e` is\n   bailing out before the push step. Fix the bash bug only AFTER you've\n   removed the push-to-public step — otherwise you re-leak.\n\n4. **The `daily-repo-export` pipeline runs `auto-push-to-main.sh` for\n   `llm-wiki`, `roadmap`, AND `user-scope`.** `user-scope`'s remote is\n   `jleechanorg\u002Fclaude-commands` — a SECOND fork of `user_scope` is pushing\n   to the same PUBLIC repo. `auto-push-to-main.sh` uses `git add -u` so it\n   won't pick up new backup\u002F files, but if any of those repos already have\n   backup\u002F tracked, it's game over.\n\n5. **Don't grep only the obvious cron names.** `backup`, `home-config`,\n   `user-scope`, `snapshot` are the obvious ones. Also grep for:\n   `crontab-backup`, `cron-backup-sync`, `disk_snapshot`, `home.sh`,\n   `home-config`. Use multiple greps and union them.\n\n6. **Dormant scripts still have `git push` lines.** Even if not scheduled,\n   a future `install-hermes-backup-jobs.sh` run wires them up. Treat the\n   script's `git push origin main` as a latent risk to flag, not an active\n   one to ignore.\n\n## Provenance\n\n- **Date:** 2026-07-15T21:00Z\n- **Affected fleet:** `$HOME\u002F.hermes`, `$HOME\u002Fprojects_other\u002F{user_scope,jleechanbrain,openclaw}`\n- **Surfaced:** `ai.hermes.schedule.cron-backup-sync` (latent — bash bug since 2026-05-18),\n  `~\u002F.hermes\u002Fscripts\u002Fbackup-hermes-full.sh` (dormant),\n  `~\u002Fprojects_other\u002Fjleechanbrain\u002Fscripts\u002Fbackup-{hermes,openclaw}-full.sh` (dormant),\n  `~\u002Fprojects_other\u002Fopenclaw\u002Fscripts\u002Fbackup-openclaw-full.sh` (dormant),\n  `ai.hermes.schedule.daily-repo-export` (safe today, but watches backup-home.sh)\n- **Sibling skill:** `backup-folder-leak-purge` — fix the immediate leak; run THIS skill afterward.\n- **Output format:** save audit as Markdown to `~\u002F.hermes\u002Flogs\u002Fbackup-leak-audit-\u003Cdate>.md`\n  so future agents have the fleet state.\n","# Home-config backup audit (fleet-wide sibling scan)\n\nWhen one backup\u002F sync leaks personal home-dir content to a public repo, there are\nusually **sibling landmines** nearby — other crons that haven't leaked *yet* but use\nthe same anti-pattern (rsync ~\u002F \u003Csomewhere> + git add + git push origin main).\nThis skill catches them before they leak.\n\nVerified 2026-07-15 against `$HOME\u002F`: after fixing the\n`org.$USER.user-scope-backup` leak, this audit flagged\n`ai.hermes.schedule.cron-backup-sync` (latent landmine — bash-bug currently masks it),\n4 dormant scripts (`backup-hermes-full.sh`, `backup-openclaw-full.sh`, etc.) wired to\nan uninstalled launchd job, and the `daily-repo-export` pipeline that calls\nauto-push-to-main.sh.\n\n## When to use this skill\n\n- A backup\u002F leak was just fixed. **Run this skill BEFORE declaring done.**\n- User says \"double check all the backup jobs\", \"audit all the crons\", \"any other\n  push to public repos?\", \"what else is leaking?\".\n- A new home-config backup script is added anywhere on disk.\n- Periodic security sweep (monthly or on cron-bundle changes).\n\n## Audit surface — every place a home-config backup could leak\n\nThere are **5 surfaces** a backup cron can push from. Each needs its own probe:\n\n### Surface 1: Loaded launchd jobs\n```bash\nlaunchctl list | grep -iE \"backup|home-config|user-scope|conversation-backup|di[REDACTED_OPENAI_KEY]|cron-backup|qdrant-backup|snapshot|home\\\\.sh\"\n```\nFor each hit, read the plist + identify the script: `plutil -convert xml1 -o - \u003Cplist>`.\n\n### Surface 2: System crontab\n```bash\ncrontab -l\n```\nLook for any line referencing `backup`, `home-config`, `user-scope`, or any\n`rsync`\u002F`tar` followed by `git push`.\n\n### Surface 3: Dormant launchd plists\n```bash\nls ~\u002FLibrary\u002FLaunchAgents\u002F | grep -iE \"backup|home-config|user-scope|snapshot\"\n```\nFilter for `.plist` (active) AND `.plist.disabled*` (dormant but on disk). The\ndormant ones are landmines: a single `launchctl load` re-enables them.\n\n### Surface 4: Shell scripts with backup + push logic\n```bash\n# Scripts that have BOTH a push AND a ~\u002F backup\ngrep -l \"git push\" ~\u002Fscripts\u002F*.sh ~\u002Fprojects_other\u002F*\u002Fscripts\u002F*.sh ~\u002F.hermes\u002Fscripts\u002F*.sh 2>\u002Fdev\u002Fnull | while read f; do\n  if grep -qE \"backup\u002F|\u002Fbackup|home-config|user_scope|~\u002F\" \"$f\"; then\n    echo \"$f\"\n  fi\ndone\n```\n**Skip intentional per-repo wrappers**: `push.sh`, `sync_branch.sh`,\n`integrate.sh`, `commit-pending.sh`, `auto-push-to-main.sh`,\n`consolidate-*-snapshots.sh`. Those are repo-local, not home-config backup.\n\n### Surface 5: Each backup script's target repo privacy\nFor every backup-push script found, trace:\n- `REPO_ROOT` in the script = where it `cd`s before `git push`\n- The git remote of that path: `git -C \u003CREPO_ROOT> remote -v`\n- **Public repos** (jleechanorg\u002F* are mostly public by default) → red flag\n- **Private repos** (org\u002Frepo, or private fork) → review contents\n\n## Per-job audit checklist\n\nFor each launchd-loaded suspicious job:\n\n1. **What script does it run?** `plutil -convert xml1 -o - \u003Cplist>` →\n   extract the program argument.\n\n2. **What does the script write?** Grep for `rsync`, `cp`, `>`, `tee`, etc.\n   - If it writes only to `~\u002F\u003Csomething>` and\u002For Dropbox\u002F`\u002FVolumes` → local\n   - If it writes to `$REPO_ROOT\u002Fbackup\u002F...` and then `git add && git push` → red flag\n\n3. **Where does it push?** Grep for `git push`, `gh repo`, `hub api`:\n   - `git push origin main` → check `git -C \u003CREPO_ROOT> remote get-url origin`\n   - Look for `HEAD:refs\u002Fheads\u002F...` (custom refspec), worktree-based pushes,\n     `--force-with-lease`, `--no-verify` (hint that hook was bypassed)\n\n4. **What content does it include?** Sample the JSON\u002FMD\u002Ftext output:\n   - Just metadata (cron IDs, names, schedules) → low risk\n   - Source code, configs, dots (claude\u002F, openclaw\u002F) → high risk\n\n5. **Is the push step guarded?** Look for:\n   - `ALLOW_GIT_BACKUP_PUSH=0` env var (script-level guard) ✓\n   - `if [[ \"$REMOTE\" == *github.com\u002Fjleechanorg* ]]; then skip` (caller-side) ✓\n   - Pre-push hook checking `^backup\u002F` paths (filesystem-level guard) ✓\n   - `git add -f` to override .gitignore (sign it's bypassing safety) ?\n   - `--no-verify` on push (sign hook is being skipped) ?\n\n6. **Is the script currently broken?** `set -e` + bash syntax error = push\n   silently never runs. **Latent risk**: fixing the bug without removing the\n   push resumes the leak. Probe by reading the .err.log.\n\n7. **Is it actually loaded?** Cross-check `launchctl list` (active) vs. the\n   `.plist` file existing. A plist can exist without being loaded.\n\n## Common sibling anti-patterns\n\nThese appear in ANY home-config backup script on the user's fleet:\n\n| Anti-pattern | Risk | Where seen |\n|---|---|---|\n| `rsync -a ~\u002F $REPO\u002Fbackup\u002F\u003Chost>\u002F` + `git add backup\u002F && git push origin main` | **Catastrophic** — direct home-dir push to public repo | backup-home.sh, backup-hermes-full.sh, backup-openclaw-full.sh |\n| `git add -f backup\u002F` to bypass `.gitignore` | **Critical** — same pattern as catostrophic, just hidden | backup-home.sh originally |\n| `git commit \"backup: ...\" && git push` in cron | **High** — automated pushes with no human review | backup-home.sh, di[REDACTED_OPENAI_KEY] snapshot |\n| `command not found` errors in stderr but commit succeeds elsewhere | **Latent** — broken script masked the leak for months | cron-backup-sync.sh (bash bug since 2026-05-18) |\n| Di[REDACTED_OPENAI_KEY] style: script with caller-output vs default-push branch | **Moderate** — depends on which branch is taken | disk_magician.sh line 285 |\n| Cron schedule uses 4h\u002F2h cadence (StartInterval \u003C14400) | **High** — leak rate matches schedule | backup-home.sh, daily-repo-export 24h |\n\n## Audit outcome — what to fix vs what to report\n\nFor each finding, classify:\n- **FIX**: Push to public of private content. Stop it now.\n- **REPORT**: Push to public of metadata. User decision: kill it or accept the leak.\n- **DEFEND**: Push to public of nothing relevant. Add pre-push hook, watchdog.\n- **IGNORE**: Local-only. No action.\n\n**Default for ambiguous metadata-push-to-public cases**: REPORT, don't auto-fix.\nReason: past session showed user-preference is \"I want local backup, not in claude-commands\"\n— which means they want to keep the cron running. Killing it without consent\nleads to \"I think you got it backwards\" corrections.\n\n## Recurring-pipeline check (the 6th surface)\n\nEven if you audit all the cron jobs, there's a **6th place** a backup can leak:\nscripts that *call* backup scripts, e.g.\n`$HOME\u002F.worktrees\u002Fjleechanclaw\u002Fwatchdog-20min\u002Fscripts\u002Fstandard_ao_jobs.py`.\nThat file's `default_jobs()` calls `backup-home.sh --prepare-only` on the\n`user-scope` repo. Even though the wrapper's own `git add -u` doesn't stage\nnew backup\u002F paths, the underlying `backup-home.sh` does. So if\n`backup-home.sh`'s git-commit step is re-enabled, this pipeline ALSO pushes.\n\n**Probe for it**:\n```bash\n# Find scripts that invoke known backup scripts\ngrep -lE \"backup-home|backup-hermes|backup-openclaw|backup-smartclaw|disk_magician\" \\\n  $HOME\u002Fscripts\u002F*.sh $HOME\u002F.worktrees\u002F*\u002Fscripts\u002F*.sh 2>\u002Fdev\u002Fnull\n```\nFor each match, read the call site — does it pass flags that disable the\npush step (`--prepare-only` was a phantom flag in 2026-07-15;\n`backup-home.sh` only knows `--dry-run` and no-args)?\n\n## Verification recipe after fixes\n\nOnce you've patched plist env vars, scripts, or gitignores:\n\n```bash\n# 1. Re-list ALL backup jobs (sanity)\nlaunchctl list | grep -iE \"backup|home-config|user-scope|snapshot\"\n\n# 2. For each impacted script, do a dry-run if it has one\n~\u002Fprojects_other\u002Fuser_scope\u002Fscripts\u002Fbackup-home.sh --dry-run 2>&1 | grep -E \"Skipping|push|origin\" | head -5\n\n# 3. Verify env actually loaded\nlaunchctl print gui\u002F$(id -u)\u002F\u003Clabel> | grep ALLOW_GIT_BACKUP_PUSH\n\n# 4. Force a tick and check the log\nlaunchctl kickstart -k gui\u002F$(id -u)\u002F\u003Clabel>\nsleep 5\ntail -20 ~\u002FLibrary\u002FLogs\u002F\u003Clabel>.launchd.log | grep -E \"git|dropbox|SUCCESS|skip\"\n\n# 5. Run the watchdog at least once to confirm it doesn't false-alarm\n~\u002Fscripts\u002Fuser-scope-backup-watchdog.sh\ntail -3 ~\u002FLibrary\u002FLogs\u002Fuser-scope-backup-disable-watchdog.log\n```\n\n## Pitfalls\n\n1. **One bad launchd job often masks sibling latent risk.** The fix you do for\n   the known leak may turn a dormant sibling into the next leak. Always run\n   this audit AFTER fixing any backup incident, not before.\n\n2. **A plist file existing ≠ loaded.** Many repos leave `.plist.template` and\n   even `.plist` files around that aren't loaded. `launchctl list` is the only\n   reliable source of truth for what's actually scheduled.\n\n3. **`set -e` + bash error = silent non-execution.** If a script has been\n   \"running\" daily for months with no successful push, suspect `set -e` is\n   bailing out before the push step. Fix the bash bug only AFTER you've\n   removed the push-to-public step — otherwise you re-leak.\n\n4. **The `daily-repo-export` pipeline runs `auto-push-to-main.sh` for\n   `llm-wiki`, `roadmap`, AND `user-scope`.** `user-scope`'s remote is\n   `jleechanorg\u002Fclaude-commands` — a SECOND fork of `user_scope` is pushing\n   to the same PUBLIC repo. `auto-push-to-main.sh` uses `git add -u` so it\n   won't pick up new backup\u002F files, but if any of those repos already have\n   backup\u002F tracked, it's game over.\n\n5. **Don't grep only the obvious cron names.** `backup`, `home-config`,\n   `user-scope`, `snapshot` are the obvious ones. Also grep for:\n   `crontab-backup`, `cron-backup-sync`, `disk_snapshot`, `home.sh`,\n   `home-config`. Use multiple greps and union them.\n\n6. **Dormant scripts still have `git push` lines.** Even if not scheduled,\n   a future `install-hermes-backup-jobs.sh` run wires them up. Treat the\n   script's `git push origin main` as a latent risk to flag, not an active\n   one to ignore.\n\n## Provenance\n\n- **Date:** 2026-07-15T21:00Z\n- **Affected fleet:** `$HOME\u002F.hermes`, `$HOME\u002Fprojects_other\u002F{user_scope,jleechanbrain,openclaw}`\n- **Surfaced:** `ai.hermes.schedule.cron-backup-sync` (latent — bash bug since 2026-05-18),\n  `~\u002F.hermes\u002Fscripts\u002Fbackup-hermes-full.sh` (dormant),\n  `~\u002Fprojects_other\u002Fjleechanbrain\u002Fscripts\u002Fbackup-{hermes,openclaw}-full.sh` (dormant),\n  `~\u002Fprojects_other\u002Fopenclaw\u002Fscripts\u002Fbackup-openclaw-full.sh` (dormant),\n  `ai.hermes.schedule.daily-repo-export` (safe today, but watches backup-home.sh)\n- **Sibling skill:** `backup-folder-leak-purge` — fix the immediate leak; run THIS skill afterward.\n- **Output format:** save audit as Markdown to `~\u002F.hermes\u002Flogs\u002Fbackup-leak-audit-\u003Cdate>.md`\n  so future agents have the fleet state.\n",{"name":5,"tags":62,"description":7},[55,52,56,42,49,41,34,33,48],"main","05df7380981a2c4af868ce0fa57962ae0eea62a9","hermes\u002Fskills\u002Fsecurity\u002Fhome-config-backup-audit",0,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills","https:\u002F\u002Fgithub.com\u002Fjleechanorg","2026-11-14 14:55:35",{"source":9,"skillName":5,"commands":71,"prompt":81,"zipAvailable":82},[72,75,78],{"tool":73,"command":74},"npx","npx skills add jleechanorg\u002Fjleechan-skills --skill home-config-backup-audit",{"tool":76,"command":77},"bunx","bunx skills add jleechanorg\u002Fjleechan-skills --skill home-config-backup-audit",{"tool":79,"command":80},"pnpm","pnpm dlx skills add jleechanorg\u002Fjleechan-skills --skill home-config-backup-audit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fsecurity\u002Fhome-config-backup-audit\u002FSKILL.md",true,[84],{"path":85,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":88,"sourceHtmlUrl":89},"scripts\u002Fbackup-fleet-audit.sh","SCRIPT","脚本",6447,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002Fhermes\u002Fskills\u002Fsecurity\u002Fhome-config-backup-audit\u002Fscripts\u002Fbackup-fleet-audit.sh",[91,99,106,114,122,131],{"skillNo":92,"name":93,"nameZh":13,"description":94,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":98},"01M7DRVZXXMGY4G81K5GVF4V20","disk-reclaim-playbook","Use Disk Magician to diagnose disk growth or qualify cleanup on macOS or Linux.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdisk-reclaim-playbook\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":100,"name":101,"nameZh":13,"description":102,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":98},"01M7B63PNTT2TY78RFKHD8SP3X","claudea-bench","Compare `claudea` and normal `claude` on a fair split of comparable work by default; use `--strict` for duplicate runs of the exact same task.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fclaudea-bench\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":13,"description":109,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":113},"01M7622KQJ32AV4K5BXEMVSSEB","pr","Alias for the canonical pr-lifecycle PR workflow skill (\u002Fpr-workflow, \u002Fprw).","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fpr\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":115,"name":116,"nameZh":13,"description":117,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":121},"01M7432W92AKC4D1TKJ00VCMMT","whisper","OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwhisper\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":123,"name":124,"nameZh":13,"description":125,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":126,"licenseFileUrl":127,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":121},"01M7432T6BN1A9SHB8RBQR5EMP","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":132,"name":133,"nameZh":13,"description":134,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":121},"01M7432NDC7S6C6MX7M6RW8CTT","pr-report","This skill should be used when the user asks for a PR report, PR audit, PR delta analysis, \u002Fpr-report, or wants per-PR summary with delta files\u002Flines. Generates a structured report for one or more open PRs covering purpose, files changed, +\u002F− line counts, \u002Fcode-standards + \u002Fthermo review findings, \u002Fponytail simplification opportunities, file-overlap combination candidates, and \u002Fgreen status per pr-green-definition. Output: machine-readable JSONL + human-readable markdown. Read-only by default; can apply simplifications if user opts in.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fpr-report\u002FSKILL.md",[],[]]