CLI reference/AI agents/agents
clavis agents allow
Add command patterns to an agent allowlist
sh
clavis agents allow IDENTITY COMMAND...Approve command patterns for an agent. Patterns support * and ?; a bare * is refused.
Examples
sh
clavis agents allow coding-agent "npm test"
clavis agents allow coding-agent "go test ./..." "pnpm dev"Global flags
These work with every command.
--debug- enable debug logging
--env string- environment slug
--json- output machine-readable JSON
--org string- organization slug
--overlay string- tenant/region overlay slug
--path string- folder path (default /)
--project string- project slug
--server string- Clavis server URL (default: from .clavis.yaml or saved login)
-h, --help- help for any command