Skip to content

Commit e40c041

Browse files
authored
docs: clarify personal skill directories (#2032)
* docs: clarify personal skill directories * docs: revert mirrored CLI beginners guide changes
1 parent 128b0ed commit e40c041

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

instructions/agent-skills.instructions.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ Skills are stored in specific locations:
2525
|----------|-------|----------------|
2626
| `.github/skills/<skill-name>/` | Project/repository | Recommended for project skills |
2727
| `.claude/skills/<skill-name>/` | Project/repository | Legacy, for backward compatibility |
28-
| `~/.github/skills/<skill-name>/` | Personal (user-wide) | Recommended for personal skills |
28+
| `~/.copilot/skills/<skill-name>/` | Personal (user-wide) | Recommended for personal skills |
29+
| `~/.agents/skills/<skill-name>/` | Personal (user-wide) | Alternative supported personal skills directory |
2930
| `~/.claude/skills/<skill-name>/` | Personal (user-wide) | Legacy, for backward compatibility |
3031

3132
Each skill **must** have its own subdirectory containing at minimum a `SKILL.md` file.

skills/cli-mastery/references/module-5-skills.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010

1111
| Level | Location |
1212
|-------|----------|
13-
| User | `~/.copilot/skills/<name>/SKILL.md` |
13+
| User | `~/.copilot/skills/<name>/SKILL.md` or `~/.agents/skills/<name>/SKILL.md` |
1414
| Repo | `.github/skills/<name>/SKILL.md` |
1515
| Org | Shared via org-level config |
1616

1717
## Creating a custom skill
1818

19-
1. Create the directory: `mkdir -p ~/.copilot/skills/my-skill/`
19+
1. Create the directory: `mkdir -p ~/.copilot/skills/my-skill/` (or `mkdir -p ~/.agents/skills/my-skill/`)
2020
2. Create `SKILL.md` with YAML frontmatter (`name`, `description`, optional `tools`)
2121
3. Write detailed instructions for the AI's behavior
2222
4. Verify with `/skills`

website/src/content/docs/learning-hub/copilot-configuration-basics.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ When you work inside `packages/api/`, Copilot loads configuration from `packages
194194

195195
### Personal Skills Directory
196196

197-
In addition to repository-level skills, GitHub Copilot CLI supports a **personal skills directory** at `~/.agents/skills/`. Skills you place here are discovered automatically across all your projects, making them ideal for personal workflows and reusable utilities that are not project-specific.
197+
In addition to repository-level skills, GitHub Copilot CLI supports **personal skills directories** at `~/.copilot/skills/` and `~/.agents/skills/`. Skills you place in either location are discovered automatically across all your projects, making them ideal for personal workflows and reusable utilities that are not project-specific.
198198

199199
```
200200
~/.agents/
@@ -205,7 +205,7 @@ In addition to repository-level skills, GitHub Copilot CLI supports a **personal
205205
└── SKILL.md
206206
```
207207

208-
This personal directory aligns with the VS Code GitHub Copilot for Azure extension's default skill discovery path, so skills defined here work consistently across tools.
208+
The `~/.agents/skills/` path aligns with the VS Code GitHub Copilot for Azure extension's default skill discovery path, while `~/.copilot/skills/` matches the Copilot CLI configuration directory. Both are supported for personal skills.
209209

210210
### Custom Agents
211211

@@ -402,7 +402,7 @@ In addition to the main config file, GitHub Copilot CLI reads two optional per-p
402402

403403
These files follow the same format as `config.json` and are loaded after the global config, so they can tailor CLI behaviour—including hook definitions—per repository without touching `.github/`.
404404

405-
> **Important (v1.0.36+)**: Custom agents, skills, and commands placed in `~/.claude/` (the Claude Code user directory) are **no longer loaded** by GitHub Copilot CLI. Only `~/.claude/settings.json` is read for configuration. If you previously stored personal agents or skills in `~/.claude/`, move them to the supported locations: `~/.agents/` for user-level agents, `~/.agents/skills/` for personal skills, or `.github/agents/` and `.github/skills/` in your repositories for project-level customizations.
405+
> **Important (v1.0.36+)**: Custom agents, skills, and commands placed in `~/.claude/` (the Claude Code user directory) are **no longer loaded** by GitHub Copilot CLI. Only `~/.claude/settings.json` is read for configuration. If you previously stored personal agents or skills in `~/.claude/`, move them to the supported locations: `~/.copilot/agents/` for user-level agents, `~/.copilot/skills/` or `~/.agents/skills/` for personal skills, or `.github/agents/` and `.github/skills/` in your repositories for project-level customizations.
406406
407407
### Model Picker
408408

0 commit comments

Comments
 (0)