glmv-prompt-gen

glmv-prompt-gen is a skill for Claude Code, Codex from zai-org/GLM-skills. It costs 74 tokens per session (1,863 once invoked), scanned A, original, Apache-2.0.

A tool that studies reference images or videos and writes prompts for AI image- and video-generation systems. These prompts describe the visual content in a form suited to tools such as Midjourney, Stable Diffusion, Sora, or Runway.

In plain words
What is it for?
Use it to analyze visual references and generate prompts for image or video creation, including remixing or recreating a scene. Videos must be provided by URL.
Why use it?
It helps recreate or adapt a visual idea when you have a reference but need a detailed text prompt for a generative AI tool.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to analyze visual references and generate prompts for image or video creation, including remixing or recreating a scene. Videos must be provided by URL.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zai-org/glm-skills/glmv-prompt-gen
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 zai-org/GLM-skills --skill glmv-prompt-gen
Clone the repo
git clone --depth 1 https://github.com/zai-org/GLM-skills

Made for: Claude Code, Codex.

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 glmv-prompt-gen

README.md
[![agentmods](https://agentmods.dev/badge/skills/zai-org/glm-skills/glmv-prompt-gen/github.svg)](https://agentmods.dev/skills/zai-org/glm-skills/glmv-prompt-gen)
Your own site
<a href="https://agentmods.dev/skills/zai-org/glm-skills/glmv-prompt-gen"><img src="https://agentmods.dev/badge/skills/zai-org/glm-skills/glmv-prompt-gen/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 glmv-prompt-gen

Your own site · 80×15
<a href="https://agentmods.dev/skills/zai-org/glm-skills/glmv-prompt-gen"><img src="https://agentmods.dev/badge/skills/zai-org/glm-skills/glmv-prompt-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,863 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.00074 $0.01863
Opus 5 $0.00037 $0.00932
Sonnet 5 $0.00015 $0.00373
Haiku 4.5 $0.00007 $0.00186

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

Security

Grade A, and why

glmv-prompt-gen 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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/prompt_gen.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/glmv-prompt-gen/SKILL.md · 178 lines

How it starts

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

GLM-V Prompt Generation Skill

Analyze reference images or videos and generate professional prompts for AI image/video generation tools.

When to Use

  • Generate prompts for text-to-image tools (Midjourney, Stable Diffusion, DALL-E, etc.)
  • Generate prompts for text-to-video tools (Sora, Runway, Kling, Pika, etc.)
  • User mentions "生成prompt", "文生图prompt", "文生视频prompt", "prompt工程", "参考图生成prompt", "generate prompt"
  • User provides an image/video and wants to recreate or remix it
  • Extract prompt ideas from reference visual content

Supported Input Types

Type Formats Max Size Max Count Base64
Image jpg, png, jpeg 5MB / 6000×6000px 50
Video mp4, mkv, mov 200MB ❌ (URL only)

⚠️ Images and videos cannot be used in the same request. ⚠️ Videos only support URLs — local paths and base64 are NOT supported.

📋 Output Display Rules (MANDATORY)

After running the script, you must display the full prompt output exactly as returned. Do not summarize, truncate, or only say "prompt generated". Users need the complete prompt (especially the English prompt) for direct copy/paste.

  • Show the full output: content analysis + prompt + prompt breakdown
  • In auto mode, show both text-to-image and text-to-video prompts
  • English prompts are core output and must be shown completely
  • If output was saved (-o), provide the file path and show file content

Output Modes

Mode Description
image Generate prompts for text-to-image tools (default)
video Generate prompts for text-to-video tools
auto Generate prompts for both image and video
Resource Link
Get API Key https://bigmodel.cn/usercenter/proj-mgmt/apikeys
API Docs Chat Completions / 对话补全

Read the full file on GitHub · 178 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 178 lines · 74 tokens per session scan A f2d4d3f7fe32

Subscribe to this mod's changes

glmv-prompt-gen is a skill published in the GitHub repository zai-org/GLM-skills (474 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 74 tokens to every session and 1,863 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

seedance-2.0-prompter

Expert prompt engineering for Seedance 2.0. Use when the user wants to generate a video with multimodal assets (images, videos, audio) and needs the best possible prompt.

pexoai/pexo-skills · 48 tokens

multimodal-llm

Vision, audio, video generation, and multimodal LLM integration patterns. Use when processing images, transcribing audio, generating speech, generating AI video (Kling v3, Sora 2, Veo 3.1 std/lite/fast, Runway Gen-4.5 via gen4turbo), or building multimodal AI pipelines.

yonatangross/orchestkit · 82 tokens

image-prompt-optimizer

A skill focused on improving prompts for image-generation tools, with instructions covering its goals, process, outputs, and operating modes.

Jamailar/Beav · 0 tokens

image-prompt-builder-nl

Craft high-quality natural-language image prompts for any modern text-to-image or image-edit model that accepts flowing English. Trigger when the user wants help writing, rewriting, improving, or translating an English natural-language image prompt — including "write me an image prompt", "improve this image prompt"…

jim60105/copilot-prompt · 125 tokens

minimax-worldbuilder

Compose MiniMax-H3 video-with-native-audio prompts in H3's mandatory structured format — full-reference (Ref2VA) and text-to-video (T2VA) only. Use whenever the target model is MiniMax-H3: the user says MiniMax, MiniMax-H3, H3, ref2va / r2v / t2v, names a minimaxh3 checkpoint, or names the MiniMaxH3ReferenceToVideo /…

Hearmeman24/minimax-worldbuilder · 333 tokens

ai-image-prompt

Create a ai image prompt with structured process, quality checks, and system integration.

komunite/kalfa · 15 tokens