AgentKit
DocsKitsCLI ReferenceDesktop App

ak skills

ak skills

Browse local skill content, install it into the user Claude plugin root, and keep that lifecycle separate from runtime environments.

Use ak skills for local skill content and catalog operations. This plural namespace is separate from ak skill, which manages Python and Node runtime records for one skill.

Run ak skills link to authorize SkillX through your AgentKit account in a browser. ak skills link status checks the link, and ak skills unlink removes it. For requests to skillx.sh, the linked credential takes precedence over SKILLX_TOKEN, except for owner calls: ak skills visibility, unpublish and restore, and ak skills kit unpublish and restore, send a stored SKILLX_TOKEN even while linked, and that key must be an unscoped API key. A revoked link requires relinking. After unlinking, the stored token can be used again.

Usage

ak skills <command>

The group itself is read-only and prints help when no child is supplied.

Choose a command

GoalCommand
Run a granted skill entrypoint in isolationak skills exec
Review, evaluate, apply, or roll back a recorded candidateak skills evolution
Manage exec and secret grantsak skills grants
Turn session evidence into a gated candidate overlayak skills improve
Inspect a SkillX release without installing itak skills inspect
Preview, apply, rebase, or roll back a personal kitak skills kit
Serve skills to an MCP clientak skills mcp
Adopt legacy kit skill installs into the skill storeak skills migrate
Publish a skill directory to SkillX as one releaseak skills publish
Read one file of a SkillX releaseak skills read
Resolve a SkillX referenceak skills resolve
Restore a deleted SkillX package within 30 daysak skills restore
Record skill problems at session end and review the screened skillsak skills self-improve
Project the skill lock into installed skillsak skills sync --locked
Delete a SkillX package or yank one versionak skills unpublish
Show or change a SkillX package's visibilityak skills visibility
Inspect workflow relationshipsak skills graph
Copy one local skill into the user install rootak skills install <kit>/<skill>
List installed and locally available skillsak skills list
Remove one installed copyak skills remove <kit>/<skill>
Pick the local skill for an intent, or answer NONEak skills route
Search local metadataak skills search <query>
Show one installed or available recordak skills show <kit>/<skill>

Use canonical <kit>/<skill> references in scripts. The install, remove, and show commands also accept the input shorthands ak:<skill>, ake:<skill>, and akm:<skill> for core, engineer, and marketing; these are reference shorthands, not Cobra command aliases.

Local source and destination

With SkillX on (after ak update --ssot, or AGENTKIT_SKILLX=1), ak skills resolve, inspect, and read verify SkillX skill releases without installing them, and install --source skillx, remove @publisher/slug, and sync manage them in the skill store. publish uploads a skill directory as a SkillX release, and visibility, unpublish, and restore manage a package you own on SkillX; they write nothing locally. Run ak skills --help for these and for the brokered exec, grants, and mcp commands.

The local route does not resolve released kits from the remote AgentKit registry. It reads available content from AGENTKIT_KITS_DIR or ./kits, and installed content from AGENTKIT_PLUGIN_DIR or ~/.claude/plugins.

ak skills install writes this user-level path regardless of the current project or runtime target:

~/.claude/plugins/<kit>/skills/<skill>/

Use ak kit init or ak kit install when you need authenticated remote resolution, entitlement checks, project/global scope, or Claude/Codex/Cursor target selection.

Runtime handoff and safety

Installing runtime-bearing content also calls the singular runtime manager unless AGENTKIT_SKILL_RUNTIME=0. Removing content removes the corresponding runtime record first, but always preserves the shared package cache.

There are no confirmation prompts or recovery snapshots. --force deletes an existing content directory before copying; remove deletes directly. These multi-step operations are not rollback transactions.

Automation output

Plural leaf commands use versioned JSON success envelopes on stdout:

schema_version: 1
kind: assets.list | assets.show | assets.install | assets.remove | skills.graph
      | skills.publish | skills.visibility | skills.unpublish | skills.restore
      | skills.self_improve.status | skills.self_improve.history
      | skills.self_improve.enable | skills.self_improve.disable
      | skills.self_improve.review.list | skills.self_improve.review.inspect
      | skills.self_improve.review.rejected | skills.self_improve.review.deferred
      | skills.self_improve.review.proposed
data: command-specific payload

Errors use stderr. For malformed references, not-found records, and install conflicts, the current JSON error envelope can report exit_code: 1 even when the process exits 2, 5, or 6; gate on process status.