~ / rigs / agnesk92 / macos-setup

agnesk92/macos-setup

Scripts & dotfiles ✨🔧

↗ GitHub ★ 5 MIT updated 9d ago personal setup Claude Code
stack: JavaScript
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~375 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
4/5
Blocks destructive commands · Protects secrets · No YOLO mode · Sandbox or ask-first rules · details
Quality 27/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit agnesk92/macos-setup/dotfiles/claude/.claude ./rig-macos-setup  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ npx degit agnesk92/macos-setup/dotfiles/agents/.agents/skills/cleanup-code .claude/skills/cleanup-code
$ npx degit agnesk92/macos-setup/dotfiles/agents/.agents/skills/fix-vuln .claude/skills/fix-vuln
$ npx degit agnesk92/macos-setup/dotfiles/agents/.agents/skills/frontend-design .claude/skills/frontend-design
$ npx degit agnesk92/macos-setup/dotfiles/agents/.agents/skills/impeccable .claude/skills/impeccable
$ npx degit agnesk92/macos-setup/dotfiles/agents/.agents/skills/pr-explain .claude/skills/pr-explain
$ npx degit agnesk92/macos-setup/dotfiles/agents/.agents/skills/tdd .claude/skills/tdd

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "permissions": {
    "deny": [
      "Bash(dd * of=/dev/*)",
      "Bash(diskutil apfs changePassphrase *)",
      "Bash(diskutil apfs decryptVolume *)",
      "Bash(diskutil apfs deleteContainer *)",
      "Bash(diskutil apfs deleteSnapshot *)",
      "Bash(diskutil apfs deleteVolume *)",
      "Bash(diskutil apfs deleteVolumeGroup *)",
      "Bash(diskutil apfs eraseVolume *)",
      "Bash(diskutil appleRAID *)",
      "Bash(diskutil coreStorage *)",
      "Bash(diskutil cs *)",
      "Bash(diskutil disableJournal *)",
      "Bash(diskutil disableOwnership *)",
      "Bash(diskutil eraseDisk *)",
      "Bash(diskutil eraseVolume *)",
      "Bash(diskutil partitionDisk *)",
      "Bash(diskutil randomDisk *)",
      "Bash(diskutil reformat *)",
      "Bash(diskutil resetFusion *)",
      "Bash(diskutil zeroDisk *)",
      "Bash(mkfs*)",
      "Bash(newfs*)",
      "Bash(rm -rf $HOME)",
      "Bash(rm -rf $HOME/)",
      "Bash(rm -rf $PAI_DIR)",
      "Bash(rm -rf $PAI_HOME)",
      "Bash(rm -rf /)",
      "Bash(rm -rf /*)",
      "Bash(rm -rf ~)",
      "Bash(rm -rf ~/)",
      "Bash(sudo rm -rf /)",
      "Bash(sudo rm -rf /*)",
      "Bash(sudo rm -rf ~)",
      "Bash(sudo rm -rf ~/)",
      "Read(**/*.key)",
      "Read(**/*.pem)",
      "Read(**/.aws/**)",
      "Read(**/.env*)",
      "Read(**/.ssh/**)",
      "Read(**/credentials/**)",
      "Read(**/secrets/**)",
      "Bash(gh repo delete:*)",
      "Bash(curl:*)",
      "Read(**/build)",
      "Read(**/credentials.json)",
      "Read(**/key.json)",
      "Bash(kubectl apply *)",
      "Bash(kubectl * apply *)",
      "Bash(kubectl create *)",
      "Bash(kubectl * create *)",
      "Bash(kubectl delete *)",
      "Bash(kubectl * delete *)",
      "Bash(kubectl edit *)",
      "Bash(kubectl * edit *)",
      "Bash(kubectl patch *)",
      "Bash(kubectl * patch *)",
      "Bash(kubectl replace *)",
      "Bash(kubectl * replace *)",
      "Bash(kubectl scale *)",
      "Bash(kubectl * scale *)",
      "Bash(kubectl rollout restart *)",
      "Bash(kubectl * rollout restart *)",
      "Bash(kubectl rollout undo *)",
      "Bash(kubectl * rollout undo *)",
      "Bash(kubectl rollout pause *)",
      "Bash(kubectl * rollout pause *)",
      "Bash(kubectl rollout resume *)",
      "Bash(kubectl * rollout resume *)",
      "Bash(kubectl cordon *)",
      "Bash(kubectl * cordon *)",
      "Bash(kubectl uncordon *)",
      "Bash(kubectl * uncordon *)",
      "Bash(kubectl drain *)",
      "Bash(kubectl * drain *)",
      "Bash(kubectl taint *)",
      "Bash(kubectl * taint *)",
      "Bash(kubectl label *)",
      "Bash(kubectl * label *)",
      "Bash(kubectl annotate *)",
      "Bash(kubectl * annotate *)"
    ],
    "ask": [
      "Bash(gh api:*)",
      "Bash(gh pr review:*)",
      "Bash(gh pr merge:*)",
      "Bash(gh pr close:*)",
      "Bash(gh pr comment:*)",
      "Bash(gh pr edit:*)",
      "Bash(kubectl *)"
    ]
  }
}

Skills (6)

Plugins (2)

i-have-adhd@i-have-adhdhumanizer@humanizer

Permissions

deny (98)
Bash(dd * of=/dev/*)
Bash(diskutil apfs changePassphrase *)
Bash(diskutil apfs decryptVolume *)
Bash(diskutil apfs deleteContainer *)
Bash(diskutil apfs deleteSnapshot *)
Bash(diskutil apfs deleteVolume *)
Bash(diskutil apfs deleteVolumeGroup *)
Bash(diskutil apfs eraseVolume *)
Bash(diskutil appleRAID *)
Bash(diskutil coreStorage *)
Bash(diskutil cs *)
Bash(diskutil disableJournal *)
Bash(diskutil disableOwnership *)
Bash(diskutil eraseDisk *)
Bash(diskutil eraseVolume *)
Bash(diskutil partitionDisk *)
Bash(diskutil randomDisk *)
Bash(diskutil reformat *)
Bash(diskutil resetFusion *)
Bash(diskutil zeroDisk *)
Bash(mkfs*)
Bash(newfs*)
Bash(rm -rf $HOME)
Bash(rm -rf $HOME/)
Bash(rm -rf $PAI_DIR)
Bash(rm -rf $PAI_HOME)
Bash(rm -rf /)
Bash(rm -rf /*)
Bash(rm -rf ~)
Bash(rm -rf ~/)
Bash(sudo rm -rf /)
Bash(sudo rm -rf /*)
Bash(sudo rm -rf ~)
Bash(sudo rm -rf ~/)
Read(**/*.key)
Read(**/*.pem)
Read(**/.aws/**)
Read(**/.env*)
Read(**/.ssh/**)
Read(**/credentials/**)
Read(**/secrets/**)
Bash(gh repo delete:*)
Bash(curl:*)
Read(**/build)
Read(**/credentials.json)
Read(**/key.json)
Bash(kubectl apply *)
Bash(kubectl * apply *)
Bash(kubectl create *)
Bash(kubectl * create *)
Bash(kubectl delete *)
Bash(kubectl * delete *)
Bash(kubectl edit *)
Bash(kubectl * edit *)
Bash(kubectl patch *)
Bash(kubectl * patch *)
Bash(kubectl replace *)
Bash(kubectl * replace *)
Bash(kubectl scale *)
Bash(kubectl * scale *)
ask (7)
Bash(gh api:*)
Bash(gh pr review:*)
Bash(gh pr merge:*)
Bash(gh pr close:*)
Bash(gh pr comment:*)
Bash(gh pr edit:*)
Bash(kubectl *)
allow (0)
—

Similar rigs

copied ✓