{"slug": "my-claude-code-settings-mac", "title": "My claude code settings (Mac)", "summary": "Configuration file (`settings.json`) for Claude Code on Mac, which defines automated hooks that pause and resume media playback (using `nowplaying-cli`) during Claude interactions, and triggers a `rtk` hook before Bash tool use. The settings also enable several official plugins for frontend design, code review, security guidance, and Swift LSP, while disabling remote control at startup.", "body_md": "Last active\nMay 21, 2026 16:02\n\n-\n-\nSave CupOfGeo/ad362047b23c0473a8bb9a8c37c3ef27 to your computer and use it in GitHub Desktop.\n\nMy claude code settings (Mac)\n\nThis file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.\n\n[Learn more about bidirectional Unicode characters](https://github.co/hiddenchars)| { | |\n| \"_comment\": \"rtk hook requieres: brew install rtk. media hooks require: brew install nowplaying-cli. Looks for a file `~/.claude/no-media` if present or not to trigger.\", | |\n| \"hooks\": { | |\n| \"Stop\": [ | |\n| { | |\n| \"matcher\": \"\", | |\n| \"hooks\": [ | |\n| { | |\n| \"type\": \"command\", | |\n| \"command\": \"[ -f ~/.claude/no-media ] || nowplaying-cli pause\" | |\n| } | |\n| ] | |\n| } | |\n| ], | |\n| \"Notification\": [ | |\n| { | |\n| \"matcher\": \"\", | |\n| \"hooks\": [ | |\n| { | |\n| \"type\": \"command\", | |\n| \"command\": \"[ -f ~/.claude/no-media ] || nowplaying-cli pause\" | |\n| } | |\n| ] | |\n| } | |\n| ], | |\n| \"UserPromptSubmit\": [ | |\n| { | |\n| \"matcher\": \"\", | |\n| \"hooks\": [ | |\n| { | |\n| \"type\": \"command\", | |\n| \"command\": \"[ -f ~/.claude/no-media ] || nowplaying-cli play\" | |\n| } | |\n| ] | |\n| } | |\n| ], | |\n| \"PostToolUse\": [ | |\n| { | |\n| \"matcher\": \"AskUserQuestion\", | |\n| \"hooks\": [ | |\n| { | |\n| \"type\": \"command\", | |\n| \"command\": \"[ -f ~/.claude/no-media ] || nowplaying-cli play\" | |\n| } | |\n| ] | |\n| } | |\n| ], | |\n| \"PermissionRequest\": [ | |\n| { | |\n| \"matcher\": \"\", | |\n| \"hooks\": [ | |\n| { | |\n| \"type\": \"command\", | |\n| \"command\": \"[ -f ~/.claude/no-media ] || nowplaying-cli play\" | |\n| } | |\n| ] | |\n| } | |\n| ], | |\n| \"PreToolUse\": [ | |\n| { | |\n| \"matcher\": \"Bash\", | |\n| \"hooks\": [ | |\n| { | |\n| \"type\": \"command\", | |\n| \"command\": \"rtk hook claude\" | |\n| } | |\n| ] | |\n| } | |\n| ] | |\n| }, | |\n| \"enabledPlugins\": { | |\n| \"frontend-design@claude-plugins-official\": true, | |\n| \"code-review@claude-plugins-official\": true, | |\n| \"security-guidance@claude-plugins-official\": true, | |\n| \"swift-lsp@claude-plugins-official\": true | |\n| }, | |\n| \"remoteControlAtStartup\": false | |\n| } |\n\nAuthor\n\nuse mac script to play media while Claude works and to pause it when its done.", "url": "https://wpnews.pro/news/my-claude-code-settings-mac", "canonical_source": "https://gist.github.com/CupOfGeo/ad362047b23c0473a8bb9a8c37c3ef27", "published_at": "2026-04-13 01:58:48+00:00", "updated_at": "2026-05-21 16:12:32.485107+00:00", "lang": "en", "topics": ["developer-tools"], "entities": ["Claude", "nowplaying-cli", "rtk"], "alternates": {"html": "https://wpnews.pro/news/my-claude-code-settings-mac", "markdown": "https://wpnews.pro/news/my-claude-code-settings-mac.md", "text": "https://wpnews.pro/news/my-claude-code-settings-mac.txt", "jsonld": "https://wpnews.pro/news/my-claude-code-settings-mac.jsonld"}}