ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified media Safety 3/5

Grok Image Generate

Skill by 279458179

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/279458179/grok-image-generate
Or

What This Skill Does

The Grok Image Generate skill allows the OpenClaw agent to programmatically interface with the Grok Imagine platform to generate AI-powered imagery directly from user prompts. By leveraging headless browser automation (Playwright) combined with desktop control protocols, this skill navigates the Grok web interface, submits image generation requests, manages file downloads via OS-level mouse and keyboard simulation, and facilitates final delivery of the resulting image files to communication channels like Feishu. It effectively bridges the gap between text-based user instructions and high-quality visual content creation within the OpenClaw ecosystem.

Installation

To integrate this capability into your OpenClaw environment, execute the following command in your terminal:

clawhub install openclaw/skills/skills/279458179/grok-image-generate

Ensure that your environment has the necessary Playwright dependencies and Desktop Control permissions configured before running the installation, as the skill requires interaction with both web elements and local file system paths.

Use Cases

This skill is ideal for users who need to automate the creation of assets for reports, social media posts, or creative projects without manually logging into web interfaces. It is particularly effective for users who want to "fire and forget" requests, allowing the AI to handle the nuances of web navigation, image saving, and file routing to centralized workspaces for later retrieval or immediate sharing via messaging platforms.

Example Prompts

  1. "用 Grok 生成一张充满未来感的赛博朋克城市图片"
  2. "帮我画个图,主题是关于航天员在火星种土豆"
  3. "生成一张极简主义风格的咖啡厅设计图片"

Tips & Limitations

  • Wait Times: AI image generation is not instantaneous; ensure your agent scripts include appropriate wait times (typically 8-10 seconds) to allow the image to finish rendering before triggering download operations.
  • UI Stability: Because this skill relies on web-based DOM interaction, any updates to the Grok website structure may require you to update the input field or button references in your script.
  • File Management: For the best experience, configure your script to automatically move images to the ~/.openclaw/workspace/images/ directory. This standardizes your file management and ensures the message tools can reliably access and attach the files to your communication threads.
  • Quota Awareness: Keep in mind that Grok Imagine may have usage limits based on your subscription tier, which could affect the agent's performance during high-volume requests.

Metadata

Author@279458179
Stars4473
Views1
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-279458179-grok-image-generate": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#ai-generation#automation#browser-control#visual-creation#workflow-integration
Safety Score: 3/5

Flags: file-write, file-read