The Five Modes
profClaw’s security mode determines how tool calls are validated before execution. The mode can be set globally, per channel, per user, or per conversation.- deny
- sandbox
- allowlist
- ask
- full
No tool execution allowed.All tool calls are blocked regardless of which tool or who is calling. The AI can still respond conversationally but cannot execute any actions.Use for: Read-only channels, demo environments, untrusted public chats.
Mode Comparison
| Feature | deny | sandbox | allowlist | ask | full |
|---|---|---|---|---|---|
| Tool execution | Never | In container | Pre-approved only | With approval | Always |
| Approval prompts | - | - | - | For moderate/dangerous | Never |
| Filesystem access | None | Container only | Listed paths | Guarded | Guarded |
| Network access | None | Container only | Listed URLs | SSRF-guarded | SSRF-guarded |
| Best for | Public | Execution | Production | Personal | Dev only |
Per-Channel Mode Override
Set different modes for different channels:Per-User Policies
Apply different modes based on the authenticated user:Granular Exec Policies
Policies can match on tools, commands, paths, users, and channels with priority ordering:priority values are evaluated first.