Skip to content
Development
Skill

/lsp

Use when Codex needs language-server diagnostics, definitions, references, symbols, or rename safety checks in the current workspace.

From plugin
lazycodex
3.2k36 skills10 agents6 MCP
Install
$ npx -y skills add code-yeongyu/lazycodex --skill lsp --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/lsp

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use when Codex needs language-server diagnostics, definitions, references, symbols, or rename safety checks in the current workspace.

SKILL.md

lsp.SKILL.md
name: lsp
description: Use when Codex needs language-server diagnostics, definitions, references, symbols, or rename safety checks in the current workspace.

Codex LSP

Call `lsp` MCP tools through the tool interface; `lsp.*`/`mcp__lsp__*` are tool-call names, not shell commands.

Tools

  • `lsp.status`: list configured, installed, missing, disabled, and active language servers.
  • `lsp.diagnostics`: check one file or directory for LSP diagnostics. Prefer `severity: "error"` after edits.
  • `lsp.goto_definition`: locate a symbol definition from file, line, and character.
  • `lsp.find_references`: find usages of a symbol across the workspace.
  • `lsp.symbols`: inspect document symbols or search workspace symbols.
  • `lsp.prepare_rename`: check whether a rename is valid at a position.
  • `lsp.rename`: apply a language-server workspace edit for a rename.

Config

Project config lives at `.codex/lsp-client.json`; user config lives at `~/.codex/lsp-client.json`.

{
	"lsp": {
		"typescript": {
			"command": ["typescript-language-server", "--stdio"],
			"extensions": [".ts", ".tsx", ".js", ".jsx"]
		}
	}
}

Use `lsp.status` first when diagnostics report a missing language server.

Ships withlazycodex

The one and only agent harness for complex codebases. Project memory, planning, execution, and verified completion inside Codex.

Get the whole plugin

Other skills on lazycodex.