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.
Connect Cursor editor protection:
hol-guard apps connect cursor --surface editor
Connect Cursor CLI protection:
hol-guard apps connect cursor --surface cli
Test a Cursor surface without changing config:
hol-guard apps test cursor --surface editor
hol-guard apps test cursor --surface cli
Repair only the stale surface named by Guard Cloud:
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
If Guard blocks a package
Review the blocking reason and suggested fix version.
Prefer upgrading to a safe version.
If it is a verified false positive, use a scoped and expiring exception with recorded reason.
1---2name: guard3description: HOL Guard Skill Guidance4---5# HOL Guard Skill Guidance67Use this guidance when an AI agent is about to add or update dependencies.89## Before package installs10111. Preview the install decision:12 - `hol-guard protect --dry-run -- npm install <package>`132. Check current workspace risk posture:14 - `hol-guard supply-chain scan --json`153. Explain a specific package verdict:16 - `hol-guard supply-chain explain <package>@<version> --ecosystem <ecosystem>`174. Confirm package manager interception is installed:18 - `hol-guard package-shims status --json`195. Repair a missing or tampered package manager shim:20 - `hol-guard package-shims repair --manager npm --json`2122## Cursor editor and Cursor CLI2324Cursor 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.25261. Connect Cursor editor protection:27 - `hol-guard apps connect cursor --surface editor`282. Connect Cursor CLI protection:29 - `hol-guard apps connect cursor --surface cli`303. Test a Cursor surface without changing config:31 - `hol-guard apps test cursor --surface editor`32 - `hol-guard apps test cursor --surface cli`334. Repair only the stale surface named by Guard Cloud:34 - `hol-guard apps repair cursor --surface editor`35 - `hol-guard apps repair cursor --surface cli`365. Remove protection only after confirmation:37 - `hol-guard apps disconnect cursor --surface editor --confirm disconnect-cursor`38 - `hol-guard apps disconnect cursor --surface cli --confirm disconnect-cursor`3940Guard 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.4142## During CI and automation4344- Route dependency installs through Guard:45 - `hol-guard protect -- npm ci`46- Use workspace audits before release:47 - `hol-guard supply-chain audit --json`4849## If Guard blocks a package5051- Review the blocking reason and suggested fix version.52- Prefer upgrading to a safe version.53- If it is a verified false positive, use a scoped and expiring exception with recorded reason.
Run npx skillmds@latest add hashgraph-online/guard in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
HOL Guard Skill Guidance It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
hashgraph-online (@hashgraph-online) published this skill. Their other Agent Skills are listed on their SkillMD profile.