diff options
| author | Vipul Gupta (@vipulgupta2048) <vipulgupta2048@gmail.com> | 2026-08-02 20:50:54 +0530 |
|---|---|---|
| committer | Vipul Gupta (@vipulgupta2048) <vipulgupta2048@gmail.com> | 2026-08-02 23:54:39 +0530 |
| commit | e8089ebe612ec8ac7a9474b4ae5c67949fe3b720 (patch) | |
| tree | 230f0459432e86ada198a3284252c7807d3db78f /docs/commandcode-setup.md | |
| parent | 7829ffd90d973b6325f5f12f1b1226dcace74443 (diff) | |
docs: add Command Code as a native skills provider
Command Code has a native skills CLI (cmd skills add <owner/repo>) that
clones the repo, discovers every SKILL.md, and installs into
.commandcode/skills/ — no plugin manifest or copied files needed.
- README: add Command Code install block
- docs/commandcode-setup.md: setup guide (install/manage/usage, paths)
- docs/comparison.md: add Command Code to tooling reach
Verified end-to-end against addyosmani/agent-skills: add (all / -s / @branch /
path / --global / --force), list (+ -d), and remove (project / --global) via
the CLI, plus skill discovery in the TUI slash menu.
Signed-off-by: Vipul Gupta (@vipulgupta2048) <vipulgupta2048@gmail.com>
Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
Signed-off-by: Vipul Gupta (@vipulgupta2048) <vipulgupta2048@gmail.com>
Diffstat (limited to 'docs/commandcode-setup.md')
| -rw-r--r-- | docs/commandcode-setup.md | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/docs/commandcode-setup.md b/docs/commandcode-setup.md new file mode 100644 index 0000000..4bc5d98 --- /dev/null +++ b/docs/commandcode-setup.md @@ -0,0 +1,69 @@ +# Using agent-skills with Command Code + +[Command Code](https://commandcode.ai) has a native skills system. The built-in `cmd skills` command clones a GitHub repo, recursively discovers every `SKILL.md`, and installs the ones you pick. + +The Command Code binary is available as `cmd` (and the aliases `cmdc` on Windows / `command-code`). The examples below use `cmd`. + +## Install + +**Project scope** (installs into `.commandcode/skills/` at the current git root — the default): + +```bash +cmd skills add addyosmani/agent-skills +``` + +In an interactive terminal this shows a multi-select so you can choose which of the 24 skills to install. Pipe/non-interactive invocations install all discovered skills. + +**Install a specific skill:** + +```bash +cmd skills add addyosmani/agent-skills -s spec-driven-development +``` + +**User scope** (installs into `~/.commandcode/skills/`, available in every project): + +```bash +cmd skills add addyosmani/agent-skills --global +``` + +**Other supported forms:** + +```bash +cmd skills add addyosmani/agent-skills@main # a specific branch +cmd skills add addyosmani/agent-skills/skills/interview-me # a specific path in the repo +cmd skills add addyosmani/agent-skills --force # overwrite / update if already installed +``` + +## Manage + +```bash +cmd skills list # list installed skills (project + user + bundled) +cmd skills remove spec-driven-development # remove a project-scoped skill +cmd skills remove spec-driven-development --global # remove a user-scoped skill +``` + +`--force` on `add` re-fetches and overwrites an existing skill, which is how you update to the latest version. + +## Usage + +Installed skills are discovered automatically and appear in the TUI slash menu, tagged `[skill]`: + +``` +/spec-driven-development [skill] Write a spec before writing code… +``` + +Type `/` to browse, or start typing a skill name to filter. Use `/skills` to enable/disable skills. + +## Where skills live + +Command Code discovers skills from these locations (project entries resolve against the nearest git root): + +| Scope | Path | +|-------|------| +| Project | `.commandcode/skills/<name>/SKILL.md` | +| Project (agents-compat) | `.agents/skills/<name>/SKILL.md` | +| User | `~/.commandcode/skills/<name>/SKILL.md` | +| User (agents-compat) | `~/.agents/skills/<name>/SKILL.md` | + +`cmd skills add` writes to `.commandcode/skills/` (project) or `~/.commandcode/skills/` (`--global`). + |
