Publishing Skills on SkillHub: One-Click Upload of Local SKILLs to the SkillHub Community

Introduction

After writing an Agent Skill locally, you still need to fill in the SKILL.md frontmatter, handle authentication, package the directory, and upload it according to platform rules. These steps are scattered across documentation and CLI commands, making it easy to miss a field or install to the wrong path. Below is an introduction to the community skill SkillHub Publish Skill (@user_cb80f343/publish-to-skillhub), which chains login verification, frontmatter checking, packaging, and CLI-based publishing into a single, usable workflow.

What Is This

The SkillHub Publish Skill is a development-category skill in the SkillHub community (source: community). Its coordinate is @user_cb80f343/publish-to-skillhub, current version 1.0.0, maintained by publisher user_cb80f343, categorized under dev-programming.

Official description: Use this skill when a user requests to publish, upload, or submit a skill to SkillHub. It handles login, SKILL.md frontmatter validation, file packaging, and CLI-based publishing.

The skill page is tagged requires_api_key=true. Before use, prepare the relevant SkillHub API key or account credentials (specific fields are subject to the skill’s internal documentation).

Core Capabilities

Based on the SkillHub page and the skill description, the verified capabilities include:

  1. Login & Verification: Handles SkillHub-side login or credential verification before publishing.
  2. Frontmatter Validation: Checks and completes the SKILL.md header metadata to reduce upload failures caused by missing fields.
  3. File Packaging: Organizes the skill directory into a release package that meets platform requirements.
  4. CLI Publishing: Completes the upload through the SkillHub CLI instead of manually constructing HTTP requests.

When the page does not list step-by-step commands separately, the actual interaction follows the installed SKILL.md and the in-agent skill instructions.

Installation & Activation

Install the SkillHub CLI

If skillhub is not yet installed in your environment, you can check and install it first (excerpted from the SkillHub Installation Docs):

command -v skillhub && skillhub --version

If not installed, run the full installation (CLI + default Skill):

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

CLI-only installation:

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

In sandboxed or network-restricted environments, you must run the above commands with permissions that allow outbound internet access.

Install This Skill

The SkillHub skill page instructs users to follow the installation documentation to install the coordinate @user_cb80f343/publish-to-skillhub. During installation, you must use --dir to point to the current Agent’s skills directory; otherwise, it will default to ./skills/, and the Agent may not recognize it.

General installation command:

skillhub install user_cb80f343/publish-to-skillhub --dir <skills directory>

Skills directory examples for each environment (from the same installation documentation):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

After installing to the corresponding directory, refresh or restart the Agent as required by each tool so the skill gets loaded.

Typical Usage

This skill is designed for a natural-language-triggered publishing workflow. The official English description states: activate when a user requests to publish / upload / submit a skill to SkillHub.

The reproducible operation path is roughly:

  1. Prepare a locally skill directory that conforms to the standard SKILL.md format (including descriptions and associated files).
  2. In an Agent where this skill is installed, describe your goal in natural language. For example: “Publish the skill in the current project to SkillHub.”
  3. Follow the skill’s prompts to complete API key configuration or login (requires_api_key=true).
  4. The skill performs frontmatter validation, packaging, and invokes the CLI to complete the upload.

When searching for similar skills, you can also use the CLI to search before installing:

skillhub search publish-to-skillhub

Use Cases & Notes

Who it’s for: Developers who already maintain Agent Skills locally and need to sync versions to the SkillHub community; teams looking to reduce manual frontmatter checking and packaging steps.

Platform data (based on scraped data): Rating 100000, 888 downloads, 0 installs (figures may change as the platform updates).

Notes:

  • Publishing depends on the SkillHub CLI and a valid API key. Without these configured, the upload cannot be completed.
  • Incorrect installation paths are a common pitfall: always use skillhub install ... --dir <current Agent's skills directory>.
  • This skill is categorized under dev-programming and does not replace SkillHub account registration, community guidelines, or content review policies; non-compliant or unreviewed content may still be rejected.

Conclusion

The SkillHub Publish Skill condenses the “validate metadata → package → CLI upload” pipeline into a single-step, agent-executable workflow, ideal for quickly submitting locally developed skills to the community. See https://skillhub.cn/install/skillhub.md for installation and priority source instructions; see https://www.skillhub.cn/skills/user_cb80f343/publish-to-skillhub and https://api.skillhub.cn/user_cb80f343/publish-to-skillhub for skill details.

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

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

Xiaoye