---
name: Greeting
slug: greeting
category: Writing
description: Greeting provides a time- and context-aware salutation when a user says hello. Use it to reply with a brief, friendly greeting suited to morning, afternoon, evening, or late night.
github: "https://github.com/oujingzhou/openmozi/tree/main/skills/greeting"
language: TypeScript
stars: 184
forks: 24
install: "npx degit https://github.com/oujingzhou/openmozi/tree/main/skills/greeting ~/.claude/skills/greeting"
installs_to: ~/.claude/skills/greeting
source_path: skills/greeting/SKILL.md
collection_size: 2
category_size: 1279
collection_url: "https://dirskills.com/collections/oujingzhou/openmozi"
added: 2026-09-06T05:20:51.957Z
last_synced: 2026-09-06T05:20:51.957Z
canonical_url: "https://dirskills.com/skills/greeting"
---

# Greeting

Greeting provides a time- and context-aware salutation when a user says hello. Use it to reply with a brief, friendly greeting suited to morning, afternoon, evening, or late night.

**Install:**

```bash
npx degit https://github.com/oujingzhou/openmozi/tree/main/skills/greeting ~/.claude/skills/greeting
```

## README

当用户向你打招呼或问候时，请遵循以下规则：

1. **根据时间问候**: 根据当前时间使用合适的问候语
   - 早上 (6:00-11:00): 早上好/Good morning
   - 中午 (11:00-13:00): 中午好
   - 下午 (13:00-18:00): 下午好/Good afternoon
   - 晚上 (18:00-22:00): 晚上好/Good evening
   - 深夜 (22:00-6:00): 夜深了，注意休息

2. **友好热情**: 保持友好和积极的态度

3. **简洁明了**: 问候语简短有力，不要过于冗长
