FAQ
Questions people ask about Hats for Grok, with short answers.
What does Hats for Grok do?
Hats gives each of your Grok Bot accounts its own app, with its own sign-in, its own notifications and its own Dock icon wearing a hat. Click the hat in the menu bar and a popover lists your accounts. Click one, or press Control-Option-Shift-1 to 9 from anywhere. Hats for Grok is an alpha: expect rough edges, and things may change or break between versions.
Is Hats for Grok made by the makers of Grok Bot?
No. Hats for Grok is an independent, unofficial tool. It is not affiliated with or endorsed by the makers of Grok Bot. If Grok Bot changes how it works, Hats may need an update before it works again.
What does it change on my Mac?
Your Grok Bot.app is never changed. Each account's app goes in
~/Applications/Hats for Grok/, and its sign-in, agent data and settings live in
~/Library/Application Support/Hats for Grok/. On the same disk as Grok Bot.app, the apps are
APFS clones: they share its storage instead of duplicating it, so they take almost no space.
Is it safe?
Before every build, Hats checks that Grok Bot.app is signed by its developer. If not, it stops. Each account's app is signed with the hardened runtime, so code cannot be injected into it through environment variables. Its only network use is for updates: every 2 hours it asks hats-app.vercel.app whether a new version is out, and it downloads one only when you choose Update, or after you turn on automatic updates. Nothing about you or your accounts is sent. Before installing a download, Hats checks that it matches the release, is signed by the Hats developer and is accepted by macOS.
Why does macOS keep asking about the keychain?
Grok Bot protects its local data with a keychain item called “Grok Bot Safe Storage”, and macOS asks before a new app reads it. The first time an account opens, type your login password and click Always Allow. Pressing Return picks Allow, which lets it in only once, so macOS asks again.
It asks once more after every rebuild: a Grok Bot update, a Hats update, a new hat or colour. Hats signs each rebuilt app again itself, and macOS treats the new build as a new app. Hats shows a reminder just before.
Does each account keep its own agent data?
Yes. Grok Bot's local data folder moves into the account's own folder, so each account keeps its own agent data and settings.
Which account opens a grokbot:// link?
The account you used last.
To open one account from Raycast, Shortcuts or a script, use a link with its name, such as
hats-grok://open/work.
How do I change an account's hat or colour?
Open Settings from the menu bar, choose the account, then a colour or a hat. The choice is saved at once. The Dock icon follows when you press Rebuild App. Quit the account first if it is open.
What happens when Grok Bot updates?
Nothing you need to do. While Hats is running, it rebuilds each account's app from the updated Grok Bot.app by itself. An account that is open is rebuilt after you quit it. A copy cannot install Grok Bot's own updates, so Hats rebuilds it instead.
How do I update Hats for Grok?
Hats checks for a new version every 2 hours while it runs. When one is out, it posts a notification and the popover shows Update to Hats for Grok and the version number: click it, and Hats installs the new version and restarts. To skip the click, turn on Update Hats for Grok Automatically in Settings, General. It is off by default, and it waits until the popover and Settings are closed. The changelog says what changed.
Your accounts stay as they are, and open ones stay open. Hats rebuilds their apps for the new version by itself; an open one is rebuilt after you quit it.
Updating needs Hats in a folder you can write to, such as Applications for an admin user.
How many accounts can I have?
Hats sets no limit. The first nine get a shortcut, Control-Option-Shift-1 to 9, in the order they are listed. There are twenty hats and eight colours. A new account gets a hat and a colour nobody else is wearing, and they repeat once all are in use.
What do I need?
A Mac with Apple silicon, macOS 13 or later, and Grok Bot at /Applications/Grok Bot.app. Intel Macs are not supported yet. Nothing else: no Xcode, no Homebrew.
How do I uninstall Hats for Grok?
Quit your accounts, then remove each one in Settings: its app is deleted, and its data and sign-in are kept. If Open Hats for Grok at Login is on, turn it off in Settings, General. Choose Quit Hats for Grok in the popover, then drag Hats for Grok from Applications to the Trash.
To delete what each account kept on this Mac too, delete the folder
~/Library/Application Support/Hats for Grok.