Install
openclaw skills install agent-skillsAgent Skills standard reference guide. Covers SKILL.md specification format, progressive disclosure mechanism, skill discovery and activation, frontmatter metadata fields, directory structure conventions.
openclaw skills install agent-skillsA standardized way to give AI agents new capabilities and expertise. 35+ agent products support it: Claude Code, GitHub Copilot, Cursor, Pi, Codex, Gemini CLI, and more.
Use when creating new skills, validating skill formats, or understanding the standardized skill system design.
skill-name/
├── SKILL.md # Required: YAML frontmatter + Markdown instructions
├── scripts/ # Optional: executable scripts
├── references/ # Optional: on-demand reference docs
├── assets/ # Optional: templates, resource files
└── ... # Any additional files
| Field | Required | Constraints |
|---|---|---|
name | ✅ | 1-64 chars, lowercase/numbers/hyphens, no leading/trailing hyphens, no consecutive hyphens, must match directory name |
description | ✅ | 1-1024 chars, describe what it does and when to use |
license | — | License name or reference |
compatibility | — | ≤500 chars, environment requirements |
metadata | — | Arbitrary key-value pairs |
allowed-tools | — | Space-separated pre-approved tool list (experimental) |
---
name: pdf-processing
description: Extract PDF text, fill forms, merge files. Use when handling PDFs.
---
Markdown body after frontmatter, no format restrictions. Recommended: step-by-step instructions, input/output examples, common edge cases. Split to references/ if over 500 lines.
| Tier | What's Loaded | When | Token Cost |
|---|---|---|---|
| 1. Catalog | name + description | Session start | ~50-100 per skill |
| 2. Instructions | Full SKILL.md body | When skill is activated | <5000 tokens (recommended) |
| 3. Resources | scripts/references/assets | When referenced by instructions | Varies |
| Scope | Path | Purpose |
|---|---|---|
| Project | <project>/.<client>/skills/ | Client-native location |
| Project | <project>/.agents/skills/ | Cross-client interoperability |
| User | ~/.<client>/skills/ | Client-native location |
| User | ~/.agents/skills/ | Cross-client interoperability |
Scan subdirectories containing SKILL.md. Skip .git/ and node_modules/. Name collisions: project-level overrides user-level.
See references/integrate.md for the full integration guide, covering:
35+ products implement Agent Skills: Claude Code, GitHub Copilot, Cursor, OpenAI Codex, Pi, Gemini CLI, Junie, OpenCode, OpenHands, Goose, Roo Code, VS Code, Mux, Amp, Spring AI, Databricks Genie Code, Qodo, Laravel Boost, and more. See references/products.md.
skills-ref validate ./my-skill