Plugins
Polylane外掛為Claude Code、Cursor或Codex一步安裝這整個章節的內容:平台MCP伺服器、文件MCP伺服器、教你的代理認識平台與CLI的技能,以及最常見工作流程的斜線指令。單一儲存庫coreplanelabs/skills發布到每個代理的外掛目錄。
它加入什麼
| 元件 | 說明 |
|---|---|
polylane MCP伺服器 | https://mcp.polylane.com/mcp:完整的REST API、Polylane在每個已連接供應商上的代理工具、拓樸、程式碼搜尋與儲存庫對應。請見平台MCP伺服器。 |
polylane-docs MCP伺服器 | https://docs.polylane.com/mcp:搜尋並閱讀這些文件,讓代理取得目前的指令與結構,而不是猜測。請見文件MCP伺服器。 |
polylane技能 | 平台:連接技術堆疊、調查事件、在出貨前檢查一次變更對生產環境的影響,以及如何善用MCP伺服器。 |
polylane-cli技能 | polylane指令:驗證、工作區、查詢服務與日誌、執行代理工具、對話串與指令碼模式。 |
/polylane:onboard | 安裝CLI、登入,並連接整合與雲端帳戶。 |
/polylane:investigate | 橫跨日誌、指標、依賴圖、程式碼與最近的變更,找出事件的根本原因。 |
技能會在請求符合其描述時自行載入,指令則在你呼叫時執行。Claude Code與Cursor隨附這些指令;Codex把同樣的工作流程呈現為外掛上的起始提示,Cursor還會得到一條規則,提醒代理在行動前先取得Polylane文件。安裝後,問你的代理類似這樣的問題:「Use Polylane to show me the error rate for the service this branch deploys, over the last hour, and what changed in production for it today.」
安裝
/plugin marketplace add coreplanelabs/skills
/plugin install polylane@polylane
同樣的指令在終端機中可寫成claude plugin marketplace add coreplanelabs/skills與claude plugin install polylane@polylane。之後用claude plugin update polylane@polylane更新。
開啟Settings > Plugins,在Cursor Marketplace中搜尋Polylane並安裝;外掛需要Cursor 3.13或更新版本。沒有marketplace時,用Add to Cursor連結註冊MCP伺服器,並在**Settings > Rules > Add Rule > Remote Rule (GitHub)**底下以coreplanelabs/skills加入技能。
codex plugin marketplace add coreplanelabs/skills --ref main
codex plugin add polylane@polylane
你也可以在Codex應用程式或CLI中用/plugins從外掛目錄安裝Polylane。開始一個新的對話串讓技能與MCP伺服器載入,之後用codex plugin marketplace upgrade polylane接著codex plugin add polylane@polylane更新。
任何遵循Agent Skills標準的代理都可以不經外掛包裝直接使用這些技能:執行npx skills add coreplanelabs/skills。
登入
第一次連接到polylane伺服器時會開啟你的瀏覽器:核准客戶端並登入Polylane,代理會儲存權杖(在Claude Code中,執行/mcp來啟動)。在沒有瀏覽器的機器上,依照平台MCP伺服器的說明自行以API金鑰註冊伺服器;代理工具在你選擇加入前維持唯讀,外掛上和其他地方一樣。
檢查安裝
| 代理 | 說明 |
|---|---|
| Claude Code | claude plugin list顯示polylane@polylane,/mcp列出polylane與polylane-docs為已連接。 |
| Cursor | Settings > MCP列出polylane,Polylane技能顯示在Customize底下。 |
| Codex | codex plugin list顯示polylane@polylane為已安裝且已啟用,/mcp列出兩個伺服器。 |
相關頁面
- 平台MCP伺服器:
polylane伺服器背後的工具,以及如何手動註冊它。 - CLI:
polylane-cli技能教你的代理使用的指令。 - 文件MCP伺服器:
polylane-docs伺服器給你的代理什麼。 - 預設只讀取,寫入需經關卡:需要時如何解鎖寫入工具。