allowed agent calling within an agent

This commit is contained in:
Shayan Rais
2025-11-03 20:50:10 +05:00
parent 0b7e7dd440
commit 4d7f1d9e6e
6 changed files with 197 additions and 21 deletions
+19
View File
@@ -0,0 +1,19 @@
---
description: Fetch and transform weather data for Karachi
model: haiku
---
# Weather Karachi Command
Fetch the current temperature for Karachi, Pakistan and apply transformations.
## Workflow
1. Use the weather-fetcher agent to retrieve the current temperature from wttr.in API
2. Use the weather-transformer agent to read transformation rules from input/input.md and apply them to the temperature
3. Write the results to output/output.md
Launch the agents sequentially (not in parallel) and provide a clear summary showing:
- Original temperature
- Transformation applied
- Final result
+3 -13
View File
@@ -1,20 +1,10 @@
---
description: Fetch and transform weather data for a city
argument-hint: <city-name>
description: Fetch and transform weather data for Karachi
model: haiku
---
# Weather Command
Fetch the current temperature for ${1:-Karachi}, Pakistan and apply transformations.
Execute the weather-karachi command to fetch and transform temperature data.
## Workflow
1. Use the weather-fetcher agent to retrieve the current temperature from wttr.in API
2. Use the weather-transformer agent to read transformation rules from input/input.md and apply them to the temperature
3. Write the results to output/output.md
Launch the agents sequentially (not in parallel) and provide a clear summary showing:
- Original temperature
- Transformation applied
- Final result
Use the SlashCommand tool to execute `/weather-karachi`.