小包子Hello技能

v1.0.0

小包子第一个技能 - Hello World示例

0· 97·0 current·0 all-time
by流民@w1tv

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for w1tv/xiaobaozi-hello-skill.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "小包子Hello技能" (w1tv/xiaobaozi-hello-skill) from ClawHub.
Skill page: https://clawhub.ai/w1tv/xiaobaozi-hello-skill
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install xiaobaozi-hello-skill

ClawHub CLI

Package manager switcher

npx clawhub@latest install xiaobaozi-hello-skill
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name, description, SKILL.md, package.json, and index.js all describe the same simple greeting functionality. The code implements greeting messages and CLI argument parsing which matches the stated purpose.
Instruction Scope
SKILL.md and index.js limit behavior to producing localized greeting strings and printing them. There are no instructions to read unrelated files, access environment variables, call external endpoints, or transmit data.
Install Mechanism
No install spec is provided (instruction-only). A small JavaScript file and package.json are included but nothing in the package downloads or executes external resources. No archives, URLs, or installers are used.
Credentials
The skill requires no environment variables, credentials, or config paths. This is proportionate to its simple functionality.
Persistence & Privilege
The skill does not request permanent/always-on installation (always: false) and does not modify other skills or system-wide settings. It can be invoked by the agent normally but has no elevated persistence or privileges.
Assessment
This skill appears safe: it only prints localized greetings, has no network or secret access, and contains straightforward, readable code. Small notes: SKILL.md lists languages en/zh/es/fr while index.js also includes ja/ko — that's harmless but a minor documentation mismatch. If you want extra caution, run the script locally in a sandbox or inspect the included index.js yourself (it is short and readable) before enabling the skill in any high-privilege environment.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

🚀 Clawdis
latestvk974989p49knb5c5zgt2xj416s846tsa
97downloads
0stars
1versions
Updated 3w ago
v1.0.0
MIT-0

Hello World 技能

小包子第一个技能,用于测试技能发布流程。

功能

  • 返回Hello World消息
  • 支持自定义名称
  • 支持多种语言

使用方法

hello-world
# 输出: Hello, World!

hello-world --name "老板"
# 输出: Hello, 老板!

hello-world --lang zh
# 输出: 你好,世界!

参数

  • --name 自定义名称
  • --lang 语言选择 (en/zh/es/fr)

代码实现

function helloWorld(name = "World", lang = "en") {
  const messages = {
    en: `Hello, ${name}!`,
    zh: `你好,${name}!`,
    es: `¡Hola, ${name}!`,
    fr: `Bonjour, ${name}!`
  };
  return messages[lang] || messages.en;
}

发布信息

  • 作者:小包子
  • 创建时间:2026-04-05
  • 版本:1.0.0
  • 许可证:MIT

Comments

Loading comments...