← 回到目录

afm 包管理器

一条命令,把 skill / plugin / MCP 装进 ~/.claude 或 ~/.dsh

下载

⬇ 下载 Windows x64 · 87MB GitHub ↗
单文件 exe · 不需要 Node.js
Windows 10 / 11 · x64

安装

:: 直接跑
afm-windows-x64.exe doctor

:: 加进 PATH(之后直接敲 afm)
mkdir "%LOCALAPPDATA%\afm"
move afm-windows-x64.exe "%LOCALAPPDATA%\afm\afm.exe"
setx PATH "%PATH%;%LOCALAPPDATA%\afm"

用法

afm doctor自检:源站连通 / tar / git / npm / 目录版本
afm search mcp搜索 57,475 个包
afm info <包名>版本、许可、上游下载地址
afm install <包名>裸名安装,自动解析
afm install dsh:skill:xxx指定 agent + 类型
afm list / remove已装列表 / 卸载
afm ui --port 8181本地 Web 界面

装到哪里

claude-code~/.claude(skills / plugins / .claude.json)
dsh~/.dsh(skills / profiles / cordis.patch.yml)
台账~/.afm/installed.json

MCP 配置是 合并写入,改前自动备份。

MIT · 源码 · Release · 数据源 ratapi.com