hol-guard-protection

hol-guard-protection is a skill for Claude Code, Codex from hashgraph-online/hol-guard. It costs 27 tokens per session (532 once invoked), scanned A, original, Apache-2.0.

Dependency-safety guidance for coding agents that add or update packages. It covers checking package risk, install protection, and package-manager safeguards.

In plain words
What is it for?
Use it before installing or updating dependencies, to scan the workspace, explain a package decision, and check or repair npm protection. It also covers separate protection for Cursor’s editor and command-line tool.
Why use it?
It helps reduce the chance of adding a malicious, tampered, or otherwise risky package without checking it first.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it before installing or updating dependencies, to scan the workspace, explain a package decision, and check or repair npm protection. It also covers separate protection for Cursor’s editor and command-line tool.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hashgraph-online/hol-guard/guard
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hashgraph-online/hol-guard --skill guard
Clone the repo
git clone --depth 1 https://github.com/hashgraph-online/hol-guard

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hol-guard-protection

README.md
[![agentmods](https://agentmods.dev/badge/skills/hashgraph-online/hol-guard/guard/github.svg)](https://agentmods.dev/skills/hashgraph-online/hol-guard/guard)
Your own site
<a href="https://agentmods.dev/skills/hashgraph-online/hol-guard/guard"><img src="https://agentmods.dev/badge/skills/hashgraph-online/hol-guard/guard/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hol-guard-protection

Your own site · 80×15
<a href="https://agentmods.dev/skills/hashgraph-online/hol-guard/guard"><img src="https://agentmods.dev/badge/skills/hashgraph-online/hol-guard/guard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 532 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.00532
Opus 5.5 $0.00011 $0.00213
Sonnet 5.5 $0.00005 $0.00106
Haiku 4.5 $0.00003 $0.00053

Measured 22d ago against content hash 5ddcc67c255e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hol-guard-protection scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 22d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/guard/SKILL.md · 55 lines

How it starts

The opening of the file, as written. The whole thing — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.

HOL Guard Skill Guidance

Use this guidance when an AI agent is about to add or update dependencies.

Before package installs

  1. Preview the install decision:
    • hol-guard protect --dry-run -- npm install <package>
  2. Check current workspace risk posture:
    • hol-guard supply-chain scan --json
  3. Explain a specific package verdict:
    • hol-guard supply-chain explain <package>@<version> --ecosystem <ecosystem>
  4. Confirm package manager interception is installed:
    • hol-guard package-shims status --json
  5. Repair a missing or tampered package manager shim:
    • hol-guard package-shims repair --manager npm --json

Cursor editor and Cursor CLI

Cursor has two protection surfaces. Cursor editor covers MCP servers in .cursor/mcp.json. Cursor CLI covers the cursor-agent command path. Keep them distinct when activating, checking, repairing, or removing Guard.

  1. Connect Cursor editor protection:
    • hol-guard apps connect cursor --surface editor
  2. Connect Cursor CLI protection:
    • hol-guard apps connect cursor --surface cli
  3. Test a Cursor surface without changing config:
    • hol-guard apps test cursor --surface editor
    • hol-guard apps test cursor --surface cli
  4. Repair only the stale surface named by Guard Cloud:
    • hol-guard apps repair cursor --surface editor
    • hol-guard apps repair cursor --surface cli
  5. Remove protection only after confirmation:
    • hol-guard apps disconnect cursor --surface editor --confirm disconnect-cursor
    • hol-guard apps disconnect cursor --surface cli --confirm disconnect-cursor

Guard owns trust checks, drift repair, redacted receipts, and Cloud sync. Cursor owns its native editor and CLI behavior. If a surface is missing, unsupported, or unavailable, report that state instead of inventing an install URL or fallback command.

During CI and automation

  • Route dependency installs through Guard:
    • hol-guard protect -- npm ci
  • Use workspace audits before release:
    • hol-guard supply-chain audit --json

Read the full file on GitHub · 55 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 22d ago Changed · +5 lines · +27 tokens per session 5ddcc67c255e
  2. 1mo ago First seen · 50 lines · 0 tokens per session scan A f1751c981869

Subscribe to this mod's changes

hol-guard-protection is a skill published in the GitHub repository hashgraph-online/hol-guard (956 stars, last pushed today), licensed Apache-2.0. It adds 27 tokens to every session and 532 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

crossval-harness

Orchestrate a static + dynamic, exploit-validated red-team of an AI agent — read the source to find candidate vulnerable paths, then run the dynamic skills to confirm or refute each one empirically. The arbiter of truth is whether the exploit works, not a model vote. Authorized testing of agents you own or are…

William2333ZZ/trustshell · 75 tokens

redteam-an-agent

The end-to-end methodology for red-teaming a specific AI agent — adaptively, exploit-validated, and honestly. Read THIS target's own code, stand up a disposable harness, and prove or refute each weakness through a real attacker-reachable entry point. This is the orchestration + discipline that makes a finding…

William2333ZZ/trustshell · 90 tokens

audit-agent-code

Security-audit an AI agent's OWN framework code for classic appsec vulnerabilities the LLM can't defend — path traversal, command injection, SSRF, fail-open security controls, missing/late auth, unsafe deserialization — especially at the untrusted-input boundaries (channels, file/media handlers, config & skill…

William2333ZZ/trustshell · 102 tokens

rt6-memory-poisoning

Red-team an AI agent's persistent memory for cross-session prompt injection ("memory poisoning") — does untrusted content the agent processes get written into long-term memory and re-fire in future sessions with no attacker present? Authorized testing of agents you own or are permitted to test.

William2333ZZ/trustshell · 61 tokens

rt9-multi-agent

Red-team a multi-agent system — can one agent (or content it relays) inject instructions into another, escalate privilege by hopping between agents, or turn an orchestrator/sub-agent handoff into a trust-laundering path? Authorized testing of systems you own or are permitted to test.

William2333ZZ/trustshell · 65 tokens

rt1-prompt-injection

Red-team an AI agent for prompt injection — does content the agent is asked to process (email, page, ticket, tool result) override its actual task? Authorized testing of agents you own or are permitted to test.

William2333ZZ/trustshell · 51 tokens