setup-shell
Install or refresh Agent Guard's plugin-local shell integration. Use when the user explicitly asks to enable or update shell…
Diagnose, install, and verify Agent Guard's plugin-local binary, jq and gitleaks dependencies, the active host integration, and live hook protection. Use when Agent Guard reports degraded protection, a SessionStart warning asks for setup, plugin hooks fail or appear bypassed, or
Claude Code
$ npx -y skills add JeongJaeSoon/agent-guard --skill setup-agent-guard --agent claude-code
Codex
$ npx skills add JeongJaeSoon/agent-guard --skill setup-agent-guard -a codex -y
Cursor
$ npx skills add JeongJaeSoon/agent-guard --skill setup-agent-guard -a cursor -y
Gemini CLI
$ npx skills add JeongJaeSoon/agent-guard --skill setup-agent-guard -a gemini-cli -y
GitHub Copilot
$ npx skills add JeongJaeSoon/agent-guard --skill setup-agent-guard -a github-copilot -y
OpenCode
$ npx skills add JeongJaeSoon/agent-guard --skill setup-agent-guard -a opencode -y
Windsurf
$ npx skills add JeongJaeSoon/agent-guard --skill setup-agent-guard -a windsurf -y
name: setup-agent-guard description: Diagnose, install, and verify Agent Guard's plugin-local binary, jq and gitleaks dependencies, the active host integration, and live hook protection. Use when Agent Guard reports degraded protection, a SessionStart warning asks for setup, plugin hooks fail or appear bypassed, or a user asks to finish or repair Agent Guard installation. disable-model-invocation: true
Make Agent Guard operational without silently changing the machine. Diagnose first, request approval before package-manager or download actions, and finish with a real smoke test.
1. Resolve the Agent Guard executable without confusing the plugin with a standalone install.
2. Run the read-only diagnosis:
"<agent-guard-bin>" setup
`setup` and `doctor` report only local dependencies. Their `host hook protection: unverified` notice is expected even when they exit `0`; do not call that result runtime protection.
3. If `jq` is missing, identify the available system package manager and show the exact install command. Ask for explicit user approval before running it. Do not use `sudo` unless the user explicitly approves elevated installation.
4. `setup`이 gitleaks 자체의 누락이 아니라 `gitleaks version isolation requires setsid or perl`을 보고하면 gitleaks를 다시 설치하지 마세요. Linux에서는 `setsid`를 제공하는 `util-linux`를, Homebrew 환경에서는 Perl을 설치하는 정확한 명령을 보여 주고 실행 전 명시적 승인을 받으세요. `setup --install`도 이 보조 도구를 자동 설치하지 않으며, 보조 도구가 없으면 gitleaks 다운로드 전에 중단하고 복구 전까지 nonzero 상태를 유지합니다.
5. If `gitleaks` is missing, prefer Agent Guard's private, checksum-pinned installer:
"<agent-guard-bin>" setup --install \
--gitleaks-version "<version>" \
--gitleaks-checksum "<published-sha256>"Never substitute an unverified checksum and never bypass TLS verification.
6. If an approved dependency installation is blocked by the host sandbox:
install destination, or bypass the sandbox silently.
private gitleaks installer, preserve the plugin-local binary path, version, and published checksum from the approved command above.
`"<agent-guard-bin>" setup` diagnosis, and continue only when the dependency reports `ok`.
7. Verify the plugin-local installation:
"<agent-guard-bin>" check "<agent-guard-bin>" smoke-test
Treat `check` as dependency/config validation and `smoke-test` as proof of the binary's own behavior. They do not prove that the host is dispatching plugin hooks.
8. Identify the active host and verify its plugin boundary before claiming that protection is active.
9. Run live host probes through the normal command tool selected by the active host for the current task. Do not read a real sensitive file.
printf '%s\n' 'AGENT_GUARD_LIVE_PRE_TOOL_PROBE'
The expected result is an Agent Guard block before the marker is printed. If the marker appears, the live command boundary is not protected.
printf '%s\n' 'AGENT_GUARD_LIVE_POST_TOOL_PROBE'
The raw marker must not reach the model; expect `[REDACTED]` in a masked or sanitized replacement. While local diagnostic logging is on the replacement also names the hook invocation that produced it, as `[REDACTED] agent-guard live probe run_id=<run id>`; report that id so the user can resolve it with `agent-guard logs export` instead of taking the probe
Real-time secret-leak guardrails for AI coding agents (Claude Code, Codex), Git hooks, and CI.
Install or refresh Agent Guard's plugin-local shell integration. Use when the user explicitly asks to enable or update shell…
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…