UNPKG

akm-cli

Version:

akm (Agent Knowledge Manager) — a portable, local-first capability library for AI agents. Discover, load, share, and improve reusable skills, scripts, workflows, and knowledge across any shell-capable coding agent, including Claude Code, OpenCode, and Cur

199 lines (138 loc) • 9.95 kB
--- title: Your Team's Agent Skills Are a Mess. Here's How to Fix It. cover_image: 'https://raw.githubusercontent.com/itlackey/akm/main/docs/posts/akm-logo-sized.webp' series: akm-skills description: Every agent skills article is about individual developers. But teams are where skills become valuable and messy simultaneously. tags: - ai - agents - cli - skills published: true id: 3426246 --- > This is a dated article from AKM's publishing archive. For current product behavior, see the > [documentation index](https://github.com/itlackey/akm/blob/main/docs/README.md). This is part seven in a series about managing the growing pile of skills, scripts, and context that AI coding agents depend on. [Part one](https://dev.to/itlackey/your-ai-agents-skill-list-is-getting-out-of-hand-32ck) introduced progressive disclosure. [Part two](https://dev.to/itlackey/you-already-have-dozens-of-agent-skills-you-just-cant-find-them-bpo) unified your local assets across platforms. [Part three](https://dev.to/itlackey/your-agents-memory-shouldnt-disappear-when-the-session-ends) added remote context via OpenViking. *(note: OpenViking is not supported in akm v1 — see Part three's deprecation notice for details)* [Part four](https://dev.to/itlackey/your-agent-doesnt-know-what-the-community-already-figured-out) connected community knowledge through Context Hub. Everything up to now has been about *you*. Your skills. Your stash. Your agent. That's fine when you're working solo, but most of us aren't. You've got a deploy skill. Your teammate has one too. They do slightly different things — yours includes the canary step, theirs adds a Slack notification you didn't know about. A third person on the team wrote theirs for Codex and it skips the canary entirely. Now the deploy process changes. Say the team adds a new staging environment. You update your skill. You mention it in standup. Your teammate says they'll update theirs later. The third person was out that day and doesn't hear about it. Two weeks later, someone deploys to the wrong environment because their skill still has the old configuration. This isn't hypothetical. If your team uses AI coding assistants, this is happening right now. Every developer building up their own skill collection, no shared source of truth, no way to know when someone else has a better version of the same thing. Every agent skills article on the internet is written for individual developers. But teams are where skills become both most valuable and most chaotic. Here's how to fix it. ## The Simplest Thing: A Shared Directory Your team already has a shared drive or mounted directory? Use it. ```sh # Team lead creates the shared source mkdir -p /mnt/shared/team-skills/skills/deploy cat > /mnt/shared/team-skills/skills/deploy/SKILL.md << 'EOF' # Deploy to Production Standard deployment workflow for all services. ## Steps 1. Run test suite: `bun test` 2. Build: `bun run build` 3. Deploy to staging: `./scripts/deploy.sh staging` 4. Run smoke tests: `./scripts/smoke.sh staging` 5. Deploy to production: `./scripts/deploy.sh production` 6. Notify #deploys channel in Slack ## Rollback If smoke tests fail: `./scripts/rollback.sh staging` EOF ``` Each developer adds it as a source: ```sh akm add /mnt/shared/team-skills # doclint:ignore (historical — pre-0.9.0 command spelling) akm search "deploy" ``` That's it. The shared skill shows up in everyone's search results alongside their personal skills. When the team lead updates the deploy skill, everyone sees the update on the next index refresh. No copying. No syncing. No "hey, I updated the deploy skill" messages in Slack. This works best for co-located teams or teams that already share infrastructure. Zero overhead to set up. ## Git for Distributed Teams If your team is distributed, a Git repo is the natural choice. You already use Git for everything else — why not for skills? ```sh # Team lead creates the repo # github.com/your-org/team-agent-skills # Standard stash structure: skills/, commands/, knowledge/ # Each developer adds it akm add github:your-org/team-agent-skills # doclint:ignore (historical — pre-0.9.0 command spelling) # Pull latest when needed akm update --all # doclint:ignore (historical — pre-0.9.0 command spelling) ``` This buys you everything Git already provides: - **Version history.** See when the deploy skill changed and why. - **Pull request review.** New skills and updates go through the same review process as code. - **Branch-based testing.** Try a new version of a skill on a branch before merging. - **CI integration.** Lint your skill files, validate structure, run tests. A new developer runs `akm add`, and they've got the entire team's skill library indexed and searchable immediately. No onboarding doc that says "copy these files to these directories." ## Private Registry for Larger Orgs For larger teams or organizations that want discoverability without mandating specific skills, `akm` supports private registries. Think npm for agent skills, but hosted internally. ```sh # Configure the team registry once (applies to all subsequent searches) akm registry add https://registry.internal.company.com --name team # Search — registries you've added are searched automatically akm search "deploy" --from registry # Install a specific skill from the registry (each hit's `action` field # prints the exact `akm add <installRef>` to run) akm add https://registry.internal.company.com/skills/deploy-to-k8s # doclint:ignore (historical — pre-0.9.0 command spelling) ``` This makes more sense when your organization has dozens of teams, each with their own skills, and you want cross-team discovery without requiring everyone to index everything. Also handy when you need access control — some skills are sensitive. ## When the Team Skill Doesn't Quite Fit Here's the scenario every team hits: the standard deploy skill works for 90% of cases. But your project has a specific environment variable, an extra pre-deploy step, or a different notification channel. You don't want to modify the team skill — that breaks it for everyone else. You don't want to write your own from scratch — that's the duplication problem we started with. `akm clone` solves this: ```sh # Fork the team skill into your personal source akm clone skill:deploy # Now you have a local copy to customize # Edit ~/.akm/sources/default/skills/deploy/SKILL.md # Add your project-specific steps ``` The team version stays clean. Your fork is yours to customize. Both appear in your search results — the team version and your customized version — with the local fork ranked higher since it's in your personal source. When the team updates their version, you can re-clone to get the update and reapply your customizations. Or diff the two versions to see what changed. ## Putting It Together Here's what the full workflow looks like for a team of five: **Team lead (one-time setup):** ```sh # Create the team skills repo mkdir team-agent-skills cd team-agent-skills akm setup # Add skills, commands, knowledge # Push to github.com/your-org/team-agent-skills ``` **Each developer (one-time setup):** ```sh # Add team source alongside personal sources akm add github:your-org/team-agent-skills # doclint:ignore (historical — pre-0.9.0 command spelling) akm add ~/.claude/skills # doclint:ignore (historical — pre-0.9.0 command spelling) akm add ~/.codex/skills # doclint:ignore (historical — pre-0.9.0 command spelling) ``` **Daily workflow:** ```sh # Search finds results from all sources akm search "deploy" # Team skill and personal skills appear together # Best match wins, regardless of source # Pull team updates akm update --all # doclint:ignore (historical — pre-0.9.0 command spelling) ``` **When customization is needed:** ```sh akm clone skill:deploy # Edit local copy # Both versions stay searchable ``` No file copying. No sync scripts. No "which version is correct?" conversations. The team source is the source of truth. Personal forks are explicitly personal. Search finds everything. ## Why This Scales This whole workflow is built on the progressive disclosure pattern from the [previous post](https://dev.to/itlackey). At team scale, it's not just an optimization — it's a necessity. A team of five, each with 30 personal skills plus 50 shared team skills, has 200 total skills in play. Front-loading all of them into every agent session would cost 200,000+ tokens. With `akm`'s search-then-load pattern, each session uses only the 2-5 skills it actually needs. The agent doesn't know or care whether a skill came from the team source, a personal directory, or a Git repository. It searches, it finds, it loads. The source management is your concern as a developer. The skill content is the agent's concern. Clean separation. ## Getting Started If you're a team lead looking to set up shared skills: 1. Pick your approach — shared filesystem for co-located teams, Git repo for distributed teams, registry for large organizations 2. Create the shared source — see the [Getting Started guide](../guides/getting-started.md) for the standard stash structure 3. Have each developer run `akm add` to register the source 4. Start with 3-5 high-value skills that everyone uses (deploy, test, review, etc.) 5. Iterate from there The infrastructure is minimal. The payoff is immediate. Give it a shot and let me know how it holds up. The repo's at [github.com/itlackey/akm](https://github.com/itlackey/akm), and the [Getting Started guide](../guides/getting-started.md) will get you wired up in a few minutes. --- > **Note (2026-04-23):** This post has been updated to align with akm 0.6.0 terminology. Earlier wording referred to a *kit* and the *Kit Maker's Guide*; those terms have been renamed to *stash* and *Stash Maker's Guide* throughout. The pre-rename text is preserved in this repository's git history.