All Skills
Coding & EngineeringClaude Plugins (Official)

clangd lsp — Agent Skill

by anthropics · Updated

C/C++ language server (clangd) for code intelligence

At a glance

clangd-lsp is an Agent Skill by anthropics in the Coding & Engineering category. In Claude Code it installs with `/plugin install clangd-lsp@claude-plugins-official` after adding the anthropics/claude-plugins-official marketplace; other assistants use its SKILL.md instructions as rules. Its source repository has 45,210 GitHub stars (as of Oct 28, 2026).

Source 45kGitHub stars

How to install clangd lsp in your AI client

Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.

How to install clangd lsp in Claude CodeAnthropic's agentic CLI

  1. Add the marketplace

    claude
    /plugin marketplace add anthropics/claude-plugins-official
  2. Install the skill

    claude
    /plugin install clangd-lsp@claude-plugins-official
  3. Use it

    These are slash commands for a Claude Code session, not your shell. Claude auto-invokes the skill when your request matches its description — or type its slash command if it exposes one.

Documentation

Full README

clangd-lsp

C/C++ language server (clangd) for Claude Code, providing code intelligence, diagnostics, and formatting.

Supported Extensions

.c, .h, .cpp, .cc, .cxx, .hpp, .hxx, .C, .H

Installation

Via Homebrew (macOS)

bash
brew install llvm
# Add to PATH: export PATH="/opt/homebrew/opt/llvm/bin:$PATH"

Via package manager (Linux)

bash
# Ubuntu/Debian
sudo apt install clangd

# Fedora
sudo dnf install clang-tools-extra

# Arch Linux
sudo pacman -S clang

Windows

Download from LLVM releases or install via:

bash
winget install LLVM.LLVM

More Information

More Coding & Engineering skills

Catalog data refreshed . Something wrong? Report it.