Skip to main content

hol-guard-protection

Use HOL Guard to preview and protect AI-agent package installs, Cursor surfaces, CI, and automation workflows.

소스 정보

저장소
hashgraph-online/hol-guard
최근 소스 활동
2026년 10월 7일 16:25
감지된 SKILL.md 언어
영어
스타
806
포크
143

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
100 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
hol-guard-protection
description
Use HOL Guard to preview and protect AI-agent package installs, Cursor surfaces, CI, and automation workflows.
# 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` ## 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.
GitHub에서 보기