AgentKit
ReferenceCLI commands
BetaYou are reading docs for the beta channel (2.4.1-beta.1) — updated automatically on every beta release.Switch to stable →

CLI commands

ak skill remove

Remove the per-skill runtime record (cache untouched)

Delete ~/.agentkit/skills/<kit>/<skill>/ -- the per-skill manifest record. Idempotent: a missing record is treated as success.

Who it's for: Power devs cleaning up after a renamed kit/skill, CI cache flushers.

When to use it: When a skill is renamed, deleted, or its runtime block is removed.

What changes on disk: Removes ~/.agentkit/skills/<kit>/<skill>/. Shared package cache under ~/.agentkit/cache/<hash>/ is preserved.

Usage

ak skill remove <kit>/<skill> [flags]

Examples

ak skill remove marketing/youtube
ak skill remove engineer/web-testing

Flags

FlagDescription
-h, --helphelp for remove
--jsonEmit machine-readable JSON (implies --no-interactive)
--kits-dir stringKits directory (default: ./kits or $AGENTKIT_KITS_DIR)
--no-interactiveDisable interactive prompts (CI-safe)
-q, --quietSuppress non-error output on stderr
-V, --verboseExtra diagnostic output on stderr (loses to --quiet)
-y, --yesAssume yes for all prompts

Output modes

ModeBehavior
prettydefault on TTY (colors, ASCII markers)
plainauto when stdout piped or --no-interactive
json--json (single-object envelope, NDJSON-safe)

Exit codes

CodeMeaning
0success
1runtime error
2invalid flags
3user-cancel (SIGINT, prompt-cancel)
5kit or skill not found
  • ak skill — Manage per-skill runtime envs

On this page