$npx skillfedfor your agent

gcode

Transform 3D mesh geometry into production-ready G-code by leveraging local slicer engines. This skill bridges CAD design and machine execution, handling the critical conversion step that prepares models for CNC machining and additive manufacturing. Ideal for workflows requiring direct control over slicing parameters and output formats.

gcode transforms STL files into production-ready G-code by leveraging local slicer backends. The skill orchestrates available slicer CLI tools to process your 3D mesh geometry, applying printer profiles and slicing parameters to generate plain G-code output suitable for CNC machining and additive manufacturing workflows.

AI-generated summary based on this skill's SKILL.md

10,959 1,183 MITupdated by earthtojake

Decision gist · record as of 2026-07-11

gcode transforms STL files into production-ready G-code by leveraging local slicer backends. The skill orchestrates available slicer CLI tools to process your 3D mesh geometry, applying printer profiles and slicing parameters to generate plain G-code output suitable for CNC machining and additive manufacturing workflows.

manual: git clone https://github.com/earthtojake/text-to-cad → cp -r text-to-cad/skills/gcode ~/.claude/skills/gcode
skills/gcode/SKILL.md · version 3278e5ae

Use it when

  • Yes.
  • gcode handles multiple mesh formats including STL, OBJ, GLB, GLTF, and PLY.

Verify before relying

Read SKILL.md below before installing (6 files). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

earthtojake/text-to-cad/gcode · repository language: JavaScript

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How does gcode convert STL to gcode?

gcode transforms STL files into production-ready G-code by leveraging local slicer backends. The skill orchestrates available slicer CLI tools to process your 3D mesh geometry, applying printer profiles and slicing parameters to generate plain G-code output suitable for CNC machining and additive manufacturing workflows.

Can gcode validate gcode before printing?

Yes. gcode includes validation and inspection capabilities to examine G-code output before handoff to your printer. This dry-run functionality lets you verify slicing operations against your printer profile, catching issues early and ensuring your mesh geometry is properly prepared for machine execution.

What mesh formats does gcode support?

gcode handles multiple mesh formats including STL, OBJ, GLB, GLTF, and PLY. The skill converts these formats to printer-ready G-code, giving you flexibility in your CAD design pipeline while maintaining direct control over slicing parameters and output formats.

How does gcode discover local slicer backends?

gcode automatically discovers and orchestrates available slicer CLI tools on your system. This backend discovery mechanism lets you leverage installed slicers like OrcaSlicer without manual configuration, streamlining the conversion from 3D model geometry to executable machine instructions.

Can I generate gcode with a custom printer profile?

Yes. gcode supports dry-run slicing operations using custom printer profiles. You can generate G-code tailored to your specific printer's capabilities and constraints, ensuring the output matches your machine's requirements before actual production execution.

What license does gcode use?

gcode is released under the MIT license, making it freely available for both commercial and personal use with minimal restrictions. This permissive licensing supports integration into diverse manufacturing workflows and development environments.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

G-code

Provenance: maintained in earthtojake/text-to-cad. Use the installed local skill files as the runtime source of truth; the repository link is only for provenance and release review.

Use this skill for plain .gcode generation from mesh files. It is printer-agnostic and never uploads, starts, or packages print jobs.

Workflow

  1. Confirm the input is a supported mesh: .stl, .obj, unsliced .3mf, .ply, .glb, or .gltf.
  2. Require an explicit printer/profile wrapper JSON. Do not invent real-printer profiles.
  3. Discover slicer backends when the backend is unknown:
python scripts/gcode_tool.py discover
  1. Inspect the input:

```bash python scripts/gcode_tool.py inspect --input

(truncated - see the full file via the links below)

File tree — 6 files
skills/gcode/LICENSE
skills/gcode/SKILL.md
skills/gcode/agents/openai.yaml
skills/gcode/references/gcode-validation.md
skills/gcode/references/slicer-backends.md
skills/gcode/scripts/gcode_tool.py

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Generate plain G-code from 3D mesh files using local slicer backends”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

bambu-labs
by earthtojake · earthtojake/text-to-cad

This skill bridges your workflow to Bambu Lab 3D printers on your local network. Send validated gcode files directly to your printer and initiate print jobs without leaving your agent environment. Streamline your fabrication pipeline with seamless printer integration.

MITupdated Jul 2026
★ 10,959repo stars
cad
by earthtojake · earthtojake/text-to-cad

Turn written specifications into working CAD models instantly. This skill converts natural language descriptions into parametric parts and assemblies, letting you design and iterate without touching traditional CAD interfaces. Perfect for rapid prototyping and design exploration.

MITupdated Jul 2026
★ 10,959repo stars
use-openscad
by FradSer · FradSer/dotclaude

use-openscad bridges Claude Code and OpenSCAD, enabling seamless export of parametric 3D designs to industry-standard printing formats. Convert your models directly to STL, 3MF, or AMF without leaving your workflow, streamlining the path from design to fabrication.

MITupdated Jul 2026
★ 576repo stars
cad-viewer
by earthtojake · earthtojake/text-to-cad

cad-viewer brings CAD geometry to life with an interactive 3D visualization environment. Load, inspect, and evaluate generated CAD files directly within your workflow, making design review and iteration seamless. Perfect for agents that need to validate or present CAD output in real time.

MITupdated Jul 2026
★ 10,959repo stars
dxf
by earthtojake · earthtojake/text-to-cad

dxf lets you build 2D CAD drawings and cutting patterns directly through Python scripts. Generate DXF files with full control over geometry, then preview your designs instantly before export. Perfect for automating design workflows and batch-producing technical drawings.

MITupdated Jul 2026
★ 10,959repo stars
step-parts
by earthtojake · earthtojake/text-to-cad

step-parts lets you quickly locate and retrieve STEP files for standard mechanical components and assemblies. Instead of modeling parts from scratch, search by name to find pre-made CAD geometry ready to integrate into your projects. Streamline your design workflow by accessing a library of off-the-shelf parts in industry-standard format.

MITupdated Jul 2026
★ 10,959repo stars

More skills implicit-cad (MIT) · urdf (MIT) · sdf (MIT) · cli-hub-matrix-3d-cad (Apache-2.0) · cli-anything-freecad (Apache-2.0) · srdf (MIT)

Tags
mesh-to-printcli-slicingfdm-workflowgcode-validationprinter-agnosticprofile-drivenbackend-orchestrationpre-print-inspection