Install
openclaw skills install gettoolFetch and install C++ tools/libraries from cpp_tools repository. Use when users need to download or clone third-party C++ libraries such as eigen, opencv, pcl, fmt. Use for building tools from source using CMake, installing tools with installation scripts, listing available tools, or managing cpp_tools repository URL. Triggered by requests to fetch, get, download, clone, or install C++ tools or libraries.
openclaw skills install gettoolTool fetcher for C++ libraries from cpp_tools repository. Supports sparse checkout, optional building with CMake/make, and installation scripts.
# List all supported tools
gettool -l
# Fetch a tool to default path (based on name_to_path_map.yaml)
gettool <tool_name>
# Fetch to specific path
gettool <tool_name> -t <target_path>
# Fetch and build (if buildable)
gettool <tool_name> -b
# Fetch and install (if installable)
gettool <tool_name> -i
When user wants to see what tools are available:
gettool -l
Download tool source code to default path (determined by name_to_path_map.yaml in current directory):
gettool opencv
gettool eigen
Download tool to a specific directory:
gettool opencv -t third_party/opencv
gettool eigen -t external/eigen
Build the tool using CMake and make. Requirements:
buildable: true in name_to_path_map.yamlCMakeLists.txt filegettool apriltag_detection -b
gettool <tool_name> -b -t build/<tool_name>
Fetch only src/ and include/ directories if they exist:
gettool eigen -c
After fetching, execute the tool's installation script (if configured):
gettool pcl -i
gettool pcl -i --global-install-flag true # Use sudo make install
Check out a specific version/tag/branch (only works for tools that are submodules):
gettool fmt -v 9.1.0
# Show current URL
gettool --get-url
# Set custom URL
gettool --set-url <URL>
# Reset to default URL
gettool --reset-url
| Argument | Description |
|---|---|
<name> or -n <name> | Tool name from name_to_path_map.yaml |
-t <path> | Target output directory (default: based on mapping) |
-b / --build | Build using CMake + make (if buildable) |
-c / --clean | Copy only src/include directories |
-v <version> | Checkout specific version (submodules only) |
-i / --install | Run installation script (if installable) |
--global-install-flag | Set to true for sudo make install |
-l / --list | List all supported tools |
--get-url | Show current repository URL |
--set-url <URL> | Set repository URL |
--reset-url | Reset to default URL |
-v for version checkout-b for source-level build if configured)-b (requires buildable=true and CMakeLists.txt)lib/) copied to target directoryWhen -t is not specified, the target path is determined by the path field in name_to_path_map.yaml relative to the current working directory.
Example: If opencv maps to third_party/opencv, running gettool opencv creates ./third_party/opencv.
-b flag)Typical tools available (run gettool -l for current list):
eigen - Linear algebra libraryopencv - Computer vision librarypcl - Point Cloud Libraryfmt - Formatting libraryapriltag_detection - AprilTag detectionspdlog - Fast C++ logging library