JSPM

  • Created
  • Published
  • Downloads 1508
  • Score
    100M100P100Q106933F
  • License MPL-2.0

akm (Agent Knowledge Management) — A package manager for AI agent skills, commands, tools, and knowledge. Works with Claude Code, OpenCode, Cursor, and any AI coding assistant.

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (akm-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    akm -- Agent Knowledge Management

    akm (Agent Knowledge Management) -- A package manager for AI agent skills, commands, tools, and knowledge.

    npm version npm downloads license

    akm is a package manager for AI agent capabilities -- scripts, skills, commands, agents, knowledge, memories, workflows, wikis, vaults, lessons, and scheduled tasks. It works with any AI coding assistant that can run shell commands, including Claude Code, OpenCode, Cursor, and more.

    Install

    Option 1 — Prebuilt binary (recommended, no runtime required):

    # Linux / macOS
    curl -fsSL https://github.com/itlackey/akm/releases/latest/download/install.sh | bash
    
    # Windows (PowerShell)
    irm https://github.com/itlackey/akm/releases/latest/download/install.ps1 | iex

    Option 2 — Bun (requires Bun >= 1.0):

    bun install -g akm-cli

    Upgrade in place with akm upgrade.

    AKM 0.8 requires the prebuilt binary or the Bun runtime. Node.js / npm / pnpm are not supported in 0.8.0 — running npm install -g akm-cli on a Node.js-only machine will print an error from the preinstall hook and exit without installing. Cross-runtime support (Node, npm, pnpm) is planned for 0.9.0.

    Quick Start

    akm setup                         # Guided setup: configure, initialize, and index
    akm add github:owner/repo         # Add a stash from GitHub
    akm search "deploy"               # Find assets across all sources
    akm show script:deploy.sh         # View details and run command

    Why akm?

    • Works with any AI agent -- No plugins or SDKs required. Any model that can run shell commands can use akm.
    • One command to search everything -- Local stash, registries, and community skills from skills.sh in a single query.
    • Install stashes from anywhere -- npm, GitHub, GitLab, local directories.
    • Semantic search -- Optional local embeddings (via Ollama or HuggingFace) for finding assets by meaning, not just keywords.
    • Private registries -- Host your own registry for team or enterprise use.

    Agent Integration

    Add this to your AGENTS.md, CLAUDE.md, or system prompt:

    ## Resources & Capabilities
    
    You have access to a searchable library of scripts, skills, commands, agents,
    knowledge, memories, workflows, wikis, vaults, lessons, and scheduled tasks
    via the `akm` CLI. Use `akm -h` for details.

    Install Stashes from Anywhere

    akm add @scope/my-stash                     # npm
    akm add github:owner/repo#v1.2.3            # GitHub with tag
    akm add git+https://gitlab.com/org/stash    # Any git repo
    akm add ./path/to/local/stash               # Local directory

    Manage stashes with akm list, akm update --all, and akm remove.

    Publish Your Own Stash

    1. Organize your assets into a directory
    2. Add "akm" to keywords in package.json
    3. Optionally add akm.include in package.json to control what gets installed
    4. Publish to npm or push to GitHub

    Documentation

    Full docs, CLI reference, and guides are available on GitHub:

    License

    MPL-2.0