2026 Agent Wrapped is here! Check out yours

Disabling Prismor

There are three independent layers that can each restrict an agent session. Disabling one does not disable the others — pick the layer that matches what you're actually trying to turn off.

The third layer, session-scoped agent rules, is independent of hook mode and is cleared per session with prismor scope clear ID; see Scoped Agent.

1. Uninstall hooks entirely

Removes the hook-dispatch entries from the agent's hooks config, so Prismor stops receiving PreToolUse/PostToolUse/UserPromptSubmit events altogether.

prismor uninstall-hooks --agent claude --scope project   # this workspace only
prismor uninstall-hooks --agent claude --scope user      # global (all workspaces)
prismor uninstall-hooks --agent all --scope project      # every supported agent, this workspace

--scope defaults to project. Project and user scope edit different files — running only --scope user does not touch a workspace's local hooks, and vice versa:

AgentProject scopeUser scope
Claude Code<workspace>/.claude/settings.json~/.claude/settings.json
Cursor<workspace>/.cursor/hooks.json~/.cursor/hooks.json
Windsurf<workspace>/.windsurf/hooks.json~/.codeium/windsurf/hooks.json
OpenClaw<workspace>/.openclaw/extensions/prismor/~/.openclaw/extensions/prismor/
Hermes<workspace>/.hermes/plugins/prismor/ (needs HERMES_ENABLE_PROJECT_PLUGINS=1)~/.hermes/plugins/prismor/
Codex<workspace>/.codex/hooks.json~/.codex/hooks.json
Copilot<workspace>/.github/hooks/prismor.json~/.copilot/hooks/prismor.json
Grok Build<workspace>/.grok/hooks/prismor.json~/.grok/hooks/prismor.json
Kiro CLI<workspace>/.kiro/agents/kiro_default.json~/.kiro/agents/kiro_default.json
Crush<workspace>/crush.json~/.config/crush/crush.json
OpenHands<workspace>/.openhands/hooks.json~/.openhands/hooks.json
Qwen Code<workspace>/.qwen/settings.json~/.qwen/settings.json
Continue CLI<workspace>/.continue/settings.json~/.continue/settings.json
Goose<workspace>/.agents/plugins/prismor/hooks/hooks.json~/.agents/plugins/prismor/hooks/hooks.json
Antigravity<workspace>/.agents/hooks.json~/.gemini/config/hooks.json

If you only run one scope, the other one's hooks (if installed) keep firing. Run both if you want Prismor fully out of the picture for an agent.

A running session has already loaded its hook config — uninstalling mid-session won't take effect until you start a new session.

If prismor uninstall-hooks reports success but hooks are still firing, you're likely running a stale install — e.g. a pipx-installed copy that's an out-of-date snapshot of a dev checkout. Check which prismor and, if it resolves into a pipx venv, reinstall from the current source (pipx install --force <path-or-package>) before re-running the uninstall. As a last resort, hand-edit the hooks config file directly.

2. Soft-disable: observe mode + dry-run

Keep hooks installed but stop them from blocking:

prismor install-hooks --agent all --scope project --mode observe
PRISMOR_LOCAL_DRY_RUN=1   # set in your shell/session env

--mode observe logs findings without blocking. PRISMOR_LOCAL_DRY_RUN=1 additionally suppresses blocking for any finding that would otherwise block under observe-installed hooks (prismor/runtime/cli.py, checked when args.mode == "observe"). This is the right lever if you want Prismor's telemetry/logging to keep working while you temporarily stop enforcement.

This does not affect policy rules set to mode: enforce in .prismor/policy.yaml — those remain policy-authoritative regardless of how the hook was installed (see Observe / Enforce above).