Skip to content
Back to skills

Hol Guard

ASecurity

Install and use HOL Guard as a local pre-execution safety boundary for supported AI coding-agent harnesses, with explicit approval, receipt, and verification flows.

  • 30 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 8, 2026
ai-agentsbash

Works with

  • cli

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill hol-guard --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Hol Guard?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Hol Guard
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-hol-guard/badge)](https://www.skillsdirectory.com/skills/majiayu000-hol-guard)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: hol-guard
description: "Install and use HOL Guard as a local pre-execution safety boundary for supported AI coding-agent harnesses, with explicit approval, receipt, and verification flows."
risk: safe
source: hashgraph-online/hol-guard-plugin
date_added: "2026-08-28"
license: Apache-2.0
---

# HOL Guard

Use HOL Guard when a user wants a local enforcement boundary around a supported AI coding-agent harness before consequential tool or command execution.

## Use this skill when

- Setting up HOL Guard for a detected local coding-agent harness
- Running an agent through HOL Guard rather than directly
- Reviewing Guard approvals, receipts, diagnostics, or protection state
- Verifying whether a supported harness is actually protected before work continues

## Do not use this skill when

- The user has not authorized changes to their local agent harness
- The target is an application/server authorization problem rather than a supported local harness
- The requested workflow would require bypassing a Guard denial, approval, or review gate

## Instructions

1. Check whether HOL Guard is installed without reading secrets using a cross-platform direct CLI probe:

   ```bash
   hol-guard --version
   ```

   If it is missing and the user requested runtime setup, prefer the isolated CLI install:

   ```bash
   pipx install hol-guard
   ```

2. Inspect Guard state and detect supported harnesses:

   ```bash
   hol-guard status
   hol-guard detect --json
   ```

   Use the exact harness identifier returned by `hol-guard detect --json`; do not maintain a guessed harness list.

3. For an authorized detected harness, use Guard-owned setup and validation:

   ```bash
   hol-guard bootstrap
   hol-guard install <harness>
   hol-guard run <harness> --dry-run
   hol-guard doctor <harness> --json
   ```

4. Run the harness through HOL Guard only after the dry run and diagnostics support it:

   ```bash
   hol-guard run <harness>
   ```

5. If Guard blocks or requires review, stop the protected action and inspect the decision instead of retrying unprotected:

   ```bash
   hol-guard approvals
   hol-guard approvals open <request-id>
   hol-guard receipts
   hol-guard diff <harness>
   ```

   Use the pending request ID returned by `hol-guard approvals`; do not invent an ID. Approval or denial must remain an explicit user decision after the risk reason and requested scope are understood.

6. Verify the resulting protection state with Guard-owned evidence:

   ```bash
   hol-guard status
   hol-guard doctor <harness> --json
   hol-guard receipts
   ```

## Safety boundaries

- Never read `.env` files as part of this workflow.
- Never bypass Guard approvals or convert deny, review-required, timeout, malformed, unavailable, or error states into an allow.
- Preserve host permissions, repository tests, validation, and required human review; HOL Guard does not replace them.
- Do not claim application/server authorization, downstream correctness, or protection for an unsupported harness.
- Do not mark a workspace protected until HOL Guard command output proves the state.

## Result

Report the commands run, the harness Guard detected, the protection or review state, the evidence available, and the exact next action if the user must intervene.

## Attribution

Adapted for this catalog from the maintained HOL Guard Agent Skill in `hashgraph-online/hol-guard-plugin`. HOL Guard is licensed under Apache-2.0. The bundled `LICENSE` file preserves the upstream license text.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.