Skip to main content

Harness support matrix

HOL Guard 3.x ships adapters for 17 harnesses. Each adapter reads that harness's config, records what it finds as artifacts, and attaches protection in one of four ways:

  • native hooks written into the harness config, so Guard sees tool calls and prompts as they happen
  • managed MCP proxies that put Guard in front of local stdio MCP servers
  • a Guard-owned overlay, extension, or plugin that the harness loads at runtime
  • a launcher shim that checks artifacts before the harness starts

Most adapters combine several of these. Run hol-guard doctor --harnesses to print the protection contract for every harness on your machine.

Protection and approval by harnessDirect link to Protection and approval by harness​

The harness id is what you pass to detect, install, run, and apps.

HarnessIdProtection attaches throughApproval tier
CodexcodexHooks in ~/.codex/config.toml, MCP proxies, launcher shimnative-or-center
Claude Codeclaude-code (alias claude)Hooks in ~/.claude/settings.json, launcher shimnative-or-center
GitHub Copilot CLIcopilotHooks in ~/.copilot/config.json and .github/hooks, MCP proxies, launcher shimnative-or-center
CursorcursorHooks in ~/.cursor/hooks.json, MCP proxies, CLI shimsnative-harness
OpenCodeopencodePretool plugin, runtime overlay, launcher shimmixed
ClineclineNative hooks or the Guard AgentPlugin, MCP proxies, launcher shimapproval-center
DevindevinHooks in ~/.config/devin/config.json, launcher shimapproval-center
GrokgrokHook files in ~/.grok/hooks, merged ~/.grok/config.toml, launcher shimapproval-center
Kimi CodekimiHooks in ~/.kimi-code/config.toml, launcher shimapproval-center
ZCodezcodeHooks in ~/.zcode/cli/config.json, launcher shimapproval-center
PipiManaged hol-guard.ts extension, launcher shimapproval-center
Oh My PiompManaged hol-guard.ts extension, launcher shimapproval-center
HermeshermesGuard overlay with a hooks.pre_tool_call entry in the Hermes config, MCP proxies, launcher shimnative-or-center with the managed bundle, else approval-center
OpenClawopenclawGuard overlay bundle with a pretool hook, launcher shimnative-or-center with the managed bundle, else approval-center
Gemini CLIgeminiLauncher shim and pre-launch scanapproval-center
AntigravityantigravityLauncher shim and pre-launch scanapproval-center
PaseopaseoInstalls Guard into the native providers Paseo runsnone of its own

Gemini CLI and Antigravity are separate adapters with separate ids. Neither installs hooks. See Gemini CLI and Antigravity.

What each adapter readsDirect link to What each adapter reads​

Paths use ~ for your home directory. <workspace> is the project directory Guard was started in.

HarnessConfig and artifacts Guard detects
Codex~/.codex/config.toml and <workspace>/.codex/config.toml for mcp_servers, hooks.json in the same two directories, skills under .codex/skills and .agents/skills
Claude Codesettings.json and settings.local.json under ~/.claude and <workspace>/.claude, <workspace>/.mcp.json, MCP servers in ~/.claude.json, and workspace .claude/agents, skills, commands, and rules
Copilot~/.copilot/config.json, ~/.copilot/mcp-config.json, <workspace>/.mcp.json, <workspace>/.vscode/mcp.json, <workspace>/.github/hooks/*.json
Cursor~/.cursor/mcp.json, <workspace>/.cursor/mcp.json, ~/.cursor/hooks.json
OpenCodeopencode.json or opencode.jsonc in ~/.config/opencode and the workspace, plus commands, plugins, and skills in ~/.config/opencode and <workspace>/.opencode
ClineHooks in ~/.cline/hooks and ~/Documents/Cline/Hooks, plugins in ~/.cline/plugins, MCP settings in cline_mcp_settings.json under ~/.cline/data/settings and ~/.cline/settings
Devin~/.config/devin/config.json, ~/.config/devin/mcp_config.json, and in the workspace .devin/hooks.v1.json, .devin/config.json, .devin/config.local.json, .devin/mcp_config.json
Grok~/.grok/config.toml, ~/.grok/managed_config.toml, ~/.grok/hooks; set GROK_HOME to relocate
Kimi Code~/.kimi-code/config.toml
ZCode~/.zcode/cli/config.json and the plugin cache under ~/.zcode/cli/plugins
Pi~/.pi/agent/settings.json, <workspace>/.pi/settings.json, and extensions/*.ts in both
Oh My Pi~/.omp/agent/settings.json, <workspace>/.omp/settings.json, and extensions/*.ts in both
Hermesconfig.yaml and skills under $HERMES_HOME, or ~/.hermes when unset
OpenClaw~/.openclaw/openclaw.json: gateway posture, channels, MCP servers, and workspace skills
Gemini CLI~/.gemini/settings.json, .gemini/extensions/*/gemini-extension.json, and .gemini/skills, under the home and workspace .gemini directories
AntigravityUser settings.json in the Antigravity user directory, <workspace>/.vscode/settings.json, .gemini/antigravity/mcp_config.json, .gemini/antigravity/skills, and ~/.antigravity/extensions/extensions.json
Paseo~/.paseo/config.json, or config.json under an absolute PASEO_HOME

Codex, Claude Code, Cursor, OpenCode, Gemini CLI, Pi, Oh My Pi, and OpenClaw also pick up skills from <workspace>/.agents/skills.

Approval tiersDirect link to Approval tiers​

The tier names are what hol-guard and the dashboard report for each harness.

TierMeaning
native-or-centerGuard answers inside the harness's own prompt when that surface can ask, and falls back to the approval center when it cannot
native-harnessThe harness keeps its own tool approval prompts. Guard's hooks and artifact checks run alongside them
mixedGuard approves blocked artifacts. OpenCode's own allow-once and allow-session prompt covers managed MCP tools
approval-centerBlocked requests go to the local approval center. Pi and Oh My Pi also show the block reason inline when the managed extension is active

Across all tiers, a pending request can be resolved in three places:

  1. the harness's own prompt, where the tier allows it
  2. the local approval center on 127.0.0.1
  3. the terminal, with hol-guard approvals

See Approval center and audit trail for how requests are stored and resolved.

Install, verify, and removeDirect link to Install, verify, and remove​

The same loop works for every harness. Replace codex with the id from the table above.

hol-guard detect codex --json
hol-guard install codex --dry-run
hol-guard install codex
hol-guard run codex --dry-run
hol-guard apps test codex --json
hol-guard doctor codex

To remove Guard from one harness, or from every harness it manages:

hol-guard uninstall codex
hol-guard uninstall --all

hol-guard apps connect, test, repair, and disconnect take the same harness ids. Cursor and Cline also accept --surface to pick which part to change. apps disconnect asks for --confirm disconnect-<harness>, with the harness id in place of <harness>.

hol-guard install takes one or more harness ids, or --all. hol-guard bootstrap detects a harness, starts the approval center, and installs Guard for the best local target.

Launcher shimsDirect link to Launcher shims​

Most adapters write a launcher shim at ~/.hol-guard/bin/guard-<launcher>. On Windows the same directory also gets a guard-<launcher>.cmd file. The shim runs Guard's pre-launch check and then starts the real harness.

Examples are guard-codex, guard-claude, guard-opencode, guard-gemini, and guard-cline. Cursor installs two, guard-cursor-agent and guard-cursor. Add ~/.hol-guard/bin to PATH to call them from any shell. The --guard-home option moves this directory.

For Gemini CLI and Antigravity the shim and hol-guard run are the whole protection path, so launching those tools directly skips the check.

What Guard does not coverDirect link to What Guard does not cover​

  • Windsurf and Goose have no adapter.
  • VS Code Copilot is covered only through the workspace hook file and MCP proxies that Guard writes. Guard does not claim interception inside the VS Code extension host.
  • Cline in JetBrains is detected, but its protection is reported as unverified until a live pre-tool block has been observed.
  • Inline file edits that a model applies without a tool call are not visible to Guard in Codex, Devin, Kimi Code, or ZCode.
  • Paseo protection is limited to supported native providers on the machine that runs the Paseo daemon.

Each per-harness page lists the remaining known limits.

Per-harness guidesDirect link to Per-harness guides​

Copilot, Devin, Kimi Code, ZCode, Pi, Oh My Pi, Hermes, and OpenClaw use the generic flow above. The two tables list what is specific to each.

Next guidesDirect link to Next guides​