技能/Skills

Global Skill Reuse

Global skills are installed once and can be copied into any project without re-downloading. The two-level <repo-slug>/<skill-slug>/ folder structure is preserved in both locations.

Workflow

Install a skill globally:

shell
$ kenji install anthropics/skills --global

This installs all skills from the repo into ~/.kenji/skills/anthropics-skills/:

text
~/.kenji/skills/
  anthropics-skills/
    mcp-builder/
    design-algorithmic-art/

Later, in any project directory, copy a specific skill in:

shell
$ kenji use mcp-builder

This copies ~/.kenji/skills/anthropics-skills/mcp-builder/ into .kenji/skills/anthropics-skills/mcp-builder/.

Disambiguating skills with the same name

If two different repos have a skill with the same name, Kenji shows all matches and asks you to specify the full path:

text
Multiple global skills match "mcp-builder":

  - anthropics-skills/mcp-builder
  - openai-skills/mcp-builder

Specify the full path:
  kenji use anthropics-skills/mcp-builder
shell
$ kenji use anthropics-skills/mcp-builder

Case-insensitive matching

Skill slugs are matched case-insensitively. kenji use MCP-Builder will find mcp-builder.