Skills

Skills

A skill is a folder containing a SKILL.md file. Its instructions are added to the packed output so the AI tool has task-specific guidance.

codemap --skills patch
codemap -s my-skill -s ./skills/review/SKILL.md

Pass --skills (or -s) more than once to load several skills.

Search order

For a name such as my-skill, codemap looks in these directories in order and uses the first match:

  1. The project skill directories, such as skills/ in the repository.
  2. .codemap/skills/<name>/SKILL.md in the repository.
  3. .claude/skills/<name>/SKILL.md in the repository.
  4. The same directories under the current user’s home directory.
  5. ~/.codemap/skills/<name>/SKILL.md

An explicit path to a SKILL.md file is read directly.

Built-in Patch skill

The patch skill ships with codemap. It adds patch-format instructions so an AI tool can return changes that codemap can apply. See Configuration for usePatch.

Writing a skill

---
name: my-skill
description: One-line summary of the skill.
---
 
Instructions for the AI tool go here.