settings.json 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. {
  2. "cleanupPeriodDays": 30,
  3. "remoteControlAtStartup": true,
  4. "permissions": {
  5. "allow": [
  6. "Bash(git status)",
  7. "Bash(git log*)",
  8. "Bash(git diff*)",
  9. "Bash(git branch*)",
  10. "Bash(git fetch*)",
  11. "Bash(git pull*)",
  12. "Bash(git add *)",
  13. "Bash(git commit*)",
  14. "Bash(git checkout *)",
  15. "Bash(git switch *)",
  16. "Bash(git stash)",
  17. "Bash(git stash push*)",
  18. "Bash(git stash list*)",
  19. "Bash(git stash show*)",
  20. "Bash(git tag*)",
  21. "Bash(git show*)",
  22. "Bash(ls *)",
  23. "Bash(ls)",
  24. "Bash(find *)",
  25. "Bash(cat *)",
  26. "Bash(head *)",
  27. "Bash(tail *)",
  28. "Bash(grep *)",
  29. "Bash(rg *)",
  30. "Bash(fd *)",
  31. "Bash(wc *)",
  32. "Bash(echo *)",
  33. "Bash(pwd)",
  34. "Bash(which *)",
  35. "Bash(type *)",
  36. "Bash(whoami)",
  37. "Bash(uname *)",
  38. "Bash(mkdir -p *)",
  39. "Bash(touch *)",
  40. "Bash(cp *)",
  41. "Bash(mv *)",
  42. "Bash(jq *)",
  43. "Bash(yq *)",
  44. "Bash(awk *)",
  45. "Bash(sort *)",
  46. "Bash(uniq *)",
  47. "Bash(tr *)",
  48. "Bash(cut *)",
  49. "Bash(diff *)",
  50. "Read(**/*.md)",
  51. "Read(**/*.txt)",
  52. "Read(**/*.json)",
  53. "Read(**/*.yaml)",
  54. "Read(**/*.yml)",
  55. "Read(**/*.toml)",
  56. "Read(**/*.lock)",
  57. "Read(**/*.gitignore)",
  58. "Read(**/*.dockerignore)",
  59. "Read(**/.claudeignore)",
  60. "Read(**/Makefile)",
  61. "Read(**/Dockerfile*)",
  62. "Read(**/docker-compose*)"
  63. ],
  64. "deny": [
  65. "Bash(rm -rf *)",
  66. "Bash(rm -rf /*)",
  67. "Bash(rmdir *)",
  68. "Bash(git push --force*)",
  69. "Bash(git push -f*)",
  70. "Bash(git reset --hard*)",
  71. "Bash(git clean -fd*)",
  72. "Bash(sudo rm*)",
  73. "Bash(sudo chmod*)",
  74. "Bash(sudo chown*)",
  75. "Bash(sudo dd*)",
  76. "Bash(su *)",
  77. "Bash(curl * | bash)",
  78. "Bash(wget * | bash)",
  79. "Bash(curl * | sh)",
  80. "Bash(wget * | sh)",
  81. "Bash(chmod 777 *)",
  82. "Bash(chmod -R 777 *)",
  83. "Bash(ssh *)",
  84. "Bash(scp *)",
  85. "Bash(rsync *)",
  86. "Bash(nc *)",
  87. "Bash(netcat *)",
  88. "Bash(kill -9 *)",
  89. "Bash(killall *)",
  90. "Bash(pkill *)",
  91. "Bash(crontab *)",
  92. "Bash(systemctl *)",
  93. "Bash(service *)",
  94. "Bash(npm install -g *)",
  95. "Read(**/.env)",
  96. "Read(**/.env.*)",
  97. "Read(**/secrets/**)",
  98. "Read(**/*.pem)",
  99. "Read(**/*.key)",
  100. "Read(**/*.p12)",
  101. "Read(**/*.pfx)",
  102. "Read(**/id_rsa*)",
  103. "Read(**/id_ed25519*)",
  104. "Read(**/.ssh/**)",
  105. "Read(**/credentials)",
  106. "Read(**/credentials.json)",
  107. "Read(**/.aws/credentials)",
  108. "Read(**/.azure/**)",
  109. "Write(**/.env)",
  110. "Write(**/.env.*)",
  111. "Write(**/secrets/**)",
  112. "Write(**/*.pem)",
  113. "Write(**/*.key)",
  114. "Bash(bash -c *)",
  115. "Bash(eval *)",
  116. "Bash(exec *)",
  117. "Bash(find * -delete*)",
  118. "Bash(find * -exec rm*)",
  119. "Bash(find * -execdir rm*)",
  120. "Bash(perl -e *)",
  121. "Bash(ruby -e *)",
  122. "Bash(cat .env)",
  123. "Bash(cat .env.*)",
  124. "Bash(cat */.env)",
  125. "Bash(cat */.env.*)",
  126. "Bash(cat */secrets/*)",
  127. "Bash(cat */*.pem)",
  128. "Bash(cat */*.key)",
  129. "Bash(cat */id_rsa*)",
  130. "Bash(cat */id_ed25519*)",
  131. "Bash(cat */.aws/credentials)",
  132. "Bash(head .env)",
  133. "Bash(head .env.*)",
  134. "Bash(tail .env)",
  135. "Bash(tail .env.*)",
  136. "Bash(less .env)",
  137. "Bash(less .env.*)",
  138. "Bash(more .env)",
  139. "Bash(more .env.*)",
  140. "Bash(grep * .env)",
  141. "Bash(grep * .env.*)",
  142. "Bash(env)",
  143. "Bash(printenv)",
  144. "Bash(printenv *)",
  145. "Bash(export *)",
  146. "Bash(cp .env*)",
  147. "Bash(cp **/.env*)",
  148. "Bash(cp **/secrets/*)",
  149. "Bash(mv .env*)",
  150. "Bash(mv **/.env*)",
  151. "Bash(mv **/secrets/*)",
  152. "Bash(git add .env*)",
  153. "Bash(git add **/.env*)",
  154. "Bash(cp **/id_rsa*)",
  155. "Bash(cp **/id_ed25519*)",
  156. "Bash(cp **/.ssh/*)",
  157. "Bash(source /dev/stdin)",
  158. "Bash(mkfifo *)",
  159. "Bash(node -e *)",
  160. "Bash(xargs * .env*)",
  161. "Bash(tar * .env*)",
  162. "Bash(zip * .env*)",
  163. "Bash(base64 .env*)"
  164. ],
  165. "ask": [
  166. "Bash(git push *)",
  167. "Bash(git push)",
  168. "Bash(docker run *)",
  169. "Bash(docker exec *)",
  170. "Bash(docker-compose up*)",
  171. "Bash(docker compose up*)",
  172. "Bash(brew install *)",
  173. "Bash(apt install *)",
  174. "Bash(apt-get install *)",
  175. "Bash(dnf install *)",
  176. "Bash(pacman -S *)",
  177. "WebSearch",
  178. "WebFetch",
  179. "Bash(xargs *)",
  180. "Bash(sed *)",
  181. "Bash(python3 -c *)",
  182. "Bash(git stash pop*)",
  183. "Bash(git stash drop*)",
  184. "Bash(git stash clear)"
  185. ],
  186. "defaultMode": "default",
  187. "disableBypassPermissionsMode": "disable",
  188. "disableAutoMode": "disable",
  189. "additionalDirectories": []
  190. },
  191. "hooks": {
  192. "SessionStart": [
  193. {
  194. "hooks": [
  195. {
  196. "type": "command",
  197. "command": "bash ~/.claude/hooks/session-start.sh"
  198. }
  199. ]
  200. }
  201. ],
  202. "PreToolUse": [
  203. {
  204. "matcher": "Bash",
  205. "hooks": [
  206. {
  207. "type": "command",
  208. "command": "bash ~/.claude/hooks/rtk-rewrite.sh"
  209. }
  210. ]
  211. }
  212. ]
  213. },
  214. "statusLine": {
  215. "type": "command",
  216. "command": "bash ~/.claude/hooks/statusline.sh"
  217. },
  218. "enabledPlugins": {
  219. "example-skills@anthropic-agent-skills": true,
  220. "ui-ux-pro-max@ui-ux-pro-max-skill": true
  221. },
  222. "extraKnownMarketplaces": {
  223. "claude-code-plugins": {
  224. "source": {
  225. "source": "github",
  226. "repo": "anthropics/claude-code"
  227. }
  228. },
  229. "superpowers-marketplace": {
  230. "source": {
  231. "source": "github",
  232. "repo": "obra/superpowers-marketplace"
  233. }
  234. },
  235. "ui-ux-pro-max-skill": {
  236. "source": {
  237. "source": "github",
  238. "repo": "nextlevelbuilder/ui-ux-pro-max-skill"
  239. }
  240. },
  241. "anthropic-agent-skills": {
  242. "source": {
  243. "source": "github",
  244. "repo": "anthropics/skills"
  245. }
  246. }
  247. }
  248. }