freecad

freecad is a skill for Claude Code from brs077/CNC-design-control-MCP. It costs 45 tokens per session (352 once invoked), scanned A, original, MIT.

A tool for generating FreeCAD Python scripts for 3D models and CAM toolpaths. FreeCAD is open-source computer-aided design software, while CAM toolpaths are instructions that guide machines during manufacturing.

In plain words
What is it for?
Use it to create solid shapes, combine or cut geometry, build sketch-based features, export STEP or STL files, and generate operations such as drilling, pockets, profiles, and facing. It can also produce machine-ready G-code through FreeCAD's Path workbench.
Why use it?
It helps turn described parts and machining tasks into scripts that can be run in FreeCAD, including without opening its graphical interface.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cncjs-mcp plugin — 12 skills, 4 commands, 1 MCP server shipped together

Good fit Use it to create solid shapes, combine or cut geometry, build sketch-based features, export STEP or STL files, and generate operations such as drilling, pockets, profiles, and facing. It can also produce machine-ready G-code through FreeCAD's Path workbench.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/brs077/cnc-design-control-mcp/freecad
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 brs077/CNC-design-control-MCP --skill freecad
Clone the repo
git clone --depth 1 https://github.com/brs077/CNC-design-control-MCP

Made for: Claude Code.

Or install cncjs-mcp, the plugin that ships this one along with the rest of its 12 skills, 4 commands, 1 MCP server.

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 freecad

README.md
[![agentmods](https://agentmods.dev/badge/skills/brs077/cnc-design-control-mcp/freecad/github.svg)](https://agentmods.dev/skills/brs077/cnc-design-control-mcp/freecad)
Your own site
<a href="https://agentmods.dev/skills/brs077/cnc-design-control-mcp/freecad"><img src="https://agentmods.dev/badge/skills/brs077/cnc-design-control-mcp/freecad/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for freecad

Your own site · 80×15
<a href="https://agentmods.dev/skills/brs077/cnc-design-control-mcp/freecad"><img src="https://agentmods.dev/badge/skills/brs077/cnc-design-control-mcp/freecad.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 352 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.00045 $0.00352
Opus 5 $0.00023 $0.00176
Sonnet 5 $0.00009 $0.00070
Haiku 4.5 $0.00005 $0.00035

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

Security

Grade A, and why

freecad 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 10d 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.

skills/freecad/SKILL.md · 37 lines

What it actually says

FreeCAD Integration

Generate Python scripts for FreeCAD's headless or GUI modes for 3D modeling and CAM.

Available MCP Tools

  • generate_freecad_model — Generate a Python script to create 3D models in FreeCAD. Supports:
    • Part primitives (boxes, cylinders, spheres, cones, tori)
    • Boolean operations (union, cut, intersection)
    • Sketch-based features (extrude, revolve, pocket)
    • Export to STEP, STL, or other formats
    • Headless mode for automated workflows (freecadcmd script.py)
  • generate_freecad_cam — Generate a Python script for FreeCAD Path workbench (CAM). Creates:
    • Profile, pocket, drilling, and facing operations
    • Tool definitions with geometry
    • Stock definition from bounding box
    • G-code post-processing
  • list_freecad_scripts — List previously generated FreeCAD scripts

Script Execution

  • GUI mode: Run inside FreeCAD's Python console
  • Headless mode: freecadcmd script.py (no display needed, great for automation)

Workflow

  1. Discuss part geometry and machining requirements
  2. Generate the 3D model script with generate_freecad_model
  3. Generate CAM toolpaths with generate_freecad_cam
  4. Run scripts in FreeCAD to produce G-code
  5. Load G-code with load_gcode for execution
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. 10d ago First seen · 37 lines · 45 tokens per session scan A b803184e9e49

Subscribe to this mod's changes

freecad is a skill published in the GitHub repository brs077/CNC-design-control-MCP (1 stars, last pushed 5mo ago), licensed MIT. It adds 45 tokens to every session and 352 once invoked, about $0.0002 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-08-31.

Related

Other skills, from other repositories

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

solidworks-vibecad

A planning guide for turning natural-language mechanical design requests into structured, parameterized SolidWorks plans that can be reviewed before execution.

wzyn20051216/solidworks-automation-skill · 96 tokens

add-interfaces

Enrich an existing PartCAD part with connection interfaces and ports (mating metadata) so it can be mated to other parts automatically. Use for /pc:add-interfaces or when the user asks to add interfaces, ports, connectors, or mating information to a part, or to make parts snap/connect/assemble together.

partcad/partcad · 69 tokens

gen-assembly

Generate a PartCAD assembly (an ASSY that composes parts with placement and/or mates) from a description, generating or reusing the component parts and validating the result with the PartCAD CLI. Use for /pc:gen-assembly or when the user asks to generate or create an assembly, mechanism, or multi-part product.

partcad/partcad · 71 tokens

render

Render a PartCAD object or a CAD file to a 2D image - PNG, JPEG, SVG or DXF - from one or many viewing angles (front, back, left, right, top, bottom, iso, or an arbitrary direction), with pc render for an object a package declares or pc adhoc render for a file that belongs to no package. Use for /pc:render or when the…

partcad/partcad · 168 tokens

gen-part

Generate a PartCAD part from a natural-language description (and optional reference images/requirements) by authoring a CAD script and validating it with the PartCAD CLI. Use for /pc:gen-part or when the user asks to generate, create, or model a single mechanical part.

partcad/partcad · 60 tokens