Loading lesson…
Walk through the file layout, the SKILL.md progressive-disclosure pattern, the tool-call interface, and how to test a skill locally before sharing it. The other refrain echoed by both OpenClaw maintainers and Claude Code skill authors: write the test (the example output you want) before the procedure.
We will build a skill called `release-notes` that generates user-facing release notes from recent commits. It is the canonical first-skill exercise: small enough to ship in a sitting, large enough to exercise every part of the workflow. By the end you will have a manifest, a procedure, an example output, and a test harness that proves the skill triggers and runs locally.
.openclaw/skills/release-notes/
├── SKILL.md # manifest + procedure (the whole skill, mostly)
├── examples/
│ └── sample-output.md # what good output looks like
├── helpers/
│ └── group_commits.sh # optional helper script the procedure can call
└── README.md # human-facing notes (not loaded by the soul)A typical skill folder. SKILL.md is the only required file. Everything else is referenced from inside it.---
name: release-notes
description: Generate user-facing release notes from recent commits. Triggers when the user asks for release notes, changelog entries, or what changed since version X.
tools: [bash, edit]
permissions:
bash:
- git log
- git diff
edit: true
---
# Release Notes
When invoked:
1. Run `git log --oneline <last-tag>..HEAD` to gather commits.
2. Group commits by type using `helpers/group_commits.sh` if available, otherwise by parsing `feat:`, `fix:`, `perf:`, `docs:` prefixes inline.
3. Translate each commit subject into user-facing language. "feat: add export endpoint" becomes "You can now export reports as CSV."
4. Output as Markdown with a single H1 (the new version) and per-type H2 sections.
5. Suggest a one-line summary at the very top.
See `examples/sample-output.md` for the expected shape.
If there are no commits since the last tag, return "No user-visible changes" and stop.The whole skill, in one file. Frontmatter for the soul, prose for the procedure, references for the assets.A SKILL.md that runs past a few hundred lines will swamp the soul's context budget the moment it loads. The pattern that scales is to keep the procedure tight and push reference material into companion files the procedure can read on demand — examples, lookup tables, edge-case playbooks. Load lean by default, fetch detail when needed.
Skills declare which tools they intend to use in frontmatter. OpenClaw enforces this — a skill that lists `tools: [bash, edit]` cannot suddenly call the network tool mid-procedure. Be specific in the permissions block: list exact bash commands or path patterns rather than blanket access. The narrower the tool surface, the safer the skill is to install.
The big idea: a working skill is a manifest you tested against real phrasings, a procedure under 300 lines, a narrow tool surface, and an examples folder. Build that and ship — refinement comes from use, not from perfecting in isolation.
15 questions · take it digitally for instant feedback at tendril.neural-forge.io/learn/quiz/end-openclaw-skills-build-first-creators
What is the core idea behind "Building Your First OpenClaw Skill"?
Which term best describes a foundational idea in "Building Your First OpenClaw Skill"?
A learner studying Building Your First OpenClaw Skill would need to understand which concept?
Which of these is directly relevant to Building Your First OpenClaw Skill?
Which of the following is a key point about Building Your First OpenClaw Skill?
Which of these does NOT belong in a discussion of Building Your First OpenClaw Skill?
Which statement is accurate regarding Building Your First OpenClaw Skill?
Which of these does NOT belong in a discussion of Building Your First OpenClaw Skill?
What is the key insight about "One folder, one skill" in the context of Building Your First OpenClaw Skill?
What is the key insight about "Aim for SKILL.md under 300 lines" in the context of Building Your First OpenClaw Skill?
What is the key insight about "Failure to trigger is the most common bug" in the context of Building Your First OpenClaw Skill?
Which statement accurately describes an aspect of Building Your First OpenClaw Skill?
What does working with Building Your First OpenClaw Skill typically involve?
Which of the following is true about Building Your First OpenClaw Skill?
Which best describes the scope of "Building Your First OpenClaw Skill"?