akm
akm — Agent Kit Manager. A package manager for AI agent skills, commands, tools, and knowledge.
Agent Kit Manager
akm — Agent Kit Manager
A package manager for AI agent capabilities -- scripts, skills, commands,
agents, knowledge, and memories -- that works with any AI coding assistant that
can run shell commands.
Why akm?
AI agent skills, commands, and knowledge are scattered across different tools --
Claude Code, OpenCode, Cursor, Windsurf -- with no unified way to manage, share,
or discover them. Each tool has its own format and its own silo. akm gives you a
single CLI to manage all your agent assets regardless of which coding assistant
you use, so you can build a personal library once and take it everywhere.
Install
# Standalone binary (no runtime dependencies)
curl -fsSL https://raw.githubusercontent.com/itlackey/akm/main/install.sh | bash
# Or via Bun
bun install -g akm-cli
# Or via skills
npx skills add itlackey/akm
Upgrade in place with akm upgrade.
Quick Start
akm setup # Guided setup: configure, initialize, and index
akm add ~/.claude/skills # Add your existing local skills
akm add github:owner/repo # Add a kit from GitHub
akm search "deploy" # Find assets
akm show script:deploy.sh # View details and run command
If you want to skip the wizard, akm init --dir ~/custom-stash initializes the
working stash at a custom path.
Features
Works with Any AI Agent
Any model that can run shell commands can use akm. Add this to yourAGENTS.md, CLAUDE.md, or system prompt (see docs/AGENTS.full.md for a
more detailed version with advanced usage):
## Resources & Capabilities
You have access to a searchable library of scripts, skills, commands, agents,
knowledge, and memories via the `akm` CLI. Use `akm -h` for details.
No plugins, SDKs, or integration code required. Platform-specific plugins
(e.g., OpenCode)
are available for tighter integration but purely optional.
Clone Assets Anywhere
akm clone copies any asset from your stash or a remote source into a
target directory for local editing:
akm clone script:deploy.sh # Clone to your stash
akm clone script:deploy.sh --dest ./project/.claude # Clone to a specific directory
akm clone script:deploy.sh --name my-deploy.sh # Clone with a new name
akm clone "npm:@scope/pkg//script:deploy.sh" --force # Clone from a remote package
Key behaviors:
- Type subdirectories are appended automatically (e.g.,
--dest ./project/.claudebecomes./project/.claude/scripts/deploy.sh) - Skills clone as entire directories; scripts/commands clone as single files
- Remote packages are fetched on-demand without registering as managed sources
--forceoverwrites existing assets
skills.sh Integration
akm includes skills.sh as a built-in registry. Community
skills from skills.sh are searchable out of the box alongside the official
registry -- no setup required:
akm search "code review" # Searches skills.sh and official registry
akm registry search "code review" # Search registries directly
Results include install counts and link back to skills.sh for details. The
provider caches queries for 15 minutes with a 24-hour stale fallback.
Registries and Private Registry Support
Registries are indexes of available kits. The official
akm-registry is pre-configured.
akm registry search "code review" # Search registries
akm registry add https://example.com/registry/index.json --name team # Add a registry
akm add http://host:1933 --provider openviking \
--options '{"apiKey":"key"}' # Add an OpenViking source
akm registry list # List configured registries
akm show viking://resources/my-doc # Fetch remote content from OpenViking
Private access is supported through:
- GitHub tokens -- Set
GITHUB_TOKENto access private GitHub repos when installing kits - Provider options --
--optionsflag accepts JSON for provider-specific configuration (API keys, custom headers) - Pluggable providers -- Built-in registry providers include
static-indexandskills-sh; source providers includefilesystemandopenviking; custom providers can implement their own authentication
See the Registry docs for hosting your own registry and
the v2 index format.
Add Sources from Anywhere
akm add ~/.claude/skills # Local directory
akm add @scope/my-kit # npm
akm add github:owner/repo#v1.2.3 # GitHub with tag
akm add git+https://gitlab.com/org/kit # Any git repo
Manage sources with akm list, akm update --all, and akm remove.
Publish Your Own Kit
- Organize your assets into a directory
- Add
"akm"tokeywordsinpackage.jsonor theakmtopic to your GitHub repo - Optionally add
akm.includeinpackage.jsonto control what gets installed - Publish to npm or push to GitHub
See the Kit Maker's Guide for a full walkthrough.
Documentation
| Doc | Description |
|---|---|
| Getting Started | Quick setup guide |
| CLI Reference | All commands and flags |
| Configuration | Settings, providers, and Ollama setup |
| Concepts | Sources, registries, asset types |
| Kit Maker's Guide | Build and share assets |
| Registry | Registries, search, and the v2 index format |
| Blog Posts | Articles and posts about akm |
License
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi