convert

convert is a skill for Claude Code from partcad/partcad. It costs 144 tokens per session (1,645 once invoked), scanned A, original, Apache-2.0.

A CAD conversion command for changing a part, sketch, assembly, or standalone geometry file into another format such as STEP, STL, OBJ, or SVG.

In plain words
What is it for?
Converting PartCAD objects or standalone geometry files for use in other CAD, manufacturing, 3D, or graphics tools.
Why use it?
It distinguishes between changing a package object's format and converting an unrelated file, helping avoid unwanted package changes.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Converting PartCAD objects or standalone geometry files for use in other CAD…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/partcad/partcad/convert
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add partcad/partcad --skill convert
Clone the repo
git clone --depth 1 https://github.com/partcad/partcad

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for convert

README.md
[![agentmods](https://agentmods.dev/badge/skills/partcad/partcad/convert.svg)](https://agentmods.dev/skills/partcad/partcad/convert)
Your own site
<a href="https://agentmods.dev/skills/partcad/partcad/convert"><img src="https://agentmods.dev/badge/skills/partcad/partcad/convert.svg" alt="Measured on agentmods" height="20"></a>
Per session 144 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,645 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00144 $0.01645
Opus 5 $0.00072 $0.00822
Sonnet 5 $0.00029 $0.00329
Haiku 4.5 $0.00014 $0.00164

Measured 3d ago against content hash 19c3693ca0b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

convert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

ai-agents/common/skills/convert/SKILL.md · 125 lines

How it starts

The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.

pc:convert

Turn geometry into another geometry format. $ARGUMENTS says what to convert and to what.

Two commands do this, and picking the right one is most of the job:

  • pc convert — an object a package declares. It writes the file and rewrites the object's definition in partcad.yaml to point at it: the part becomes the new format.
  • pc adhoc convert — a file that belongs to no package. File in, file out; no package is created, read, or changed.

If the user wants a file without changing what the object is, that is /pc:export. If they want a picture, that is /pc:render.

1. Work out which case you are in

Do this before running anything. It is the same first step in /pc:render and /pc:export.

  1. Is there a package? PartCAD searches upward for partcad.yaml, so look in the current directory and above. pc --no-ansi list lists what the package holds; if there is no package it says so.
  2. Does the reference name an object? Check it against pc --no-ansi list parts / list sketches / list assemblies. pc --no-ansi info <name> succeeds only for an object that resolves.
  3. Does a file the user named belong to an object? Someone who says "convert bracket.step" inside a package usually means the part built from it. Read partcad.yaml and look for an object whose path: is that file — and note that a file-backed object without a path: is <name> plus the type's extension, so a part bracket of type step is bracket.step whether or not the path is written down.

If 2 or 3 matched, it is an object: use pc convert (§3). Converting its file behind the package's back would leave partcad.yaml describing a format that is no longer there.

If there is no package, or the file is not one an object is built from, it is ad-hoc: use pc adhoc convert (§4).

When it is genuinely ambiguous — a package exists and the file sits inside it but nothing declares it — say which you picked and why, rather than guessing silently.

Read the full file on GitHub · 125 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 125 lines · 144 tokens per session scan A 19c3693ca0b4

Subscribe to this mod's changes

convert is a skill published in the GitHub repository partcad/partcad (493 stars, last pushed today), licensed Apache-2.0. It adds 144 tokens to every session and 1,645 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

FluidCAD

Workflow and best practices for designing parts in FluidCAD through its MCP server. Use this skill whenever the user wants to model, design, or modify any part in FluidCAD, whenever they mention FluidCAD, a .fluid.js file, or ask for CAD/parametric modeling work that involves sketches, extrudes, cuts, fillets…

Fluid-CAD/FluidCAD · 131 tokens

dxf

Generate, regenerate, and validate 2D DXF drawings from Python build123d sources. Use for DXF files, .py drawing scripts, @dxf models, 2D profiles, outlines, templates, gaskets, panels, flat patterns, laser/plasma/waterjet cut layouts, and 2D drawing exports of CAD geometry.

earthtojake/text-to-cad · 75 tokens

smui

Local copy of the smui ("spacemolt") design system ( ), adapted for the CAD Viewer. smui is a Nord-inspired terminal aesthetic for shadcn/ui with light and dark modes: sharp edges, monospace everything. Read this whole document before restyling viewer UI.

earthtojake/text-to-cad · 0 tokens

cad-viewer

Start CAD Viewer and return review links for CAD and robot-description files. Use when visually reviewing .step, .stp, .glb, .stl, .3mf, .dxf, .urdf, .srdf, or .sdf files, especially when handed off from CAD, URDF, SRDF, or SDF generation skills.

earthtojake/text-to-cad · 79 tokens

FluidCAD-from-drawing

Turning a 2D engineering drawing into a parametric FluidCAD model. Use this skill whenever the user supplies a drawing, blueprint, dimension sheet, hand sketch, screenshot, PDF, or photo of a part and wants it modeled — "model this", "build this part", "make this in CAD", "here's the drawing". Trigger it alongside the…

Fluid-CAD/FluidCAD · 114 tokens

cad

Create, modify, inspect, and validate parametric CAD parts and assemblies authored as cadgen model scripts. Use for natural-language CAD specs, reference images, 2D technical drawings, STEP/STP generation or direct inspection, Python CAD source, source-level joints, selector references, geometry facts, measurements…

earthtojake/text-to-cad · 173 tokens