Skip to main content

Overview

Skills in Agent Teams Lite are defined using SKILL.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:
  1. YAML Frontmatter - Metadata and configuration
  2. 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-apply
string
required
Multi-line description with two parts:
  • What: Core capability of the skill
  • Trigger: When the orchestrator should invoke this skill
Use YAML block scalar (>) for multi-line descriptions.
string
default:"MIT"
Open source license for the skill. Typically MIT for Agent Teams Lite skills.
object
Additional metadata about the skill.
string
Author or organization name.
string
Semantic version of the skill (e.g., "1.0", "2.0").

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.
openspec/ ├── config.yaml ├── specs/ └── changes/

5. Rules Section

Define constraints, best practices, and error conditions.

Complete Example

Here’s a real skill from the Agent Teams Lite repository:
openspec/changes// └── proposal.md

Step 4: Return Summary

Return to the orchestrator:

Rules

  • In openspec mode, ALWAYS create the proposal.md file
  • 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.proposal from openspec/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)
Avoid:
  • 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, and risks