setup-lsp

setup-lsp is a skill for Claude Code from QBall-Inc/the-bulwark. It costs 36 tokens per session (2,936 once invoked), scanned B, original, MIT.

A setup guide for Language Server Protocol (LSP) support in Claude Code projects. LSP gives coding tools semantic knowledge of a program, such as where definitions and references are and which errors exist.

In plain words
What is it for?
Use it to set up or verify LSP servers for a project’s programming languages. It helps enable definition lookup, reference searches, type information, call hierarchies, and live error reporting.
Why use it?
Basic text searches cannot reliably understand code relationships or types. This guides server installation, configuration, restart checks, and troubleshooting when LSP is not working.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is Diagnostic log: ./logs/diagnostics/lsp-setup-{timestamp}.yaml.

Part of the the-bulwark plugin — 30 skills, 17 agents, 6 hooks shipped together

Good fit Use it to set up or verify LSP servers for a project’s programming languages. It helps enable definition lookup, reference searches, type information, call hierarchies, and live error reporting.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/QBall-Inc/the-bulwark
agentmods
npx agentmods add skills/qball-inc/the-bulwark/setup-lsp

Made for: Claude Code.

Or install the-bulwark, the plugin that ships this one along with the rest of its 30 skills, 17 agents, 6 hooks.

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 setup-lsp

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/qball-inc/the-bulwark/setup-lsp"><img src="https://agentmods.dev/badge/skills/qball-inc/the-bulwark/setup-lsp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,936 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00036 $0.02936
Opus 5 $0.00018 $0.01468
Sonnet 5 $0.00007 $0.00587
Haiku 4.5 $0.00004 $0.00294

Measured 9d ago against content hash 1399aece2ebf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

setup-lsp 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 9d 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.

- [ ] **Stage 4 — Settings**: `ENABLE_LSP_TOOL=1` set in `~/.claude/settings.json` and shell profile
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • setup-lsp — 95% identical, 632 lines differ
skills/setup-lsp/SKILL.md · 321 lines

How it starts

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

Setup LSP

Configure Language Server Protocol integration for Claude Code projects. LSP replaces text-based grep/glob searches with semantic code intelligence: go-to-definition, find-references, hover type info, call hierarchy, and real-time error detection.


Mandatory Execution Checklist (BINDING)

Every applicable item below is mandatory. No deviations. No substitutions. No skipping.

This skill uses a 9-stage pipeline. You are the orchestrator. Follow every item in order. Do NOT return to the user until all applicable items are checked.

  • Stage 1 — Parse: Arguments read, MODE determined (full | verify | troubleshoot), --lang extracted if present
  • Stage 2 — Detect: references/server-registry.md loaded, manifest files scanned, DETECTED_LANGUAGES presented to user
  • Stage 3 — Binaries: Binary install command run for each confirmed language
  • Stage 4 — Settings: ENABLE_LSP_TOOL=1 set in ~/.claude/settings.json and shell profile
  • Stage 5 — Guide Plugin Install: Present user with exact plugin names and instructions to install via /plugin or CLI
  • Stage 6 — Checkpoint: Session ID captured via ${CLAUDE_SESSION_ID}, exact claude --resume command presented to user, execution STOPPED
  • Stage 7 — Verify: (on --verify) Debug log read, Total LSP servers loaded: N checked
  • Stage 8 — Diagnostics: (if verification failed or --troubleshoot) references/troubleshooting.md loaded, issues checked in order
  • Stage 9 — Report: templates/diagnostic-output.yaml loaded, diagnostic YAML written to logs/diagnostics/, summary presented to user

Do NOT declare complete until all applicable checkboxes are marked.


When to Use This Skill

Trigger Pattern Scenario Mode
Starting LSP setup from scratch Project has no LSP configured Full setup (no flags)
After restarting Claude Code following plugin install Session resumed, verifying LSP loaded --verify
LSP tools not appearing or servers not responding Debugging a broken LSP configuration --troubleshoot

Read the full file on GitHub · 321 lines

Files

What ships with it

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

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. 9d ago First seen · 321 lines · 36 tokens per session scan B 1399aece2ebf

Subscribe to this mod's changes

setup-lsp is a skill published in the GitHub repository QBall-Inc/the-bulwark (8 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 2,936 once invoked, about $0.0002 per session on Opus 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.

Related

Other skills, from other repositories

github-pr-review

Handles PR review comments and feedback resolution. Use when user wants to resolve PR comments, handle review feedback, fix review comments, address PR review, check review status, respond to reviewer, verify PR readiness, review PR comments, analyze review feedback, evaluate PR comments, assess review suggestions, or…

fvadicamo/dev-agent-skills · 95 tokens

privacy-guard

Prevents private infrastructure details (node hostnames, internal project names, local usernames and personal emails, absolute home paths, private and VPN IP ranges) from leaking into public repositories through commits, PRs, docs or release artifacts. Use when working in a public or soon-to-be-public repo, before…

fvadicamo/dev-agent-skills · 128 tokens

github-pr-creation

Creates GitHub Pull Requests with automated validation and task tracking. Use when user wants to create PR, open pull request, submit for review, or check if ready for PR. Analyzes commits, validates task completion, generates Conventional Commits title and description, suggests labels. NOTE - for merging existing…

fvadicamo/dev-agent-skills · 75 tokens

github-pr-merge

Merges GitHub Pull Requests after validating pre-merge checklist. Use when user wants to merge PR, close PR, finalize PR, complete merge, approve and merge, or execute merge. Runs pre-merge validation (tests, lint, CI, comments), confirms with user, merges with proper format, handles post-merge cleanup.

fvadicamo/dev-agent-skills · 72 tokens

git-commit

Creates git commits following Conventional Commits format with type/scope/subject. Use when user wants to commit changes, create commit, save work, or stage and commit. Enforces project-specific conventions from CLAUDE.md.

fvadicamo/dev-agent-skills · 49 tokens

resolve-plugins

Curate Claude Code skill / MCP / hook picks against live upstream sources and pin them in .claude/settings.json. Adding a process harness (a paired skill set) is an ordinary pick this door handles. Reads stack from docs/techstack.md, workflow signal from docs/overview.md + existing pins, then live-queries six source…

RockyHong/super-bootstrap · 133 tokens