Skills are reusable instruction blocks you can attach to sub-agents. They help you share behavioral rules, reasoning guidelines, and formatting standards across multiple sub-agents without duplicating prompt content.
Use skills to:
Standardize behavior across sub-agents (tone, formatting, guardrails)
Separate concerns by moving specialized instructions out of the main prompt
Load instructions on demand to reduce context size when not needed
---name: "weather-safety-guardrails"description: "Safety rules for weather-dependent activity recommendations"metadata: author: acme-corp version: "1.0"---- Never recommend outdoor activities during severe weather alerts.- Always mention indoor alternatives when precipitation exceeds 50%.- Include safety disclaimers for extreme temperature conditions.
When alwaysLoaded is false or omitted, skills appear as an outline in the system prompt. The agent can load the full content when needed using the built-in load_skill tool.
---name: "weather-safety-guardrails"description: "Safety rules for weather-dependent recommendations"metadata: author: acme-corp version: "1.0"---- Never recommend outdoor activities during severe weather alerts.- Always mention indoor alternatives when precipitation exceeds 50%.- Include safety disclaimers for extreme temperature conditions.
skills/structured-itinerary-responses/SKILL.md
---name: "structured-itinerary-responses"description: "Present time-aware itineraries with clear actions and citations"metadata: author: acme-corp version: "1.0"---- Start with a one-sentence summary tailored to the user's location and weather window.- Provide 3–5 time-blocked suggestions with clear actions, durations, and required items.- End with a concise checklist plus source references when web results influence recommendations.