keyclash
Health Pass
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 13 GitHub stars
Code Fail
- rm -rf — Recursive force deletion command in scripts/deploy-site.sh
- rm -rf — Recursive force deletion command in scripts/release.sh
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Free, open-source macOS keyboard shortcut conflict finder and free-key map. Scans menus, pbs.plist Services, AeroSpace, skhd, Karabiner. CLI & MCP.
Keyclash
Find macOS keyboard shortcut conflicts, see which keys are free, and press Command twice to see the current app’s shortcuts.
Keyclash is a free, MIT-licensed Mac utility for Apple Silicon and Intel. It is an independent project with no affiliation to the Steam game of the same name or to HotkeyClash.
Download the latest release · Install with Homebrew · keyclash.app
What it does
- Conflicts. Find system-wide shortcuts that share the same keys or block an app menu shortcut. See where to change the keys and which alternatives are free.
- Keyboard map and lookup. Hold or select modifiers to see which combinations are free, used, or blocked. Type or record a shortcut to see what uses it.
- All shortcuts and By app. Browse scanned shortcuts, filter by scope, or see what Keyclash found for a specific app. Export the filtered All shortcuts list as Markdown or CSV.
- Peek. Press Command twice to see shortcuts for the app in front. Search the list, star a shortcut, or press Return to run the selected shortcut.
- Use. Turn on counting to see shortcut presses by app and day. A press count alone cannot tell you whether the action ran.
- Agent tools. Export a JSON inventory or connect through MCP. Preview, apply, and undo supported shortcut changes. See the agent guide.
Install
The current release is v0.1.4. It runs on macOS 11 or later. The universal app supports Apple Silicon and Intel, is signed with an Apple Developer ID, and is notarized by Apple. Testing so far covers one Apple Silicon Mac on macOS 27.
Homebrew
brew install --cask hitpoint-hi/tap/keyclash
GitHub Releases
Download Keyclash.zip. Unzip it and move Keyclash to Applications.
- Open Keyclash. Click Start on the welcome page.
- Click Ask macOS for permission. Enable Keyclash in Accessibility to read live menus and use Peek.
- If Where we looked shows blocked app settings, you can enable Full Disk Access in System Settings → Privacy & Security. Then click Scan again.
Updates
Keyclash checks GitHub on startup and once a day while the app is open. When a new version is available, View release opens its download page. Dismiss hides the notice for that version. You can check manually or turn off automatic checks under Settings → Updates.
Quit Keyclash before you update.
- Homebrew. Run
brew upgrade --cask keyclash. - ZIP download. Replace Keyclash in Applications with the copy from the new ZIP.
If you upgrade from 0.1.0, macOS may ask for Accessibility permission again because the app signature changed.
Report a missed shortcut or bug
- Report a missed shortcut if Keyclash missed a binding or showed it incorrectly.
- Report a bug with the steps that led to the problem.
Where the shortcuts come from
- macOS keyboard shortcut settings, built-in defaults, and Globe/Fn settings.
- App preferences in plist and JSON files, including custom menu shortcuts stored under
NSUserKeyEquivalents. Some sandboxed preferences require Full Disk Access. - Configuration files for AeroSpace, OmniWM, skhd, Karabiner-Elements, and Wispr Flow. Keyclash also reads user bindings from Visual Studio Code, Cursor, and Windsurf.
- App-specific sources include Rectangle defaults, supported Spaceman defaults, ChatGPT desktop dictation, Maccy settings, and Zethos quick entry. Keyclash includes its own Peek shortcut.
- Menu files inside app bundles, shortcuts found in Electron app code, and live menus of open apps with Accessibility permission. Keyclash can reuse previously read menus for the same installed app version.
Where we looked shows the scan results for each source. A shortcut assignment can exist even when the app or action is inactive.
Available on main for the next release
- Services and Quick Actions. The scanner reads configured shortcuts in
NSServicesStatusin~/Library/Preferences/pbs.plist. Issue #10 - Custom only. Filter Look up keys, All shortcuts, and By app to shortcuts from user settings and config files. Use
--custom-onlyin CLI reports and Markdown exports. Issue #12 - Keyboard layout in reports. Reports include the active layout name and its input source ID when macOS provides it. Issue #11
These changes are on main for the planned v0.1.5 release. The v0.1.4 download predates them.
Known gaps
Keyclash has no dedicated parsers for Raycast, BetterTouchTool, Keyboard Maestro, Alfred, or Hammerspoon. Issue #13 tracks Raycast, BetterTouchTool, and Keyboard Maestro. Check Alfred and Hammerspoon shortcuts in those tools.
Compare shortcut tools
| Feature | Keyclash | HotkeyClash | KeyClu | CheatSheet | KeyCue | ShortcutDetective | macOS System Settings |
|---|---|---|---|---|---|---|---|
| Main use | Scan for clashes and find free keys | Scan for clashes and test a live keypress | Browse shortcuts, with bookmarks | Show the active app’s shortcuts | Browse app, system, and macro shortcuts | Identify the app that received a keypress when detectable | View and edit macOS shortcuts |
| Free-key keyboard map | Yes | No | No | No | No | No | No |
| Active-app shortcut sheet | Double-Command Peek with search and Return to run | No | Double-Command and hold by default | Hold Command | Hold Command by default | No | No |
| Services shortcuts | Configured shortcuts on main |
Reads Services shortcuts | No documented Services scan | No | No documented Services scan | Live press only | View and edit in Services |
| Examples of config sources | AeroSpace, OmniWM, skhd, Karabiner-Elements, Wispr Flow | Karabiner-Elements, skhd, Alfred, BetterTouchTool, Keyboard Maestro, Hammerspoon, Obsidian | skhd, custom lists | Active app menus | App menus and macro shortcuts | Live press only | macOS keyboard settings |
| CLI and export | CLI reports, JSON and Markdown, table export to Markdown or CSV | Markdown report export | CLI options and Markdown export for app shortcuts | No | Custom shortcut sets | No | No |
| Local MCP for supported remaps | Preview changes and undo them | No documented MCP | No documented MCP | No | No documented MCP | No | No |
| Availability | Free, MIT. macOS 11+ | Free, GPL-2.0. macOS 14+ | Free, BSD-3-Clause-Clear | Discontinued. The developer lists Sonoma and later as unsupported | Paid | Legacy v1.0. The vendor lists Mac OS X 10.6 as its minimum | Included with macOS |
| Homebrew | brew install --cask hitpoint-hi/tap/keyclash |
brew install --cask hotkeyclash |
brew install --cask keyclu |
Discontinued | brew install --cask keycue |
No documented cask | Built in |
FAQ
How does Keyclash differ from KeyClu, KeyCue, and HotkeyClash?
KeyClu and KeyCue focus on browsing shortcuts. HotkeyClash scans for clashes and can test which app receives a keypress. Keyclash combines a source-based conflict scan, a free-key map, and an active-app Peek panel. Its scan can show likely owners. It cannot prove which app received a press.
Why does Keyclash ask for Accessibility and Full Disk Access?
Accessibility lets Keyclash read live menus, listen for the double-Command gesture, and send the selected shortcut when you press Return in Peek. The listener passes events through unchanged and stops when Peek and usage counting are both off. File scans work without Accessibility. Full Disk Access is optional and lets Keyclash read preferences in some sandboxed apps.
Does Keyclash send my shortcut data anywhere?
Keyclash includes no analytics or telemetry. The optional update check requests public release information from GitHub on startup and about once a day. GitHub receives the usual connection information, including your IP address, and the request identifies Keyclash as the client. Disable automatic checks in Settings → Updates. An external agent you connect can receive the tool results.
Does Keyclash read Raycast, Alfred, BetterTouchTool, Keyboard Maestro, or Hammerspoon shortcuts?
There are no dedicated parsers for these tools. Issue #13 tracks read-only support for Raycast, BetterTouchTool, and Keyboard Maestro. Check the other tools’ settings or configs directly.
Is this the Keyclash game on Steam?
Keyclash here is the macOS shortcut utility at keyclash.app. The Steam game is a separate project.
Privacy
- Shortcut scans, counts, and backups stay on this Mac. Update checks request public release information from GitHub without sending your shortcut data. Turn off automatic checks in Settings → Updates.
- When you connect an external agent, that client receives the tool results. Its provider and privacy settings control further transmission.
- The key listener reads each key press and gives it back unchanged.
- It also sees that a mouse button went down, so a ⌘-click does not open Peek. It does not read where you click or which button. It does not count or store clicks.
- The use counter is off until you turn it on. It counts only key presses with ⌘, ⌃, ⌥ or 🌐. It does not record what you type.
Keyclash keeps its data in ~/Library/Application Support/Keyclash/:
| File | Content |
|---|---|
settings.json |
The panel key, the use counter choice, and that you read the welcome page |
usage.json |
Press counts per day, app and key combination. No typed text. |
favorites.json |
Starred shortcuts |
menus.json |
Menus read from apps on earlier scans |
menus.lock |
Coordinates concurrent menu-cache updates |
hotkey.log |
Short log of the key listener |
agent/ |
Remapping proposals, recovery history, and config backups. These can contain config commands. |
Build and run
Keyclash is a Rust app (egui / eframe) for macOS.
cargo run # open the window
cargo test # run the unit tests
cargo run -- --report # print the clashes, no window
cargo run -- --report --dump # print each shortcut as a tab-separated row
cargo run -- --report --json # JSON inventory, conflicts, source status, and free keys
cargo run -- --report --json --custom-only # only shortcuts from user settings and config files
cargo run -- --export clashes.md --custom-only # save custom shortcut clashes as Markdown
cargo run -- --tool help # list the ten agent tools and their arguments
cargo run -- --mcp # local MCP server over stdin/stdout
cargo run -- --install # make ~/Applications/Keyclash.app and open it
cargo run -- --bundle dist # make dist/Keyclash.app, for a download
cargo run -- --screenshot shots/now.png # draw the window to a PNG and exit
cargo run -- --screenshot x.png --tab lookup --lookup "cmd shift t" # a tab, with lookup text
cargo run -- --screenshot x.png --tab apps --app bobko.aerospace # By app with one app selected
The commands above use the source on main. The --custom-only flag also works with plain --report and --report --dump.
Only the installed app counts key presses.
After building, run python3 scripts/check-agent.py target/debug/keyclash to check the CLI
and the MCP propose/apply/undo flow. This check reads installed shortcut sources but writes
only a disposable skhd config and a separate Keyclash data folder.
For isolated QA, set KEYCLASH_DATA_DIR to a temporary directory before starting the app.
Settings, favorites, counts, menus, and logs then use that directory. Migration from the normal profile is disabled.
Earlier menu records without an app identity remain stored but need a new live read before reuse.
For design work, read PRODUCT.md, DESIGN.md, and Impeccable setup.
Run scripts/setup-design.sh to link the shared skill and repair the Codex hooks.
More
- Website source
- IDEAS.md: the backlog
- assets/make_icon.swift: the script that draws the icon
License
Keyclash is released under the MIT License.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found