Skip to content

feat: Add GitHub Copilot CLI support with profiles - #4

Merged
mingchuno merged 1 commit into
mainfrom
feat/copilot
Oct 21, 2026
Merged

mingchuno merged 1 commit into
mainfrom
feat/copilot

Conversation

@mingchuno

Copy link
Copy Markdown
Owner

What

Adds --for copilot, which manages GitHub Copilot CLI personal skills in ~/.copilot/skills/. List, search, status, disable/enable (including glob) and the full profile command set all work with it.

  • New CopilotAdapter (src/adapters/copilot.ts). Disabling a skill moves its folder to ~/.copilot/skills/.disabled/, like the other directory-based adapters.
  • Every planned move is checked before any folder changes, so a profile switch or a multi-skill toggle can't stop halfway.
  • Copilot profiles are stored in ~/.copilot/skillctl/profiles.json. They can't contain plugins, same as Codex profiles.
  • The plugin-free profile logic is moved out of codex-profiles.ts into a shared src/skill-profiles.ts. Codex behavior is unchanged and its existing tests pass as-is.
  • After a change, the CLI tells you to run /skills reload in Copilot CLI.

Why

Copilot CLI now supports Agent Skills, so it loads every installed skill into each session the same way Claude Code and Codex do. Managing it uses the same commands as the other targets.

Reviewer notes

  • Copilot also reads ~/.agents/skills/, but Codex and Amp share that folder, and moving a skill out of it would disable the skill for them too. This adapter doesn't scan or touch that folder, so Copilot status counts include only ~/.copilot/skills/.
  • Repository skills (.github/skills) and plugin skills are not managed. The README says so.
  • --for copilot checks whether ~/.copilot exists to decide if Copilot is installed.

AI CLI(s) affected

GitHub Copilot CLI (new). Codex: profile code refactored, no behavior change.

Checklist

  • npm test passes (250 tests)
  • npm run build passes
  • Tests added/updated for the change
  • README updated if commands or behavior changed

🤖 Generated with Claude Code

Add a --for copilot target that manages personal skills in
~/.copilot/skills by moving them to .disabled/. The shared
~/.agents/skills root used by Codex and Amp is left untouched.

Copilot profiles are stored in ~/.copilot/skillctl/profiles.json and
validate every move before changing any folder. Profile logic shared
with Codex now lives in src/skill-profiles.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mingchuno
mingchuno merged commit c9802ea into main Oct 21, 2026
2 checks passed
@mingchuno
mingchuno deleted the feat/copilot branch October 21, 2026 16:25
mingchuno pushed a commit that referenced this pull request Oct 21, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.6.0](v0.5.0...v0.6.0)
(2026-10-21)


### Features

* Add GitHub Copilot CLI support with profiles
([#4](#4))
([c9802ea](c9802ea))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: mingchuno-trading212-releases[bot] <329182428+mingchuno-trading212-releases[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant