cad-api-scripting

cad-api-scripting is a skill for Claude Code from Ed3Design/ed3design-engineering-bundles. It costs 169 tokens per session (1,963 once invoked), scanned A, original, MIT.

A skill for generating and debugging scripts that control computer-aided design software and programmatically create models.

In plain words
What is it for?
Use it with commercial CAD APIs, OpenSCAD, JSON or CSV parameters, repeated geometry, configurable models, and CAD-script debugging.
Why use it?
It helps translate an existing design or parameter list into repeatable code and diagnose problems in CAD scripts.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the cad-design plugin — 5 skills shipped together

Good fit Use it with commercial CAD APIs, OpenSCAD, JSON or CSV parameters, repeated geometry, configurable models, and CAD-script debugging.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Ed3Design/ed3design-engineering-bundles
Claude Code
/plugin install cad-design

Made for: Claude Code.

Or install cad-design, the plugin that ships this one along with the rest of its 5 skills.

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-api-scripting

README.md
[![agentmods](https://agentmods.dev/badge/skills/ed3design/ed3design-engineering-bundles/cad-api-scripting/github.svg)](https://agentmods.dev/skills/ed3design/ed3design-engineering-bundles/cad-api-scripting)
Your own site
<a href="https://agentmods.dev/skills/ed3design/ed3design-engineering-bundles/cad-api-scripting"><img src="https://agentmods.dev/badge/skills/ed3design/ed3design-engineering-bundles/cad-api-scripting/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-api-scripting

Your own site · 80×15
<a href="https://agentmods.dev/skills/ed3design/ed3design-engineering-bundles/cad-api-scripting"><img src="https://agentmods.dev/badge/skills/ed3design/ed3design-engineering-bundles/cad-api-scripting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 169 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,963 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.00169 $0.01963
Opus 5.5 $0.00068 $0.00785
Sonnet 5.5 $0.00034 $0.00393
Haiku 4.5 $0.00017 $0.00196

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

Security

Grade A, and why

cad-api-scripting 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 1mo 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.

cad-design/skills/cad-api-scripting/SKILL.md · 151 lines

How it starts

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

CAD API Scripting

A skill for generating, reviewing, and debugging code that drives CAD systems programmatically. Covers Python-based APIs (commercial CAD platforms), declarative languages (OpenSCAD), and similar scripting interfaces.

When to use

  • User has a finished or near-finished design and wants to translate it into a reusable script
  • User wants to import a parameter table into a CAD system from JSON/CSV
  • User wants to generate repetitive geometry algorithmically (grids, arrays, variant families)
  • User is debugging an existing CAD script
  • User wants to expose a design as a configurable OpenSCAD module

When NOT to use

  • User is still exploring design options → design-first-iteration
  • User wants step-by-step manual CAD guidance → cad-construction
  • User wants general mechanical design principles → mechanical-design-principles
  • User wants firmware code or web backend code → other engineering skills

Workflow

Phase 1: Clarify the target platform

Before writing a single line, confirm:

  1. Which CAD platform / scripting language?
    • Commercial (Fusion 360, SolidWorks, Onshape, Inventor, NX) — almost always Python or JavaScript-based
    • Open-source (FreeCAD, Blender for CAD, OpenSCAD, CadQuery, Build123d)
    • Declarative (OpenSCAD, JSCAD)
  2. Which API version / library version? APIs change. An older Fusion 360 script may not run on the current API.
  3. Goal of the script: one-shot generation, reusable module, parameter-import utility, test harness?

If the user is unclear, ask 1–2 targeted questions. Do not assume.

Phase 2: Sketch the code structure before writing

For non-trivial scripts, outline in plain text first:

- Setup (imports, app/document handle, parameter loading)
- Parameter definitions (from file or hardcoded)
- Helper functions (reusable geometry operations)
- Main construction sequence (sketches, features, assembly)
- Error handling and cleanup
- Save / export step

This structure sketch is the place to catch missing inputs, unclear naming, or scope creep — not the middle of a 200-line script.

Read the full file on GitHub · 151 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. 1mo ago First seen · 151 lines · 169 tokens per session scan A a0dab87f4d01

Subscribe to this mod's changes

cad-api-scripting is a skill published in the GitHub repository Ed3Design/ed3design-engineering-bundles (2 stars, last pushed 2mo ago), licensed MIT. It adds 169 tokens to every session and 1,963 once invoked, about $0.0007 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

Other skills, from other repositories

design-system

Creates the Tamagui brand system for an Expo/React Native Power Apps mobile app, including design-system.md, tokens.ts, and an HTML gallery.

microsoft/power-platform-skills · 34 tokens

exceptional-web-design

Reviews the design of an existing Power Pages site - a live URL or a local project folder - and recommends what to change, without modifying anything. Captures up to eight key pages at desktop and mobile, scores them against the plugin's design rubric (first impression, hierarchy, narrative, copy, trust, brand…

microsoft/power-platform-skills · 127 tokens

canvas-app

Creates or edits a Power Apps Canvas App through the Canvas Authoring MCP coauthoring session. Handles staged experience design, direct and partitioned targeted edits, planned multi-screen changes, responsive layout, and compile-error convergence. Trigger on requests to create, build, generate, modify, update, change…

microsoft/power-platform-skills · 76 tokens

steve-jobs-design-review

Review designs, products, and features with Steve Jobs' standards: ruthless simplicity, focus, and end-to-end excellence. Use when the user mentions "Steve Jobs review", "design review", "product review", "what would Steve do", "insanely great", "this feels too complicated", "too many features", "product taste"…

wondelai/skills · 191 tokens

top-design

Create award-winning, immersive web experiences at the level of Awwwards-featured agencies. Use when the user mentions "Awwwards quality", "make my site stunning", "scroll animations", "parallax storytelling", "cinematic web design", "portfolio site", or "brand experience". Also trigger when elevating a standard…

wondelai/skills · 113 tokens

web-typography

Select, pair, and implement typefaces for web projects. Use when the user mentions "font pairing", "which typeface", "line height", "responsive typography", "web font loading", "type hierarchy", "variable fonts", "FOUT/FOIT", "typographic scale", or "the text is hard to read". Also trigger when choosing between system…

wondelai/skills · 128 tokens