About autopilot-cad-builder
autopilot-cad-builder is a skill for building CAD designs from the Autopilot Chat pane through structured, checkpointed mutations. It emphasizes deterministic variant creation and checking snapshots before reporting visible results.
Key features
- 01Structured CAD intent payloads
- 02Checkpoint after each mutation
- 03Deterministic variant IDs
- 04Material assignment per variant
- 05Snapshot-based visibility checks
Use cases
- 01Building a parametric robotic gripper
- 02Generating and configuring four design variants
- 03Verifying viewport layout and visible models
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ openagentsinc/ openagents --skill autopilot-cad-builderAfter installing, type/autopilot-cad-builderin Claude Code to confirm it loaded.
Details
From the project READMEAutopilot CAD Builder
Use this skill for CAD design turns from the main Autopilot Chat pane.
Objective
- Keep the user in chat while building CAD in realtime.
- Use structured CAD mutations only.
- Make progress deterministic and inspectable.
- Keep snapshot truth aligned with what is visibly rendered.
Required Tools
Use only:
openagents.pane.listopenagents.pane.openopenagents.pane.focusopenagents.pane.actionopenagents.cad.intentopenagents.cad.action
Operating Contract
- Ensure CAD pane is open/focused before CAD mutations.
- Prefer
intent_jsonwith typed payloads over free-form prompt edits. - After each mutating intent, checkpoint with snapshot/status action.
- Keep tool sequences short and deterministic.
- If intent parse fails, retry once with stricter
intent_json. - If CAD mutation fails, return concise user-facing remediation.
- Never claim a 2x2 grid is visible unless snapshot truth confirms it.
Week-1 Canonical Prompt
Use this exact natural-language prompt when user intent is week-1 gripper build:
Create a basic 2-jaw robotic gripper with a base plate, two parallel fingers, and mounting holes for a servo motor. Make it 3D-printable and parametric for easy scaling.
Preferred intent_json For Week-1
Use strict typed payloads:
{
"intent": "CreateParallelJawGripperSpec",
"jaw_open_mm": 42.0,
"finger_length_mm": 65.0,
"finger_thickness_mm": 8.0,
"base_width_mm": 78.0,
"base_depth_mm": 52.0,
"base_thickness_mm": 8.0,
"servo_mount_hole_diameter_mm": 2.9,
"print_fit_mm": 0.15,
"print_clearance_mm": 0.35
}
For week-1 variants, require deterministic IDs in stable order:
variant.baselinevariant.wide-jawvariant.long-reachvariant.stiff-finger
Set material per active variant with explicit SetMaterial calls and verify variant_materials map after each assignment.
Week-1 Build Sequence
openagents.pane.openfor CAD.openagents.pane.focusfor CAD.openagents.cad.intentwith strictCreateParallelJawGripperSpecintent_json.openagents.cad.intentforGenerateVariantswithcount=4.- Cycle active variant and call
SetMaterialfor each target variant. - Capture snapshot truth in single layout.
- Toggle viewport layout (
toggle_viewport_layoutortoggle_layout) to quad. - Capture snapshot truth again and confirm all variants are visible.
- Return final summary tied to checkpoint fields, not assumptions.
Snapshot Truth Contract
Before asserting layout/visibility, verify:
design_profile == "parallel_jaw_gripper"for week-1 path.viewport_layoutissingleorquad.visible_variant_idsmatches current rendered layout.all_variants_visibleisfalsein single andtruein quad.variant_materialsmap includes all four week-1 variant IDs.
Safety Rules
- Do not invent unsupported CAD intents.
- Do not claim completion without reading a CAD snapshot/checkpoint.
- Do not claim "all four variants are showing" unless
all_variants_visible=trueandvisible_variant_idsincludes all four IDs. - Do not use non-
openagents.*tools for CAD pane mutation.