Show HN: A police department for your Claude Code agents
1–10 of 14 posts
Re: Show HN: A police department for your Claude Code agents
#2https://www.reddit.com/media?url=https%3A%2F%2Fpreview.redd....
Re: Show HN: A police department for your Claude Code agents
#3Re: Show HN: A police department for your Claude Code agents
#4Probably needs a better metaphor than "police department", what with the most popular cop meme being: https://www.reddit.com/media?url=https%3A%2F%2Fpreview.redd....
Re: Show HN: A police department for your Claude Code agents
#5 "permissions": {
"allow": [
"Bash(npm run lint)",
"Bash(npm run test *)",
"Read(~/.zshrc)"
],
"deny": [
"Bash(curl *)",
"Read(./.env)",
"Read(./.env.*)",
"Read(./secrets/**)"
]
},Re: Show HN: A police department for your Claude Code agents
#6Not a criticism, but why would I use this instead of locking down my Claude using the allow/deny permissions list? "permissions": { "allow": [ "Bash(npm run lint)", "Bash(npm run test *)", "Read(~/.zshrc)" ], "deny": [ "Bash(curl *)", "Read(./.env)", "Read(./.env.*)", "Read(./secrets/**)" ] },
Re: Show HN: A police department for your Claude Code agents
#7Not a criticism, but why would I use this instead of locking down my Claude using the allow/deny permissions list? "permissions": { "allow": [ "Bash(npm run lint)", "Bash(npm run test *)", "Read(~/.zshrc)" ], "deny": [ "Bash(curl *)", "Read(./.env)", "Read(./.env.*)", "Read(./secrets/**)" ] },
Where would one put this? In AGENTS.md?
or /permissions
Re: Show HN: A police department for your Claude Code agents
#8Not a criticism, but why would I use this instead of locking down my Claude using the allow/deny permissions list? "permissions": { "allow": [ "Bash(npm run lint)", "Bash(npm run test *)", "Read(~/.zshrc)" ], "deny": [ "Bash(curl *)", "Read(./.env)", "Read(./.env.*)", "Read(./secrets/**)" ] },
Re: Show HN: A police department for your Claude Code agents
#9Not a criticism, but why would I use this instead of locking down my Claude using the allow/deny permissions list? "permissions": { "allow": [ "Bash(npm run lint)", "Bash(npm run test *)", "Read(~/.zshrc)" ], "deny": [ "Bash(curl *)", "Read(./.env)", "Read(./.env.*)", "Read(./secrets/**)" ] },
Idea is not to deny permissions to everything but just keep a log on what the agents are doing thats not in line with our permissions and also you have to know what they are bypassing so we can put them in deny list later. Very useful when you spawn many agents working in parallel. This is more of an observability tool.