Skip to content
Back to skills

Betterdisplay

ASecurity

Use when user says /betterdisplay or wants to change display resolution settings and sync to dotfiles

  • 666 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 8, 2026
toolsbashgit

Works with

  • cli

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill betterdisplay --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Betterdisplay?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Betterdisplay
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-betterdisplay/badge)](https://www.skillsdirectory.com/skills/majiayu000-betterdisplay)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: betterdisplay
description: Use when user says /betterdisplay or wants to change display resolution settings and sync to dotfiles
---

# BetterDisplay Workflow

Sync BetterDisplay settings with dotfiles.

## Helpers

### quit-app
```bash
osascript -e 'quit app "BetterDisplay"' 2>/dev/null || true
sleep 1
```

### import-from-dotfiles
Requires app to be quit first.
```bash
defaults import pro.betterdisplay.BetterDisplay ~/projects/jasonkuhrt/dotfiles/betterdisplay/settings.plist
```

### export-to-dotfiles
Requires app to be quit first.
```bash
defaults export pro.betterdisplay.BetterDisplay ~/projects/jasonkuhrt/dotfiles/betterdisplay/settings.plist
```

### launch-app
```bash
pgrep -x "BetterDisplay" || open -a "BetterDisplay"
```

## Flow

### 1. Show welcome

Display this:

```
/betterdisplay - Sync display settings with dotfiles

┌─────────────────────────────────────────────────┐
│  [sync if needed] → [configure] → [export]      │
│                                                 │
│  1. Import from dotfiles (if changed elsewhere) │
│  2. Open app for you to configure               │
│  3. Export your changes back to dotfiles        │
└─────────────────────────────────────────────────┘
```

### 2. Check sync status
```bash
DOTFILES_PLIST=~/projects/jasonkuhrt/dotfiles/betterdisplay/settings.plist
if [ ! -f "$DOTFILES_PLIST" ]; then
    echo "first-time"
else
    defaults export pro.betterdisplay.BetterDisplay /tmp/bd-current.plist 2>/dev/null || true
    if diff -q "$DOTFILES_PLIST" /tmp/bd-current.plist >/dev/null 2>&1; then
        echo "in-sync"
    else
        echo "needs-import"
    fi
fi
```
- `first-time` → tell user "First-time setup", skip to step 4
- `in-sync` → tell user "Settings in sync", skip to step 4
- `needs-import` → tell user "Importing changes from dotfiles...", continue

### 3. Import from dotfiles
- quit-app
- import-from-dotfiles

### 4. launch-app

### 5. Show config instructions

```
BetterDisplay is open. Configure it:

REQUIRED (first-time):
  Settings → Displays → "Default display identification method" → "Match vendor, model"

RESOLUTION FAVORITES:
  Menu bar → Studio Display → resolution dropdown → right-click → "Add to Favorites"
  Suggested: 2880×1620, 3200×1800, 3840×2160

UNLOCK MORE RESOLUTIONS (Pro feature, requires reboot):
  1. Settings (gear) → Displays → click "Studio Display" row
  2. Enable "Edit the default system configuration of this display model"
  3. Enable "Enable flexible scaling"
  4. Click Apply (admin password required)
  5. Reboot
  → After reboot: 3200×1800, 3840×2160, and slider available

OTHER PRO FEATURES:
  • Layout Protection: Settings → Displays → "Protect resolution"
    (prevents macOS resetting your choice)
  • XDR Brightness: Menu bar → Studio Display → XDR slider
    (boost to 1600 nits)

TROUBLESHOOTING:
  • Safe mode: Hold SHIFT while launching
  • Reset: Settings → Application → "Reset App Settings"
```

### 6. Prompt user (AskUserQuestion: "Done" / "Cancel")
- Cancel → exit

### 7. Export to dotfiles
- quit-app
- export-to-dotfiles

### 8. Prompt: commit? (AskUserQuestion: "Yes" / "No")
- Yes → `git -C ~/projects/jasonkuhrt/dotfiles add betterdisplay/settings.plist && git -C ~/projects/jasonkuhrt/dotfiles commit -m "feat(betterdisplay): update settings"`

## Paths

- **Dotfiles:** `~/projects/jasonkuhrt/dotfiles/betterdisplay/settings.plist`
- **macOS prefs:** `~/Library/Preferences/pro.betterdisplay.BetterDisplay.plist`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.