LSP Setup
A skill that detects your project's languages, installs and configures the right language server, then verifies it with a real diagnostics roundtrip.
Dev & CodingIntermediate★ 67,531⑂ 5,507AI score 7/10Last updated: Aug 9, 2026
What it does
- Maps file extensions to a language and routes to
references/<language>/README.mdfor the exact builtin server to use. - Collects per-OS install commands (macOS/Linux/Windows), config snippets, initialization options, alternative servers, and troubleshooting notes.
detect-lsp.tsscans a project and reports each language's server id, required executable, install status, install hint, and config status (--jsonsupported).verify-lsp.tsperforms a real diagnostics roundtrip and returnsOK/FAIL/SKIPwith exit codes.- Documents the config rules for
.codex/lsp-client.jsonand.opencode/lsp.json: project vs user config precedence,priority,extensionsoverrides,env,disabled. - Covers 20+ languages including TypeScript, Python, Go, Rust, C/C++, Java, Kotlin, C#, Swift, Ruby, PHP, Dart, Elixir, Zig, Lua, Bash, YAML, Terraform, Haskell, Julia.
Who it's for
- Developers stuck on "no LSP server configured" or "server not installed" errors.
- Anyone deciding between competing servers such as basedpyright vs pyright vs ty vs ruff.
- Teams working in polyglot monorepos who want diagnostics, go-to-definition, and find-references working everywhere.
- Users of the Codex or OpenCode (omo) harness who want standardized LSP config.
Usage examples
- Onboarding a new repo: ask "set up LSP for this project" —
bun scripts/detect-lsp.ts .shows Python and Go servers missing, and you get the exact install commands. - Picking a Python server: ask "basedpyright or pyright?" and get a comparison plus a paste-ready config snippet from
references/python/README.md. - Debugging silence: when diagnostics never appear, run
bun scripts/verify-lsp.ts src/main.rsto distinguish "not installed" from a server startup error.
· · · Install guide · · ·
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the packages/shared-skills/skills/lsp-setup folder from the GitHub repo code-yeongyu/oh-my-openagent into my ~/.claude/skills/lsp-setup/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/code-yeongyu/oh-my-openagent /tmp/oh-my-openagent && cp -r /tmp/oh-my-openagent/packages/shared-skills/skills/lsp-setup ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repository into a temp folder:
git clone https://github.com/code-yeongyu/oh-my-openagent /tmp/oh-my-openagent - Create the skills folder if needed:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r /tmp/oh-my-openagent/packages/shared-skills/skills/lsp-setup ~/.claude/skills/ - Install Bun so the helper scripts run:
curl -fsSL https://bun.sh/install | bash - Restart Claude Code and ask something like "configure LSP" or "install a language server" to trigger the skill.
- Note:
.codex/lsp-client.jsonand.opencode/lsp.jsonare harness-specific; in other setups rely mainly on the install commands and server-selection guidance.
View source on GitHub ↗License: NOASSERTION