Detailed Phase Breakdown

Deep dive into each phase of the Skill Adapter Protocol with examples, templates, and implementation details

Phase Overview

Learn Phase

Passive observation and documentation of platform interfaces and user flows

Translate Phase

Synthesis of observations into structured, executable skill definitions

Execute Phase

Deployment and execution with persistent state tracking and error recovery

Learn Phase: Deep Dive
Observation Only

Core Objective

The Learn phase is about understanding the platform from the perspective of your chosen role. You're not just cataloging UI elements—you're mapping how a human expert would navigate and interact with the platform.

What to Document

UI Elements

Buttons, inputs, menus, navigation elements with their text labels and locations

User Flows

Step-by-step sequences for common tasks (e.g., "To post: Home → Compose → Type → Publish")

Affordances

What each UI element enables (e.g., "Search box allows content discovery")

Skill Mappings

How role-specific capabilities map to platform features

Exploration Strategy

1
Start with the main/home interface
2
Explore primary navigation areas
3
Document content creation flows
4
Investigate analytics/insights areas
5
Check settings and preferences

Sample Learn Phase Output

# Home Timeline Exploration
• **Post Button**: Located top-right, opens composer modal
• **Trending Section**: Right sidebar, shows hashtags and topics
• **Feed Algorithm**: Chronological with "For You" toggle
• **Engagement Actions**: Like, Repost, Reply, Share buttons under each post
**Skill Mapping**: trend_monitoring → Trending Section
Try Learn Template
Duration: 10-15 minutes
Translate Phase: Deep Dive
Synthesis

Core Objective

Transform raw observations into a structured, executable SAP file. This phase converts human-readable documentation into a format that AI agents can parse and execute autonomously.

SAP File Structure

YAML Header

Metadata including name, platform, version, author, role context

Skills Section

10-12 structured skills with YAML metadata and execution steps

Role Orchestrator

Workflow sequences, conditional logic, error handling, success metrics

Skill Definition Components

YAML metadata (skill, description, category, priority)
Numbered execution steps
UI element mappings and selectors
Variable parameters and conditionals
Test mode and error handling

Sample Skill Definition

## trend_monitoring
skill: trend_monitoring
description: Monitor trending topics and hashtags
category: observation
priority: high
### Steps:
1. Navigate to trending topics section
2. Scan top 10 trending items
3. If engagement_rate < 20%, prioritize monitoring
4. Document relevant trends for {content}
Try Translate Template
Duration: 5-10 minutes
Execute Phase: Deep Dive
Live Deployment

Core Objective

Deploy the SAP file as a living, breathing agent that can execute tasks autonomously while maintaining transparency, safety, and adaptability through persistent state management.

Execution Features

Task Checklists

Persistent state tracking with TODO/DONE/FAILED status for each task

Real-time Monitoring

Live status updates, performance metrics, and execution logs

Error Recovery

Automatic retry logic, fallback strategies, and graceful degradation

Safety Mechanisms

Test mode for initial validation
Retry limits and exponential backoff
Platform compliance monitoring
Circuit breakers for error thresholds
User intervention checkpoints

Sample Execution Checklist

Task
Status
Notes
Timestamp
trend_monitoring
DONE
5 trends identified
14:30
content_creation
TODO
Pending approval
-
audience_engagement
FAILED
Rate limit hit, retry in 15min
14:45
Try Execute Template
Requires ongoing monitoring
Phase Integration & Iteration

The three phases work together as a continuous improvement cycle. Each execution provides feedback that can inform future learning and translation phases.

Learn → Translate

Rich observations enable comprehensive skill definitions. Poor documentation leads to incomplete or unreliable skills.

Translate → Execute

Well-structured SAP files execute smoothly. Missing error handling or unclear steps cause execution failures.

Execute → Learn

Execution failures reveal gaps in understanding. Platform changes trigger new learning cycles.

Continuous Improvement Cycle

SAP is designed for iterative refinement. Monitor execution metrics, identify failure patterns, and periodically re-run learning phases to adapt to platform changes. This creates agents that become more reliable and effective over time.