My First Skill: Getting the SkillHub Publishing Pipeline Working with a Minimal Example

Preface

When publishing a skill on SkillHub for the first time, what truly gets stuck is not the business logic, but whether the metadata, trigger descriptions, and directory structure meet the platform’s validation requirements. Creating a template that “passes review and is recognized by the Agent” yourself often takes more time than just writing the functionality. My First Skill introduced below is a minimal example provided by community publisher user_49ceb70a: the goal is clear, to verify the entire chain from writing SKILL.md to displaying it on SkillHub, and then to replace it with real skill content based on this foundation.

What is this

My First Skill (located at @user_49ceb70a/my-first-skill, version 1.0.0) is a community skill on SkillHub, categorized as dev-programming, with the tag requires_api_key=false, indicating it does not rely on an external API Key.

It solves “pre-publishing self-check” problems: providing a valid SKILL.md (containing required fields like slug, version, displayName), trigger condition descriptions, and a simple workflow, serving as a reusable publishing template rather than a production-level tool for a specific vertical domain.

Official entry points:

  • Page: https://www.skillhub.cn/skills/user_49ceb70a/my-first-skill
  • API Resource: https://api.skillhub.cn/user_49ceb70a/my-first-skill

According to SkillHub’s scraped data, this skill has a score of 100000, has been downloaded 985 times, and has 0 installations (statistics change over time; refer to the page for the latest data).

Core Features

Combining the official introduction, the verified capabilities are only the following, without inferring additional business behavior:

  1. Standardized SKILL.md Skeleton: Contains required fields like slug, version, and displayName requested by the platform, making it easy to cross-check if your skill is missing anything.
  2. Trigger Condition Descriptions: Specifies in the skill documentation which scenarios the Agent should use this Skill for, facilitating routing tests in environments like Cursor.
  3. Simple Workflow: Includes minimal executable steps to verify whether the Agent can follow the instructions and complete the process after reading the skill.
  4. Replaceable Content: Fixed structure and minimal logic, suitable for forking and adapting into a real skill without having to explore the directory structure and fields from scratch.

Installation and Activation

The SkillHub page states: for installation, refer to SkillHub Installation and Priority Source Configuration; the target coordinate is @user_49ceb70a/my-first-skill.

1. Install SkillHub CLI (if not already installed)

First, confirm if the CLI already exists on your machine:

command -v skillhub && skillhub --version

If not installed, you can use the official script (full installation includes a default skill; add --cli-only if you only need the CLI):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

2. Install the skill to the current Agent’s skills directory

The official documentation emphasizes: during installation, you must use --dir to point to the skills directory actually recognized by the current Agent; otherwise, the default ./skills/ might not be loaded.

skillhub install user_49ceb70a/my-first-skill --dir <skills directory>

Common directories for each environment (excerpted from the official installation documentation; choose one based on the tool you are using):

Environment skills directory
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or .agents/skills/ in the project
Windsurf ~/.codeium/windsurf/skills/ or .windsurf/skills/ in the project

After installation, if the Agent does not immediately recognize the new skill, restart or refresh the skills configuration according to the documentation of the product you are using. This skill has requires_api_key=false, so you generally do not need to configure an API Key.

3. Differences with Cursor / Codex / Claude Code

The differences are mainly in the --dir target path and how each loads skills. The installation command itself is the same: skillhub install plus the coordinate. Configuration items specific to the client that could not be verified are not covered in this article.

Typical Usage

This skill does not have a separate product-level “business API”. Its typical usage is publishing and integration testing flow validation:

  1. Search for or open @user_49ceb70a/my-first-skill on SkillHub and check your draft against the SKILL.md field requirements in the introduction.
  2. Install using the command from the previous section to a directory like ~/.cursor/skills/ for Cursor, construct a trigger scenario consistent with the skill documentation in a conversation, and observe if the Agent responds according to the workflow inside the skill.
  3. After confirming the link is correct, keep the directory structure, replace the body and workflow with your real skill, and publish with the new slug.

The official documentation does not provide a longer copy-paste example of a conversation; for reproduction, refer to the SKILL.md and trigger instructions inside the installation package.

Applicable Scenarios and Notes

Who is this for

  • Developers publishing a skill on SkillHub for the first time who need a reference that “passes format validation” first.
  • New maintainers who need to demonstrate the skill directory structure and trigger condition writing to their team.
  • Environments that want to quickly verify if skillhub install and skill loading are working normally in a local Agent (like Cursor).

Limitations and Notes

  • This is a test/template skill; do not expect built-in complex domain logic. A high download count reflects its value as a reference for the publishing chain, not the completeness of production features.
  • Page statistics (score, downloads, installations) are updated. Use real-time data from SkillHub for writing or reporting; if numbers differ from a third-party summary, refer to the official page and scraped data.
  • An incorrect installation path is the most common pitfall: make sure to use --dir to point to the current Agent’s skills directory.

Conclusion

The value of My First Skill lies in converging the metadata, trigger descriptions, and minimal workflow required for publishing on SkillHub into an installable, referenceable example. If you are preparing to publish your first skill, you can first install @user_49ceb70a/my-first-skill to run through installation and triggering, then replace the content to publish your own coordinate.

Official page: https://www.skillhub.cn/skills/user_49ceb70a/my-first-skill

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye