LSP Code Intelligence
Teaches the agent when and how to use language-server tools for diagnostics, definitions, references, and safe renames.
Dev & CodingIntermediate★ 67,531⑂ 5,507AI score 6/10Last updated: Aug 9, 2026
What it does
Guides the agent to call Language Server Protocol tools inside the current workspace:
lsp.status— list configured, installed, missing, disabled, and active language serverslsp.diagnostics— check a file or directory for problems (preferseverity: "error"right after edits)lsp.goto_definition— jump to a symbol's definition from file/line/characterlsp.find_references— find every usage of a symbol across the workspacelsp.symbols— inspect document symbols or search workspace symbolslsp.prepare_rename/lsp.rename— validate a rename position, then apply the workspace edit
Configuration lives in the project's .codex/lsp-client.json or the user-level ~/.codex/lsp-client.json, mapping each language to a server command and file extensions.
Who it's for
- Developers navigating large codebases who need precise lookups instead of grep
- Anyone refactoring who wants renames applied safely across every reference
- Teams that want compile/type errors surfaced immediately after an edit
Examples
- Post-edit check: "Run error-level diagnostics on the files you just changed" → the agent calls
lsp.diagnosticswithseverity: "error". - Safe rename: "Rename
UserServicetoAccountService" →lsp.prepare_renamevalidates the position, thenlsp.renameapplies the workspace edit. - Impact analysis: "What breaks if I delete this function?" →
lsp.find_referencesenumerates every call site, withlsp.goto_definitionfor the source. - Troubleshooting: when diagnostics come back empty,
lsp.statusreveals whether the language server is actually installed and active.
· · · 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/omo-codex/plugin/components/lsp/skills/lsp folder from the GitHub repo code-yeongyu/oh-my-openagent into my ~/.claude/skills/lsp/. 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.git /tmp/oh-my-openagent && mkdir -p ~/.claude/skills && cp -r /tmp/oh-my-openagent/packages/omo-codex/plugin/components/lsp/skills/lsp ~/.claude/skills/lsp⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repository:
git clone https://github.com/code-yeongyu/oh-my-openagent.git /tmp/oh-my-openagent - Create the skills directory:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r /tmp/oh-my-openagent/packages/omo-codex/plugin/components/lsp/skills/lsp ~/.claude/skills/lsp - Connect an
lspMCP server to your agent. This skill assumes thelsp.*tools already exist; without the server, every call fails. - Create
.codex/lsp-client.jsonin your project (or~/.codex/lsp-client.json) and declare your servers, e.g.{"lsp":{"typescript":{"command":["typescript-language-server","--stdio"],"extensions":[".ts",".tsx"]}}} - Install the matching language-server binaries, e.g.
npm i -g typescript-language-server typescript. - Restart the agent and ask "check lsp status" to verify everything is wired up.
View source on GitHub ↗License: NOASSERTION