mcpField
G
grok-bot

grok-bot

github.com/adamanzAgent workflows1564 installsUpdated 10w ago
Repository

About grok-bot

A skill for managing Grok Bot teammates through a local Python CLI. It supports checking status, listing bots, messaging them, and creating a bot when requested, with guidance for safe interaction.

Key features

  1. 01Check bot status and list teammates
  2. 02Chat for a reply or send asynchronously
  3. 03Create bots with defined roles
  4. 04Resolve bots by name or ID
  5. 05Safety guidance for secrets and permissions

Use cases

  1. 01Checking which Grok Bot teammates are available
  2. 02Getting an answer from an existing bot
  3. 03Assigning work for later follow-up
  4. 04Creating a teammate for a specific role

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/adamanz/grok-bot-skill --skill grok-bot

After installing, type/grok-botin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

examples.md
SECURITY.md
CHANGELOG.md
LICENSE
package.json
README.md
.gitignore
AGENTS.md
.claude-plugin/
marketplace.json
scripts/
grokbot.py

Details

From the project README

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).

SCRIPT="$(dirname "$0")/scripts/grokbot.py"
# or, after a global Cursor install:
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.
  • If stillRunning is true, say so and offer to poll again. Do not invent a reply.
  • 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

SymptomWhat to do
Not signed in / unexpected token formatAsk the user to open Grok Bot and sign in with Cursor
Keychain read failedAsk them to unlock the login keychain and retry
Access not grantedEligible plans: SuperGrok Heavy, Cursor Ultra, Cursor Teams Premium
Computer still startingWait and rerun status until box is running
No bot with that namelist and confirm the name

If the CLI is missing a command the user needs, read scripts/grokbot.py --help. Do not invent new gateway routes in chat.

Comments

Markdown supported