Agent skill

LSP Setup

by code-yeongyu in code-yeongyu/oh-my-openagent

Detects which languages a project uses, installs the matching language server, writes its config and checks it with a real call so diagnostics and go-to-definition work.

Custom licenceAuto-check: notesDevelopment

Install LSP Setup

skills CLI
$ npx skills add code-yeongyu/oh-my-openagent --skill lsp-setup -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install code-yeongyu/oh-my-openagent lsp-setup --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/code-yeongyu/oh-my-openagent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/shared-skills/skills/lsp-setup .claude/skills/lsp-setup && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
lsp-setup
GitHub stars
70k
Token cost
~1.4k tokens
SKILL.md length
501 words
Files
37 (incl. scripts, references)
Skills in repo
44
Repo updated
First seen
Licence
Custom licence

At a glance

Detects which languages a project uses, installs the matching language server, writes its config and checks it with a real call so diagnostics and go-to-definition work.

  • An agent reports a 'no LSP server configured' error for a project
  • SKILL.md covers PHASE 0 — LANGUAGE GATE (run…, WORKFLOW — detect → install →… and Scripts
  • Calls bun, curl and bash; reaches bun.sh
  • Setting up diagnostics and go-to-definition for a language the project has not used before

What it does

This is an index skill for getting the lsp tools (diagnostics, go to definition, find references, symbols and rename) working in a project. It begins with a language gate: identify the language from file extensions, then read the matching per-language reference before installing or configuring anything. The table covers about twenty languages, among them TypeScript, Python, Go, Rust, C and C++, Java, Kotlin, C#, Swift, Ruby, PHP, Dart, Elixir, Zig, Lua, Bash, YAML, Terraform, Haskell and Julia.

The workflow runs detect, install, configure, verify. A Bun script, scripts/detect-lsp.ts, scans a project directory and prints, for every detected language, the built-in server id, the executable it needs on PATH, whether that executable is installed, an install hint and whether a project config file already mentions it; a --json flag gives machine-readable output. Install commands come from the language's own reference, followed by a check that the executable resolves. Configuration is then written and tested with a real round trip.

When your agent uses it

  • An agent reports a 'no LSP server configured' error for a project
  • Setting up diagnostics and go-to-definition for a language the project has not used before
  • Checking which language servers in a repository are installed and wired up

Example prompts

  • “I get 'no LSP server configured' on my Go files. Fix it.”
  • “Run the LSP detection script on ./services/api and install whatever is missing.”
  • “Set up language servers for this monorepo and confirm each one answers a real request.”

Requirements

  • Bun to run scripts/detect-lsp.ts

What it can do on your machine

Read from SKILL.md and the folder at commit cbd7dd2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    Shell commands in SKILL.md call:

    • bun
    • curl
    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • bun.sh

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

LSP Setup loads about 1.4k tokens when it runs, and up to ~13k if it reads all its reference files. Until then it costs about 55 tokens; SKILL.md has 501 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~13k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePipes a well-known installer script into a shellSKILL.md:139
    Run with [Bun](https://bun.sh): `curl -fsSL https://bun.sh/install | bash`.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 501 words (~1,386 tokens).

“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…”

— opening of SKILL.md by code-yeongyu, Custom licence
name
lsp-setup

Read the full SKILL.md on GitHub

Files

SKILL.md and 36 other files (scripts, references) in packages/shared-skills/skills/lsp-setup of code-yeongyu/oh-my-openagent.

  • SKILL.md
  • references/bash/README.md
  • references/c-cpp/README.md
  • references/csharp/README.md
  • references/dart/README.md
  • references/elixir/README.md
  • references/go/README.md
  • references/haskell/README.md
  • references/java/README.md
  • references/julia/README.md
  • references/kotlin
  • … and 26 more

Open the folder on GitHubat commit cbd7dd2

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders. This page covers the copy in code-yeongyu/oh-my-openagent, which our catalogue first saw on October 7, 2026.

Compare with similar skills

LSP Setup next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

LSP Setup compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
LSP Setup this skillcode-yeongyu/oh-my-openagent70k—~1.4kAutomated safety check: NotesCustom licence
ReleasePrefectHQ/fastmcp28k—~2.9kAutomated safety check: PassApache-2.0
LangBot Plugin Developmentlangbot-app/LangBot18k—~3.9kAutomated safety check: PassApache-2.0
Library Documentation Seekerwithkynam/vibecode-pro-max-kit1.1k2 repos~1kAutomated safety check: NotesMIT
Release Prepjohnhuang316/code-index-mcp1k—~680Automated safety check: PassMIT
Review PRPrefectHQ/fastmcp28k—~3.1kAutomated safety check: PassApache-2.0

Similar skills

  • Release

    PrefectHQ/fastmcp

    Cut a FastMCP release end to end. An agent skill from PrefectHQ/fastmcp.

    28k GitHub stars~2.9k tokensUpdated today
    DevelopmentAuto-check passed
  • LangBot Plugin Development

    langbot-app/LangBot

    Guides building, debugging and testing LangBot plugins: components, SDK calls, README and locale rules, SDK pitfalls and WebSocket-based testing.

    18k GitHub stars~3.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Library Documentation Seeker

    withkynam/vibecode-pro-max-kit

    Looks up library and framework documentation through Context7 first, with bundled Node scripts as a fallback that fetch and analyze llms.txt files.

    1.1k GitHub starsUsed in 2 repos~1k tokens
    DevelopmentAuto-check: notes
  • Release Prep

    johnhuang316/code-index-mcp

    A skill your agent uses when code-index-mcp implementation is complete and a version bump, release notes, tag, package publication, or GitHub release is being prepared.

    1k GitHub stars~680 tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Review PR

    PrefectHQ/fastmcp

    Assess a FastMCP pull request for justified behavior, compatibility, and correctness, then follow CI and review feedback to a revision-specific verdict.

    28k GitHub stars~3.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Extension Puppeteer Debugging

    mengxi-ream/read-frog

    Debug the built Read Frog extension in real Chrome. An agent skill from mengxi-ream/read-frog.

    10k GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check: notes

More from code-yeongyu/oh-my-openagent

All 44 skills in this repo
  • ast-grep Structural Search

    code-yeongyu/oh-my-openagent

    Searches and rewrites code by syntax-tree shape across 25 languages with ast-grep, for codemods, structural queries and YAML lint rules, using a Python wrapper script.

    70k GitHub stars~3.3k tokensUpdated today
    Auto-check passed
  • Browser Control with Omowright

    code-yeongyu/oh-my-openagent

    Drives a real browser through the omowright library, either the user's own signed-in browser or a separate browser the code launches, for forms, QA, screenshots and scraping.

    70k GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Codex Plugin QA

    code-yeongyu/oh-my-openagent

    Tests the omo Codex plugin in an isolated CODEX_HOME with a local mock model, proving hooks fired through app-server notifications without touching ~/.codex.

    70k GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Coding Agent Session Finder

    code-yeongyu/oh-my-openagent

    Finds, reads and reconstructs past coding-agent sessions across Codex, Claude, OpenCode, Senpi and many other local agent logs.

    70k GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • OpenCode QA Toolkit

    code-yeongyu/oh-my-openagent

    Tests the opencode coding agent itself: its CLI, server, plugin hooks and events, the terminal UI under tmux, and its SQLite session database, using tested helper scripts.

    70k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • ULW Plan Workflow

    code-yeongyu/oh-my-openagent

    Explore-first planning that turns a vague or large request into one decision-complete work plan, written only after your approval and executed by a separate worker.

    70k GitHub stars~3.9k tokensUpdated today
    Auto-check passed

Categories

Questions about LSP Setup

What does LSP Setup do?

Detects which languages a project uses, installs the matching language server, writes its config and checks it with a real call so diagnostics and go-to-definition work. This is an index skill for getting the lsp tools (diagnostics, go to definition, find references, symbols and rename) working in a project. It begins with a language gate: identify the language from file extensions, then read the matching per-language reference before installing or configuring anything.

When should I use LSP Setup?

LSP Setup fits situations like: an agent reports a 'no LSP server configured' error for a project; setting up diagnostics and go-to-definition for a language the project has not used before; checking which language servers in a repository are installed and wired up.

How do I install LSP Setup in Claude Code?

Run `npx skills add code-yeongyu/oh-my-openagent --skill lsp-setup -a claude-code`. Or copy the skill folder (packages/shared-skills/skills/lsp-setup in code-yeongyu/oh-my-openagent) into .claude/skills/lsp-setup in your project. Claude Code loads it when a task matches its description.

How do I install LSP Setup in Codex?

Run `npx skills add code-yeongyu/oh-my-openagent --skill lsp-setup -a codex`. Or copy the skill folder (packages/shared-skills/skills/lsp-setup in code-yeongyu/oh-my-openagent) into .agents/skills/lsp-setup in your project. Codex loads it when a task matches its description.

Can I use LSP Setup in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add code-yeongyu/oh-my-openagent --skill lsp-setup -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/lsp-setup, .gemini/skills/lsp-setup, .github/skills/lsp-setup and .opencode/skills/lsp-setup in your project.

What does LSP Setup need to run?

Going by SKILL.md and its folder, LSP Setup needs the command-line tools its instructions call (bun, curl and bash). Our summary lists: Bun to run scripts/detect-lsp.ts.

Does LSP Setup access the network?

SKILL.md names 1 domain. In commands or code: bun.sh; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is LSP Setup safe to install?

Our automated static check of SKILL.md found notes only (pipes a well-known installer script into a shell), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does LSP Setup use?

LSP Setup has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does LSP Setup use?

About 1.4k tokens (SKILL.md is roughly 5.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 12k tokens, read only when the agent opens those files.

What are the alternatives to LSP Setup?

Skills that share tags, products or a category with LSP Setup: Release (PrefectHQ/fastmcp, 28k stars), LangBot Plugin Development (langbot-app/LangBot, 18k stars), Library Documentation Seeker (withkynam/vibecode-pro-max-kit, 1.1k stars) and Release Prep (johnhuang316/code-index-mcp, 1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains LSP Setup?

code-yeongyu (a GitHub user) maintains it in code-yeongyu/oh-my-openagent, which has 69,850 GitHub stars. The repository holds 44 skills in this directory. The repository was last updated on October 7, 2026.

Source: code-yeongyu/oh-my-openagent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.