grokodex-imagine

grokodex-imagine is a skill for Claude Code from anlostsheep/grokodex. It costs 58 tokens per session (1,018 once invoked), scanned A, original, MIT.

An image-generation tool that creates pictures from written descriptions through a local Grok service.

In plain words
What is it for?
It helps create app icons, mockups, concept art, illustrations, logos, and storyboard frames.
Why use it?
It avoids switching to a separate image app or running image-generation commands manually when a coding task needs visual material.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the grokodex plugin — 6 skills shipped together

Good fit It helps create app icons, mockups, concept art, illustrations, logos, and storyboard frames.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anlostsheep/grokodex/grokodex-imagine
Install

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.

Any agent
npx skills add anlostsheep/grokodex --skill grokodex-imagine
Clone the repo
git clone --depth 1 https://github.com/anlostsheep/grokodex

Made for: Claude Code.

Or install grokodex, the plugin that ships this one along with the rest of its 6 skills.

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

agentmods badge for grokodex-imagine

README.md
[![agentmods](https://agentmods.dev/badge/skills/anlostsheep/grokodex/grokodex-imagine/github.svg)](https://agentmods.dev/skills/anlostsheep/grokodex/grokodex-imagine)
Your own site
<a href="https://agentmods.dev/skills/anlostsheep/grokodex/grokodex-imagine"><img src="https://agentmods.dev/badge/skills/anlostsheep/grokodex/grokodex-imagine/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.

agentmods 80×15 button for grokodex-imagine

Your own site · 80×15
<a href="https://agentmods.dev/skills/anlostsheep/grokodex/grokodex-imagine"><img src="https://agentmods.dev/badge/skills/anlostsheep/grokodex/grokodex-imagine.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,018 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00058 $0.01018
Opus 5 $0.00029 $0.00509
Sonnet 5 $0.00012 $0.00204
Haiku 4.5 $0.00006 $0.00102

Measured 11d ago against content hash 3daccb68710a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

grokodex-imagine scanned grade A with 0 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 11d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/grokodex/skills/grokodex-imagine/SKILL.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Grokodex Imagine

Generate an image with a constrained headless Grok run (image-only; never full shell inherit).

When to use

  • User asks to generate / draw / imagine an image, icon, mockup, or illustration via Grok
  • Product UI concepts, logos, storyboard frames, etc.
  • Not for general coding tasks → grokodex-run
  • Not for X posts search → grokodex-x-search

Tool preference

  1. Call MCP tool grok_imagine (logical name; Claude may show an mcp__… prefix).
  2. Do not use a terminal/shell tool to run grok for image generation.
  3. Permission is fixed to restricted-class inside the bridge; do not pass inherit / host_sandbox / codex_sandbox.

How to fill arguments

Arg Required Default How to set
prompt yes Detailed visual description: subject, style, colors, composition, text-in-image if any
aspect_ratio no auto e.g. 1:1, 16:9, 9:16, 4:3 when user cares about shape
save_dir no <cwd>/.grokodex/images Absolute or workspace-relative directory for outputs
cwd no host cwd Working directory for the Grok process
timeout_ms no 120000 (bridge short path) Raise only for slow generations
model no CLI default Only if user asks for a specific Grok model

Prompt tips

  • Be concrete: medium, lighting, camera angle, brand constraints.
  • Mention “no watermark / no UI chrome” when relevant.
  • If the user wants a specific filename/location, put that path intent in prompt and set save_dir to the parent directory.
  • Keep the task short: one image, clear subject. Do not chain coding context into imagine.

Interpret the result

Success (ok: true):

  1. artifacts (primary for delivery)
    Array of { "type": "image", "path": "/abs/path/to/file.png" }.
    • Tell the user each path clearly so they can open the file.
    • Prefer listing absolute paths from artifacts.
  2. text
    Grok’s free-form reply; may include paths or a short description. Use as secondary narrative.
  3. meta
    Often includes save_dir, aspect_ratio, duration_ms, cwd, max_turns, tools_allowlist. Mention save_dir if no artifacts were parsed.
  4. permission.notes
    If notes say no image path was found, still check meta.save_dir / .grokodex/images and report what Grok wrote in text.

Read the full file on GitHub · 83 lines

Changes

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.

  1. 11d ago First seen · 83 lines · 58 tokens per session scan A 3daccb68710a

Subscribe to this mod's changes

grokodex-imagine is a skill published in the GitHub repository anlostsheep/grokodex (2 stars, last pushed 1mo ago), licensed MIT. It adds 58 tokens to every session and 1,018 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

grok-brand-media

Prompt recipes for Grok image/video generation from Codex (OG images, README banners, launch clips).

stdevMac/grok-in-codex · 26 tokens

podcast-generation

Use this skill when the user requests to generate, create, or produce podcasts from text content. Converts written content into a two-host conversational podcast audio format with natural dialogue.

bytedance/deer-flow · 38 tokens

spotify-player

Terminal Spotify playback/search via spogo (preferred) or spotifyplayer. Use when the user asks to play music, search for a song, skip a track, pause playback, check what is currently playing, control Spotify, list audio devices, or manage a Spotify queue from the terminal.

elizaOS/eliza · 60 tokens

nano-banana-pro-openrouter

Deterministic OpenRouter image generation adapter for Nano Banana Pro / Gemini image models. Use as skillexec when a meta-skill needs local image files and structured IMAGEREADY records without spawning an LLM agent.

opensquilla/opensquilla · 49 tokens

imagegen

Generate original images, artwork, product visuals, diagrams, or other raster assets with the desktop's configured image provider. Use whenever the user asks to create or generate an image.

NanmiCoder/cc-haha · 38 tokens

canvas-design

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

netease-youdao/LobsterAI · 59 tokens