cli-anything-3mf
HKUDS/CLI-Anything · Agent Skill
3MF file editor for 3D printing: detects and resizes cylindrical holes, repairs meshes, and compares files. Preserves slicer metadata.
Jump to install ↓Overview
| Publisher | |
|---|---|
| Repository | HKUDS/CLI-Anything ↗ |
| Skill folder | skills |
| Stars | 49,057 |
| Bundled files | 1 |
| License | Apache-2.0 |
| Last updated | May 19, 2026 |
| Links | Skill source ↗ · Repository ↗ |
Mozgi check
What we found in the skill files. Details come with a subscription.
Installation
A skill is a folder with a SKILL.md file. Pick your agent and run the commands in a terminal (macOS, Linux or Git Bash on Windows) from your project root.
Copy the prompt into Claude, Codex or another assistant: it will review the skill and install it for you.
Install the “cli-anything-3mf” skill from mozgi.io (https://mozgi.io/skills/cli-anything-3mf/) for me. 1. Download the archive: https://mozgi.io/skills/cli-anything-3mf/download If it fails, take the skill folder from the source: https://github.com/HKUDS/CLI-Anything/tree/main/3MF/agent-harness/cli_anything/threemf/skills 2. Read SKILL.md and the other files. Check the skill is safe: no hidden commands, no sending data elsewhere, no scripts doing something other than described. If anything looks suspicious, stop and tell me. 3. Put the “cli-anything-3mf” folder into your agent's skills folder: .claude/skills/ for Claude Code, .agents/skills/ for Codex, .cursor/skills/ for Cursor, .gemini/skills/ for Gemini CLI. Inside the project if we are in one, otherwise in the home folder (~/.claude/skills/ etc.). 4. Make sure <skills folder>/cli-anything-3mf/SKILL.md exists. 5. Briefly tell me what this skill does and offer to try it on my task. If you cannot do a step yourself, tell me what to click or type.
git clone --depth 1 --branch main https://github.com/HKUDS/CLI-Anything.git /tmp/CLI-Anything mkdir -p .claude/skills cp -r /tmp/CLI-Anything/3MF/agent-harness/cli_anything/threemf/skills .claude/skills/skills
Restart Claude Code — the skill appears in the list; call it manually with /cli-anything-3mf. For all projects use ~/.claude/skills.
git clone --depth 1 --branch main https://github.com/HKUDS/CLI-Anything.git /tmp/CLI-Anything mkdir -p .agents/skills cp -r /tmp/CLI-Anything/3MF/agent-harness/cli_anything/threemf/skills .agents/skills/skills
Codex looks for skills in .agents/skills from the current folder up to the repo root; call one with /skills or $cli-anything-3mf. For all projects use ~/.agents/skills.
git clone --depth 1 --branch main https://github.com/HKUDS/CLI-Anything.git /tmp/CLI-Anything mkdir -p .cursor/skills cp -r /tmp/CLI-Anything/3MF/agent-harness/cli_anything/threemf/skills .cursor/skills/skills
Cursor picks the skill up on start; call it with “/” in Agent chat. Cursor also reads .claude/skills and .agents/skills. For all projects use ~/.cursor/skills.
git clone --depth 1 --branch main https://github.com/HKUDS/CLI-Anything.git /tmp/CLI-Anything mkdir -p .gemini/skills cp -r /tmp/CLI-Anything/3MF/agent-harness/cli_anything/threemf/skills .gemini/skills/skills
Gemini CLI offers to activate the skill when a task matches — you approve it. For all projects use ~/.gemini/skills.
Read SKILL.md and any companion files before deciding whether to install. Click a file to preview it.
SKILL.md contents
Original author text · read-onlycli-anything-3mf
3MF mesh geometry editor for 3D printing files.
Installation
pip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=3MF/agent-harness
Commands
# 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:
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
Frequently asked questions
What does the cli-anything-3mf skill do?
3MF file editor for 3D printing: detects and resizes cylindrical holes, repairs meshes, and compares files. Preserves slicer metadata.
How do I install cli-anything-3mf?
Open the “Installation” block on this page and pick your agent — Claude Code, Codex, Cursor or Gemini CLI — for ready-made commands that copy the skill folder to the right place. Or copy the prompt from the “Via assistant” tab and let the assistant review and install the skill.
Which AI models work with cli-anything-3mf?
Skills are plain Markdown instructions (the Agent Skills format), so cli-anything-3mf works with any agent that reads SKILL.md: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and more. The model loads the instructions only when a task matches the skill's description.
Is cli-anything-3mf free?
The skill is published openly by HKUDS under the Apache-2.0 license. The skill itself costs nothing — you only pay your AI provider for the tokens you use.
Is it safe to install skills?
A skill is a set of instructions your agent will follow, so read SKILL.md and its companion files before installing. Scripts in the skill folder only run if your agent runs them — keep an eye on what it does and do not grant unnecessary permissions.
How is a skill different from an MCP server or a plugin?
An MCP server or plugin gives the model new tools — code that runs and returns a result. A skill gives it knowledge and process: how to approach a task, which steps to follow and what good output looks like. It needs no server or API key.