✨ Universal AI Agent Skill (agentskills.io)

Extract CTQs, GD&T & Tolerances from CAD Drawings with AI

Turn any AI coding assistant into a Manufacturing Quality Engineer. Verbatim tolerances, GD&T feature control frames, and bounding box coordinates delivered in structured JSON.

Quick Installation
$ mkdir -p .agents/skills && ln -s ../skills/ctq-extraction .agents/skills/

Supported AI Agent Platforms

Native compatibility with all leading LLM coding assistants and open standards.

Google

Google Antigravity / Gemini CLI

Native workspace rule integration and skill dispatching for Google Antigravity IDE and Gemini CLI workflows.

Entry Point
GEMINI.md / .agents/skills/ctq-extraction/SKILL.md
Anthropic

Anthropic Claude Code

Seamless support for Claude Code CLI and Anthropic agent tool-use patterns with skill instructions.

Entry Point
CLAUDE.md / .claude/skills/ctq-extraction/SKILL.md
Open Standard

OpenCode Interpreter

Compatible with open-source coding agents, local execution runtimes, and agentic workflows.

Entry Point
OPENCODE.md / .agents/skills/ctq-extraction/SKILL.md
Cursor AI

Cursor AI

Deeply integrated with Cursor IDE rules system and MDC file triggers for context-aware assistance.

Entry Point
.cursorrules / .cursor/rules/ctq-extraction.mdc

Quality Engineering Capabilities

Built specifically for manufacturing, CAD design, and quality inspection workflows.

Precision

Verbatim Tolerances

Preserves exact unilateral limits (e.g. +0.05/-0.00) without simplification or rounding.

ISO / ASME

GD&T Feature Control Frames

Interprets all 14 characteristic symbols across Form, Profile, Orientation, Location, and Runout.

Visual Overlay

Spatial Bounding Boxes

Maps center coordinates [x%, y%] for visual callout inspection overlay.

Classification

Product & Process Classification

Automatically separates inspectable dimensions from heat treatment, coating, and hardness parameters (HRC 58-62).

Interactive Inspection Workbench

See how 2D/3D technical CAD callouts are transformed into precise structured JSON.

CAD Engineering Callout Canvas
DWG REV C
400 ± 0.2 A
Overall Width
400 ± 0.2
Main view dimension callout
dimension CTQ-001
Position ⌖ control frame
Ø0.05 (MMC) A B C
Bore feature control frame
geometry CTQ-002
Carburize & Harden
HRC 58-62, Case depth 0.8-1.2mm
Drawing Note 3
process CTQ-P01
output.json

        

GD&T Characteristic Symbol Reference

All 14 geometric characteristic symbols supported per ASME Y14.5-2018 and ISO 1101:2017.

Form

Straightness

Surface element or feature axis line straightness tolerance zone.

Form

Flatness

Surface flatness tolerance zone between parallel planes.

Form

Circularity

Roundness of circular cross-sections along a surface of revolution.

Form

Cylindricity

Combined roundness and straightness of cylindrical feature surfaces.

Profile

Profile of a Line

2D profile envelope tolerance zone for cross-sectional elements.

Profile

Profile of a Surface

3D profile surface tolerance zone extending across three dimensions.

Orientation

Perpendicularity

90° orientation tolerance relative to specified Datum reference.

Orientation

Parallelism

Parallel orientation tolerance relative to specified Datum reference.

Orientation

Angularity

Specified angular orientation relative to Datum reference frame.

Location

Position

True position tolerance relative to Datum reference frame (MMC/LMC).

Location

Concentricity

Center point coaxiality tolerance relative to Datum axis.

Location

Symmetry

Feature median plane symmetry relative to specified Datum plane or axis.

Runout

Circular Runout

Single circular element runout variation during 360° rotation.

Runout

Total Runout

Full surface runout variation across complete feature during rotation.

No GD&T symbols match your search or filter query.

General Tolerance Title Block Standard: ISO 2768-mK / ISO 2768-fH (Applied automatically when individual feature control frames are absent).

Automated Schema Validation

Ensure extracted CTQ JSON files strictly conform to the expected output schema before importing into quality management or ERP systems.

Schema Verification CLI

Validate extracted CTQ JSON output files against the official JSON Schema definition. Reports validation errors, missing required fields, or format mismatches.

$ python3 scripts/validate_schema.py path/to/extraction_output.json

Automated Unit Test Suite

Run the comprehensive Python test suite using standard unittest to verify schema rules, tolerance extraction parser logic, and edge-case handling.

$ python3 -m unittest discover -s scripts