一键导入
lsp
Configure LSP language servers for real-time diagnostics after code edits
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Configure LSP language servers for real-time diagnostics after code edits
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Configure external messaging channel adapters (Telegram, etc.) — saves credentials securely and patches kraken.jsonc
Manage the Kraken daemon -- view status, manage tasks, and perform maintenance
Persistent memory system -- save and search observations across sessions
Configure and test notification channels -- Slack, Discord, Email, GitHub, and system notifications
Manage API keys and secrets safely -- list, set, and delete without exposing values
Create, modify, and debug triggers -- cron jobs, webhooks, file watchers, CI failure handlers, PR mentions, and slash commands
| name | lsp |
| description | Configure LSP language servers for real-time diagnostics after code edits |
| slash | lsp |
| aliases | diagnostics |
Kraken has built-in LSP integration that provides real-time diagnostics (errors, warnings) after every file edit. Language servers start lazily when you first edit a file of that language.
| Name | Command | Extensions | Requires |
|---|---|---|---|
| typescript | typescript-language-server --stdio | .ts .tsx .js .jsx | npm i -g typescript-language-server typescript |
| rust | rust-analyzer | .rs | rustup component add rust-analyzer |
| python | pyright-langserver --stdio | .py .pyi | npm i -g pyright |
| go | gopls serve | .go | go install golang.org/x/tools/gopls@latest |
Built-in servers are auto-detected. If the binary is not installed, the server is silently skipped.
Edit ~/.kraken/kraken.jsonc and add an entry under the lsp key:
{
"lsp": {
"elixir": {
"command": ["elixir-ls"],
"extensions": [".ex", ".exs"]
},
"zig": {
"command": ["zls"],
"extensions": [".zig"]
},
"svelte": {
"command": ["svelteserver", "--stdio"],
"extensions": [".svelte"]
},
"tailwindcss": {
"command": ["tailwindcss-language-server", "--stdio"],
"extensions": [".css", ".html"]
}
}
}
Requirements for custom servers:
--stdio transport (stdin/stdout JSON-RPC)textDocument/publishDiagnostics notificationsDisable all LSP:
{ "lsp": false }
Disable a specific server:
{
"lsp": {
"typescript": { "enabled": false }
}
}
textDocument/didChangetextDocument/publishDiagnostics# TypeScript/JavaScript
npm i -g typescript-language-server typescript
# Python
npm i -g pyright
# Rust
rustup component add rust-analyzer
# Go
go install golang.org/x/tools/gopls@latest
# C/C++
# macOS: xcode-select --install (includes clangd)
# Linux: apt install clangd
# Elixir
# Follow https://github.com/elixir-lsp/elixir-ls
# Zig
# Download from https://github.com/zigtools/zls
# Svelte
npm i -g svelte-language-server
# Vue
npm i -g @vue/language-server
# Tailwind CSS
npm i -g @tailwindcss/language-server
# YAML
npm i -g yaml-language-server
# Bash
npm i -g bash-language-server
# Docker
npm i -g dockerfile-language-server-nodejs