惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V
Vulnerabilities – Threatpost
有赞技术团队
有赞技术团队
小众软件
小众软件
O
OpenAI News
C
Cyber Attacks, Cyber Crime and Cyber Security
I
Intezer
NISL@THU
NISL@THU
D
Darknet – Hacking Tools, Hacker News & Cyber Security
N
News and Events Feed by Topic
MongoDB | Blog
MongoDB | Blog
阮一峰的网络日志
阮一峰的网络日志
Hacker News: Ask HN
Hacker News: Ask HN
D
Docker
WordPress大学
WordPress大学
Security Archives - TechRepublic
Security Archives - TechRepublic
A
About on SuperTechFans
Stack Overflow Blog
Stack Overflow Blog
C
CERT Recently Published Vulnerability Notes
L
LINUX DO - 最新话题
Application and Cybersecurity Blog
Application and Cybersecurity Blog
M
MIT News - Artificial intelligence
Blog — PlanetScale
Blog — PlanetScale
S
Security @ Cisco Blogs
Cloudbric
Cloudbric
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
V
V2EX
Hacker News - Newest:
Hacker News - Newest: "LLM"
G
Google Developers Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
W
WeLiveSecurity
Google DeepMind News
Google DeepMind News
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
H
Hackread – Cybersecurity News, Data Breaches, AI and More
G
GRAHAM CLULEY
S
Schneier on Security
T
Tor Project blog
Spread Privacy
Spread Privacy
PCI Perspectives
PCI Perspectives
Microsoft Security Blog
Microsoft Security Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
F
Fortinet All Blogs
L
Lohrmann on Cybersecurity
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
The Exploit Database - CXSecurity.com
TaoSecurity Blog
TaoSecurity Blog
Apple Machine Learning Research
Apple Machine Learning Research
T
Threat Research - Cisco Blogs
T
Troy Hunt's Blog
罗磊的独立博客

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
What akm Actually Does: A Command-by-Command Tour
IT Lackey · 2026-05-08 · via DEV Community

If you've looked at akm for the first time and thought "this seems useful, but what do all these commands actually do?" this post is for you.

At a high level, akm is a package manager for AI agent capabilities. It gives your agents a searchable library of scripts, skills, commands, agents, knowledge docs, workflows, vaults, wikis, lessons, and memories. Instead of dumping everything into a giant system prompt, you let the agent discover what it needs with search, then load the right asset at the right time.

That's the big idea. The practical question is how the command surface fits together in day-to-day work.

This post walks through the CLI by job-to-be-done, with real examples of when you'd use each command.

This command-family framing reflects akm v0.7.0.

The Short Version

You can think about akm in seven layers:

  1. Set up the workspacesetup, init, config, info, index
  2. Connect sources and discover new onesadd, list, update, remove, clone, save, registry
  3. Find and inspect assetscurate, search, show
  4. Build local knowledge and operational contextremember, import, wiki, vault
  5. Run repeatable proceduresworkflow
  6. Continuously improve the stashfeedback, history, events, reflect, propose, proposal, distill
  7. Operate the CLI comfortablyhelp, hints, completions, upgrade

If you only remember one mental model, make it this:

  • akm add tells akm where content lives
  • akm index makes that content searchable
  • akm curate gives the best first shortlist for a request
  • akm search is for deeper discovery when you need more than the curated list
  • akm show loads the full thing

Everything else supports one of those steps.

What akm Is Really For

Most teams already have agent assets. They're just scattered.

  • Claude Code skills in one folder
  • OpenCode commands in another
  • project notes in random markdown files
  • internal runbooks in a docs repo
  • half-remembered lessons buried in old chats

akm turns that mess into a searchable, reusable library.

For example, imagine a team that ships a web app every week. They might use akm to unify:

  • local review and release skills
  • a shared Git repo of deployment workflows
  • internal docs imported as knowledge
  • a production vault that exposes secret keys without leaking values
  • memories like "staging deploys require VPN"

Now an agent can start with a curated shortlist for "ship release", load the release workflow, check the deployment vault, read the runbook section it needs, and only fall back to broader search if it needs more options.

1. First-Run and Environment Commands

akm setup

Use this when you want the guided on-ramp.

akm setup

Enter fullscreen mode Exit fullscreen mode

Real-world use: you just installed akm on a new laptop and want the wizard to create the working stash, configure providers, and build the first index without editing config by hand.

akm init

Use this when you want to skip the wizard and just create the working stash.

akm init --dir ~/akm

Enter fullscreen mode Exit fullscreen mode

Real-world use: you're scripting environment bootstrap for a devcontainer or CI image and want a known stash location without interactive prompts.

akm config

Use this to inspect or change settings.

akm config get output.format
akm config set output.detail full
akm config path --all

Enter fullscreen mode Exit fullscreen mode

Real-world use: your agent prefers text output in one repo and JSON in another, or you want to set a default write target for memories and imports.

akm info

Use this as the health check.

akm info

Enter fullscreen mode Exit fullscreen mode

Real-world use: after setup, you want to confirm the version, active sources, registries, and whether semantic search is actually ready.

akm index

Use this whenever content changed and you want search to reflect it.

akm index
akm index --full

Enter fullscreen mode Exit fullscreen mode

Real-world use: you added a GitHub stash, imported some docs, and created two memories. akm index refreshes the local search database so the agent can discover them.

2. Source and Registry Commands

These commands answer two related questions:

  • where should akm look for assets right now?
  • where can I discover more stashes later?

akm add

This is how you register a source.

akm add ~/.claude/skills
akm add github:your-org/team-agent-toolkit
akm add @scope/platform-stash
akm add https://docs.example.com --name public-docs

Enter fullscreen mode Exit fullscreen mode

Real-world use:

  • point akm at your existing Claude Code skills
  • pull in a shared team stash from GitHub
  • install an npm-published stash
  • crawl a documentation site as searchable knowledge

akm list

Shows what sources are already connected.

akm list

Enter fullscreen mode Exit fullscreen mode

Real-world use: you're debugging why a search result isn't appearing and want to verify whether the expected repo or local directory is even registered.

akm update

Refreshes managed sources.

akm update --all

Enter fullscreen mode Exit fullscreen mode

Real-world use: your platform team shipped an updated deployment stash and everyone pulls the latest version before a release.

akm remove

Disconnect a source you no longer want indexed.

akm remove public-docs

Enter fullscreen mode Exit fullscreen mode

Real-world use: a website source became noisy or outdated and you want it out of search results.

akm clone

Copies a single asset into your working stash or another directory so you can edit it locally.

akm clone skill:code-review
akm clone "npm:@scope/platform-stash//workflow:ship-release"

Enter fullscreen mode Exit fullscreen mode

Real-world use: you find a good community skill, clone it into your local stash, and tailor it for your team's code review conventions.

akm save

Commit local stash changes, and optionally push if the source is writable.

akm save -m "Tighten release workflow"

Enter fullscreen mode Exit fullscreen mode

Real-world use: your team keeps its shared stash in Git. After improving a workflow and a vault comment, akm save records the change like normal code.

akm registry

Use registries to discover new stashes you have not installed yet.

akm registry search "code review"
akm registry add https://example.com/registry/index.json --name team

Enter fullscreen mode Exit fullscreen mode

Real-world use: platform engineering publishes an internal stash registry, and teams browse it the same way they'd browse a package registry.

3. Discovery Commands

This is the heart of the product.

akm curate

Start here for a request or prompt. curate is the preferred first stop because it returns a tighter, more task-ready shortlist.

akm curate "review a large pull request"
akm curate "ship a bun release"

Enter fullscreen mode Exit fullscreen mode

Real-world use: the agent needs a deploy workflow, a release checklist, or a review skill and wants the best few candidates first instead of a broad result set.

akm search

Use this when you want deeper discovery beyond the curated shortlist.

akm search "review a large pull request"
akm search "kubernetes deploy" --type workflow

Enter fullscreen mode Exit fullscreen mode

Real-world use: curate gave you a solid starting point, but now you want to dig wider, inspect additional assets, or explore the long tail of relevant results.

akm show

Load the full content of a specific asset.

akm show skill:code-review
akm show workflow:ship-release
akm show knowledge:incident-runbook section "Rollback"

Enter fullscreen mode Exit fullscreen mode

Real-world use: curate or search identifies the right asset; show gives the agent the actual instructions, prompt template, workflow steps, or document section it needs to act.

4. Local Knowledge and Operational Context

This is the part of akm that turns a stash into living local context instead of a static pile of files.

Some commands capture what your team knows. Others make that knowledge safer or more structured. They belong together because they all define the working context your agent can rely on later.

akm remember

Write a memory.

akm remember "Staging deploys require VPN access" --tag ops --tag deploy

Enter fullscreen mode Exit fullscreen mode

Real-world use: after an incident or a successful fix, you capture the lesson in a searchable format so the next agent run doesn't rediscover it the hard way.

akm import

Bring a document into the stash as knowledge.

akm import ./docs/release-checklist.md
akm import https://example.com/internal-guide/auth

Enter fullscreen mode Exit fullscreen mode

Real-world use: you have a good architecture note or ops runbook outside the stash and want it indexed alongside everything else.

akm wiki

Use wikis for long-lived, agent-maintained knowledge bases.

akm wiki create architecture
akm wiki stash architecture ./notes/auth-redesign.md
akm wiki lint architecture

Enter fullscreen mode Exit fullscreen mode

Real-world use: your team wants a research or architecture wiki with raw sources, curated pages, and deterministic linting instead of ad hoc markdown sprawl.

wiki belongs with local knowledge, not off to the side. It's the command family you reach for when a single imported doc or memory is not enough and you need a maintained body of team knowledge.

akm vault

Use vaults when the agent needs operational context about secrets without seeing the secret values.

akm vault show vault:production
eval "$(akm vault load vault:production)"

Enter fullscreen mode Exit fullscreen mode

Real-world use: a deploy workflow needs DATABASE_URL and DEPLOY_TOKEN. The agent can verify the keys are present, then load the environment only at execution time.

Vaults fit here because they are part of the local operating context. They tell the agent what environment shape exists and let commands run safely without exposing secret values in the chat transcript.

5. Procedure Commands

Once you have the right knowledge and context, the next problem is execution across time.

akm workflow

Use workflows for repeatable, resumable procedures.

akm workflow start workflow:ship-release --params '{"version":"2.4.0"}'
akm workflow next workflow:ship-release
akm workflow complete run-123 --step validate --notes "Version and branch confirmed"

Enter fullscreen mode Exit fullscreen mode

Real-world use: shipping a release, rotating secrets, onboarding a new service, or any other multi-step process that should survive across sessions instead of living only in chat history.

6. Continuous Improvement Commands

This is the loop that makes akm better over time.

The flow is simple:

  1. an agent uses an asset
  2. you record whether it helped with feedback
  3. you inspect what happened with history or events
  4. you ask for improvements with reflect or propose
  5. you review the result with proposal
  6. you distill recurring feedback into reusable lessons with distill

These commands should be thought about as one system, not as isolated features.

akm feedback

Record whether an asset helped.

akm feedback workflow:ship-release --positive
akm feedback skill:legacy-deploy --negative --note "Outdated after platform migration"

Enter fullscreen mode Exit fullscreen mode

Real-world use: over time, assets that consistently help rise in ranking and stale ones become easier to spot.

akm history

Inspect the recorded state changes for an asset or the stash.

akm history --ref workflow:ship-release

Enter fullscreen mode Exit fullscreen mode

Real-world use: you want to know whether a workflow was searched, shown, or downvoted recently while cleaning up a team's stash.

akm events

Read the append-only realtime event stream.

akm events tail --format jsonl

Enter fullscreen mode Exit fullscreen mode

Real-world use: another process is watching akm activity and reacting when new feedback, imports, or proposals land.

akm reflect

Ask an external agent to propose improvements to an existing asset.

akm reflect skill:code-review --task "make this stricter about test coverage"

Enter fullscreen mode Exit fullscreen mode

Real-world use: you have a decent review skill, but you want an agent to improve it based on how it's actually being used.

akm propose

Generate a brand-new asset proposal.

akm propose workflow incident-rollback --task "Rollback procedure for failed production deploys"

Enter fullscreen mode Exit fullscreen mode

Real-world use: repeated gaps in your stash show up in history and events, so you create a first draft for the missing workflow or skill.

akm proposal

Review, diff, accept, or reject queued proposals.

akm proposal list
akm proposal diff 42
akm proposal accept 42

Enter fullscreen mode Exit fullscreen mode

Real-world use: keep human review in the loop before generated assets become part of the live stash.

akm distill

Summarize feedback into a reusable lesson proposal.

akm distill skill:code-review

Enter fullscreen mode Exit fullscreen mode

Real-world use: repeated feedback on a skill gets turned into a lesson asset that captures what people learned from using it.

7. Operator Ergonomics

These are the commands that make the CLI easier to live with day to day.

akm help

Focused help topics, especially migrations.

akm help migrate latest

Enter fullscreen mode Exit fullscreen mode

Real-world use: you upgraded akm and want the release-specific migration notes without leaving the terminal.

akm hints

Print instructions you can drop into AGENTS.md or CLAUDE.md.

akm hints

Enter fullscreen mode Exit fullscreen mode

Real-world use: you want every project to tell its coding agent how to use the local akm installation.

akm completions

Generate or install shell completion.

akm completions --install

Enter fullscreen mode Exit fullscreen mode

Real-world use: you use akm daily and want tab completion for commands and flags.

akm upgrade

Upgrade the akm binary itself.

akm upgrade --check

Enter fullscreen mode Exit fullscreen mode

Real-world use: you installed the standalone binary and want to see whether a newer release is available.

8. The Commands People Use Most

In practice, most teams live in a much smaller subset of the CLI:

akm setup
akm add ...
akm index
akm curate "..."
akm show <ref>
akm remember "..."
akm feedback <ref> --positive

Enter fullscreen mode Exit fullscreen mode

If your use case grows, the rest of the command surface is there:

  • workflow when procedures need state
  • wiki when local knowledge needs structure
  • vault when local operational context includes secrets
  • registry when discovery goes beyond your local stash
  • feedback / history / events / reflect / propose / proposal / distill when you want a real improvement loop

A Simple End-to-End Example

Let's say your team is onboarding a new service.

  1. Run akm add github:your-org/platform-stash
  2. Run akm add ./docs/runbooks
  3. Run akm index
  4. Start with akm curate "onboard a new service"
  5. Open the best match with akm show workflow:service-onboarding
  6. Check required environment keys with akm vault show vault:staging
  7. Add the final onboarding notes to the team wiki with akm wiki stash onboarding ./notes/service-onboarding.md
  8. Capture a new lesson with akm remember "Service onboarding requires DNS approval from ops" --tag ops
  9. Record whether the workflow helped with akm feedback workflow:service-onboarding --positive
  10. If the workflow was weak, run akm reflect workflow:service-onboarding --task "improve this after the latest run" or akm distill workflow:service-onboarding

That's akm in a nutshell: connect sources, index them, find what matters, load only what you need, and keep the library getting better.

Final Takeaway

akm is not trying to replace your coding assistant. It's the layer that makes your assistant's skills, docs, procedures, and institutional memory manageable at scale.

If you want the one-sentence version:

akm is the command line system that helps agents discover, load, share, improve, and safely reuse the capabilities they need to do real work.

And if you're wondering where to start, start here:

akm setup
akm add ~/.claude/skills
akm add github:your-org/team-agent-toolkit
akm index
akm curate "code review"
akm show skill:code-review

Enter fullscreen mode Exit fullscreen mode

That gets you from "I installed it" to "my agent can actually use it" in a few minutes.