@agentplug/cli
v0.1.0-preview.11
Published
Thin launcher for shared Agent Plugin management
Readme
AgentPlug CLI
简体中文
安装和管理 Codex、Claude Code、Cursor 插件。需要 Node.js 16 或更高版本;支持 Ubuntu 24.04 x64、Windows 11 x64、macOS 26.5 及更新的 26.x(Apple Silicon / Intel)。
npm install -g @agentplug/cli
# 项目级:从目标项目目录执行
agentplug add catalog:skill-anthropics-skills-frontend-design --agent codex --project .
# 用户级:供当前用户的各个项目使用
agentplug add catalog:skill-anthropics-skills-frontend-design --agent codex --user
agentplug list
agentplug update <安装ID>
agentplug remove <安装ID>
agentplug help add连接 Claude Code 或 Cursor 时,把 codex 换成 claude-code 或 cursor。指定其他项目可用 --project "/path/to/My Project";Codex 项目连接前需先信任该项目。
首次管理命令自动下载并验签 Runtime。上述项目连接需要 macOS Runtime 0.1.2-macos.4 或更新版本;Linux/Windows 当前使用 Runtime 0.1.1。已有 Runtime 不随 CLI 自动升级;用原 Node.js 24.18.0 路径执行 agentplug setup <解压后的Runtime目录> 升级。
Cursor 批准并加载服务后,执行 agentplug confirm-agent-reload <连接ID> --confirm;连接 ID 取自安装结果的 connection.connection.id。
English
Install and manage plugins for Codex, Claude Code, and Cursor. Requires Node.js 16 or later. Supports Ubuntu 24.04 x64, Windows 11 x64, and macOS 26.5 or later in 26.x (Apple Silicon / Intel).
npm install -g @agentplug/cli
# Project scope: run from the target project
agentplug add catalog:skill-anthropics-skills-frontend-design --agent codex --project .
# User scope: available across your projects
agentplug add catalog:skill-anthropics-skills-frontend-design --agent codex --user
agentplug list
agentplug update <installation-id>
agentplug remove <installation-id>
agentplug help addReplace codex with claude-code or cursor for those agents. Use --project "/path/to/My Project" to select another project. Trust the project in Codex before connecting it.
The first management command downloads and verifies the Runtime. These project connections require macOS Runtime 0.1.2-macos.4 or later; Linux/Windows currently use Runtime 0.1.1. Updating the CLI does not upgrade an existing Runtime. Use the original Node.js 24.18.0 installation to run agentplug setup <extracted-runtime-directory>.
After approving and loading the service in Cursor, run agentplug confirm-agent-reload <connection-id> --confirm. Find the ID in connection.connection.id in the install result.
License
Apache-2.0.
