Skills

A skill is a reusable set of instructions the agent loads only when a task matches it. Only a one-line catalog entry sits in the agent's context all the time; the full text is fetched on demand with the use_skill tool, so skills cost almost nothing until used.

Availability

Where Status
The 3 built-in skills Available in every workspace
Skills in <project>/.ccd/skills/ Read when the project folder is on the machine CCD itself runs on (self-hosted installs and the main workspace). Skills inside a repository that lives only on a dedicated node are not read yet. Use Instruction files for those.
Skills in ~/.ccd/skills/ Machine-level. Managed by whoever runs the CCD server.

Built-in skills

Name What it does
review-changes Reviews the uncommitted diff for bugs, risky changes and missing tests. Reports path:line - problem - fix.
debug-failing-test A step-by-step workflow to find and fix the root cause of a failing test.
write-commit-message Drafts a concise conventional commit message from the staged changes.

List what is visible to a project:

curl -H "X-API-Key: $CCD_API_KEY" "$CCD_URL/api/dev/skills?project_id=$PID"

Writing a skill

Create .ccd/skills/<name>/SKILL.md, or a single .ccd/skills/<name>.md file:

---
name: release-notes
description: Draft release notes from the commits since the last tag
triggers: release notes, changelog, what changed
---
1. Run `git describe --tags --abbrev=0` to find the last tag.
2. Run `git log <tag>..HEAD --oneline`.
3. Group the commits into Added, Changed and Fixed.
4. Output markdown. Do not edit any file unless asked.

Rules:

Search order

The first skill with a given name wins, so a project skill overrides a machine one:

  1. <project>/.ccd/skills/
  2. ~/.ccd/skills/
  3. ~/.claude/skills/ (read for compatibility)
  4. The built-in skills

Skills versus the other options