Preface¶
When doing illustration in an Agent, common practices include hand-writing scripts, pinning a specific image model, or maintaining your own mapping between “style / resolution / model”. Whenever the prompt changes, you have to modify commands or swap parameters. The image generate introduced below targets the path of “describing the image in natural language, letting the Skill select the model, and generating the image via the dlazy CLI”—delegating model selection to the Skill instead of stitching CLI commands outside the conversation each time.
What is this¶
image generate is a SkillHub community Skill with the coordinate @user_f95f21b8/dlazy-image-generate, currently at version 1.0.5, categorized as design-media, published by user_f95f21b8, and sourced from the community.
The official description reads: Image generation skill. Automatically selects the best dlazy CLI image model based on the prompt.
That is: it is an image generation Skill based on the general SKILL.md format, depending on the image capabilities of the dlazy CLI, and automatically chooses a suitable dlazy image model according to the user’s prompt.
The SkillHub page is tagged with requires_api_key=true, so the corresponding API key must be prepared before use; the specific environment variables or config file fields should follow the SKILL.md after installation—this article will not fabricate configuration item names.
Core functionality¶
Based on SkillHub and the official description, the verifiable capabilities are as follows:
- Image generation: Guides the Agent to invoke the dlazy CLI to complete image generation.
- Automatic model selection by prompt: Automatically selects a suitable image model on the dlazy CLI side based on the prompt, reducing the need to manually specify
--modelor maintain mapping tables. - Design / media scenario classification: Classified as design-media on SkillHub, aligning with illustration and visual asset tasks.
The page does not provide line-by-line CLI subcommand documentation; implementation details should follow the SKILL.md in the installation package and the official dlazy CLI documentation.
Installation and activation¶
The installation flow follows the general SkillHub guide skillhub.cn/install/skillhub.md. The installation prompt provided by the official page is: install @user_f95f21b8/dlazy-image-generate according to that document.
1. Verify skillhub CLI¶
First check whether the CLI already exists on your machine:
command -v skillhub && skillhub --version
If it is not installed, follow the SkillHub documentation for a full installation (including CLI and default Skill):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
If only the CLI is needed:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install to the current Agent’s skills directory¶
SkillHub requires using --dir to point to the skills directory recognized by the current Agent during installation; otherwise it will default to ./skills/ and may not be loaded. Common paths are as follows (from the SkillHub installation documentation):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
Installation command example (replace <skills dir> with the corresponding path above):
skillhub install user_f95f21b8/dlazy-image-generate --dir <skills dir>
The coordinate is also written as @user_f95f21b8/dlazy-image-generate, consistent with the SkillHub page. After installation, restart or refresh the Agent as required by the client in use to make the Skill take effect.
3. API key¶
The tag requires_api_key=true indicates that an API key must be configured. Please open the SKILL.md of this Skill in the installation directory and configure the key and dlazy CLI environment according to its instructions; field names not listed on the public page will not be repeated here.
Typical usage¶
The public page does not include a copyable end-to-end example command. The reproducible flow is:
- Complete the installation described above, and configure the API key and dlazy CLI required by SKILL.md.
- In the Agent conversation where this Skill is loaded, describe the image to be generated in natural language (prompt, style, purpose, etc.).
- The Agent calls the dlazy CLI according to the Skill’s guidance; the Skill automatically selects the image model based on the prompt and performs the generation.
If you need to pin a model or add extra parameters, follow the conventions in the SKILL.md within the installation package instead of assembling undocumented parameters outside the conversation.
Use cases and notes¶
Who it’s for
- You are already using a client that supports Skills such as Cursor, Claude Code, or Codex, and want to generate images directly within the conversation.
- You are willing to use the dlazy CLI ecosystem and accept automatic model selection by prompt instead of manually specifying the model every time.
Limitations and notes
- Depends on requires_api_key=true: without the configured key, it cannot work as designed.
- The automatic selection logic is implemented by the Skill and the dlazy CLI; the public description does not promise a specific model list or selection rules. If you have hard requirements for the model, state the constraints clearly in the conversation and verify against SKILL.md.
- SkillHub statistics (as of page crawl): rating 100000, downloads 1810, installs 7; sourced from the community, with upgrade and maintenance cadence determined by the publisher user_f95f21b8.
- An incorrect installation path is a common pitfall: make sure to use
skillhub install ... --dir <skills dir>and point it to the current Agent’s skills directory.
Conclusion¶
image generate encapsulates “prompt → model selection → dlazy CLI image generation” into a single Skill, making it suitable for illustration and visual drafting within an Agent workflow. For installation and prioritization strategies, refer to the SkillHub installation documentation; for Skill details and version 1.0.5, refer to the SkillHub page:
- https://www.skillhub.cn/skills/user_f95f21b8/dlazy-image-generate
- https://api.skillhub.cn/user_f95f21b8/dlazy-image-generate