imagine

imagine is a skill for Claude Code from ourobx/agent-ebpf. It costs 111 tokens per session (2,896 once invoked), scanned A, original, MIT.

A guide to Grok Build’s image and video tools for creating new visuals, editing images, combining references, animating stills, and showing generated files.

In plain words
What is it for?
Use it to generate or edit images, create videos, animate reference artwork, and display media in the app.
Why use it?
It explains which tool to use for each kind of visual task and how to pass generated files between steps.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to generate or edit images, create videos, animate reference artwork, and display media in the app.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ourobx/agent-ebpf/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 ourobx/agent-ebpf --skill imagine
Clone the repo
git clone --depth 1 https://github.com/ourobx/agent-ebpf

Made for: Claude Code.

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 imagine

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ourobx/agent-ebpf/imagine"><img src="https://agentmods.dev/badge/skills/ourobx/agent-ebpf/imagine.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,896 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.00111 $0.02896
Opus 5.5 $0.00044 $0.01158
Sonnet 5.5 $0.00022 $0.00579
Haiku 4.5 $0.00011 $0.00290

Measured 2mo ago against content hash c4ce1e170e2d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 2mo 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.

v2/.grok/skills/imagine/SKILL.md · 202 lines

How it starts

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

Imagine

Grok Build uses the split Imagine computer stack (grok_computer variants). There is no consolidated imagine_image or imagine_video tool — always call the modality-specific name from the table below.

Tool Role
imagine_text_to_image New image from a text prompt only (no source).
imagine_image_to_image Edit / restyle one existing image (sandbox path).
imagine_reference_to_image Combine 2+ reference images (sandbox paths).
imagine_text_to_video New video from a text prompt only (no source).
imagine_image_to_video Animate one still (sandbox path) into a video.
imagine_reference_to_video Video from 1+ reference images (sandbox paths).
render_file Show a sandbox image/video path to the user in chat.

Path-based handles. These tools read/write the shared sandbox:

  • Generation returns a sandbox file_path (under artifacts). Open it with read_file / shell; show the user with render_file.
  • Edit / animate tools take that path (or paths) as input — match the live schema (image, images, etc.). Never invent paths.
  • Never call imagine_image / imagine_video. Asset-id helpers (imagine_create_asset / imagine_view_media / render_imagine_media) are not on this stack.

Apply this whenever you're considering or about to call any of these tools.

Handle flow (mandatory mental model)

generate → file_path → render_file (show user) / read_file or scripts (QC)
edit / animate → pass prior file_path(s) into image_to_* / reference_to_*
  • Use the path the tool actually returned — do not invent filesystem paths.
  • Show the user media with render_file, not ad-hoc markdown image links.

Build accurate visuals with code, not the image tools

  1. Image models are unreliable at exact text, numbers, and structure. They can handle short text or a simple layout, but they often garble words, invent numbers, draw chart bars that match no data, or point diagram arrows nowhere, and the more that has to be exact, the worse they do. A detailed prompt doesn't make it dependable, and another imagine_image_to_image edit usually won't fix it. So when a result needs specific text, data, or structure to be correct (charts from real numbers, labeled or technical diagrams, math explainers, tables, screens with real copy), construct the asset with code, where you control the exact content. Prefer HTML and CSS, which give much better layout, typography, and polish than Python plotting. When only the look matters (photos, illustrations, characters, scenes, decorative art), the image tools are the right choice. Which one fits depends on what the output needs to get right, not on how the request is worded.

Read the full file on GitHub · 202 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. 2mo ago First seen · 202 lines · 111 tokens per session scan A c4ce1e170e2d

Subscribe to this mod's changes

imagine is a skill published in the GitHub repository ourobx/agent-ebpf (1 stars, last pushed 15d ago), licensed MIT. It adds 111 tokens to every session and 2,896 once invoked, about $0.0004 per session on Opus 5.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-09-04.

Related

imagine compared with skills from other repositories

imagine next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
imagineourobx/agent-ebpfSkill115d agoMITA111Claude Code
fmc-firewall-opsautomateyournetwork/netclawSkill740todayApache-2.0A67Claude Code, Codex
fortianalyzer-opsautomateyournetwork/netclawSkill740todayApache-2.0A63Claude Code
fortigate-opsautomateyournetwork/netclawSkill740todayApache-2.0A86Claude Code
fortimanager-opsautomateyournetwork/netclawSkill740todayApache-2.0A66Claude Code
fwrule-analyzerautomateyournetwork/netclawSkill740todayApache-2.0A90Claude Code, Codex
meraki-security-applianceautomateyournetwork/netclawSkill740todayApache-2.0A66Claude Code, Codex