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.5 $0.00030 $0.00745
Sonnet 5.5 $0.00015 $0.00373
Haiku 4.5 $0.00007 $0.00186

Measured 3mo ago against content hash f2d4d3f7fe32, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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. 3mo 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 (479 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 74 tokens to every session and 1,863 once invoked, about $0.0003 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-08-30.

Related

glmv-prompt-gen compared with skills from other repositories

glmv-prompt-gen next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
glmv-prompt-genzai-org/GLM-skillsSkill4797mo agoApache-2.0A74Claude Code, Codex
developing-genkit-jsgoogle/skillsSkill25ktodayApache-2.0A76Claude Code, Codex
agent-platform-prompt-managementgoogle/skillsSkill25ktodayApache-2.0A55Claude Code, Codex
gemini-api-devgoogle-gemini/gemini-skillsSkill4.9k10d agoApache-2.0A96Claude Code
ml-kit-genai-prompt-apiandroid/skillsSkill11k7d agoApache-2.0A57Claude Code
huashu-prompt-savealchaincyf/huashu-skillsSkill2.4kyesterdayMITA48Claude Code, Codex
ai-image-prompts-skillLeoYeAI/openclaw-master-skillsSkill2.2k8d agoMITA137Claude Code, Codex