Preface¶
When generating automation scripts, creating documentation images, or organizing deliverables, there is often a need to convert the same image into a specified format or adjust output format parameters without changing the canvas aspect ratio. Locally, command-line or desktop tools can accomplish this, but in Agents with Skills such as Cursor and Claude Code, a more convenient approach is to hand over the “image path, target format, and batch rules” to a conversation, and have the Skill constrain how it is invoked. The following section introduces a community Skill from SkillHub called “修图” (@user_31b19f2b/imgmage), whose public description focuses on modifying and adjusting image formats.
What Is This¶
“修图” is a community Skill in the SkillHub category design-media, with the identifier @user_31b19f2b/imgmage. The current page lists the version as 1.0.0, the source as community, and the publisher as user_31b19f2b. The SkillHub page and the API entry describe the capability consistently: modify image format, adjust format. The page also carries the tag requires_api_key=true, meaning that once enabled, an API Key usually needs to be configured (the specific key name and service provider should follow the SKILL.md inside the installed package; the public page does not name any third-party service, and this article does not speculate).
Official entry points:
- SkillHub display page: https://www.skillhub.cn/skills/user_31b19f2b/imgmage
- API identifier page: https://api.skillhub.cn/user_31b19f2b/imgmage
Core Functions (Verified Scope)¶
Based on SkillHub’s public text and crawled metadata, the confirmed capability boundaries are as follows:
- Format-related processing: Centered on “modify image format” and “adjust format”—suitable for specifying in conversation the source file, target format (e.g., PNG, JPEG, WebP, etc., depending on what the Skill actually supports), and whether batch processing is needed.
- Requires an API Key: Metadata marks
requires_api_key=true; after installation, the key should be configured in the Agent-agreed location first before starting image-editing tasks. - General Skill form: Follows SkillHub’s common
SKILL.mdpackage structure, where the Agent loads the instructions when matching user intent and executes the steps inside.
Public materials do not list detailed items such as cropping, background removal, watermarks, etc.; if the installed SKILL.md has additional capability descriptions, those take precedence.
Installation and Activation¶
SkillHub recommends two methods: install via CLI, or send the official prompt to the Agent and have it follow the installation documentation.
1. Install the SkillHub CLI (if not installed)¶
command -v skillhub && skillhub --version
If it is not installed, follow the SkillHub installation documentation to run the full installation (CLI + default Skill):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
To install only the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
Documentation: https://skillhub.cn/install/skillhub.md
2. Install the Skill into the current Agent’s skills directory¶
When installing, you must use --dir to point to the skills directory recognized by the current Agent; otherwise, by default it will land in ./skills/ and may not be loaded.
skillhub install user_31b19f2b/imgmage --dir <your skills directory>
Common paths (from the SkillHub installation documentation):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
Example (Cursor):
skillhub install user_31b19f2b/imgmage --dir ~/.cursor/skills/
3. Have the Agent install via conversation¶
The installation prompt provided by the SkillHub page is:
Please follow https://skillhub.cn/install/skillhub.md to install `@user_31b19f2b/imgmage`.
Simply send the above to the current Agent; the Agent should complete the CLI check and the --dir installation per skillhub.md.
After installation, restart or refresh the Agent’s Skill loading (depending on each client’s documentation) and configure the API Key as required.
Typical Usage¶
Assuming the Skill is installed and the API Key is ready, the usage is the same as most design-media Skills: specify input and output in natural language, and the Agent will select “修图” and follow SKILL.md.
Reproducible starting steps:
- Confirm that the package corresponding to
@user_31b19f2b/imgmageexists under~/.cursor/skills/(or the equivalent directory you use). - In conversation, specify the local image path, target format, and whether batch processing of multiple images is needed.
- If the Agent asks for keys or environment variables, fill them in according to
SKILL.md(the public page only indicates that an API Key is required, without giving field names).
Example request (intent description, not a fixed API):
Use the 修图 Skill: convert /path/to/photo.png to JPEG with moderate quality and output to photo.jpg in the same directory.
Suitable Scenarios and Notes¶
Who it is for
- Already using environments that support Skills, such as Cursor, Claude Code, or Codex, and want to move “change format, adjust format” from manual menu clicks to conversation-driven operations.
- Willing to configure an API Key as required by the Skill and accept the update cadence of community Skills maintained by the publisher.
Limitations and notes
- Public description is brief: SkillHub’s summary only mentions format modification and adjustment; for complex image-editing needs, read the installed
SKILL.mdfirst to confirm coverage. - API Key:
requires_api_key=trueindicates that without a key, backend capabilities may not be callable; do not write the key into the repository or public parts of chat records. - Community source:
source: community; quality and compliance need to be assessed on your own; for production environments, it is recommended to pin a version and retain the installation package. - Index data: Crawl metadata shows category design-media, rating 100000, downloads 1963, installs 0 (page statistics change over time; SkillHub’s real-time display is authoritative).
Closing¶
“修图” encapsulates image format modification and adjustment into an Agent Skill, suitable for specifying paths and target formats via conversation during the development workflow instead of repeatedly opening standalone image-editing software. Install via the standard SkillHub process, and pay attention to the API Key and the specific constraints in SKILL.md.
Official URL: https://www.skillhub.cn/skills/user_31b19f2b/imgmage
API identifier: https://api.skillhub.cn/user_31b19f2b/imgmage