Simple Example

Example of a simple skill. Replace this description with your trigger phrases — the agent uses this to decide when to load your skill. Example: 'greet user', 'say hello', 'print greeting'.

cloudvoyant fccaa92 1.2 KB Updated

File contents

simple-example

What this skill does

Greets the user with a friendly message. Replace this with your own logic.

Instructions

  1. Read the current time from the system: date +"%H:%M"
  2. Choose a greeting based on the hour:
    • Before 12:00 → "Good morning"
    • 12:00–17:00 → "Good afternoon"
    • After 17:00 → "Good evening"
  3. Print: {greeting}, {user}! How can I help you today?

cloudvoyant/codevoyant/tree/main/skills/skill/references/examples/simple-skill commit fccaa92171

Frequently asked questions

npx skillmds@latest add cloudvoyant/simple-example