360 Secure SkillHub
360 安全技能中心

echo-hello

该 Skill 通过本地 shell 脚本输出问候语:可传入可选名字,未提供时问候 world;成功时退出码为 0,适合快速问好或冒烟测试。

terrycarter1985
terrycarter1985
热度 7.64
最近更新 2026-09-11 04:30:01
分类:自动化依赖:代码执行应用场景:自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add echo-hello
Metadata
name
echo-hello
description
Emit a friendly greeting with optional name. Use when a quick hello or smoke-test response is needed.
metadata
{"openclaw":{"emoji":"👋"}}

echo-hello

Print a greeting. If a name is given, greet that person; otherwise greet the world.

Usage

bash scripts/hello.sh [name]

Examples

bash scripts/hello.sh
# Hello, world!

bash scripts/hello.sh OpenClaw
# Hello, OpenClaw!

Notes

  • Exit code is always 0 on success.
  • Empty name falls back to "world".