Skills Explorer Add Skills

gcode

An agent skill by earthtojake, from earthtojake/text-to-cad. Tags: automation, cli, devops, evaluation, local-workflow.

What it does

Generate, inspect, dry-run, and statically validate plain FDM `.gcode` from 3D mesh files by orchestrating real slicer CLIs. Use when Codex needs to slice `.stl`, `.obj`, unsliced `.3mf`, `.ply`, `.glb`, or `.gltf` into printer-profiled G-code, discover local slicer backends, inspect whether a mesh is slice-ready, or validate generated G-code before any printer-specific handoff.

Install

With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:

npx skills add earthtojake/text-to-cad --skill gcode

Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):

git clone --depth 1 https://github.com/earthtojake/text-to-cad
cp -r text-to-cad/skills/gcode ~/.claude/skills/gcode

Safety box score

Grade B, low risk: 19 of 100 risk points, rated 2026-09-22. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.

This skill slices local mesh files into plain FDM G-code by invoking installed slicer CLIs and, for some formats, parsing meshes with `trimesh`. The main risks are local code execution through those external slicer binaries, reading and writing whatever absolute paths you put in the wrapper profile and output fields, and a macOS install suggestion for OrcaSlicer.

Category levels, from 0 (none) to 3 (high)
CategoryLevelWhy
Code & shell execution2 (moderate)`scripts/gcode_tool.py` builds real slicer commands and runs them with `subprocess.run(plan["command"], check=False, capture_output=True, text=True)`, so using the skill executes installed local binaries.
Network access0 (none)The shipped files do not download from or send data to remote hosts; discovery uses PATH and local app-bundle locations only.
Filesystem reach1 (low)It reads input meshes and absolute native profile paths, and writes the requested G-code plus temporary STL files, but it does not recurse through user data or touch system files by default.
Secrets & credentials0 (none)There is no code to read keychains, tokens, browser sessions, or `.env` files, and no request for the user to paste secrets.
Privilege & persistence1 (low)The docs suggest `brew install --cask orcaslicer` on macOS, which can install an app in `/Applications`, but there is no sudo, service registration, or shell-startup editing.
Instruction hijack surface0 (none)I found no prompt-injection style instructions to skip confirmations, hide actions, or follow remote instructions.
Irreversible actions1 (low)The skill can generate and overwrite local G-code files, but it explicitly stops short of uploading, starting, or packaging print jobs.
Transparency0 (none)All shipped source files are readable; there are no binaries, packed payloads, or decoded-at-runtime code in the skill itself.

Before installing

Rated 2026-09-22 by an automated review of 5 files from the skill's repository.

Source

Repository
earthtojake/text-to-cad (all skills from this repository)
Path
skills/gcode/SKILL.md
Branch
main
Updated
2026-09-19