Simple Greeting Skill: Getting SkillHub Installation and Name Greeting Running with a Minimal Example

Preface

When first publishing an Agent Skill on SkillHub or debugging it locally, common issues aren’t about how complex the business logic is, but rather misplacing directories, not installing the CLI, or not knowing how much content should go into SKILL.md. A demo skill that only handles “name → greeting” can compress installation paths, coordinate formats, and skill descriptions into a few lines, making it easy to verify the environment against the official workflow.

The following introduces the community Skill Simple Greeting Skill (@user_7bc7d8e4/my-first-greeting-skill): it makes no external API calls and is suitable as a getting-started example in the dev-programming category.

What Is This

The Simple Greeting Skill is a demo Skill from the SkillHub community source (community), published by user_7bc7d8e4, currently at version 1.0.0, categorized under dev-programming. The official page positions it as “a basic name greeting tool, a demo Skill.”

On SkillHub, the coordinate is written as @user_7bc7d8e4/my-first-greeting-skill; the tag indicates requires_api_key=false, meaning it does not depend on an API Key. Page statistics (based on SkillHub scraping): rating 100000, downloads 871, installations 0.

  • SkillHub display page: https://www.skillhub.cn/skills/user_7bc7d8e4/my-first-greeting-skill
  • Official URL in the materials: https://api.skillhub.cn/user_7bc7d8e4/my-first-greeting-skill

Core Functionality

Capabilities are entirely written in the SKILL.md within the package, verified as follows:

  1. Function: receives a name and returns a greeting.
  2. Input: name (string).
  3. Output: a greeting result in the form of hello concatenated with name (documented as “hello + name”).

No additional scripts, configuration options, or third-party services; after the Agent reads SKILL.md, it can respond according to the above conventions.

Installation and Activation

SkillHub recommends two methods: use the CLI to install into the current Agent’s skills directory, or send the installation prompt to an AI client that supports Skills, letting it execute according to the documentation.

1. Install the SkillHub CLI (if not already installed)

First, check whether skillhub is already available:

command -v skillhub && skillhub --version

If not installed, you can follow the SkillHub installation documentation to perform a full installation (CLI + default Skill):

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

CLI only:

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

See instructions at: https://skillhub.cn/install/skillhub.md

2. Install This Skill

When installing, you must use --dir to point to the skills directory actually used by the current Agent; the default ./skills/ is often not loaded by clients.

skillhub install @user_7bc7d8e4/my-first-greeting-skill --dir <your skills directory>

Common client paths (from the SkillHub installation documentation):

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

After installation, the skill will be placed in a subdirectory like @user_7bc7d8e4/my-first-greeting-skill/, containing SKILL.md.

3. Have AI Install via Prompt

The prompt provided by the SkillHub page is:

请根据 https://skillhub.cn/install/skillhub.md,安装 `@user_7bc7d8e4/my-first-greeting-skill`。

Send the above content to an Agent that has Skill capabilities enabled, and confirm that --dir points to the corresponding local skills directory.

4. Activation

After installing the Skill to the correct directory, restart or refresh the Agent according to your client’s conventions so the new Skill is indexed. This Skill requires no API Key configuration.

Typical Usage

SKILL.md does not define standalone CLI commands; usage is as follows: with the Skill already loaded by the Agent, provide a name and let the Agent return a greeting according to the skill instructions.

The reproducible conventions are as follows (consistent with the official SKILL.md):

Item Description
Input name: a string representing the name of the person to greet
Behavior Generate a greeting based on name
Output A greeting result in the form of hello combined with name

On the conversation side, you can describe the requirement like this (example intent, not additional official wording):

使用简易问候Skill,name=张三,按技能说明返回问候。

The Agent should read SKILL.md and then organize the response according to the “hello + name” convention. If it is not installed in the correct skills directory, the Agent will not load this instruction, manifesting as “doesn’t know this Skill exists.”

Use Cases and Notes

Who It’s For

  • Need a minimal runnable example to verify whether SkillHub search, download, and directory structure work correctly.
  • Learn how to clearly write input parameters, output parameters, and a one-line function description in SKILL.md.
  • Perform demos in an API-key-free environment under the premise of requires_api_key=false.

Limitations and Notes

  • For demo purposes only; does not provide production-level validation (such as name format, multilingual support, sensitive words, etc.).
  • Download counts and ratings come from SkillHub page statistics and will change over time; use the page as the reference at the time of writing.
  • If skillhub install first fails with the full slug, the CLI may fall back to downloading via namespace + internal slug; defer to the actual CLI output.
  • Different Agents have different skills paths; installing into the wrong directory is the most common reason for “installed but unusable.”

Conclusion

The Simple Greeting Skill ties “name input → greeting output” together with SkillHub coordinates and the no-API-Key tag, making it suitable as the first milestone for getting started in dev-programming. Installation and paths are governed by https://skillhub.cn/install/skillhub.md; for skill details and statistics, see the SkillHub page https://www.skillhub.cn/skills/user_7bc7d8e4/my-first-greeting-skill.

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

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

Xiaoye