logoalt Hacker News

tomaytotomatotoday at 7:17 PM1 replyview on HN

Not 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/**)"
    ]
  },

Replies

FishAngular12today at 7:28 PM

Where would one put this? In AGENTS.md?

show 1 reply