快速开始

在 Claude Code 中以插件形式安装 Lagune

在 Claude Code 的终端、扩展或桌面应用中以插件形式安装 Lagune,保持更新,并预先允许引擎运行。

在终端中安装插件:

claude plugin install lagune --marketplace wellwelwel/lagune

或者在 Claude Code 会话中安装:

/plugin marketplace add wellwelwel/lagune
/plugin install lagune@lagune

更新​

运行以下命令更新 Lagune:

claude plugin marketplace update lagune
claude plugin update lagune@lagune

要让 lagune 插件市场自动更新,在 /plugin 中为它选择 Enable auto-update。

命令​

直接输入命令名,例如 /lagune-charter,或者加上插件的名称作为前缀,例如 /lagune:lagune-charter。


权限

引擎通过两个工具运行:lagune_read 只读取你的项目,lagune_write 只写入 .lagune/。如需预先允许它们,把这些规则添加到 .claude/settings.json(单个项目)或 ~/.claude/settings.json(所有项目):

{
"permissions": {
"allow": [
"mcp__plugin_lagune_lagune__lagune_read",
"mcp__plugin_lagune_lagune__lagune_write"
]
}
}

引擎通过 npx 运行时(例如用 skills.sh 安装),允许 Bash(npx --yes lagune@*)。开启沙箱时,还要把 registry.npmjs.org 加入 sandbox.network.allowedDomains。

常见问题

运行 claude plugin install lagune --marketplace wellwelwel/lagune。在会话或扩展中,通过插件管理器添加 wellwelwel/lagune 插件市场,然后安装 lagune。你在终端或扩展中为自己安装之后,桌面应用就会加载它。

运行 claude plugin marketplace update lagune,然后运行 claude plugin update lagune@lagune,或者在 /plugin 中为 lagune 插件市场选择 Enable auto-update。在扩展中,从 /plugin 打开 Manage plugins,点击 lagune 插件市场上的刷新图标。桌面应用会在下一次会话中加载更新。

直接输入命令名,例如 /lagune-charter,或者加上插件的名称作为前缀,例如 /lagune:lagune-charter。

可以。在 Claude Code 的设置中允许 mcp__plugin_lagune_lagune__lagune_read 和 mcp__plugin_lagune_lagune__lagune_write,引擎通过 npx 运行时,再允许 Bash(npx --yes lagune@*)。

最后更新于 2026年11月3日。

Copyright © 2026 年至今 Weslley Araújo 及贡献者。Lagune 采用 Apache License 2.0 授权。请查阅安全策略。

文中提及的所有产品名称、商标和注册商标均为其各自所有者的财产,仅用于识别目的。