High Risk:This skill has significant security concerns. Review the findings below before installing.

grok-image

Caution·Scanned 2/18/2026

Generates images via Grok (xAI) and saves them to disk. Reads GROK_API_KEY from ~/.clawdbot/.env, calls https://api.x.ai/v1/images/generations with curl, and invokes subprocess.run(..., shell=True), creating command-injection risk.

from clawhub.ai·v3e46656·3.4 KB·0 installs
Scanned from 1.0.0 at 3e46656 · Transparency log ↗
$ vett add clawhub.ai/raphbaph/grok-imageReview security findings before installing

Grok Image Generation

Setup

Add your API key to ~/.clawdbot/.env:

GROK_API_KEY=xai-your-key-here

Usage

Generate images with a simple prompt:

Generate a cute raccoon character with friendly smile

The skill will:

  1. Read GROK_API_KEY from ~/.clawdbot/.env
  2. Call Grok's image generation API
  3. Save the image and return the path

Options

  • Custom output path: Add --output /path/to/image.png
  • Size: --size 512x512 (default: 1024x1024)

Notes

  • Uses grok-imagine-image model
  • Images are saved to the workspace or specified path