Skip to content

Instantly share code, notes, and snippets.

@boxabirds
Created January 6, 2026 18:21
Show Gist options
  • Select an option

  • Save boxabirds/220ea8da14fffad8dc791d82b698484c to your computer and use it in GitHub Desktop.

Select an option

Save boxabirds/220ea8da14fffad8dc791d82b698484c to your computer and use it in GitHub Desktop.
.claude/settings.json for CloudFlare / bun
{
"$comment": "Inspired by https://x.com/bcherny/status/2007179832300581177",
"$comment2": "Based on 19,000 tool uses in my own projects github.com/boxabirds",
"env": {},
"permissions": {
"allow": [
"Bash(git remote:*)",
"Bash(git status:*)",
"Bash(git diff:*)",
"Bash(git log:*)",
"Bash(git show:*)",
"Bash(git rev-parse:*)",
"Bash(git describe:*)",
"Bash(git branch:*)",
"Bash(git tag:*)",
"Bash(git add:*)",
"Bash(git commit:*)",
"Bash(git push:*)",
"Bash(git revert:*)",
"Bash(npm run build:*)",
"Bash(npm test:*)",
"Bash(npm run test:*)",
"Bash(npm run dev:*)",
"Bash(npm ci:*)",
"Bash(npm install:*)",
"Bash(npx wrangler d1 execute:*)",
"Bash(npx wrangler d1 migrations list:*)",
"Bash(npx -y @modelcontextprotocol/inspector:*)",
"Bash(curl -s http://localhost:*)",
"Bash(curl -s http://127.0.0.1:*)",
"Bash(curl http://localhost:*)",
"Bash(curl http://127.0.0.1:*)",
"Bash(cd:*)",
"Bash(ls:*)",
"Bash(pwd:*)",
"Bash(cat:*)",
"Bash(grep:*)",
"Bash(find:*)",
"Bash(echo:*)",
"Bash(printf:*)",
"Bash(date:*)",
"Bash(sleep:*)",
"Bash(wc:*)",
"Bash(head:*)",
"Bash(tail:*)",
"Bash(jq:*)",
"Bash(sort:*)",
"Bash(uniq:*)",
"Bash(cut:*)",
"Bash(tr:*)",
"Bash(ps:*)",
"Bash(lsof:*)",
"Bash(pkill:*)",
"Bash(kill:*)",
"Bash(mkdir:*)",
"Bash(chmod +x:*)",
"Bash(source .env:*)",
"Bash(bun run:*)",
"Bash(bun install:*)",
"Bash(bunx:*)",
"Bash(node build.js:*)",
"Bash(bash -n:*)",
"Bash(bash scripts/:*)",
"Bash(sqlite3:*)",
"Bash(dig:*)",
"Bash(cp:*)",
"Bash(mv:*)",
"Bash(touch:*)",
"Bash(zsh:*)",
"Bash(set:*)",
"Bash(exit:*)",
"Bash(timeout:*)"
],
"ask": [
"Bash(npx wrangler deploy --env production:*)",
"Bash(npx wrangler d1 migrations apply:*)",
"Bash(rm -rf:*)",
"Bash(bash -c:*)",
"Bash(ssh:*)"
],
"deny": [
"Bash(rm -rf /:*)",
"Bash(rm -rf ~:*)",
"Bash(sudo rm:*)",
"Bash(sudo shutdown:*)",
"Bash(sudo reboot:*)",
"Bash(chmod 777:*)",
"Bash(chmod -R 777:*)"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment