Overview
Skills in Agent Teams Lite are defined usingSKILL.md files with YAML frontmatter and Markdown instructions. Each skill represents a specialized sub-agent that can be invoked by an orchestrator to perform focused tasks.
File Structure
A skill file consists of two parts:- YAML Frontmatter - Metadata and configuration
- Markdown Body - Instructions, workflows, and rules
Frontmatter Fields
string
required
Unique identifier for the skill. Used in skill invocations and file paths.Format:
kebab-case (lowercase with hyphens)Example: sdd-init, sdd-propose, sdd-applystring
required
Multi-line description with two parts:
- What: Core capability of the skill
- Trigger: When the orchestrator should invoke this skill
>) for multi-line descriptions.string
default:"MIT"
Open source license for the skill. Typically
MIT for Agent Teams Lite skills.object
Body Structure
The Markdown body contains the instructions that the sub-agent will follow. Use a consistent structure:1. Purpose Section
Define the sub-agent’s role and responsibility.2. Inputs Section
Document what the sub-agent receives from the orchestrator.3. Execution Contract
Specify how the skill interacts with persistence backends.4. Workflow Steps
Provide concrete, actionable steps.5. Rules Section
Define constraints, best practices, and error conditions.Complete Example
Here’s a real skill from the Agent Teams Lite repository:Step 4: Return Summary
Return to the orchestrator:Rules
- In
openspecmode, ALWAYS create theproposal.mdfile - If the change directory already exists with a proposal, READ it first and UPDATE it
- Keep the proposal CONCISE - it’s a thinking tool, not a novel
- Every proposal MUST have a rollback plan
- Apply any
rules.proposalfromopenspec/config.yaml
3. Support Multiple Modes
Make skills work across all persistence backends:- engram: Memory-based persistence
- openspec: File-based artifacts
- none: Ephemeral (no writes)
4. Return Structured Results
Always return a structured envelope to the orchestrator:5. Keep Instructions Concise
Sub-agents start with fresh context. Focus on:- What to do (clear steps)
- How to do it (concrete examples)
- Why it matters (constraints and rules)
- Long-winded explanations
- Philosophical discussions
- Redundant information
Directory Structure
Skills are typically organized like this:Skill Template
Use this template as a starting point for new skills:Rules
- Rule 1: Follow the persistence contract
- Rule 2: Return structured results
- Return a structured envelope with:
status,executive_summary,detailed_report(optional),artifacts,next_recommended, andrisks