Preface¶
When generating images with Midjourney, SDXL, Flux, or Jimeng, the models themselves are often not the issue; the prompts are. A simple phrase like “draw a cat” and a detailed description including the subject, environment, lighting, and composition yield vastly different levels of stability in the final output. Building keywords manually often leads to overlooked negative prompts, aspect ratios, and negative space requirements. Furthermore, switching models usually necessitates rewriting everything.
Below is an introduction to image-prompt-engineer (Display Name: Image Prompt Engineer) on SkillHub. It utilizes a fixed six-layer structure and output template to consolidate “what image is needed” and “where it will be used” into bilingual (Chinese and English) prompts, while noting stylistic differences between various models. Local Agents can read SKILL.md to generate prompts according to rules, or use the pay-per-use HTTP interface described in the official documentation.
What is this¶
image-prompt-engineer is an Agent Skill designed for text-to-image scenarios. Its package identifier is @indiv-bozoyan/image-prompt-engineer, and the current version is v1.0.0. The author is displayed as bozoyan (account user_6419d865) on SkillHub, categorized under design-media with a subcategory of Image Generation. The official description reads: A prompt expert proficient in photographic aesthetics and AI image generation, skilled at transforming visual concepts into precise textual descriptions to generate professional-grade photographic works.
The Skill itself follows the general SKILL.md format: When conversational intent includes “text-to-image prompt,” “image prompt,” “image prompt,” or “midjourney prompt,” the Agent should organize its output according to the skill’s instructions rather than improvising a random description.
SkillHub Skill Page (Corresponds to API download source):
- Browse: https://skillhub.cn/skills/indiv-bozoyan/image-prompt-engineer
- API Entry in clues: https://api.skillhub.cn/user_6419d865/image-prompt-engineer (Direct browser access may return 405; installation and downloads go through CLI)
Embedded data on the page (scraped as of 2026-10-21) shows a cumulative downloads 1954 and stars 2. The tag requires_api_key is false, meaning API Keys are not mandatory for local usage following the Skill rules.
Core Features¶
The following capabilities are derived from the installed SKILL.md (v1.0.0) and do not expand on features not present in the documentation.
Six-Layer Prompt Structure¶
The skill deconstructs the image into six layers, written in order (earlier layers have higher weight):
- Subject: Who/what, quantity, posture, expression, material
- Environment: Scene, background, time, weather
- Composition: Subject size/framing, camera position, angle of view
- Lighting: Direction, texture, color temperature
- Style: Medium, genre, visual texture
- Quality: Lens feel, depth of field, detail description
It includes accompanying Negative Prompts (common failure items: text, watermarks, malformed hands, blur, etc.) and Negative Space Descriptions (must specify blank areas when text needs to be added in post-production for posters).
Aspect Ratios and Usage Scenarios¶
The skill provides a comparison of usage scenarios and suggested aspect ratios, such as 2:3 or 9:16 for vertical posters, 16:9 for horizontal images, 1:1 for square images, and 3:1 or 21:9 for banners. Before writing prompts, it aligns on “where the image will be used”; if information is missing, it defaults to “general square image, no text” and notes the assumption.
Multi-Model Adaptation¶
The documentation lists differences between Midjourney, SDXL/Flux, Jimeng, and general writing styles (natural language vs. tag strings, weight syntax, Chinese priority, etc.). It provides both Chinese and English versions in the output to facilitate selection based on the target platform.
Standard Output Template¶
Generation results are delivered in a fixed Markdown structure, including: Requirement Understanding, Chinese/English Prompts, Chinese/English Negative Prompts, Parameter Suggestions, 2–3 Variation Directions, and Post-production Suggestions (adding text, cropping, etc.).
Compliance and Boundaries¶
The skill explicitly requires: Not generating descriptions of specific real person portraits; avoiding style expressions pointing to specific IPs; not promising that models can draw text accurately—if text is needed, it suggests leaving blank space for post-production.
Optional: Pay-Per-Use Remote Call¶
SKILL.md also describes a Pay Skill path: ¥0.10 per use, POST https://skillpay-aipay.app.workbuddy.host/skills/image-prompt-engineer, returning HTTP 402 if unpaid. Buyers must first install @alipay/agent-payment and use the package’s scripts/paid-call.mjs for probe / pay / complete orchestration. This is a separate path from “Agent locally reads SKILL.md to write prompts”; choose based on needs.
Installation and Activation¶
The official page suggests: Please follow the SkillHub installation documentation to install @indiv-bozoyan/image-prompt-engineer.
1. Install SkillHub CLI (if not installed)¶
command -v skillhub && skillhub --version
If not installed, execute the full installation script (see https://skillhub.cn/install/skillhub.md):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
2. Install this Skill to the current Agent’s skills directory¶
During installation, you must use --dir to point to the skills directory recognized by the current client; otherwise, it defaults to ./skills/ which may not be loaded.
skillhub install image-prompt-engineer --namespace indiv-bozoyan --dir ~/.cursor/skills/
Common paths for different clients (excerpted from SkillHub installation documentation):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
After successful installation, the directory looks like: .../@indiv-bozoyan/image-prompt-engineer/SKILL.md. After modifying skills, restart or refresh the Agent according to your client’s instructions.
3. (Optional) Configure Pay-Per-Use Call¶
Only needed when using the HTTP payment interface:
npx -y @alipay/agent-payment@latest install
Typical Usage¶
Trigger in Agent Conversation¶
After installing and enabling the Skill, simply explain the purpose, aspect ratio, and target model in natural language. Trigger words described in the skill include: text-to-image prompt, image prompt, generate image prompt, image prompt, midjourney prompt.
Example Request (can be copied into Cursor / Claude Code, etc.):
Use image-prompt-engineer: I want a horizontal image for an info feed, the theme is an orange cat on an old street after rain, with a cyberpunk neon feel, 16:9, leave blank space at the top of the image for adding a title later, target model Midjourney. Please output Chinese and English prompts and negative prompts according to the skill template.
The Agent should organize its reply according to the “Output Template” and “Self-Check List” in SKILL.md.
Use Paid Script Orchestration (Remote Pay-Per-Use)¶
In the Skill directory, use the official script to manage payment status (without touching keys):
node scripts/paid-call.mjs probe --input "Image requirements" --state-dir .state/image-prompt-engineer
node scripts/paid-call.mjs pay --state-dir .state/image-prompt-engineer
node scripts/paid-call.mjs complete --state-dir .state/image-prompt-engineer --out-shake-no <Order Number>
Request body format: {"input": "What image is wanted + where to use + ratio/model"}.
Applicable Scenarios and Notes¶
Who it is for
- Needs prompts for posters, covers, illustrations, product images, or artwork, and desires stable, reproducible structure
- Needs to adapt the same creative idea to different writing styles like Midjourney, SDXL/Flux, Jimeng, etc.
- Needs to expand vague ideas into complete deliverables with negative prompts and variation plans
Usage Notes
- The skill page’s
overviewMdis empty; details are subject toSKILL.md. Security scan results can be viewed on SkillHub before installation (displayed as risk-free on the page). - Local Skill and Pay Skill billing are two separate paths; if not using the HTTP interface, there is no dependency on Alipay pay-per-use.
- When involving real portraits of celebrities, politicians, or specific IP styles, the skill will refuse or rewrite according to rules, which is expected behavior.
- Download counts shown on SkillHub change over time; refer to the skill page for real-time data.
Conclusion¶
image-prompt-engineer structures text-to-image prompts into a verifiable six-layer framework, unifying Chinese/English output and model difference explanations. It is suitable for integration into Agent workflows as a “prompt engineering” component. Installation and documentation are subject to SkillHub:
- https://skillhub.cn/skills/indiv-bozoyan/image-prompt-engineer
- https://api.skillhub.cn/user_6419d865/image-prompt-engineer
- Installation Instructions: https://skillhub.cn/install/skillhub.md