What you will learn: This page explains how Agent Skills work, how to create and manage them, how to use Skill Packs to get started quickly, and how to use AI-assisted skill proposal to build a knowledge-driven skill library automatically.
🔢 Table of Contents
- Overview
- Endpoint Reference
- Authentication & Permissions
- Skills — Create & Manage
- Skill Packs
- AI-Proposed Skills
- Skill Optimization
- Agent Cortex Mode
- Agent Specialists
- Response Format
- Error Handling
- Best Practices
- Troubleshooting
1. Overview
What are Agent Skills?
Agent Skills are structured knowledge units that teach your AI Employee how to behave in specific situations. Each skill contains:- Name — A clear label (e.g., “Handle Refund Request”)
- Slug — A machine-readable unique identifier (e.g.,
handle-refund-request) - Description — When this skill should activate
- Content — The detailed instructions the AI follows when this skill applies
- Status —
draft,active, orarchived - Scope —
agent(single AI) ororganization(shared across all AIs)
Why Use Skills?
Without skills, your AI Employee relies only on its base instructions and knowledge base. Skills allow you to:- Define specific behaviors for recurring situations
- Reuse knowledge across multiple AI Employees (organization scope)
- Enable the AI Cortex to automatically select the right skill at runtime
- Maintain and version your AI’s behavioral logic independently from its prompt
How Skills are Used at Runtime
When a conversation is in progress, the Agent Cortex (inadvisory or active mode) reads all active skills and selects the most relevant one based on context. The selected skill’s content is injected into the AI’s context window as an additional instruction layer.
2. Endpoint Reference
3. Authentication & Permissions
All endpoints require an active session cookie tied to an authenticated user who belongs to the organization owning the agent.The system verifies thatagentIdbelongs to the authenticated user’s current organization (assertAgentBelongsToOrganization) before any operation.
4. Skills — Create & Manage
List Skills
Retrieves all skills for a given agent, including both agent-scoped and organization-scoped skills, plus any pending action approvals related to skills. Request:Create a Skill
Request:
Example:
Update a Skill
Request:Setting status toSlug Conflict: If a newactiveorarchivedautomatically updateslastReviewedAt.
slug is provided that already exists in the organization, the API returns 409 Conflict.
5. Skill Packs
Skill Packs are pre-built collections of skills curated by ZappWay for common use cases. They allow you to bootstrap a skill library in seconds.List Available Packs
Apply a Skill Pack
Example:
6. AI-Proposed Skills
ZappWay can use AI to automatically generate skill suggestions based on your agent’s configuration or knowledge base.Propose Skills from Configuration
Analyzes the agent’s instructions and existing tools to suggest new skills.ActionApproval objects — suggested skills waiting for your review and acceptance.
Propose Skills from Knowledge Base (RAG)
Analyzes the agent’s connected datastores and datasources to extract recurring topics and create skill suggestions.
Proposals that closely match existing skills are automatically skipped (skipped count).
7. Skill Optimization
Request AI-generated optimization suggestions for existing skills to improve their effectiveness.ActionApproval objects with suggested improvements for existing skills. These are reviewed via the Approvals system before being applied.
Response:
8. Agent Cortex Mode
The Agent Cortex controls how the AI autonomously selects and applies skills at runtime.Get Current Mode
Update Mode
9. Agent Specialists
Specialists allow an agent to delegate conversations to other specialized agents based on routing rules.List Specialists
Activate/Deactivate a Routing Rule
Link a Specialist
Creates a new specialist link between two agents. The system prevents self-loops and circular delegation chains.Cycle Detection: The system blocks delegation cycles at depth 1 (e.g., A→B when B→A already exists). Returns400 ConflictwithreasonCode: "CYCLE_BLOCKED".
10. Response Format
Status Codes
11. Error Handling
12. Best Practices
Writing Effective Skills
✅ Do:- Keep each skill focused on one specific situation or behavior
- Use the
descriptionfield to explain exactly when the skill should activate - Write
contentas actionable step-by-step instructions - Start with
draftstatus while testing, then promote toactive - Use
organizationscope for skills shared across multiple AI Employees
- Skills with vague names like “General Help” — be specific
- Packing too many behaviors into a single skill
- Leaving all skills in
draftstatus (they won’t be used by the Cortex) - Creating duplicate skills with different names but the same behavior

