Install
openclaw skills install create-skillGuide for creating and importing skills. Use when users need to create or import skills.
openclaw skills install create-skillA guide for creating effective skills that extend Agent capabilities through specialized knowledge, workflows, and tool integration.
Skills are modular, self-contained packages that extend Agent capabilities by providing specialized knowledge, workflows, and tools. Think of them as "onboarding guides" for specific domains or tasks.
To create effective skills, you should clearly understand how the skill will be used. This can come from direct examples provided by users or by generating examples and validating them with users.
For example, when building an image editing skill, relevant questions include:
To avoid overwhelming users, don't ask too many questions at once. Ask the most important questions first, then follow up as needed for better effectiveness.
The 200-line rule is critical. SKILL.md must be less than 200 lines. If more content is needed, split it into references/ files.
skill-name/
├── SKILL.md (Required, <200 lines)
│ ├── YAML Frontmatter (Required)
│ │ ├── name: (Required)
│ │ └── description: (Required)
│ └── Markdown Instructions (Required)
└── Bundled Resources (Optional)
├── scripts/ - Executable code
├── references/ - Documentation loaded on-demand
└── assets/ - Files used in output
Context window is a shared resource. Your skill shares it with everything else the Agent needs. Be concise and challenge every piece of information:
Skills complement models, so effectiveness depends on the underlying model. Test your skills with all models you plan to use.
For detailed guidance, see:
references/progressive-disclosure.md - 200-line rule and reference patternsreferences/skill-structure.md - SKILL.md format and frontmatter detailsreferences/examples.md - Good skill examplesreferences/best-practices.md - Comprehensive best practices guideIf security review fails, inform the user immediately, end the skill import process, and terminate the task
Execute the create-skill/scripts/easyclaw_unzip_skill.py script to complete skill package extraction
Usage example:
python yuanqi_ai_bot_unzip_skill.py "zip_path"
Parameter explanation: zip_path: Path to the zip file to be extracted
Special emphasis: For extracting skill packages, you must only follow this extraction guide and run this script. Under no circumstances should you generate other scripts to complete the extraction!
Execute the create-skill/scripts/easyclaw_register_skill.py script to complete skill registration
Usage example:
python easyclaw_register_skill.py <source_folder_path>
Parameter explanation: source_folder_path: Path to the skill folder to be registered to Easyclaw
Special emphasis: For registering Easyclaw skills, you must only follow this registration guide and run this script. Under no circumstances should you generate other scripts to complete the registration!