🎯 AgentSkills Guide¶
AgentSkills are modular, reusable packages that extend your AI agent's capabilities with specialized knowledge, workflows, and tools. They transform a general-purpose agent into a domain expert equipped with procedural knowledge.
📁 Skill Structure¶
Every skill consists of a mandatory SKILL.md file and optional resource directories:
my-skill/
├── SKILL.md (required) # Core instructions and metadata
├── scripts/ # Executable code (Python/Bash)
├── references/ # Documentation and schemas
└── assets/ # Templates, icons, and static files
SKILL.md Specification¶
The SKILL.md file must contain YAML frontmatter:
---
name: my-skill
description: Comprehensive description for triggering the skill.
---
# My Skill Instructions
... instructions for the AI ...
🛠️ Working with Skills¶
1. Initialize a New Skill¶
Scaffold a skill directory with a template SKILL.md:
2. Implementation¶
- Edit
SKILL.md: Provide clear, imperative instructions for the agent. - Add Resources: Place executable scripts in
scripts/and reference material inreferences/.
3. Validation¶
Ensure your skill meets the AgentSkills specification:
4. Packaging¶
Package your skill for distribution as a .skill file (a specialized zip archive):
5. Installation¶
Install skills into your global library (~/.traylinx/skills/):
tx skills install ./my-new-skill.skill
# OR install from source directory
tx skills install ./my-new-skill
🔍 Discovery¶
List all skills in your global library and current project:
Show detailed information and instructions for a specific skill: