cad-dxf-skill

cad-dxf-skill is a skill for Claude Code, Codex from darellchua2/opencode-config-template. It costs 43 tokens per session (1,310 once invoked), scanned A, original, Apache-2.0.

A tool for creating and checking DXF files, a common format for 2D technical drawings and machine-cut layouts, from Python source code.

In plain words
What is it for?
Use it to make profiles, outlines, gaskets, panels, templates, flat patterns, and cutting layouts for laser, plasma, waterjet, or CNC machines.
Why use it?
It helps turn requirements or existing CAD geometry into checked drawings for manufacturing without manually drafting every outline.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions OpenCode.

Good fit Use it to make profiles, outlines, gaskets, panels, templates, flat patterns, and cutting layouts for laser, plasma, waterjet, or CNC machines.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/darellchua2/opencode-config-template/cad-dxf-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 darellchua2/opencode-config-template --skill cad-dxf-skill
Clone the repo
git clone --depth 1 https://github.com/darellchua2/opencode-config-template

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 cad-dxf-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/cad-dxf-skill/github.svg)](https://agentmods.dev/skills/darellchua2/opencode-config-template/cad-dxf-skill)
Your own site
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/cad-dxf-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/cad-dxf-skill/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 cad-dxf-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/cad-dxf-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/cad-dxf-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,310 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00043 $0.01310
Opus 5.5 $0.00017 $0.00524
Sonnet 5.5 $0.00009 $0.00262
Haiku 4.5 $0.00004 $0.00131

Measured 3mo ago against content hash 1254359e1edd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cad-dxf-skill 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 3mo ago.

The scan reads SKILL.md. This mod also ships 37 executable files (scripts/dxf/__init__.py, scripts/dxf/__main__.py, scripts/dxf/cli.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/cad-dxf-skill/SKILL.md · 100 lines

How it starts

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

DXF generation and validation

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.

Purpose

Create or modify 2D DXF drawings from natural-language requirements or from CAD geometry, generate validated .dxf artifacts, and return checked outputs. DXF sources are Python files defining gen_dxf() returning an ezdxf document; the CLI owns output paths.

Two source shapes are supported:

  • Standalone drafting: a Python source defining only gen_dxf(). Use for pure 2D outputs — gaskets, panels, templates, cut layouts — with no 3D model behind them.
  • CAD projection: a gen_dxf() added to a CAD generator source that also defines gen_step(). Use when the DXF is a drawing or profile of a 3D part; create and validate the STEP geometry with the cad-generation-skill (load via skill tool) first, then add the projection in the same source file.

Use this skill when

Use this skill when the user asks for DXF files, 2D drawings, profiles, outlines, templates, gaskets, panels, flat patterns, or cut layouts for laser, plasma, waterjet, or CNC routing.

Use the cad-generation-skill (load via skill tool) for the 3D part or assembly a DXF derives from. Use the cad-sendcutsend-skill (load via skill tool) for SendCutSend-specific upload preflight.

Defaults

Use these defaults unless the user specifies otherwise:

  • Units: millimeters; set them explicitly on the document (doc.units = ezdxf.units.MM).
  • Geometry lives in modelspace at 1:1 scale.
  • Cut profiles are closed polylines or closed line/arc loops; open contours only for engraving or reference geometry.
  • For CAD-backed parts, prefer deriving DXF cut contours from the actual STEP/solid topology in the same generator script: build the 3D shape, select/project the real planar faces, unfold them into flat coordinates, and emit closed contours from those projected face wires. Use hand-drawn parametric outlines only when there is no reliable 3D topology to project.
  • Layers carry intent: keep cut geometry and bend/fold lines on separate layers, and include "bend" in bend-layer names so downstream tools classify them as bends rather than cuts.
  • DXF layers are drawing structure, not STEP part/assembly structure.

Read the full file on GitHub · 100 lines

Files

What ships with it

41 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 100 lines · 43 tokens per session scan A 1254359e1edd

Subscribe to this mod's changes

cad-dxf-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 43 tokens to every session and 1,310 once invoked, about $0.0002 per session on Opus 5.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

cad-dxf-skill compared with skills from other repositories

cad-dxf-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cad-dxf-skilldarellchua2/opencode-config-templateSkill62mo agoApache-2.0A43Claude Code, Codex
solidworks-vibecadwzyn20051216/solidworks-automation-skillSkill3.0kyesterdayMITA96Claude Code, Codex
fluidcad-assemblyFluid-CAD/FluidCADSkill806yesterdayMITA154Claude Code, Codex
gen-assemblypartcad/partcadSkill5872d agoApache-2.0A111Claude Code
bdf_font_converterespressif/esp-clawSkill2.4k23d agoApache-2.0A27Claude Code, Codex
gen-partpartcad/partcadSkill5872d agoApache-2.0A114Claude Code
gen-sketchpartcad/partcadSkill5872d agoApache-2.0A201Claude Code