# Grokbot Override A chat-app Bot Mode screen for Hermes Desktop: a roster sidebar, the bot's chat with a floating name pill, and a profile panel with scheduled jobs. It runs on the Hermes engine and opens the **same** Bot Chat Hermes Bot Mode opens, so history is shared both ways.

The override in light mode: three pinned bots, the open chat, and the profile panel with Scheduled, Slack Connected and the Model row The same window in dark mode

Demo bots and demo text, rendered from the preview harness (dev/).

The look follows Hermes's light and dark themes. Each bot wears a simple shape (blob, cloud, clover, flower, heart, hexagon, house, sparkle, square, star, teardrop or pebble) in its own colour, chosen from its exact route key; a bot with a photo shows the photo. Your bubbles, the send button and switches take the open bot's colour; the bot's bubbles are one flat grey. Thinking and tool rows, and "Background task finished" lines, are hidden in the chat until the palette's **Grokbot Override: show work rows** turns them on (the same command hides them again; a background line never prints the command's path, which is in its tooltip). A thin red **NEW** line marks the first bot message you have not seen when you open a chat. The sidebar footer shows your initials and name (this computer's account name, the only one Hermes gives plugins; "You" without it) and a round button that opens Hermes Settings. The transcript stays put while you scroll past live cards, and message actions float beside the message on hover. At the bottom it stays at the bottom while images, cards and code blocks finish sizing; **Show earlier messages** keeps your place; scrolled up, a round jump-to-latest button appears when a newer message arrives. Code blocks in a bot's reply show in full (a long one folds behind **Show more**) with a **Copy** button. A file the bot sends (a `MEDIA:` line naming a document, not an image or a recording) is a card under its bubble: a tile by type (a green sheet for spreadsheets, PDF, image, document), the name, its size and a download button. Clicking the card opens a large viewer over the chat: spreadsheets (`.xlsx`, `.xls`, `.ods`, `.csv`, `.tsv`) as a grid with sheet tabs where you can select cells with the mouse or arrow keys (Shift extends) and copy them with ⌘C; PDFs in the built-in PDF viewer; images fit to the window (click to zoom); text and markdown with **Copy all**; anything else, or a file over 25 MB, with **Download**. Escape closes it. When a bot chooses not to reply (it answers with `[SILENT]` or `NO_REPLY`), nothing is shown: no bubble, no preview line, no unread dot.

The NEW line above the first unread bot message The sidebar footer with a demo name and the settings button

Hermes Bot Mode is never removed or disabled. The override hides the stock **Bots** tab while it is on and does the chat itself: creating a Bot Chat, answering questions and password prompts, slash commands and skills, @mentions, tool detail, media, choice cards for the bot's questions, live `::card` and `::preview` widgets, edit / regenerate / rewind, reactions, voice input, chats side by side, unread dots and gateway group chats. The palette toggle is the escape hatch back to stock; **Open in Hermes Bot Mode** shows up only in error states. The full capability list is in [PARITY.md](PARITY.md). The main pane is the override's chat tab at start-up and after a reload. After that, a session you open through Hermes (session search, a notification, a cron run, ⌘N, an artifact link) is not undone: a bot's Bot Chat opens in the override with that bot selected, and any other session or new chat stays in Hermes's own view until you go back to the override's tab or roster. ## Use - Command palette → **Grokbot Override: toggle**. On: the override's **Bots** tab replaces the stock **Bots** tab in the sidebar; clicking a bot opens its chat in a main-area tab captioned with the bot's name (it follows the bot you switch to). Off: stock Bot Mode is back at once. The override stays off in Hermes's HUD window (`?win=hud`), which has no sidebar. - **Grokbot Override: open Hermes Bot Mode for this bot**: shows the stock Bots tab and opens this bot's Bot Chat there, always with the bot's exact connection route. A bot whose route is not known yet (a remote row still loading) is refused with a message instead: Hermes given only a profile name opens a same-named profile on this machine. Clicking the override's **Bots** tab again hides the stock tab. - Rows on an SSH connection that is not the live gateway (`connect-on-demand`) are available, as in Bot Mode; only a source Bot Mode marks unavailable or removed is dimmed. - A bot on another connection shows the avatar its own gateway holds (`has_avatar`), which stock Bot Mode only does for the active connection's bots. It is read once per app session over the bot's own route (re-checked every 15 minutes); the generated shape shows until it arrives or if it cannot be read. - A bot on an SSH connection that is not the live gateway shows the name (and look) its own gateway holds. Hermes lists such a machine without asking it, so its rows carry no name; the override reads the name from replies it gets anyway over a route that is up (the per-machine avatar list, a save, a chat being opened) and keeps it in its plugin storage per connection and profile, so the right name shows at start and after a reload, also while that machine is not connected. It never dials a machine just for a name. - **Pin to top** (row menu) puts up to four bots as big avatars above the roster; the pins live in the override's own plugin storage and never touch Bot Mode's data. - **Sections.** **+ → New section…** adds a named section (an emoji in the name is just text). Right-click a section header to **Rename…**, **Move up / Move down** or **Delete section…** (its bots go back to their default section; you are asked first only when it has bots); click it to collapse. Right-click a bot → **Move to section →** a section or **Default**. Bots in no section of yours are grouped as before (Bot Mode's sections, else by connection). Sections live in the override's own plugin storage; a layout made with the retired Bot Sections plugin is copied in once on the first run and its own data is left as it was. - The profile panel's **Slack** card shows whether the bot is in Slack. **Test connection** asks Slack itself (`auth.test`) through the optional [slack-check](../slack-check/README.md) backend plugin; when the backend does not have it, the card shows a short hint in place of the button. If the bot token lacks a required Slack permission (today `reactions:write`, for the emoji acknowledgement), the result reads "Works, but a Slack permission is missing" in amber with what the bot cannot do and how to repair it. - **One-click Add to Slack** (optional add-on, [slack-connect](../slack-connect/README.md)): pick the workspace and click **Connect**, click **Allow** in your browser, and the window says **Connected**; the bot sends you a welcome DM and the Slack card reads Connected. **Remove from Slack** deletes the app again in one click. It needs an always-on Hermes host with a public HTTPS address and one Slack configuration token per workspace; without it, the paste-two-tokens window still works.

Add to Slack in three steps: the Add to Slack window with the Acme Team workspace and Connect, the Connected to Acme Team Slack window, and the Slack card reading Connected

- Right-click a bot (or its ⋯) for **Mark as read** / **Mark as unread** (kept in the override's own storage, across restarts), pin, hide, edit profile, skills / tools / model, groups, duplicate, delete, a new chat or a second override chat tab beside the first. **+** creates a bot (its Bot Chat is born with the intro, as in Bot Mode) or a gateway group chat. The filter button narrows the roster by kind (bots / group chats), activity and gateway; hidden bots sit in a **Hidden** section at the bottom. - A bot that is **waiting on you** says so in its row instead of its last message: `Waiting for approval`, `Waiting for your answer`, `Waiting for a secret`, `Waiting for a password` or `Waiting to connect` for the open chat; `Waiting for you` for a bot whose chat is not open (found by a light read-only check per machine every 45 s, paused while Hermes is hidden). It clears once answered, here or anywhere else. - **`/btw `** asks the bot a side question about the chat. The answer shows in a dashed card marked "Not part of the chat" (dismiss it with its X); it is never added to the conversation. - **Group chats** (gateway-owned rooms) are listed under the bots and open as their own tab. A member's failed group turn puts the needs-attention badge on its row, like a failed Bot Chat turn. - The profile panel creates, edits, runs and deletes scheduled jobs, opens the bot's computer (live screen with take over / hand back; opening it wakes a screen that is asleep, and a dropped stream reconnects by itself; the collapse icon top right closes it), lists the group chats the bot is in, and shows the bot's model in one **Model** row. It opens the model sheet at once: **Provider**, **Model**, **Effort** (reasoning effort) and **Speed** (Standard / Fast / Ultrafast), offering only what the picked model supports (others greyed out: "Not supported by this model"); **Default** removes the setting; one Save writes all four to the bot's own Hermes profile. The model lists load in the background, once per machine. A changed **personality** (SOUL) applies from the Bot Chat's next message (Hermes's `sessions refresh-prompts`, where the bot's Hermes has it). The open chat's context and cost meter is in the status bar. - Replies are **formatted live while they stream**: bold, lists, headings, links, inline code and code blocks (with Copy) appear as the bot types, through the same renderer and the same bubble markup as a finished reply, so settled formatting does not jump when the reply completes. A half-typed `**`, link, table row, `MEDIA:` tag or list marker waits a moment until it is complete; an open code block shows and grows; a card still streaming shows a quiet placeholder line. Some endings are ambiguous until the next character (a line with a `|` that may become a table, a final `!`, a final literal `*`), so they appear with the next chunk or when the reply completes (PARITY C7, known limits). - The composer keeps **what you typed per bot**: switch to another bot and back and the draft is still there (text only, for this app session; a send clears it). A message Hermes refuses comes back into that bot's composer, below anything you typed since. - While Hermes is in the background, the open chat sends a **native notification** when a reply finishes, an approval is waiting or the bot needs your input (never for a silent reply, and the text is a generic line, never the reply or a secret prompt). Clicking it opens that bot. Hermes's *Plugin notifications* setting turns them off. - **Source links**: a link in a bot's reply to a Slack message, a Gmail email, a GitHub PR, a Google doc and about 25 other services draws as the service's small logo plus the link's short text (other public sites get a plain globe). A bare URL gets a short label ("Slack message", "GitHub PR #12"), never the whole URL. A click opens it in your browser (a Slack permalink hands off to the Slack app at that message); hovering shows the full URL. Logos are bundled (Simple Icons, CC0): nothing is fetched. The agent-cards skill tells bots to end a line about something they read with a short `[label](permalink)`. - Bot Chats opened here are **desktop sessions** (as in stock Desktop), so the bot knows markdown, files and cards render. A chat whose session started before you installed or updated the override keeps its old mode until that session restarts. - Palette doors: **new bot**, **edit this bot's profile**, **this bot's skills, tools and model**, **new scheduled job for this bot**, **open this bot's computer**. - **Grokbot Override: self-check (read-only)**: reads the roster, one bot's Bot Chat registry and history tail, and its cron list, then writes counts (never message text) to the plugin's data folder as `self-check.json`. Its `contract` block probes every private Hermes detail the override relies on (`src/core/contract.js`); if a required one disappears after a Hermes update, the override shows one quiet notice per app session, and any window-chrome rule whose anchor is gone is simply not applied. A bot that has never been opened has no Bot Chat yet. Clicking it creates one exactly as Bot Mode does (registry first, adopt the existing chat on a conflict, so the two can never make two); a chat tab that merely restores the last bot offers **Start Bot Chat** instead. ## Cards

A question card the bot asked, answered Friday, then an approval card with Book it and Not yet The same cards in dark mode

In the override's chat a bot can show cards instead of describing things in prose. - **Question cards work out of the box.** They come from Hermes's built-in `clarify` tool: the question, lettered choices, a typed answer in the composer, multi-select with **Answer**. Several questions come one at a time, like Grok Bot: a click picks a row, **Next** moves on, **Back** goes back, **Skip** skips that question, and **Done** on the last one sends every answer. - **Hermes's own approvals work out of the box.** A command ("May I run this?"), a sandbox's folder ("Folder access needed": the folder, read only or read and write, the risk) or site ("Website access needed") request, and on a Hermes with NousResearch/hermes-agent#158289 a model-made job ("Schedule this job?" / "Change this job?"). Folder and site cards offer **Allow** (until the sandbox is switched off), **Always allow** and **Deny**. - **Approval, task and email-draft cards need the agent-cards skill.** The bot writes a small `card.v1` JSON file in its working directory and puts one `::card{…}` line in its reply; the card updates live as the bot rewrites the file, and a button click goes back to the bot as a hidden message. The skill that teaches this is [`skills/agent-cards/SKILL.md`](skills/agent-cards/SKILL.md); it also tells the bot to send long text the user will copy (a handoff, a prompt, a spec) as a `.md` file card instead of a giant code block. Install it with the kit's root `install.sh`, from a clone (off by default): ```bash KIT_CARDS_SKILL=1 bash install.sh # the default profile and every profile KIT_CARDS_SKILL=1 KIT_CARDS_PROFILES=default,helper bash install.sh KIT_CARDS_SKILL=remove bash install.sh # remove it again (installs nothing) ``` It goes to `/skills/agent-cards/SKILL.md`. An `agent-cards` skill you wrote yourself is left alone. The `::preview{file="page.html"}` line (a small HTML page in a sandboxed frame) works the same way and needs no skill beyond a bot that writes the file. A preview has **no network** (its frame carries the policy `default-src 'none'; script-src 'unsafe-inline'; style-src 'unsafe-inline'; img-src data: blob:; font-src data:; media-src data: blob:`), so a page must be self-contained: inline styles and scripts, images as `data:` URLs. Scripts (`.js`, `.mjs`) and stylesheets (`.css`) the page loads from its own folder or below (`