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
| Goal | Command |
|---|---|
| Run a granted skill entrypoint in isolation | ak skills exec |
| Review, evaluate, apply, or roll back a recorded candidate | ak skills evolution |
| Manage exec and secret grants | ak skills grants |
| Turn session evidence into a gated candidate overlay | ak skills improve |
| Inspect a SkillX release without installing it | ak skills inspect |
| Preview, apply, rebase, or roll back a personal kit | ak skills kit |
| Serve skills to an MCP client | ak skills mcp |
| Adopt legacy kit skill installs into the skill store | ak skills migrate |
| Publish a skill directory to SkillX as one release | ak skills publish |
| Read one file of a SkillX release | ak skills read |
| Resolve a SkillX reference | ak skills resolve |
| Restore a deleted SkillX package within 30 days | ak skills restore |
| Record skill problems at session end and review the screened skills | ak skills self-improve |
| Project the skill lock into installed skills | ak skills sync --locked |
| Delete a SkillX package or yank one version | ak skills unpublish |
| Show or change a SkillX package's visibility | ak skills visibility |
| Inspect workflow relationships | ak skills graph |
| Copy one local skill into the user install root | ak skills install <kit>/<skill> |
| List installed and locally available skills | ak skills list |
| Remove one installed copy | ak skills remove <kit>/<skill> |
Pick the local skill for an intent, or answer NONE | ak skills route |
| Search local metadata | ak skills search <query> |
| Show one installed or available record | ak 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 payloadErrors 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.