chore(clawhub): 改为本地 pre-push 自动同步 skill

This commit is contained in:
leeguooooo
2026-02-24 18:10:05 +09:00
parent 85d18799a4
commit 6f1dd39121
5 changed files with 50 additions and 50 deletions
+14 -4
View File
@@ -141,13 +141,23 @@ This repo includes a dedicated OpenClaw skill at:
- `skills/agent-browser-stealth/SKILL.md`
GitHub Actions auto-syncs skills to ClawHub on every push via:
Local git `pre-push` hook auto-syncs skills before every push:
- `.github/workflows/clawhub-sync.yml`
- `.husky/pre-push` -> `pnpm run clawhub:sync`
Required repository secret:
Manual sync command (same logic as hook):
- `CLAWHUB_TOKEN`: API token used by `clawhub login --token ...`
```bash
pnpm run clawhub:sync
```
This uses your existing local ClawHub login session (no GitHub secret required).
Temporarily skip auto-sync for one push:
```bash
SKIP_CLAWHUB_SYNC=1 git push
```
## License