When you need a capability that isn't in INDEX.md, author a new skill.
When to use
INDEX.md has nothing relevant.
An existing skill could be adapted but doesn't fit the current need cleanly.
You found yourself doing the same multi-step bash dance twice; capture it.
How to use
Confirm the gap:
cat $LAZAR_HOME/skills/INDEX.md
Pick a short, descriptive kebab-case name (e.g. web-search, file-watch, git-status).
Create the skill folder and SKILL.md:
mkdir -p $LAZAR_HOME/skills/<name>
cat > $LAZAR_HOME/skills/<name>/SKILL.md <<'EOF'
# <name>
<one-line purpose>
## When to use
<triggers — what situation calls for this skill>
## How to use
<ordered steps the next invocation will follow>
## Recipe
<copy-pasteable bash; assume the agent runs it verbatim>
EOF
Bash-first. If the recipe can't be expressed in bash, the skill is too big.
Document the failure modes you hit while designing it. Future-you will thank you.
Skills go in $LAZAR_HOME/skills/. Never write outside that tree to extend your capabilities.
1---2name: create-skill3description: create-skill4---5# create-skill67When you need a capability that isn't in INDEX.md, author a new skill.89## When to use1011- INDEX.md has nothing relevant.12- An existing skill could be adapted but doesn't fit the current need cleanly.13- You found yourself doing the same multi-step bash dance twice; capture it.1415## How to use16171. Confirm the gap:1819 cat $LAZAR_HOME/skills/INDEX.md20212. Pick a short, descriptive kebab-case name (e.g. `web-search`, `file-watch`, `git-status`).22233. Create the skill folder and SKILL.md:2425 mkdir -p $LAZAR_HOME/skills/<name>26 cat > $LAZAR_HOME/skills/<name>/SKILL.md <<'EOF'27 # <name>2829 <one-line purpose>3031 ## When to use32 <triggers — what situation calls for this skill>3334 ## How to use35 <ordered steps the next invocation will follow>3637 ## Recipe38 <copy-pasteable bash; assume the agent runs it verbatim>39 EOF40414. Register it in the index:4243 echo "- <name> — <one-line purpose>" >> $LAZAR_HOME/skills/INDEX.md44455. Verify:4647 cat $LAZAR_HOME/skills/INDEX.md48 cat $LAZAR_HOME/skills/<name>/SKILL.md4950## Principles5152- Skills should be small. If a skill does two things, split it.53- Prefer composition: existing skills + bash + `lazar -p` recursion.54- Bash-first. If the recipe can't be expressed in bash, the skill is too big.55- Document the failure modes you hit while designing it. Future-you will thank you.56- Skills go in `$LAZAR_HOME/skills/`. Never write outside that tree to extend your capabilities.
Run npx skillmds@latest add jasonkneen/create-skill in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
create-skill It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
jasonkneen (@jasonkneen) published this skill. Their other Agent Skills are listed on their SkillMD profile.