Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add DmitriyYukhanov/claude-plugins/plugin install lsp-setupWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/dmitriyyukhanov/claude-plugins/lsp-setup)<a href="https://agentmods.dev/skills/dmitriyyukhanov/claude-plugins/lsp-setup"><img src="https://agentmods.dev/badge/skills/dmitriyyukhanov/claude-plugins/lsp-setup/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/dmitriyyukhanov/claude-plugins/lsp-setup"><img src="https://agentmods.dev/badge/skills/dmitriyyukhanov/claude-plugins/lsp-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00111 | $0.01693 |
| Opus 5.5 | $0.00044 | $0.00677 |
| Sonnet 5.5 | $0.00022 | $0.00339 |
| Haiku 4.5 | $0.00011 | $0.00169 |
Grade B, and why
lsp-setup scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
grep "LSP servers loaded" ~/.claude/debug/latest How it starts
The opening of the file, as written. The whole thing — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LSP Setup for Claude Code Projects
Set up Language Server Protocol support in Claude Code for the current project. This enables semantic code intelligence: go-to-definition, find-references, hover, document symbols, workspace symbols, diagnostics, and call hierarchy — all at ~50ms instead of 30-60s grep-based navigation.
State Detection
This skill operates as a state machine. On each invocation, detect the current state and resume from the appropriate step:
- No LSP configured → Start from Step 1 (detect languages)
- Binaries missing → Resume at Step 3 (install binaries)
- Plugins not installed → Resume at Step 4 (install plugins)
- Plugins installed but LSP returns "No LSP server available" → Step 5 (restart needed)
- LSP responds with symbols → Step 6 (validation complete, report success)
To detect state quickly: attempt an LSP documentSymbol call on any source file in the project. If it returns results, skip to validation. If "No LSP server available", check whether plugins are installed and binaries are on PATH.
Step 1: Detect Environment
Determine the current environment by checking uname -s:
MINGW*orMSYS*→ MINGW (Git Bash on Windows)/proc/versioncontains "microsoft" → WSLDarwin→ macOS- Otherwise → Linux
This affects install commands and PATH gotchas. Consult references/gotchas.md for environment-specific issues.
Step 2: Detect Languages
Scan the current project directory for language indicators using Glob. Check for source files (**/*.py, **/*.ts, **/*.cs, etc.) and project markers (**/pyproject.toml, **/tsconfig.json, **/Cargo.toml, etc.).
The complete detection pattern table is in references/lsp-registry.md under "Auto-Detection File Patterns" — use that as the authoritative source.
Present detected languages for confirmation. If a detected language has no official Claude Code LSP plugin, inform the user and ask whether to skip it.
Only the 12 languages in references/lsp-registry.md have official plugins. If auto-detection finds no supported languages, present the full list and let the user pick.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 174 lines · 111 tokens per session scan B 0a4449856dc0
lsp-setup is a skill published in the GitHub repository DmitriyYukhanov/claude-plugins (8 stars, last pushed 1mo ago), licensed MIT. It adds 111 tokens to every session and 1,693 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
lsp-setup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| lsp-setupDmitriyYukhanov/claude-plugins | Skill | 8 | 1mo ago | MIT | B | 111 | Claude Code |
| branch-recapMalo-T/claude-toolbelt | Skill | 2 | 5d ago | MIT | A | 338 | Claude Code |
| audit-contextMalo-T/claude-toolbelt | Skill | 2 | 5d ago | MIT | A | 249 | Claude Code |
| slack-changelogMalo-T/claude-toolbelt | Skill | 2 | 5d ago | MIT | A | 332 | Claude Code |
| code-standardsPrabhdeepSingh/claude-plugins | Skill | 4 | 21d ago | MIT | A | 72 | Claude Code |
| pr-conventionsPrabhdeepSingh/claude-plugins | Skill | 4 | 21d ago | MIT | A | 64 | Claude Code |
| self-reviewPrabhdeepSingh/claude-plugins | Skill | 4 | 21d ago | MIT | A | 58 | Claude Code |