← All skills
Tencent SkillHub Β· AI

Clangd LSP

C/C++ language server (clangd) providing code intelligence, diagnostics, and formatting for .c, .h, .cpp, .cc, .cxx, .hpp, .hxx files. Use when working with C or C++ code that needs autocomplete, go-to-definition, find references, error detection, or refactoring support.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

C/C++ language server (clangd) providing code intelligence, diagnostics, and formatting for .c, .h, .cpp, .cc, .cxx, .hpp, .hxx files. Use when working with C or C++ code that needs autocomplete, go-to-definition, find references, error detection, or refactoring support.

⬇ 0 downloads β˜… 0 stars Unverified but indexed

Install for OpenClaw

Known item issue.

This item's current download entry is known to bounce back to a listing or homepage instead of returning a package file.

Quick setup
  1. Open the source page and confirm the package flow manually.
  2. Review SKILL.md if you can obtain the files.
  3. Treat this source as manual setup until the download is verified.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Manual review
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md

Validation

  • Open the source listing and confirm there is a real package or setup artifact available.
  • Review SKILL.md before asking your agent to continue.
  • Treat this source as manual setup until the upstream download flow is fixed.

Install with your agent

Agent handoff

Use the source page and any available docs to guide the install because the item currently does not return a direct package file.

  1. Open the source page via Open source listing.
  2. If you can obtain the package, extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the source page and extracted files.
New install

I tried to install a skill package from Yavira, but the item currently does not return a direct package file. Inspect the source page and any extracted docs, then tell me what you can confirm and any manual steps still required.

Upgrade existing

I tried to upgrade a skill package from Yavira, but the item currently does not return a direct package file. Compare the source page and any extracted docs with my current installation, then summarize what changed and what manual follow-up I still need.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 13 sections Open source page

clangd LSP

C/C++ language server integration providing comprehensive code intelligence through clangd (part of LLVM).

Capabilities

Code intelligence: Autocomplete, go-to-definition, find references Error detection: Real-time diagnostics for compilation errors Formatting: Code formatting with clang-format Refactoring: Rename symbols, extract function Supported extensions: .c, .h, .cpp, .cc, .cxx, .hpp, .hxx, .C, .H

Via Homebrew (macOS)

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

Via package manager (Linux)

# Ubuntu/Debian sudo apt install clangd # Fedora sudo dnf install clang-tools-extra # Arch Linux sudo pacman -S clang

Windows

winget install LLVM.LLVM Or download from LLVM releases. Verify installation: clangd --version

Usage

The language server runs automatically in LSP-compatible editors. For manual operations:

Compile

gcc file.c -o output # C g++ file.cpp -o output # C++ clang file.c -o output # with clang

Format code

clang-format -i file.cpp

Static analysis

clang-tidy file.cpp -- -std=c++17

Configuration

Create .clangd in project root: CompileFlags: Add: [-std=c++17, -Wall, -Wextra] Remove: [-W*] Diagnostics: UnusedIncludes: Strict MissingIncludes: Strict Or compile_commands.json for complex projects: cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON . # or bear -- make

Integration Pattern

When editing C/C++ code: clangd uses compile_commands.json for project understanding Run clang-format to format code Use clang-tidy for static analysis Compile with warnings enabled (-Wall -Wextra)

Common Flags

Compile flags: -std=c++17 - C++17 standard -Wall -Wextra - Enable warnings -O2 - Optimization level -g - Debug symbols -I<path> - Include path -L<path> - Library path clang-tidy checks: clang-tidy file.cpp --checks='*' -- clang-tidy file.cpp --fix -- # Auto-fix

More Information

clangd Website Getting Started Guide LLVM Project

Category context

Agent frameworks, memory systems, reasoning layers, and model-native orchestration.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
1 Docs
  • SKILL.md Primary doc