Preface¶
In environments like Cursor and Claude Code, creating images or videos often involves opening a separate webpage or writing custom scripts to call APIs. This can easily lead to a disconnection between the conversation context and the paths of the generated assets. If you wish to describe requirements in natural language and have the Agent call models following a unified process, you need to encapsulate these capabilities into a Skill and configure the API keys and installation paths in advance.
Below is an introduction to the SkillHub community Skill “Agnes AI Free Image & Video Generation” (ID @user_cdd89df6/agnes-gen): it connects Agnes AI’s image and video models to the Agent side, enabling text-to-image, image editing, and text-or-image-to-video generation triggered within conversations.
What is this¶
One-sentence positioning: An Agent Skill based on the standard SKILL.md format, used to generate or edit images and generate videos via Agnes AI models.
Maintenance and Distribution: Sourced from SkillHub community, published by user_cdd89df6, categorized under design-media, current version 1.0.0. Page and metadata addresses:
- SkillHub Display Page: https://www.skillhub.cn/skills/user_cdd89df6/agnes-gen
- Official Metadata Address: https://api.skillhub.cn/user_cdd89df6/agnes-gen
What it solves: Within Agent conversations, it uses a fixed skill description to constrain model selection and trigger conditions, avoiding the need to manually write API call instructions every time.
Core Features¶
The following capabilities are derived from the Skill description; interface details not present in the source material are not expanded upon.
Images
- Text-to-Image (text → image)
- Image Editing (edit images)
Videos
- Text-to-Video
- Image-to-Video
Model Names (Listed in source material)
agnes-image-2.0-flashagnes-image-2.1-flashagnes-video-v2.0
Trigger Intent (Scenarios where the Agent should enable this Skill)
When the user requests image generation, image editing, or video generation, or mentions expressions like “generate image,” “generate video,” image generation, video generation, Agnes AI, agnes-ai.com, etc.
The Skill tags indicate requires_api_key=true: Before use, you need to configure the relevant Agnes AI API Key according to the instructions within the skill package. The specific environment variable names or config file fields should refer to the installed SKILL.md; field names are not speculated here.
Installation and Activation¶
1. Install SkillHub CLI (if not already installed)¶
First, check if skillhub exists:
command -v skillhub && skillhub --version
If not installed, you can follow the SkillHub official installation documentation to perform a complete installation (CLI + default Skills):
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
For installation workflows and priority source strategies, see: https://skillhub.cn/install/skillhub.md
2. Install this Skill to the current Agent’s skills directory¶
SkillHub requires that during installation, --dir must point to the skills directory actually read by the current Agent. If installed to the default ./skills/ but the Agent does not read that path, the skill will not be loaded.
skillhub install @user_cdd89df6/agnes-gen --dir <skills directory>
Common paths (from SkillHub installation documentation, select one based on your client):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
Alternatively, follow the prompts on the SkillHub page to let the Agent install @user_cdd89df6/agnes-gen based on https://skillhub.cn/install/skillhub.md.
3. Configure API Key and Restart/Refresh Agent¶
The tag requires_api_key=true indicates that key configuration is mandatory. After installation, open SKILL.md (and instructions in the same directory) within the skill directory and fill in the Key as required. The configuration method depends on the Skill package contents; public fetched data does not include specific variable names, so refer to the package documentation after installation.
After modifying the skills directory, restart or reload the Agent according to your client’s conventions to enable the new Skill.
Typical Usage¶
The design of this Skill is “conversational trigger + Agent calls models via SKILL workflow,” rather than exposing a standalone CLI command. Assuming the Skill is installed and the API Key is configured, you can describe tasks directly in the conversation. For example:
- Text-to-Image: Describe the screen theme, style, size, or aspect ratio requirements, and mention “generate image” or
image generation. - Edit Image: Provide an existing image path or attachment, and describe the area or effect to be modified (corresponding to “edit images” in the intro).
- Text-to-Video / Image-to-Video: Describe the camera angle, duration, or movement style, or specify a reference image, and mention “generate video” or
video generation.
The Agent should select agnes-image-2.0-flash, agnes-image-2.1-flash, or agnes-video-v2.0 under the above intents. Detailed parameters, output paths, and error handling should refer to the SKILL.md in the installation package. As the public page does not provide reproducible HTTP examples, this article does not fabricate request samples.
Use Cases and Notes¶
Who it is for
- Developers or small teams already using Agents that support Skills (like Cursor, Claude Code, Codex) and want to complete design and media generation within the same conversation.
- Those willing to use Agnes AI (
agnes-ai.comrelated capabilities) and able to independently apply for and manage API Keys.
Limitations and Notes
- Community Source:
source: community. Please evaluate the maintenance rhythm and compliance requirements yourself before use. - Key:
requires_api_key=true. The skill cannot actually call the backend without the Key configured. - Installation Path: You must use
--dirto align with the Agent skills directory. The “Install” count in SkillHub statistics does not necessarily correspond to whether it is installed in the correct local directory; take the appearance of@user_cdd89df6/agnes-genin the local directory as the standard. - Data subject to SkillHub page: As of the data fetch, the rating is 100000, downloads 1495, installation count 0. These may differ from ratings and download counts reposted by third parties; refer to https://www.skillhub.cn/skills/user_cdd89df6/agnes-gen for the accurate data.
Conclusion¶
“Agnes AI Free Image & Video Generation” consolidates Agnes’s three types of models into a single Skill ID @user_cdd89df6/agnes-gen, using unified trigger words to cover image generation, image editing, and video generation. Following the steps above, installing it into the corresponding skills directory using skillhub install, and configuring the API Key as per the package instructions, you can drive agnes-image-2.0-flash, agnes-image-2.1-flash, and agnes-video-v2.0 with natural language within Agent conversations.
Official Entry: https://www.skillhub.cn/skills/user_cdd89df6/agnes-gen