Skip to main content
skill CX Codex

cli-anything-threemf — Claude Code skill: 3MF files

The cli-anything-threemf skill inspects and edits 3MF geometry, including cylindrical holes, mesh repairs, and file comparison for 3D printing workflows.

Apache-2.0 366 installs ★ 62,125 updated 2026-09-22

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add HKUDS/CLI-Anything --skill cli-anything-threemf -a claude-code
Open on GitHub

What cli-anything-threemf does

The skill gives the agent the cli-anything-3mf command line tool for 3MF files. info reports vertices, faces, bounds, watertight status, and volume. inspect detects cylindrical holes and returns their centers, diameters, and confidence values. resize changes selected hole diameters, repair fixes mesh defects, and compare checks two 3MF files.

Hole resizing uses radial vertex scaling while keeping mesh topology intact. The repair command handles degenerate faces, duplicate vertices, and normals after edits. Repacking keeps BambuStudio and PrusaSlicer metadata, and every command can emit machine-readable output with --json.

The skill handles files that follow the 3MF Core Specification, so a file from another format cannot be processed.

What it helps with

  • inspect a 3MF model’s geometry
  • detect cylindrical holes and their diameters
  • resize selected holes in a print file
  • repair damaged mesh elements
  • compare two 3MF files

Example prompts for the agent

  • Use cli-anything-3mf info to inspect model.3mf and report its mesh details.
  • Find the holes in model.3mf, set holes 0 and 1 to diameter 4.2, and save the result as output.3mf.
  • Compare file1.3mf with file2.3mf and return machine-readable JSON.

How to install cli-anything-threemf

1Skills CLI (Vercel)

npx skills add HKUDS/CLI-Anything --skill cli-anything-threemf -a claude-code

2Manually: put the files in place

~/.claude/skills/cli-anything-threemf/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/cli-anything-threemf/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about cli-anything-threemf

How do I install cli-anything-threemf in Claude Code?

Run npx skills add HKUDS/CLI-Anything --skill cli-anything-threemf -a claude-code, then check ~/.claude/skills/cli-anything-threemf/SKILL.md.

What does cli-anything-threemf do?

It lets an agent inspect 3MF meshes, detect and resize cylindrical holes, repair mesh problems, and compare files. Commands also support --json output.

Does it preserve BambuStudio and PrusaSlicer data?

Yes. Metadata from BambuStudio and PrusaSlicer is retained when the 3MF file is repacked.

Source text

SKILL.md · Apache-2.0
---
name: "cli-anything-threemf"
description: "3MF mesh geometry editor — detect and resize cylindrical holes, repair meshes, compare 3D printing files. Works with BambuStudio and PrusaSlicer 3MF files."
---

# cli-anything-3mf

3MF mesh geometry editor for 3D printing files.

## Installation

```bash
pip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=3MF/agent-harness
```

## Commands

```bash
# Show mesh info (vertices, faces, bounding box, watertight status, volume)
cli-anything-3mf info <file.3mf>

# Detect cylindrical holes (center, diameter, confidence)
cli-anything-3mf inspect <file.3mf>

# Resize holes to target diameter
cli-anything-3mf resize <file.3mf> --hole 0 --hole 1 --diameter 4.2 -o output.3mf

# Fix mesh issues (degenerate faces, duplicate vertices, normals)
cli-anything-3mf repair <file.3mf> -o repaired.3mf

# Compare two 3MF files
cli-anything-3mf compare <file1.3mf> <file2.3mf>
```

## JSON Output

All commands support `--json` for machine-readable output:

```bash
cli-anything-3mf --json inspect model.3mf
```

## Key Features

- Detects cylindrical holes via multi-plane cross-section analysis
- Resizes holes by radial vertex scaling (preserves mesh topology)
- Preserves slicer metadata (BambuStudio, PrusaSlicer) during file repack
- Repairs degenerate faces and duplicate vertices after modification
- Works with any 3MF file conforming to the 3MF Core Specification

© HKUDS · Apache-2.0 · HKUDS/CLI-Anything

Similar skills

All skills for Game dev and 3D: Unity, Unreal, Godot, Blender →

From the same set69

The whole set →
cli-anything-firefly-iii cli-anything-firefly-iii connects coding agents to Firefly III via a stateless command-line interface. Helps track accounts and transactions without lingering background processes. CX Codex +1 410installs cli-anything-mailchimp cli-anything-mailchimp — a skill for Claude Code, Codex, Cursor, and other agents — 303 commands covering the Mailchimp Marketing API v3.0 across 30 resource groups. Runs on every platform that supports the CLI-Anything skill format. CX Codex +1 407installs cli-anything-nslogger cli-anything-nslogger — a skill for Claude Code, Codex, Cursor and other platforms: reads, filters and exports NSLogger log files (.rawnsloggerdata, .nsloggerdata). Receives live logs from iOS and macOS apps over Bonjour. CX Codex +1 394installs cli-anything-calibre cli-anything-calibre controls Calibre libraries, edits e-book metadata, and runs format conversions directly from CLI agents. CX Codex +1 386installs cli-anything-rekordbox The cli-anything-rekordbox skill drives Pioneer Rekordbox 6/7's library and live decks from a CLI: playlists, track search, play/sync/crossfade/EQ. CX Codex +1 353installs cli-anything-minimax The cli-anything-minimax skill gives coding agents a MiniMax CLI for chat, streamed responses, and speech synthesis through the MiniMax API. CX Codex +1 350installs cli-anything-hermes cli-anything-hermes — a Hermes agent skill that builds CLI wrappers over graphical applications and repositories. Wraps any software into a command-line interface with stateful sessions, undo/redo, and JSON output. CX Codex +1 314installs cli-anything-live2d cli-anything-live2d provides 42 terminal commands to inspect, edit, lint, and deploy Live2D Cubism models without running Live2D Editor. CX Codex +1 299installs

Project sponsors

Companies that keep this analytics open