Image2Prompt Skill Install & Guide
io.clawhub.zhang-shubo/image2prompt · v1.0.0
Analyze images and generate detailed prompts for image generation. Supports portrait, landscape, product, animal, illustration categories with structured or natural output.
Copy the install config on this page first, then verify docs and permissions upstream.
Popularity
Overview
Analyze images and generate detailed prompts for image generation. Supports portrait, landscape, product, animal, illustration categories with structured or natural output. Image2Prompt is a Agent Skill listed from ClawHub. This page includes an overview, setup tutorial, install commands, and use cases for Trae, Tongyi Lingma, Cursor, Claude Code, and VS Code.
Use cases
AgentHub Verified AvailabilityTested & Ready
Automated pipeline validated install commands, protocol & client compatibility
Send this prompt to your AI to install the Skill
RecommendedFollow the install guide at https://myagenthub.cn/install/skill.md?lang=en to automatically detect the current IDE and install the skill "zhang-shubo/image2prompt" without asking, and tell me how to verify it afterwards.
💡Paste into your AI coding assistant (Cursor, Trae, Claude Code) — the agent will handle download and configuration automatically.
Copy by platformAlternative
Choose your platform
Choose install method
# 改 --ai 切换客户端:trae | lingma | workbuddy | kimi | qwen | cursor | claude-code | windsurf | cline | vscode | codex | openclaw
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init zhang-shubo/image2prompt --ai cursor -ySetup tutorial
- Open the Image2Prompt page and confirm the source is ClawHub.
- Copy the install command for Trae, Lingma, Cursor, Claude Code, or universal CLI.
- Run it, or place SKILL.md under .trae/skills/, .lingma/skills/, or .cursor/skills/.
- Reload the client, then describe your task so the agent can match this skill.
Install commands
Install commands and setup steps are in the HTML so search engines and no-JS browsers can read them without running client JavaScript.
Universal — Skills CLI (recommended)
AgentHub CLI (change --ai)
# 改 --ai 切换客户端:trae | lingma | workbuddy | kimi | qwen | cursor | claude-code | windsurf | cline | vscode | codex | openclaw
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init zhang-shubo/image2prompt --ai cursor -yOne-click API download
# 手动下载(Cursor 项目级示例)
mkdir -p .cursor/skills/image2prompt
curl -sL "https://clawhub.ai/api/v1/download?slug=image2prompt&version=1.0.0" -o /tmp/image2prompt.zip
unzip -o /tmp/image2prompt.zip -d .cursor/skills/image2promptCursor
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init zhang-shubo/image2prompt --ai cursor -yOne-click API download
mkdir -p .cursor/skills/image2prompt
curl -sL "https://clawhub.ai/api/v1/download?slug=image2prompt&version=1.0.0" -o /tmp/image2prompt.zip
unzip -o /tmp/image2prompt.zip -d .cursor/skills/image2promptClawHub CLI, then copy
# 在项目根目录执行 install
clawhub install zhang-shubo/image2prompt
mkdir -p .cursor/skills/image2prompt
cp -R ./skills/image2prompt/. .cursor/skills/image2prompt/
# 源:./skills/image2prompt/SKILL.md
# 目标:.cursor/skills/image2prompt/SKILL.mdTrae (ByteDance)
- Trae natively supports Skill specs: project-level in .trae/skills/<name>/, global in ~/.trae/skills/
- Copy and run the command in your project terminal to download SKILL.md
- Reload Trae window, then describe your task in AI chat to activate automatically
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init zhang-shubo/image2prompt --ai trae -yOne-click API download
mkdir -p .trae/skills/image2prompt
curl -sL "https://clawhub.ai/api/v1/download?slug=image2prompt&version=1.0.0" -o /tmp/image2prompt.zip
unzip -o /tmp/image2prompt.zip -d .trae/skills/image2promptUser directory
mkdir -p ~/.trae/skills/image2prompt
curl -sL "https://clawhub.ai/api/v1/download?slug=image2prompt&version=1.0.0" -o /tmp/image2prompt.zip
unzip -o /tmp/image2prompt.zip -d ~/.trae/skills/image2promptTongyi Lingma (Alibaba)
- Tongyi Lingma supports skills in project .lingma/skills/<name>/ or global ~/.lingma/skills/
- Run the command to install SKILL.md
- In Lingma Agent mode, prompt your task and the skill will be automatically loaded
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init zhang-shubo/image2prompt --ai lingma -yOne-click API download
mkdir -p .lingma/skills/image2prompt
curl -sL "https://clawhub.ai/api/v1/download?slug=image2prompt&version=1.0.0" -o /tmp/image2prompt.zip
unzip -o /tmp/image2prompt.zip -d .lingma/skills/image2promptUser directory
mkdir -p ~/.lingma/skills/image2prompt
curl -sL "https://clawhub.ai/api/v1/download?slug=image2prompt&version=1.0.0" -o /tmp/image2prompt.zip
unzip -o /tmp/image2prompt.zip -d ~/.lingma/skills/image2promptWorkBuddy / CodeBuddy (Tencent)
- WorkBuddy reads skills only from .workbuddy/skills/<name>/ (user-level ~/.workbuddy/skills/); .codebuddy/skills/ belongs to CodeBuddy
- The Skills CLI command installs with -a codebuddy and appends a copy step into .workbuddy/skills
- AgentHub CLI (--ai workbuddy) syncs it for you; reload the chat panel so the skill gets indexed
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init zhang-shubo/image2prompt --ai workbuddy -yOne-click API download
mkdir -p .workbuddy/skills/image2prompt
curl -sL "https://clawhub.ai/api/v1/download?slug=image2prompt&version=1.0.0" -o /tmp/image2prompt.zip
unzip -o /tmp/image2prompt.zip -d .workbuddy/skills/image2promptUser directory
mkdir -p ~/.workbuddy/skills/image2prompt
curl -sL "https://clawhub.ai/api/v1/download?slug=image2prompt&version=1.0.0" -o /tmp/image2prompt.zip
unzip -o /tmp/image2prompt.zip -d ~/.workbuddy/skills/image2promptClaude Code
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init zhang-shubo/image2prompt --ai claude-code --global -yOne-click API download
mkdir -p ~/.claude/skills/image2prompt
curl -sL "https://clawhub.ai/api/v1/download?slug=image2prompt&version=1.0.0" -o /tmp/image2prompt.zip
unzip -o /tmp/image2prompt.zip -d ~/.claude/skills/image2promptClawHub CLI, then copy
clawhub install zhang-shubo/image2prompt
mkdir -p ~/.claude/skills/image2prompt
cp -R ./skills/image2prompt/. ~/.claude/skills/image2prompt/
# 源:./skills/image2prompt/SKILL.md
# 目标:~/.claude/skills/image2prompt/SKILL.md
# https://clawhub.ai/zhang-shubo/image2promptKimi Code (Moonshot AI)
- Kimi Code supports standard Agent Skills: project-level in .agents/skills/<name>/, global in ~/.agents/skills/
- Run the command to install
- In Kimi Code CLI, describe your task to trigger the skill
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init zhang-shubo/image2prompt --ai kimi -yOne-click API download
mkdir -p .agents/skills/image2prompt
curl -sL "https://clawhub.ai/api/v1/download?slug=image2prompt&version=1.0.0" -o /tmp/image2prompt.zip
unzip -o /tmp/image2prompt.zip -d .agents/skills/image2promptUser directory
mkdir -p ~/.agents/skills/image2prompt
curl -sL "https://clawhub.ai/api/v1/download?slug=image2prompt&version=1.0.0" -o /tmp/image2prompt.zip
unzip -o /tmp/image2prompt.zip -d ~/.agents/skills/image2promptQwen Code (Alibaba)
- Qwen Code supports project .qwen/skills/<name>/ and global ~/.qwen/skills/
- Run the command to deploy SKILL.md
- Prompt the agent to trigger the skill
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init zhang-shubo/image2prompt --ai qwen -yOne-click API download
mkdir -p .qwen/skills/image2prompt
curl -sL "https://clawhub.ai/api/v1/download?slug=image2prompt&version=1.0.0" -o /tmp/image2prompt.zip
unzip -o /tmp/image2prompt.zip -d .qwen/skills/image2promptUser directory
mkdir -p ~/.qwen/skills/image2prompt
curl -sL "https://clawhub.ai/api/v1/download?slug=image2prompt&version=1.0.0" -o /tmp/image2prompt.zip
unzip -o /tmp/image2prompt.zip -d ~/.qwen/skills/image2promptWindsurf
- Windsurf supports project-level .windsurf/skills/<name>/ or global ~/.codeium/windsurf/skills/
- Run the install command and refresh Cascade
- Cascade will auto-activate the skill based on its description
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init zhang-shubo/image2prompt --ai windsurf -yOne-click API download
mkdir -p .windsurf/skills/image2prompt
curl -sL "https://clawhub.ai/api/v1/download?slug=image2prompt&version=1.0.0" -o /tmp/image2prompt.zip
unzip -o /tmp/image2prompt.zip -d .windsurf/skills/image2promptUser directory
mkdir -p ~/.codeium/windsurf/skills/image2prompt
curl -sL "https://clawhub.ai/api/v1/download?slug=image2prompt&version=1.0.0" -o /tmp/image2prompt.zip
unzip -o /tmp/image2prompt.zip -d ~/.codeium/windsurf/skills/image2promptCline
- Cline supports standard .agents/skills/<name>/ structure
- Run the command to install the skill
- Ask questions in the Cline panel to trigger the skill
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init zhang-shubo/image2prompt --ai cline -yOne-click API download
mkdir -p .agents/skills/image2prompt
curl -sL "https://clawhub.ai/api/v1/download?slug=image2prompt&version=1.0.0" -o /tmp/image2prompt.zip
unzip -o /tmp/image2prompt.zip -d .agents/skills/image2promptCherry Studio
- Use this skill as an Assistant system prompt in Cherry Studio
- Copy the command to view SKILL.md text
- Paste the contents into Cherry Studio Assistant system prompt
# 下载并提取 SKILL.md 指令内容
curl -sL "https://clawhub.ai/api/v1/download?slug=image2prompt&version=1.0.0" -o /tmp/image2prompt.zip
unzip -p /tmp/image2prompt.zip SKILL.md
# 复制上述输出,粘贴至 Cherry Studio → 助手设置 →「系统提示词」VS Code / GitHub Copilot
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init zhang-shubo/image2prompt --ai vscode -yOne-click API download
curl -sL "https://clawhub.ai/api/v1/download?slug=image2prompt&version=1.0.0" -o /tmp/image2prompt.zip
mkdir -p .github/skills/image2prompt
unzip -o /tmp/image2prompt.zip -d .github/skills/image2promptOpenAI Codex
AgentHub CLI (change --ai)
curl -fsSL "https://myagenthub.cn/cli/agenthub-skill.mjs" | node --input-type=module - init zhang-shubo/image2prompt --ai codex --global -yOne-click API download
mkdir -p ~/.codex/skills/image2prompt
curl -sL "https://clawhub.ai/api/v1/download?slug=image2prompt&version=1.0.0" -o /tmp/image2prompt.zip
unzip -o /tmp/image2prompt.zip -d ~/.codex/skills/image2promptClawHub CLI, then copy
clawhub install zhang-shubo/image2prompt
mkdir -p ~/.codex/skills/image2prompt
cp -R ./skills/image2prompt/. ~/.codex/skills/image2prompt/
# 源:./skills/image2prompt/SKILL.md
# 目标:~/.codex/skills/image2prompt/SKILL.mdOpenClaw — ClawHub CLI
# OpenClaw / ClawHub CLI(推荐)
# 在项目根或 OpenClaw 工作区目录执行
clawhub install zhang-shubo/image2prompt
# 安装后 SKILL.md 位于:
# ./skills/image2prompt/SKILL.md
# (若已配置 OpenClaw 工作区,则在 <workspace>/skills/image2prompt/)
# 仅查看不安装
clawhub inspect zhang-shubo/image2promptTroubleshooting & Common ErrorsFAQ
Common connection errors and verified fixes for Image2Prompt
Getting 'connection closed' or exit code 1 in Cursor / Claude Code for Image2Prompt?
Usually caused by missing runtime paths or IDE environment inheritance. Fix steps: 1. Verify Node.js 18+ (npx) or Python 3.10+ (uvx) is installed; 2. Run 'which npx' or 'which uvx' in terminal, and replace 'command' with absolute path; 3. Reload or restart the client window after modifying config.
# Check binary path in terminal: which npx node -v
Getting 'spawn npx ENOENT' or 'command not found'?
The editor background process does not inherit your full terminal PATH. Solution: Globally install the package, or set the absolute binary path (e.g. C:\Program Files\nodejs\npx.cmd on Windows, or /usr/local/bin/npx on macOS).
Tool calls timing out or failing to download packages?
First-time package downloading might be slow or timeout due to network limits. Configure a reliable mirror or check outbound proxy settings.
Agent does not match or apply Image2Prompt during conversations?
Verify SKILL.md is located at .cursor/skills/Image2Prompt/SKILL.md (Cursor) or ~/.claude/skills/Image2Prompt/SKILL.md (Claude Code). You can explicitly mention the skill name in your prompt to boost match confidence.
Tool Mock Playground
SandboxImage2Prompt Rule Injection & Agent Behavior Simulation · Preview tool schema & outputs without local runtime
{
"skill": "Image2Prompt",
"rulePath": ".cursor/skills/image2prompt/SKILL.md",
"userGoal": "请使用 Image2Prompt 的方法与标准帮我完成当前任务",
"client": "Cursor / Claude Code"
}Click 'Run Mock' above
to preview the raw response returned to the LLM
Decision Guide: Why & When to Use
Assess suitability before installing to save trial-and-error time
- Design review
- Asset export
- Brand checks
- Unauthorized commercial asset downloads
Image2Prompt + Scenario Prompt → Complete Agent Automation
Skill hands-on: install to visible results
Follow the full lab (expected UI/output + contrast checks). After installing this item, verify with the tutorial prompts.
An Agent Skill is a folder with SKILL.md instructions. After install, the AI loads it automatically when your task matches its description.
How to use
After installing, describe your task in chat (or mention the skill name). The agent reads the skill description to decide when to activate it, then follows the instructions in SKILL.md. Check loaded skills via /skills in Claude Code or in your client settings.
Related resources
ShieldCortex
v5.20.2
io.clawhub.jarvis-drakon/shieldcortex
Memory and defence for AI agents: semantic recall, knowledge graph and decay, plus a memory firewall that scans and enforces against prompt injection, credential leaks and poisoning.
Image Generation
v1.147.4
io.clawhub.xrowgmbh/xrowgmbh-image-generation
Create or revise document, PDF, web, or review images with the requested format, sharp raster output, and artifact validation.
视频生成 Video Generate
v1.4.42
io.clawhub.dlazyai/dlazy-video-generate
视频生成技能,AI 视频生成,文生视频、图生视频、图片转视频、首尾帧生成视频。根据提示词自动选择最佳视频生成模型(即梦、可灵、Veo、Seedance、万相、PixVerse、数字人、对口型)。Video generation skill that automatically selects the best dlazy CLI video model based on the prompt.
Kling AI
v2.0.4
io.clawhub.klingai-dev/klingai
Official Kling AI Skill. Call Kling AI for video generation, image generation, subject management, voice management, and account quota inquiry. Use subcommand video / image / element / voice / account by user intent.
文生图 Seedream 5.0 Lite
v1.3.41
io.clawhub.dlazyai/dlazy-seedream-5-0-lite
Fast image generation with Doubao Seedream 5.0 Lite. Supports text-to-image and image-to-image. 使用豆包 Seedream 5.0 Lite 极速生成图像,支持文生图与图生图。
视频仿制 Video Replicate
v1.3.41
io.clawhub.dlazyai/dlazy-video-replicate
Video replicate tool: extracts the first frame and audio from the source video, runs video understanding for a prompt, and returns a Seedance 2.0 replicate bundle (first frame + audio + video). 视频复刻工具,从源视频中提取首帧与音频,并通过视频理解生成描述提示,输出 Seedance 2.0 复刻方案(首帧 + 音频 + 视频)三件套。
Often paired with
isGenAI
v1.1.0
com.isgenai/checker
AI detector for images, text and links: reads C2PA, AI labels and saved prompts, adds an AI score.
Alama Wardrobe
v1.0.0
uk.co.alama/wardrobe
Your own wardrobe for your assistant: items, outfits, style profile, gaps, try-on.
PropLine — Sports Betting Odds & Prop Resolution
v0.60.0
io.github.proplineapi/propline-mcp
Live odds, cross-book +EV and graded player-prop results across 37 books. Hosted endpoint included.
Agent Email
v0.6.1
io.github.UseJunior/email-agent-mcp
Local email connectivity for AI agents — read, draft, send, and organize Outlook mail via MCP
Keep exploring AgentHub
Most people compare similar tools or check scenario guides before installing—start here.
Listing badge: put AgentHub on your site
Copy either snippet into your project homepage, docs, or GitHub README. The badge is a hotlinked SVG — nothing to host — and it links back to this page so visitors can find the install steps.
<a href="https://myagenthub.cn/p/io.clawhub.zhang-shubo/image2prompt" title="Listed on AgentHub: Image2Prompt" target="_blank" rel="noopener">
<img src="https://myagenthub.cn/badge/io.clawhub.zhang-shubo/image2prompt?lang=en" alt="Listed on AgentHub: Image2Prompt" height="20" style="border:0"/>
</a>[](https://myagenthub.cn/p/io.clawhub.zhang-shubo/image2prompt)Badges are generated on the fly from /badge/<package-id>, so name and listing changes propagate automatically. Keep the link target unchanged — it is what counts as the referral.
Unified Manifest
{
"id": "io.clawhub.zhang-shubo/image2prompt",
"type": "skill",
"version": "1.0.0",
"displayName": "Image2Prompt",
"description": "Analyze images and generate detailed prompts for image generation. Supports portrait, landscape, product, animal, illustration categories with structured or natural output.",
"author": {
"name": "zhang-shubo",
"url": "https://clawhub.ai/zhang-shubo"
},
"homepage": "https://clawhub.ai/zhang-shubo/image2prompt",
"distribution": {
"packages": [
{
"registryType": "source",
"identifier": "zhang-shubo/image2prompt",
"version": "1.0.0",
"runtimeHint": "clawhub install"
}
],
"remotes": []
},
"dependencies": [],
"installTargets": [
"openclaw",
"claude-code",
"claude-desktop",
"cursor",
"codex",
"vscode"
],
"keywords": [
"downloads:4509",
"stars:5",
"installs:146",
"Image Generation",
"Prompt"
],
"provenance": {
"origin": "clawhub",
"originalId": "zhang-shubo/image2prompt",
"originalUrl": "https://clawhub.ai/zhang-shubo/image2prompt",
"isOfficial": false,
"status": "active"
}
}