775d42bd40
Two agent files both declared `name: time-agent` with different implementations: - `.claude/agents/time-agent.md` (root): PKT, UTC+5 (Pakistan Standard Time) - `agent-teams/.claude/agents/time-agent.md` (agent-teams): Dubai GST, UTC+4 When both scopes are active, Claude Code may invoke the wrong time-agent — serving PKT time when a Dubai command expects GST, or vice versa. Renamed the root agent's `name` from `time-agent` to `time-agent-pkt` so the two agents are unambiguous. The agent-teams variant retains `name: time-agent` since `agent-teams/.claude/commands/time-orchestrator.md` explicitly invokes it by that name for Dubai time display. Co-Authored-By: Claude Code <noreply@anthropic.com>
46 lines
934 B
Markdown
46 lines
934 B
Markdown
---
|
|
name: time-agent-pkt
|
|
description: Use this agent to display the current time in Pakistan Standard Time (PKT, UTC+5). (root scope — see agent-teams for Dubai time)
|
|
allowedTools:
|
|
- "Bash(*)"
|
|
- "Read"
|
|
- "Write"
|
|
- "Edit"
|
|
- "Glob"
|
|
- "Grep"
|
|
- "WebFetch(*)"
|
|
- "WebSearch(*)"
|
|
- "Agent"
|
|
- "NotebookEdit"
|
|
- "mcp__*"
|
|
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
|