بنقرة واحدة
hol-guard
// Use when setting up HOL Guard, protecting local AI harnesses, reviewing Guard approvals or receipts, scanning Codex plugins, skills, MCP servers, marketplace packages, or running plugin-scanner verification before release.
// Use when setting up HOL Guard, protecting local AI harnesses, reviewing Guard approvals or receipts, scanning Codex plugins, skills, MCP servers, marketplace packages, or running plugin-scanner verification before release.
| name | hol-guard |
| description | Use when setting up HOL Guard, protecting local AI harnesses, reviewing Guard approvals or receipts, scanning Codex plugins, skills, MCP servers, marketplace packages, or running plugin-scanner verification before release. |
| license | Apache-2.0 |
HOL Guard protects local AI harnesses before tools run. Use this skill when the user wants AI antivirus behavior, local approval review, Codex protection, Claude Code protection, MCP safety checks, skill/package verification, or release gates from hol-guard and plugin-scanner.
.env files.hol-guard command owns that mutation.git status --short before edits in a repo.First check whether the CLI exists:
command -v hol-guard
command -v plugin-scanner
If missing and the user asked for setup, prefer:
pipx install hol-guard
Fallback only when pipx is unavailable:
python3 -m pip install --user hol-guard
After install:
hol-guard status
hol-guard detect --json
Use this flow for Codex, Claude Code, Copilot CLI, Cursor, Gemini, Hermes, OpenClaw, OpenCode, or Antigravity.
hol-guard bootstrap
hol-guard install <harness>
hol-guard run <harness> --dry-run
hol-guard run <harness>
hol-guard status
Harness names:
codexclaude-codecopilotcursorgeminihermesopenclawopencodeantigravityHarness aliases:
claude maps to claude-codegemini-cli maps to geminiopen-code maps to opencodeopen-claw maps to openclawcopilot-cli maps to copilotUse harness-specific bootstrap when available:
hol-guard hermes bootstrap
Use this when the workspace has .claude/settings.local.json, .claude/agents, Claude hooks, .mcp.json, or Claude-managed tool approval surfaces.
hol-guard install claude-code
hol-guard run claude-code --dry-run
hol-guard run claude-code
hol-guard doctor claude-code --json
Claude Code is a first-class Guard target. Prefer Guard-owned Claude hooks over direct manual edits to Claude config.
Use this when the workspace has Codex config, .codex/hooks.json, Codex MCP servers, or Codex App/CLI tool flows.
hol-guard install codex
hol-guard run codex --dry-run
hol-guard run codex
hol-guard doctor codex --json
Codex supports Guard-owned PreToolUse Bash hooks and same-chat MCP elicitation where available.
Use the same Guard flow for:
hol-guard install copilothol-guard install cursorhol-guard install geminihol-guard hermes bootstraphol-guard install openclawhol-guard install opencodehol-guard install antigravityIf Guard blocks or queues work:
hol-guard approvals
hol-guard approvals open
hol-guard receipts
hol-guard diff <harness>
For terminal-only resolution:
hol-guard approvals approve <request-id>
hol-guard approvals deny <request-id>
Only approve after reading the risk reason and understanding the requested scope.
Use evidence commands when user needs proof, audit trail, or handoff artifacts:
hol-guard receipts
hol-guard inventory
hol-guard abom --format json
hol-guard events
hol-guard explain <artifact-id>
For cloud sync, keep it optional and user-directed:
hol-guard connect
hol-guard connect status
hol-guard connect repair
hol-guard sync
Use scanner mode for Codex plugins, Claude Code project surfaces, .agents marketplaces, skills, MCP server configs, and release gates.
plugin-scanner lint .
plugin-scanner verify .
If scanning a specific package:
plugin-scanner lint <path>
plugin-scanner verify <path>
If the target is a Codex marketplace root with .agents/plugins/marketplace.json, scan the repo root so local plugin entries can be discovered.
Scanner target guidance:
.codex-plugin/plugin.json..agents/plugins/marketplace.json..claude/, .mcp.json, hooks, or agent folders.SKILL.md.hol-guard doctor
hol-guard doctor <harness> --json
hol-guard detect --json
hol-guard settings show
hol-guard explain install-connect
plugin-scanner verify . --json
When using Guard, report:
Do not claim protection, approval, or release readiness without command output proving it.
This plugin includes:
bash scripts/hol-guard-plugin status
bash scripts/hol-guard-plugin harnesses
bash scripts/hol-guard-plugin protect claude-code
bash scripts/hol-guard-plugin protect <harness>
bash scripts/hol-guard-plugin scan-system claude <path>
bash scripts/hol-guard-plugin scan-system codex <path>
bash scripts/hol-guard-plugin scan <path>
bash scripts/hol-guard-plugin evidence
Use the helper only when running from this plugin repository. Otherwise call hol-guard and plugin-scanner directly.