HOL Guard is a local security layer that reviews AI-agent actions before they run, including shell commands, file access, package installs, and MCP tool calls. AI-agent users use it to detect secret exposure, destructive operations, prompt injection, and supply-chain risks, then allow, block, or require approval according to policy. The catalogue contains skills, an MCP integration, a plugin, and an instruction for using it.
Borrowing it
Nothing to install: this file belongs to hashgraph-online/hol-guard. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/hashgraph-online/hol-guard/main/AGENTS.mdgit clone --depth 1 https://github.com/hashgraph-online/hol-guardWrote 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.
[](https://agentmods.dev/instructions/hashgraph-online/hol-guard/agents-md)<a href="https://agentmods.dev/instructions/hashgraph-online/hol-guard/agents-md"><img src="https://agentmods.dev/badge/instructions/hashgraph-online/hol-guard/agents-md/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.
<a href="https://agentmods.dev/instructions/hashgraph-online/hol-guard/agents-md"><img src="https://agentmods.dev/badge/instructions/hashgraph-online/hol-guard/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01814 | $0.01814 |
| Opus 5.5 | $0.00726 | $0.00726 |
| Sonnet 5.5 | $0.00363 | $0.00363 |
| Haiku 4.5 | $0.00181 | $0.00181 |
Grade A, and why
hol-guard AGENTS.md 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Repository guidance for agents
Public GitHub surface security
This repository is public. Treat every pull-request title, description, comment, review reply, workflow note, and linked artifact as an externally visible security boundary.
- Before creating or editing any public PR text or comment, inspect the complete outgoing content, including Markdown links, URLs, code blocks, quoted logs, generated summaries, and bot prompts.
- Never publish private or identifying details. This includes private hostnames, IP addresses, machine names, SSH or VPN routes, Tailscale identities, usernames, home-directory paths, local checkout paths, browser-session or approval-center state, credentials, keys, tokens, request IDs, internal environment names, deployment topology, or details that reveal how to reach private systems. Use generic terms such as “live-agent validation was unavailable” when a limitation must be recorded.
- Describe only the target-repository change and reproducible public validation. Do not paste agent transcripts, shell history, private issue context, internal handoff notes, or cross-repository details into GitHub.
- Before every public mutation, run a focused scan over the exact outgoing text for local paths, home directories, IP or hostname patterns, SSH/Tailscale/VPN terms, secret or credential names, and internal infrastructure keywords. Rewrite matches before publishing.
- If a disclosure is found, remove the affected comment or review reply and sanitize the current PR body. Inspect the PR's edit history and use GitHub's revision-deletion control for every affected revision. Editing the current body alone does not remove an older public revision.
- After cleanup, re-read the public PR body, comments, review threads, and retained edit history. Report any inaccessible revision or uneditable comment instead of claiming complete removal.
- Never use a public cleanup reply to repeat the sensitive detail. Keep the cleanup itself generic.
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.
- 2d ago Changed · +11 lines · +146 tokens per session 80b8e3a24a07
- 4d ago Changed · +9 lines · +119 tokens per session db717a804253
- 10d ago Changed · +34 lines · +500 tokens per session 50ffa86712c3
- 17d ago Changed · +8 lines · +104 tokens per session 4eed996f30f8
- 27d ago Changed · +31 lines · +429 tokens per session 884a22824a44
- 1mo ago Changed · +10 lines · +230 tokens per session ac20bc4ce0a3
- 1mo ago Changed · +4 lines · +115 tokens per session 3beabcf3bada
- 1mo ago First seen · 12 lines · 171 tokens per session scan A 335b923529f0
hol-guard AGENTS.md is an instructions file published in the GitHub repository hashgraph-online/hol-guard (1,135 stars, last pushed today), licensed Apache-2.0. It adds 1,814 tokens to every session, about $0.0073 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-10-05.
hol-guard AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hol-guard AGENTS.mdhashgraph-online/hol-guard | Instructions file | 1.1k | today | Apache-2.0 | A | 1,814 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 3,303 | GitHub Copilot |
| deno copilot-instructions.mddenoland/deno | Instructions file | 109k | yesterday | MIT | A | 3,077 | GitHub Copilot |