cli-anything-cloudcompare
What it does
This skill lets your agent work with 3D point clouds and meshes through CloudCompare. It is for surveyors, engineers, and 3D scanning users who need scans cleaned up or measured.
When to use it
- ✓When you want to clean up or subsample a 3D point cloud.
- ✓When you want to measure the distance between two scans.
- ✓When you want to convert a scan or mesh to another 3D file format.
Skill link
https://github.com/HKUDS/CLI-Anything/blob/main/cloudcompare/agent-harness/cli_anything/cloudcompare/skills/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Measure the distance between my two bridge scans and export the cleaned cloud as a PLY file.”
5 new skills a week. 1 minute to read.
How it works
The skill runs CloudCompare through its command-line interface and tracks your steps in a project file. It can filter, segment, align, measure, and export point clouds and meshes.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
cli-anything-cloudcompare
Agent-friendly command-line harness for CloudCompare — the open-source 3D point cloud and mesh processing software.
41 commands across 9 groups.
Installation
pip install cli-anything-cloudcompare
Prerequisites:
- Python 3.10+
- CloudCompare installed on your system
- Linux (Flatpak):
flatpak install flathub org.cloudcompare.CloudCompare - macOS/Windows: download from https://cloudcompare.org
- Linux (Flatpak):
Tested with: CloudCompare 2.13.2 (Flatpak, Linux)
Global Options
These options must be placed before the subcommand:
cli-anything-cloudcompare [--project FILE] [--json] COMMAND [ARGS]...
| Option | Description |
|---|---|
-p, --project TEXT |
Path to project JSON file |
--json |
Output results as JSON (for agent consumption) |
Command Groups
1. project — Project Management (3 commands)
project new
Create a new empty project file.
# Create a project with default name
cli-anything-cloudcompare project new -o myproject.json
# Create a project with a custom name
cli-anything-cloudcompare project new -o myproject.json -n "Bridge Survey 2024"
# JSON output for agents
cli-anything-cloudcompare --json project new -o myproject.json
Options: -o/--output TEXT (required), -n/--name TEXT
project info
Show project info and loaded entities.
cli-anything-cloudcompare --project myproject.json project info
# JSON output
cli-anything-cloudcompare --project myproject.json --json project info
project status
Show quick project status (cloud count, mesh count, last operation).
cli-anything-cloudcompare --project myproject.json project status
2. session — Session Management (4 commands)
session save
Save the current project state to disk.
cli-anything-cloudcompare --project myproject.json session save
session history
Show recent operation history.
# Show last 10 operations (default)
cli-anything-cloudcompare --project myproject.json session history
# Show last 5 operations
cli-anything-cloudcompare --project myproject.json session history -n 5
Options: -n/--last INTEGER
session set-format
Update the default export format for future operations.
# Set default cloud export to LAS
cli-anything-cloudcompare --project myproject.json session set-format --cloud-fmt LAS --cloud-ext las
# Set default mesh export to OBJ
cli-anything-cloudcompare --project myproject.json session set-format --mesh-fmt OBJ --mesh-ext obj
# Set both cloud and mesh defaults
cli-anything-cloudcompare --project myproject.json session set-format \
--cloud-fmt PLY --cloud-ext ply \
--mesh-fmt STL --mesh-ext stl
Options: --cloud-fmt TEXT, --cloud-ext TEXT, --mesh-fmt TEXT, --mesh-ext TEXT
session undo
Remove the last operation from history (soft undo — does not delete output files).
cli-anything-cloudcompare --project myproject.json session undo
3. cloud — Point Cloud Operations (21 commands)
All cloud commands take CLOUD_INDEX (0-based integer from cloud list) and most accept --add-to-project to register the output back into the project.
cloud add
Add a point cloud file to the project.
# Add a LAS file
cli-anything-cloudcompare --project myproject.json cloud add /data/scan.las
# Add with a label
cli-anything-cloudcompare --project myproject.json cloud add /data/scan.las -l "roof scan"
Options: -l/--label TEXT
cloud list
List all clouds currently in the project.
cli-anything-cloudcompare --project myproject.json cloud list
# JSON output for parsing indices
cli-anything-cloudcompare --project myproject.json --json cloud list
cloud convert
Convert a cloud from one format to another (format determined by file extension).
# LAS → PLY
cli-anything-cloudcompare cloud convert /data/scan.las /data/scan.ply
# PCD → LAS
cli-anything-cloudcompare cloud convert /data/cloud.pcd /data/cloud.las
cloud subsample
Reduce the number of points using RANDOM, SPATIAL, or OCTREE method.
# Random: keep 100 000 points
cli-anything-cloudcompare --project myproject.json cloud subsample 0 \
-o /data/sub_random.las -m random -n 100000
# Spatial: minimum distance 0.05 m between points
cli-anything-cloudcompare --project myproject.json cloud subsample 0 \
-o /data/sub_spatial.las -m spatial -n 0.05
# Octree: level 8
cli-an
FAQ
Do I need CloudCompare installed?
Yes, CloudCompare must be installed on your system before the skill can run.
Which formats can it export?
It exports to LAS, LAZ, PLY, PCD, OBJ, STL, and E57 formats.
Does it keep a record of my steps?
Yes, it uses a project file to track your work across commands.
Details
Original description by the author
Command-line interface for CloudCompare — Agent-friendly harness for CloudCompare, the open-source 3D point cloud and mesh processing software. Supports 41 commands across 9 groups: project management, session control, point cloud operations (subsample, filter, segment, analyze), mesh operations, distance computation (C2C, C2M), transformations (ICP, matrix), export (LAS/LAZ/PLY/PCD/OBJ/STL/E57), and interactive REPL.
repo: HKUDS/CLI-Anything
Popularity
- GitHub stars
- 58k
- Ranking position
- #3196
- License
- Apache-2.0
- Updated
- 9/21/2026
Comments
- …
More skills from this repository
cli-anything-3mf
58kLets your agent inspect and fix 3D printing files, including finding round holes, resizing them, repairing meshes, and comparing two files.
cli-anything-qgis
58kLets your agent open, edit, and export QGIS map projects from the terminal, including layers, features, print layouts, and processing tools.
cli-anything-adguardhome
58kLets your agent manage AdGuard Home, a network-wide ad blocker, including filters, DNS rewrites, clients, and query logs.
cli-anything-anygen
58kLets your agent generate slides, documents, websites, and diagrams from a written prompt using the AnyGen service.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.