快速开始

在 Cursor 中以插件形式安装 Lagune

在 Cursor 和 Cursor CLI 中以插件形式安装 Lagune,保持更新,并预先允许引擎运行。

  • 打开 Customize。
  • 选择 From GitHub Repository,然后输入 https://github.com/wellwelwel/lagune。
  • 在 Lagune 上选择 Install,然后选择项目或用户作用域。

更新​

  • 打开 Customize。
  • 在 lagune 插件市场上选择 Refresh。

命令​

直接输入命令名,例如 /lagune-charter。


权限

在 Cursor 中,命令通过 npx 运行引擎,默认的 Auto-review 模式会直接允许,不会询问。

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

{
"permissions": {
"allow": [
"Mcp(plugin-lagune-lagune:lagune_read)",
"Mcp(plugin-lagune-lagune:lagune_write)"
]
}
}

引擎通过 npx 运行时(例如用 skills.sh 安装),允许 Shell(npx:--yes lagune@*)。

常见问题

在 Cursor 中,打开 Customize,选择 From GitHub Repository,输入 https://github.com/wellwelwel/lagune 并安装 Lagune。在 Cursor CLI 中,运行 agent plugin marketplace add https://github.com/wellwelwel/lagune --git-ref plugin-cursor,然后在 /plugins 中安装 Lagune。

在 Cursor 中,到 Customize 里的 lagune 插件市场上选择 Refresh。在 Cursor CLI 中,移除 lagune 插件市场,重新添加,然后在 /plugins 中重新安装 Lagune。

直接输入命令名,例如 /lagune-charter。

可以。Cursor 默认的 Auto-review 模式已经允许它运行。在 Cursor CLI 中,允许 Mcp(plugin-lagune-lagune:lagune_read) 和 Mcp(plugin-lagune-lagune:lagune_write),引擎通过 npx 运行时,再允许 Shell(npx:--yes lagune@*)。

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

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

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