Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add magic3007/dotfiles --skill grok-bot-linux-headlessgit clone --depth 1 https://github.com/magic3007/dotfilesWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/magic3007/dotfiles/grok-bot-linux-headless)<a href="https://agentmods.dev/skills/magic3007/dotfiles/grok-bot-linux-headless"><img src="https://agentmods.dev/badge/skills/magic3007/dotfiles/grok-bot-linux-headless/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/magic3007/dotfiles/grok-bot-linux-headless"><img src="https://agentmods.dev/badge/skills/magic3007/dotfiles/grok-bot-linux-headless.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00157 | $0.01426 |
| Opus 5.5 | $0.00063 | $0.00570 |
| Sonnet 5.5 | $0.00031 | $0.00285 |
| Haiku 4.5 | $0.00016 | $0.00143 |
Grade B, and why
grok-bot-linux-headless scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 18d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo apt-get install -y ./grok-bot_<ver>_amd64.deb Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s https://api2.cursor.sh/updates/api/download/stable/linux-x64/sand \ How it starts
The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Grok Bot headless on Linux
Problem
A headless Grok Bot (Electron) on a Linux dev box looks logged in but never comes online. Several different causes stack up and mask each other: the client version is too old, the network path is half proxied, and something else keeps restarting the app or wiping its config.
Context / Trigger Conditions
- The machine list shows the host as
connected: false, sometimes with 3 or 4 entries for the same hostname. - The renderer is blank.
document.getElementById("root").childElementCount === 0and there are no console errors. - After a forced re-import of the bundle, the UI shows "Setting up Grok Bot's computer" and stays there.
desktop.cursorAccount.getStatus()returnskind: "logged-in"anyway, so login is not the problem.
Solution
- Check the version first. This was the real root cause.
Compare
dpkg -l grok-botwith a client that works, such as the Mac's~/Library/Application Support/Grok Bot/desktop-status.jsonappVersion. The .deb build does not self-update (unsupported-platform). An old client (0.24.0 against 0.79.x) renders blank or sticks on "Setting up" forever. Upgrade from the official feed:
The deb adds an apt source, so later upgrades arecurl -s https://api2.cursor.sh/updates/api/download/stable/linux-x64/sand \ | python3 -c 'import json,sys;d=json.load(sys.stdin);print(d["version"],d["debUrl"])' curl -fLO "<debUrl>" systemctl --user stop grok-bot sudo apt-get install -y ./grok-bot_<ver>_amd64.deb systemctl --user start grok-botsudo apt install --only-upgrade grok-bot. - Make sure only one instance owns the config dir. Another SSH session or script
that restarts the app or recreates
~/.config/Grok Botcreates a new machine registration each time. Kill it and keep only the systemd unit. - Run it as a user service (with
loginctl enable-linger $USER):[Unit] After=network-online.target mihomo.service Wants=network-online.target mihomo.service [Service] ExecStartPre=/bin/sh -c 'rm -f "$HOME/.config/Grok Bot"/Singleton*' ExecStart=/usr/bin/xvfb-run -a -s "-screen 0 1600x1000x24" %h/.local/bin/grok-bot-x11 \ --password-store=basic --remote-debugging-port=9223 Restart=always RestartSec=5 [Install] WantedBy=default.targetgrok-bot-x11isexec /usr/local/bin/grok-bot --disable-gpu "$@". On Ubuntu 22.04 the wrapper also has to add a newer libstdc++ toLD_LIBRARY_PATH(tree-sitter needs GLIBCXX_3.4.31). - Proxy the whole process tree, not only Chromium.
--proxy-serveronly covers renderer and Chromium networking. The Node main process connected directly toapi2.cursor.shand the gateway. Env vars (HTTPS_PROXY,NODE_USE_ENV_PROXY=1) only partly helped. The reliable fix is a system-wide TUN proxy (seemihomo-tun-user-systemd). - When restarting, kill leftovers first. If the old Electron process still holds
9223, the new one logs
bind() failed: Address already in useand has no DevTools:systemctl --user stop grok-bot; pkill -u $USER -f "^/opt/Grok B[o]t/grok-bot". Use the[o]bracket trick sopkill -fdoesn't match and kill its own shell.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 18d ago First seen · 108 lines · 157 tokens per session scan B de57939c57d3
grok-bot-linux-headless is a skill published in the GitHub repository magic3007/dotfiles (11 stars, last pushed 5d ago), licensed MIT. It adds 157 tokens to every session and 1,426 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-12.
grok-bot-linux-headless compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| grok-bot-linux-headlessmagic3007/dotfiles | Skill | 11 | 5d ago | MIT | B | 157 | Claude Code, Codex |
| assess-qualityurmzd/dotfiles | Skill | 6 | 4d ago | Apache-2.0 | A | 120 | Claude Code |
| create-oss-skillurmzd/dotfiles | Skill | 6 | 4d ago | Apache-2.0 | A | 63 | Claude Code |
| extend-oss-skills-to-claudeurmzd/dotfiles | Skill | 6 | 4d ago | Apache-2.0 | A | 74 | Claude Code |
| scaffold-nodeurmzd/dotfiles | Skill | 6 | 4d ago | Apache-2.0 | A | 119 | Claude Code |
| test-codeurmzd/dotfiles | Skill | 6 | 4d ago | Apache-2.0 | A | 101 | Claude Code |
| scaffold-docsurmzd/dotfiles | Skill | 6 | 4d ago | Apache-2.0 | A | 196 | Claude Code |