Clangd Nav — AI skill for Claude Code
clangd LSP proxy for AI coding agents (Claude Code, opencode): navigation only — definitions, references, hover, symbols, call hierarchy — with diagnostics filtered out and automatic clangd + compile_.
How to install Clangd Nav
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Meirdrarel/clangd-nav and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Clangd Nav does
clangd LSP proxy for AI coding agents (Claude Code, opencode): navigation only — definitions, references, hover, symbols, call hierarchy — with diagnostics filtered out and automatic clangd + compile_commands.json discovery for CMake builds.
Alternatives in AI
- Iwe — Markdown knowledge graph — LSP for your editor, CLI + MCP memory for your AI agents 1.8k ★
- Empryo — Empryo issue tracker + SoulForge (v2) 1.1k ★
- Model Hierarchy Skill — Cost-optimized model routing based on task complexity 333 ★
README
clangd-nav
clangd for **navigation only**, for coding agents such as Claude Code and opencode: definition, references, hover, symbols, implementations, call hierarchy. No diagnostics.
**Status: alpha.** The proxy and the clangd and compile database lookup work. `--doctor`, `--self-test` and `install` are planned, see the [roadmap](#roadmap).
MIT licensed, see [LICENSE](LICENSE).
Why
- Diagnostics are often owned elsewhere. Many C and C++ projects run clang-format and clang-tidy through their own scripts and enforce them in a commit hook or CI. Another stream of the same findings after every edit is noise to an agent, and the two can disagree.
- clangd has no switch to turn diagnostics off.
--clang-tidy=falsestops clang-tidy, but compiler errors are still pushed. Soclangd-navis a proxy on stdio between the client and clangd that removes diagnostics and passes everything else through unchanged. - Claude Code can drop diagnostics by itself, opencode cannot. A Claude Code plugin's
lspServersentry accepts"diagnostics": false. opencode has no such switch per server.clangd-navfilters for every client; in a Claude plugin, set the flag as well. - Finding the right clangd and compile database. An agent launches one fixed command. For a
CMake project, that command has to pick the clangd the project pins and the build tree that
holds
compile_commands.json, or navigation silently stops at the first project header. - The IDE is unaffected. An IDE starts its own clangd, with the project's
.clangd, at full features.
Install
Requires Python 3.11 or later, and clangd.
uv tool install git+https://github.com/Meirdrarel/clangd-nav
This puts `clangd-nav` in `~/.local/bin`, with its own Python. `pipx install` works too.
Claude Code
In a plugin's `.claude-plugin/plugin.json` (or its marketplace entry):
"lspServers": {
"clangd-nav": {
"command": "clangd-nav",
"extensionToLanguage": {
Related Skills
Jdx
An IDE for AI agents — CLI that answers what a JVM classpath contains: inherited members, method bodies from s
Living Codebase Cartographer
Offline codebase cartographer: language-agnostic repo maps, dependency/call graphs, blast-radius impact analys
Clipal
Minimal LLM API reverse proxy for Claude Code, Codex CLI & Gemini CLI — YAML routing, hot reload, and automati
Ccrelay
Local API proxy (VS Code extension + desktop app) for Claude Code, Cowork & Codex. Automatic protocol conversi
Run.Dev
Run.dev is an AI-native local development environment built in Rust. It manages all your services from one TUI
Modelweaver
Multi-provider model orchestration proxy for Claude Code. Route agent roles (planning, coding, research) to di
Related Agents
Lsp
LSP features specialist. ALWAYS use for ANY task involving completion, hover, diagnostics, or the in-process L
UI Polisher
Improves Heron's Svelte components for visual polish and consistency — 4/8 px grid, semantic tokens that work
IDE Code Reviewer
Expert code reviewer that uses IDE bridge LSP tools for deep analysis. Reviews code for correctness, security,