Automates the building and configuration process for the Knowhere library, including dependency management and compiler flag adjustments.

Install

mkdir -p .claude/skills/building && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/2902" && unzip -o skill.zip -d .claude/skills/building && rm skill.zip

Installs to .claude/skills/building

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use when building knowhere from source, configuring build options (CPU/GPU/DISKANN/ASAN), or troubleshooting compilation errors
127 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • →Compile Knowhere from source
  • →Configure build options for CPU and GPU
  • →Enable AddressSanitizer for memory debugging
  • →Run unit tests post-build
  • →Override compiler and library versions

How it works

The build process uses Makefiles and Conan to manage dependencies and compilation flags based on the target architecture and feature requirements.

Inputs & outputs

You give it
Source code and build configuration flags
You get back
Compiled binaries and test results

When to use building

  • →Compiling Knowhere for GPU-accelerated environments
  • →Enabling AddressSanitizer to debug memory leaks during build
  • →Resolving compiler issues related to libstdc++ versions
  • →Running unit tests post-build

About building

Guides the compilation of Knowhere from source, managing prerequisites like Conan profiles and build dependencies. It supports multiple build types, including CPU, GPU (cuVS), and ASAN, while providing solutions for common build issues like libstdc++ errors.

Use when building knowhere from source, configuring build options (CPU/GPU/DISKANN/ASAN), or troubleshooting compilation errors

When not to use it

  • →When pre-compiled binaries are available and sufficient for the environment

Prerequisites

build-essentiallibopenblas-openmp-devlibaio-devconan

Limitations

  • →Requires specific Conan profile configuration
  • →Build failures may occur due to libstdc++ version mismatches

How it compares

This provides granular control over build-time features like GPU acceleration and memory sanitization compared to generic package installation.

Compared to similar skills

building side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
building (this skill)16moReviewIntermediate
cpp-pro187moNo flagsAdvanced
ispc-builtins19moReviewAdvanced
cpp-pro08moNo flagsAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry