技能/Skills

Install Sources

Kenji supports five install source types. Each has a distinct syntax.

Registry install

text
kenji install <namespace>/<skill>
shell
$ kenji install kenji/react-debug

Use when the skill is listed in the Kenji registry or a community registry.


GitHub repo install

text
kenji install <user>/<repo>
shell
$ kenji install anthropics/prompt-engineering

Use when the repo contains Markdown instruction files at its root or in a recognized folder.


GitHub tree URL

text
kenji install https://github.com/<user>/<repo>/tree/<branch>/<path>
shell
$ kenji install https://github.com/user/repo/tree/main/skills/react

Use when the skill files are inside a specific subfolder of a repository.


GitHub blob URL

text
kenji install https://github.com/<user>/<repo>/blob/<branch>/<path>/file.md
shell
$ kenji install https://github.com/user/repo/blob/main/skills/react/SKILL.md

Use when you want a single specific file from a GitHub page URL. Kenji converts this to a raw URL automatically.


Raw GitHub URL

text
kenji install https://raw.githubusercontent.com/<user>/<repo>/<branch>/<path>
shell
$ kenji install https://raw.githubusercontent.com/user/repo/main/skills/react/SKILL.md

Use when you have the direct raw file URL and want to install a single file.