Installing agent skills
The npx @comet/cli install-agent-skills command installs agent skills into your project — structured, reusable instructions for AI coding agents (such as Claude Code or GitHub Copilot). Skills are placed into .agents/skills/ and .claude/skills/, where agents pick them up automatically.
Quick start
Add an agent-skills.json file at the project root containing the external repos to fetch skills from:
{
"repos": ["git@github.com:comet-dxp/comet.git"]
}
Add an install-agent-skills script to your root package.json:
{
"scripts": {
"install-agent-skills": "npx @comet/cli install-agent-skills"
}
}
and run this script in install.sh:
# ...
+ # Install agent skills
+ npm run install-agent-skills
# create site-config-envs
npm run create-site-configs-env
# ...
What is a skill?
A skill is a folder containing at minimum a SKILL.md file. The folder name is the skill name. For example:
project-skills/
└── code-style/
└── SKILL.md
The SKILL.md file contains markdown-formatted instructions that the agent follows when the skill is active. This follows the Agent Skills specification.