fcgen

fcgen is a skill for Claude Code, Codex from kouya-group/fcgen-mcp. It costs 146 tokens per session (2,142 once invoked), scanned A, original, MIT.

A tool for creating adjustable 3D computer-aided design (CAD) parts and assemblies with FreeCAD, and exporting them as STEP or STL files.

In plain words
What is it for?
Use it to create items such as brackets, bolts, desks, LEGO-style bricks, and other template-based parts or assemblies for CAD work or 3D printing.
Why use it?
It helps turn chosen design templates and dimensions into validated 3D models while checking that the inputs and assembly parts are valid.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create items such as brackets, bolts, desks, LEGO-style bricks, and other template-based parts or assemblies for CAD work or 3D printing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kouya-group/fcgen-mcp/skill
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 kouya-group/fcgen-mcp --skill skill
Clone the repo
git clone --depth 1 https://github.com/kouya-group/fcgen-mcp

Made for: Claude Code, Codex.

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 fcgen

README.md
[![agentmods](https://agentmods.dev/badge/skills/kouya-group/fcgen-mcp/skill.svg)](https://agentmods.dev/skills/kouya-group/fcgen-mcp/skill)
Your own site
<a href="https://agentmods.dev/skills/kouya-group/fcgen-mcp/skill"><img src="https://agentmods.dev/badge/skills/kouya-group/fcgen-mcp/skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 146 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,142 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.00146 $0.02142
Opus 5 $0.00073 $0.01071
Sonnet 5 $0.00029 $0.00428
Haiku 4.5 $0.00015 $0.00214

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

Security

Grade A, and why

fcgen 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 7d 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.

skill/SKILL.md · 216 lines

How it starts

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

fcgen -- Parametric CAD Generation via MCP

Generate verified parametric CAD parts (STEP/STL) through the fcgen MCP server and FreeCAD.

Critical Rules

  • ALWAYS call find_template first to resolve constraints and presets
  • NEVER change canonical parameter values without explicit user confirmation
  • NEVER skip validate_params before generate_part or generate_assembly
  • If validate_params returns warnings, inform the user before proceeding
  • ALL dimensions are in millimeters (mm)
  • Each part id in an assembly MUST be unique
  • Only verified templates can be used for generation

Documentation

This skill uses the project's docs/ as its single source of truth. Read these files for detailed reference:

  • docs/mcp-tools.md -- Full MCP tools reference (parameters, return values, examples)
  • docs/assembly-guide.md -- Assembly spec format, placement rules, examples
  • docs/template-guide.md -- Custom template creation guide
  • docs/quickstart.md -- Quick start guide and available templates

Available MCP Tools

Tool Purpose
check_freecad Verify FreeCAD is installed and compatible
list_templates List all verified templates
get_template_schema Get full JSON Schema for a template
get_template_example Get working example parameters
get_template_constraints Get canonical/variant/linked/configurable constraints
validate_params Dry-run validation with canonical deviation warnings
find_template Search by name, purpose, tags, or presets (e.g. "M5 bolt 20mm")
generate_part Generate single part (STEP/STL)
generate_assembly Generate multi-part assembly with interference check
list_candidates List unverified candidate templates
propose_template Register new template as candidate
verify_template Verify and promote candidate to verified

Workflow: Generate a Single Part

Step 1: Find template with constraints

Call find_template(purpose) with the user's description. This searches templates, constraints, and presets. Example queries: "M5 bolt 20mm", "soccer ball", "LEGO 2x4".

Read the full file on GitHub · 216 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. 7d ago First seen · 216 lines · 146 tokens per session scan A ac3075c2217d

Subscribe to this mod's changes

fcgen is a skill published in the GitHub repository kouya-group/fcgen-mcp (0 stars, last pushed 2mo ago), licensed MIT. It adds 146 tokens to every session and 2,142 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-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