参照/Reference

Command Reference

Skill commands

  • kenji install <target> [--global] [--force] — Install a skill or stack from any supported source. When installing a GitHub repo with multiple skills, shows a preview and asks for confirmation before downloading.
  • kenji remove <name|repo-slug/skill-slug> [--global] — Remove an installed skill. Use the full repo-slug/skill-slug path when the skill name is ambiguous.
  • kenji list [--global] — List installed skills. Output shows repo-slug/skill-slug for each skill.
  • kenji use <name|repo-slug/skill-slug> [--force] — Copy a global skill into the current project, preserving the two-level folder structure.
  • kenji where <name|repo-slug/skill-slug> [--json] [--verbose] — Show where a skill is installed and where it was sourced from.
  • kenji search <query> [--type skill|stack] [--namespace <ns>] — Search the registry. Returns up to 5 results.
  • kenji info <name> — Show details for a registry item, GitHub repo, tree URL, or raw file URL.

Stack commands

  • kenji stack create <name> — Create a new empty stack.
  • kenji stack add <stack> <skill> — Add a skill to a stack.
  • kenji stack remove-skill <stack> <skill> — Remove a skill from a stack.
  • kenji stack install <name> — Install all skills from a stack into the current project.
  • kenji stack export <name> — Export a stack to a .kenji.json file in the current directory.
  • kenji stack import <file> — Import a .kenji.json file into ~/.kenji/stacks/.
  • kenji stack list — List all stacks stored globally.
  • kenji stack show <name> — Show the contents of a stack.
  • kenji stack delete <name> — Delete a stack.

Registry commands

  • kenji registry add <user/repo> — Submit a community registry. Crawled and indexed immediately.
  • kenji registry update <user/repo> — Re-crawl a registered registry and refresh its index.
  • kenji registry list — Prints a link to the web registry.

Utility

  • kenji doctor — Run environment diagnostics.
  • kenji --version — Print the installed CLI version.