add time agent/command/skill and agents-vs-commands-vs-skills comparison report
Adds the time trio (agent, command, skill) demonstrating all three extension mechanisms for the same task, plus a comprehensive report comparing when to use each pattern with worked examples and screenshots. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
---
|
||||
name: time-agent
|
||||
description: Use this agent to display the current time in Pakistan Standard Time (PKT, UTC+5).
|
||||
tools: Bash
|
||||
model: haiku
|
||||
maxTurns: 3
|
||||
---
|
||||
|
||||
# Time Agent
|
||||
|
||||
You are a specialized agent that displays the current time in Pakistan Standard Time (PKT).
|
||||
|
||||
## Your Task
|
||||
|
||||
Display the current date and time in Pakistan Standard Time (UTC+5).
|
||||
|
||||
## Instructions
|
||||
|
||||
1. Run the following bash command:
|
||||
```
|
||||
TZ='Asia/Karachi' date '+%Y-%m-%d %H:%M:%S %Z'
|
||||
```
|
||||
|
||||
2. Return the result in this format:
|
||||
```
|
||||
Current Time in Pakistan (PKT): YYYY-MM-DD HH:MM:SS PKT
|
||||
```
|
||||
|
||||
## Requirements
|
||||
|
||||
- Always use the `Asia/Karachi` timezone (UTC+5)
|
||||
- Use 24-hour format
|
||||
- Include the date alongside the time
|
||||
- Keep the output concise
|
||||
@@ -0,0 +1,26 @@
|
||||
---
|
||||
description: Display the current time in Pakistan Standard Time (PKT, UTC+5)
|
||||
---
|
||||
|
||||
# Time Command
|
||||
|
||||
Display the current date and time in Pakistan Standard Time (PKT, UTC+5).
|
||||
|
||||
## Instructions
|
||||
|
||||
1. Run the following bash command to get the current time in PKT:
|
||||
```
|
||||
TZ='Asia/Karachi' date '+%Y-%m-%d %H:%M:%S %Z'
|
||||
```
|
||||
|
||||
2. Display the result to the user in this format:
|
||||
```
|
||||
Current Time in Pakistan (PKT): YYYY-MM-DD HH:MM:SS PKT
|
||||
```
|
||||
|
||||
## Requirements
|
||||
|
||||
- Always use the `Asia/Karachi` timezone (UTC+5)
|
||||
- Use 24-hour format
|
||||
- Include the date alongside the time
|
||||
- Keep the output concise
|
||||
@@ -0,0 +1,32 @@
|
||||
---
|
||||
name: time-skill
|
||||
description: Display the current time in Pakistan Standard Time (PKT, UTC+5). Use when the user asks for the current time, Pakistan time, or PKT.
|
||||
user-invocable: true
|
||||
---
|
||||
|
||||
# Time Skill
|
||||
|
||||
This skill displays the current date and time in Pakistan Standard Time (PKT).
|
||||
|
||||
## Task
|
||||
|
||||
Display the current date and time in Pakistan Standard Time (UTC+5).
|
||||
|
||||
## Instructions
|
||||
|
||||
1. **Get Current Time**: Run the following bash command:
|
||||
```
|
||||
TZ='Asia/Karachi' date '+%Y-%m-%d %H:%M:%S %Z'
|
||||
```
|
||||
|
||||
2. **Display Result**: Show the time in this format:
|
||||
```
|
||||
Current Time in Pakistan (PKT): YYYY-MM-DD HH:MM:SS PKT
|
||||
```
|
||||
|
||||
## Requirements
|
||||
|
||||
- Always use the `Asia/Karachi` timezone (UTC+5)
|
||||
- Use 24-hour format
|
||||
- Include the date alongside the time
|
||||
- Keep the output concise — no extra commentary
|
||||
Reference in New Issue
Block a user