Skip to content
Back to skills

grok-bot

ASecurity

Chat with Grok Bot teammates, message a named Grok Bot, create a new Grok Bot, list Grok Bots, read a Grok Bot transcript, or operate the xAI Grok Bot desktop app from Cursor, Claude Code, or Codex instead of the UI. Use when the user mentions Grok Bot, Grok teammates, Reed, Agent Computer, spinning up a new bot, or talking to Grok from the terminal.

  • 17 stars
  • 0 votes
  • 7 copies
  • 73 views
  • Added September 6, 2026
ai-agentspythonbashgitapisecurity

Works with

  • claude code
  • cursor
  • terminal
  • cli
  • api

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add adamanz/grok-bot-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of grok-bot?

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

Security grade badge for grok-bot
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/adamanz-grok-bot/badge)](https://www.skillsdirectory.com/skills/adamanz-grok-bot)

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: grok-bot
description: >-
  Chat with Grok Bot teammates, message a named Grok Bot, create a new Grok Bot,
  list Grok Bots, read a Grok Bot transcript, or operate the xAI Grok Bot
  desktop app from Cursor, Claude Code, or Codex instead of the UI. Use when
  the user mentions Grok Bot, Grok teammates, Reed, Agent Computer, spinning
  up a new bot, or talking to Grok from the terminal.
license: MIT
metadata:
  author: adamanz
  version: "1.0.1"
  homepage: https://github.com/adamanz/grok-bot-skill
---

# Grok Bot

Talk to existing Grok Bot teammates and create new ones through the local CLI.
Do not drive the Grok Bot desktop UI and do not call the gateway by hand.

## Workflow

1. Run `status`, then `list`.
2. Message an existing bot with `chat` (waits for a reply) or `send` (fire-and-forget).
3. Create a new bot with `create` only when the user asked for a new teammate.
4. Prefer one focused job per bot. Put standing rules in `--description`. Keep first tasks draft-only.

The CLI is `scripts/grokbot.py` next to this file. Resolve that path from the
installed skill directory (often `~/.cursor/skills/grok-bot/scripts/grokbot.py`).

```bash
# After a global Cursor install. For other installs, use the absolute
# path to scripts/grokbot.py inside the directory containing this SKILL.md.
SCRIPT="$HOME/.cursor/skills/grok-bot/scripts/grokbot.py"

python3 "$SCRIPT" status
python3 "$SCRIPT" list
python3 "$SCRIPT" chat --name Reed --prompt "What are you waiting on from me?"
python3 "$SCRIPT" create --name Reed --title "Chief of staff" --description "Draft-only daily brief. Never send messages."
python3 "$SCRIPT" transcript --name Reed --limit 20
```

Output is JSON. Summarize it for the user. Never paste tokens, gateway URLs, or raw keychain material into chat.

## Create rules

A new bot needs:

- `--name` — short, unique
- `--title` — one job, not "general helper"
- `--description` — outcome, sources, and what it must not do without approval

Do not create a second bot with the same name unless the user asks. The CLI refuses duplicates unless `--force` is passed.

After create, send one concrete first task with `chat` unless the user only wanted the empty teammate.

## Chat rules

- Resolve bots by `--name` when unique; use `--id` if names collide.
- Use `chat` when the user expects an answer in this conversation.
- Use `send` for long-running work the user will check in the Grok Bot app.
- `send` and `chat` accept `--message-id UUID` and return `messageId`. To retry the same message to the same bot after uncertain delivery, reuse that UUID. Network errors during delivery include the UUID. Generate and retain one before sending if the process might be interrupted. Use a new UUID for a new message.
- If `chat` fails while waiting after sending, check `transcript` before retrying. If no message ID was retained, do not blindly resend: a missing transcript entry does not prove delivery failed.
- If `stillRunning` is true, say so and offer to poll again. Do not invent a reply.
- If `timedOut` is true, completion is unconfirmed even when `stillRunning` is false. Check `newEntries` or `transcript`: a queued message may not have started, or a fast reply may have finished between polls. Do not resend with a new message ID.
- Do not send passwords, API keys, or 2FA codes. Tell the user to take over **Agent Computer** in the Grok Bot app.
- Do not approve local-computer access unless the user explicitly asked for it.

## Safety

- The CLI decrypts the Grok Bot session from Keychain and `sand-secrets.json`. Treat that as a secret broker. Never print or log tokens.
- All of a user's bots share one cloud computer. Do not treat separate bots as a security boundary.
- This is not the Cursor Cloud Agents API (`api.cursor.com/v1/agents`). Do not create a coding cloud agent when the user asked for a Grok Bot.

## Troubleshooting

| Symptom | What to do |
|---|---|
| No saved session | Open Grok Bot and sign in with Cursor. If already signed in, fully quit and reopen the app so it saves the session |
| Unexpected token format / no active account | Update this skill, then select the signed-in account in Grok Bot. The CLI supports legacy scoped tokens and the active entry in the newer saved-account store. Never request the contents of `sand-secrets.json` or a Keychain dump |
| Keychain read failed | Ask them to unlock the login keychain and retry |
| Access not granted | Eligible plans: SuperGrok Heavy, Cursor Ultra, Cursor Teams Premium |
| Computer still starting | Wait and rerun `status` until box is running |
| No bot with that name | `list` and confirm the name |

If the CLI is missing a command the user needs, run `python3 "$SCRIPT" --help`. Do not invent new gateway routes in chat.

Files in this skill

  • .claude-plugin/marketplace.json539 B
  • AGENTS.md407 B
  • CHANGELOG.md233 B
  • SECURITY.md541 B
  • SKILL.md3.5 KB
  • examples.md1.4 KB
  • package.json781 B
  • scripts/grokbot.py18 KB

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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