Skip to content

Skills

Skills are on-demand playbooks: a folder with a SKILL.md file and any helper scripts, templates, or reference docs it needs. Unlike project-wide instructions that load on every turn, skills stay out of the way until you or the agent invoke them.

OpenLune follows the open Agent Skills format and copies each skill directory into the right location for your selected client.

Put your skill in a directory inside openlune/ (for example, openlune/skills/release-notes/) with a SKILL.md file at its root:

openlune/skills/release-notes/SKILL.md
---
name: release-notes
description: Draft release notes from commits since the last Git tag.
---
# Release notes
1. Run `git log <last-tag>..HEAD --oneline` to inspect recent commits.
2. Group user-facing changes under **Added**, **Changed**, and **Fixed**.
3. Skip internal refactors and CI tweaks unless they affect contributors.

Then declare the skill in openlune/manifest.yaml:

version: "0.1"
skills:
release-notes:
source: skills/release-notes

When you run openlune apply, OpenLune copies the entire directory—SKILL.md and every supporting file inside it—to your client’s skills folder:

Client Generated directory
Claude Code .claude/skills/<id>/
Copilot .github/skills/<id>/
Grok Build .cursor/skills/<id>/
Codex, Antigravity .agents/skills/<id>/

SKILL.md must begin with YAML frontmatter delimited by --- on the first line. OpenLune validates the shared Agent Skills fields:

Field Required Purpose
name Yes Native display/invocation name for the skill. Must be unique across declared skills.
description Yes Explains what the skill does and when an agent should use it.
license No License identifier or note for the skill.
compatibility No Free-text note describing prerequisites (informational only; OpenLune does not install or enforce them).
allowed-tools No Space-separated string of native tool names (e.g. "Read Grep"), carried through unchanged. Must be a single string, not a YAML list.
metadata No Map of string key-value pairs for custom descriptive metadata.

Client-specific frontmatter fields outside this set are rejected so a skill never silently drops behavior on another client.

Different clients impose slightly different limits on skill names and descriptions. To keep a skill working cleanly across all five clients (and passing openlune check):

  • Match name to the manifest resource ID using lowercase letters, digits, and single hyphens (^[a-z0-9]+(?:-[a-z0-9]+)*$, 1–64 characters). Grok Build requires name to match the directory resource ID and follow this pattern.
  • Avoid reserved Claude Code names: synced and anthropic-skills (or anything starting with anthropic-skills:) are reserved by Claude Code.
  • Keep description under 1,024 characters (Copilot’s limit; Claude Code also truncates listings past 1,536 characters) and compatibility under 500 characters.

Anything else in the skill directory—reference Markdown, JSON templates, helper scripts, even binary files—is copied byte-for-byte alongside SKILL.md:

openlune/skills/release-notes/
├── SKILL.md
├── references/
│ └── changelog-style.md
└── scripts/
└── collect-commits.sh

A few details worth knowing:

  • Execute bits are preserved. If a script like scripts/collect-commits.sh is executable on macOS or Linux, OpenLune sets the execute bit on the copied file too.
  • Nothing is executed during plan or apply. OpenLune only snapshots and copies files; it never runs scripts inside a skill directory.
  • Symlinks stay contained. Symlinks that point within the skill directory are copied at their logical path; symlinks that escape the skill directory or form a cycle are rejected.
  • Line endings in committed repos. Unlike instructions and agent prompts, skill files are copied and compared byte-for-byte. If you commit generated files and use .gitattributes, apply the same line-ending rule to both openlune/skills/ and the generated skill directory.
  • Content stays literal. OpenLune never expands templates or variables inside SKILL.md. Any client-native syntax in the body is left intact for the client to interpret.