技能/Skills

Managing Skills

List installed skills

shell
$ kenji list

Lists skills installed in the current project. Output shows repo-slug/skill-slug for each skill.

text
Local skills (current folder):

  anthropics-skills/mcp-builder
  anthropics-skills/design-algorithmic-art
  someuser-kenji-registry/agents-prompt
shell
$ kenji list --global

Lists globally installed skills in the same format.

Remove a skill

shell
$ kenji remove mcp-builder
shell
$ kenji remove mcp-builder --global

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

text
Multiple installed skills match "mcp-builder":

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

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

After removal, the parent repo-slug folder is cleaned up automatically if it becomes empty.

Check where a skill came from

shell
$ kenji where mcp-builder

Shows the skill's install location (repo-slug/skill-slug), source URL, and install type. Pass --json for machine-readable output, or --verbose for full metadata. Use the full path to disambiguate if needed:

shell
$ kenji where anthropics-skills/mcp-builder

Search the registry

shell
$ kenji search react

Returns up to 5 results from the aggregated registry. Use --namespace to filter by author. For broader browsing, use the web registry.

Inspect a registry item

shell
$ kenji info kenji/react-debug

Works with registry names, GitHub repo paths (user/repo), tree URLs, and raw file URLs.

Copy a global skill into the current project

shell
$ kenji use mcp-builder
shell
$ kenji use anthropics-skills/mcp-builder --force

Copies the skill from ~/.kenji/skills/<repo-slug>/<skill-slug>/ into .kenji/skills/<repo-slug>/<skill-slug>/, preserving the full folder structure. Does not re-download from the internet. Pass --force to overwrite an existing local copy.