OpenClaw Safety Guard
/install claw-guard-skill
Safety Guard
Fast CLI to safety-guard URLs, local files, and YouTube links.
Quick start
safety-guard "https://example.com" --model google/gemini-3-flash-preview
safety-guard "/path/to/file.pdf" --model google/gemini-3-flash-preview
safety-guard "https://youtu.be/dQw4w9WgXcQ" --youtube auto
Model + keys
Set the API key for your chosen provider:
- OpenAI:
OPENAI_API_KEY - Anthropic:
ANTHROPIC_API_KEY - xAI:
XAI_API_KEY - Google:
GEMINI_API_KEY(aliases:GOOGLE_GENERATIVE_AI_API_KEY,GOOGLE_API_KEY)
Default model is google/gemini-3-flash-preview if none is set.
Useful flags
--length short|medium|long|xl|xxl|\x3Cchars>--max-output-tokens \x3Ccount>--extract-only(URLs only)--json(machine readable)--firecrawl auto|off|always(fallback extraction)--youtube auto(Apify fallback ifAPIFY_API_TOKENset)
Config
Optional config file: ~/.safety-guard/config.json
{ "model": "openai/gpt-5.2" }
Optional services:
FIRECRAWL_API_KEYfor blocked sitesAPIFY_API_TOKENfor YouTube fallback
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install claw-guard-skill - After installation, invoke the skill by name or use
/claw-guard-skill - Provide required inputs per the skill's parameter spec and get structured output
What is OpenClaw Safety Guard?
Safety Guard URLs or files with the safety-guard CLI (web, PDFs, images, audio, YouTube). It is an AI Agent Skill for Claude Code / OpenClaw, with 235 downloads so far.
How do I install OpenClaw Safety Guard?
Run "/install claw-guard-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is OpenClaw Safety Guard free?
Yes, OpenClaw Safety Guard is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does OpenClaw Safety Guard support?
OpenClaw Safety Guard is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created OpenClaw Safety Guard?
It is built and maintained by John-niu-07 (@john-niu-07); the current version is v1.0.0.