skills/openclaw-guardian/SKILL.md
Deploy and manage a Guardian watchdog process for OpenClaw Gateway. Provides automated health monitoring, self-repair via `doctor --fix`, git-based workspace rollback, daily snapshots, and optional Discord alerting. Use when a user wants to harden their OpenClaw instance against crashes, config corruption, or bad workspace edits — or when setting up Guardian for the first time on a new server/container.
npx skillsauth add pr-e/openclaw-master-skills openclaw-guardianInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Guardian is a standalone bash watchdog that keeps OpenClaw Gateway alive 24/7.
Repair ladder:
openclaw doctor --fix (up to 3 attempts)git reset --hard to last stable commit, restart Gatewaycd ~/.openclaw/workspace
git config --global user.email "[email protected]"
git config --global user.name "Guardian"
git init && git add -A && git commit -m "initial"
Skip if repo already exists. Without git, doctor --fix still works; rollback is skipped.
Copy scripts/guardian.sh from this skill to ~/.openclaw/guardian.sh:
cp scripts/guardian.sh ~/.openclaw/guardian.sh
chmod +x ~/.openclaw/guardian.sh
Container / no systemd (nohup):
nohup ~/.openclaw/guardian.sh >> /tmp/openclaw-guardian.log 2>&1 &
Linux VPS with systemd: See references/setup.md → Pattern B.
Add to ~/.openclaw/start-gateway.sh (before the final exec line):
pkill -f "guardian.sh" 2>/dev/null || true
nohup /home/ubuntu/.openclaw/guardian.sh >> /tmp/openclaw-guardian.log 2>&1 &
export DISCORD_WEBHOOK_URL="https://discord.com/api/webhooks/..."
Or add to start-gateway.sh as a persistent export.
pgrep -a -f "guardian.sh" # confirm process running
tail -f /tmp/openclaw-guardian.log # watch live logs
All settings via environment variables. Defaults work out of the box.
See references/setup.md for full variable reference, systemd config, and architecture diagram.
gw-watchdog.sh — run both for layered resilience/tmp/openclaw-guardian.logdevelopment
Fetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it.
devops
Fetch and summarize YouTube video transcripts. Use when asked to summarize, transcribe, or extract content from YouTube videos. Handles transcript fetching via residential IP proxy to bypass YouTube's cloud IP blocks.
content-media
# youtube-auto-captions - YouTube 自动字幕 ## 描述 自动为 YouTube 视频生成字幕,支持多语言翻译、时间轴校准。提升视频可访问性和 SEO。 ## 定价 - **按次收费**: ¥9/次 - 每视频最长 60 分钟 - 支持 50+ 语言 ## 用法 ```bash # 生成字幕 /youtube-auto-captions --video <video_id> --lang zh # 翻译字幕 /youtube-auto-captions --video <video_id> --translate en,ja,ko # 批量处理 /youtube-auto-captions --playlist <playlist_id> --lang zh # 导出字幕 /youtube-auto-captions --video <video_id> --export srt ``` ## 技能目录 `~/.openclaw/workspace/skills/youtube-auto-captions/` ## 作者 张 sir #
development
YouTube Data API integration with managed OAuth. Search videos, manage playlists, access channel data, and interact with comments. Use this skill when users want to interact with YouTube. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).