lsp-setup

lsp-setup is a skill for Codex from code-yeongyu/lazycodex. It costs 53 tokens per session (1,690 once invoked), scanned C, original, MIT.

A setup guide for a Language Server, a tool that gives an editor or coding agent code awareness such as error diagnostics, definition lookup, reference search, and renaming. It helps configure the right server for a project's programming language.

In plain words
What is it for?
Use it to identify a project's language, install the matching server, write its configuration, and check that code-navigation features work. It covers languages including TypeScript, Python, Go, Rust, C/C++, Java, Kotlin, C#, and Swift.
Why use it?
It addresses missing or incorrectly configured language tooling, including errors saying that no server is configured or installed. It verifies the setup by testing the tools on a real project.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: reads ~/.codex paths; mentions Codex; mentions OpenCode.

Good fit Use it to identify a project's language, install the matching server, write its configuration, and check that code-navigation features work. It covers languages including TypeScript, Python, Go, Rust, C/C++, Java, Kotlin, C#, and Swift.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/code-yeongyu/lazycodex/lsp-setup
About the project

LazyCodex is an agent harness for working on complex codebases, combining project memory, planning, execution, and completion checks inside Codex. It is for developers who want structured, repeatable assistance when handling substantial software projects. The catalogue contains the skills, hook, and MCP integration that provide its workflow inside Codex.

code-yeongyu/lazycodex · 3,960 stars · on GitHub · lazycodex.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add code-yeongyu/lazycodex --skill lsp-setup
Clone the repo
git clone --depth 1 https://github.com/code-yeongyu/lazycodex

Made for: Codex.

Wrote 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.

agentmods badge for lsp-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/code-yeongyu/lazycodex/lsp-setup/github.svg)](https://agentmods.dev/skills/code-yeongyu/lazycodex/lsp-setup)
Your own site
<a href="https://agentmods.dev/skills/code-yeongyu/lazycodex/lsp-setup"><img src="https://agentmods.dev/badge/skills/code-yeongyu/lazycodex/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.

agentmods 80×15 button for lsp-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/code-yeongyu/lazycodex/lsp-setup"><img src="https://agentmods.dev/badge/skills/code-yeongyu/lazycodex/lsp-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,690 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Supply Chain · line 139
    Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
    Fix: Avoid downloading and executing remote scripts. Use trusted packages from PyPI/npm. If remote fetch is required, verify checksums and use HTTPS.
  • medium Rogue Agent · line 77
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.01690
Opus 5.5 $0.00021 $0.00676
Sonnet 5.5 $0.00011 $0.00338
Haiku 4.5 $0.00005 $0.00169

Measured 20d ago against content hash a56c30c29f60, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

lsp-setup scanned grade C with 2 findings 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 20d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/detect-lsp.ts, scripts/lsp-server-table.ts, scripts/verify-lsp.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

Run with [Bun](https://bun.sh): `curl -fsSL https://bun.sh/install | bash`.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Run with [Bun](https://bun.sh): `curl -fsSL https://bun.sh/install | bash`.
plugins/omo/skills/lsp-setup/SKILL.md · 149 lines

How it starts

The opening of the file, as written. The whole thing — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.

LSP Setup

Configure the right Language Server for a project so the lsp MCP tools (diagnostics, goto_definition, find_references, symbols, rename) actually work. This skill is an index: detect what a project needs, install the server, write the config, then verify with a real roundtrip.

The list of servers we ship as builtin is the source of truth in packages/lsp-tools-mcp/src/lsp/server-definitions.ts (BUILTIN_SERVERS + LSP_INSTALL_HINTS). The per-language references below mirror it.


PHASE 0 — LANGUAGE GATE (run first)

Identify the language from the file extension, then read the matching reference before installing or configuring anything.

Extension(s) Reference
.ts .tsx .js .jsx .mjs .cjs .mts .cts .vue .svelte .astro references/typescript/README.md
.py .pyi references/python/README.md
.go references/go/README.md
.rs references/rust/README.md
.c .cpp .cc .cxx .c++ .h .hpp .hh .hxx .h++ references/c-cpp/README.md
.java references/java/README.md
.kt .kts references/kotlin/README.md
.cs .razor .cshtml references/csharp/README.md
.swift .m .mm references/swift/README.md
.rb .rake .gemspec .ru references/ruby/README.md
.php references/php/README.md
.dart references/dart/README.md
.ex .exs references/elixir/README.md
.zig .zon references/zig/README.md
.lua references/lua/README.md
.sh .bash .zsh .ksh references/bash/README.md
.yaml .yml references/yaml/README.md
.tf .tfvars references/terraform/README.md
.hs .lhs references/haskell/README.md
.jl references/julia/README.md

WORKFLOW — detect → install → configure → verify

1. Detect

Scan the project to see which languages are present and whether each server is installed and configured:

bun scripts/detect-lsp.ts <projectDir>      # human report (default: cwd)
bun scripts/detect-lsp.ts <projectDir> --json

Read the full file on GitHub · 149 lines

Changes

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.

  1. 20d ago Changed · +9 lines a56c30c29f60
  2. 2mo ago Changed · -186 tokens per session ced2c8d02f8c
  3. 3mo ago First seen · 140 lines · 239 tokens per session scan C 42bf87caa503

Subscribe to this mod's changes

lsp-setup is a skill published in the GitHub repository code-yeongyu/lazycodex (3,960 stars, last pushed yesterday), licensed MIT. It adds 53 tokens to every session and 1,690 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

lsp-setup compared with skills from other repositories

lsp-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lsp-setupcode-yeongyu/lazycodexSkill4.0kyesterdayMITC53Codex
feishuHmbown/CodeWhaleSkill41kyesterdayMITA33Claude Code, Codex
interviewHmbown/CodeWhaleSkill41kyesterdayMITA40Claude Code, Codex
refocusingmvschwarz/openrigSkill9.0ktodayApache-2.0A59Claude Code
recipe-create-meet-spacegoogleworkspace/cliSkill33k5d agoApache-2.0A18Claude Code, Codex
printing-press-importmvanhorn/cli-printing-pressSkill5.1ktodayMITA104Claude Code
atmos-validationcloudposse/atmosSkill1.4ktodayApache-2.0A31Claude Code