DSH Plugins Marketplace

DSH Plugins

Plugins

/

cadcraft-plugin

f

cadcraft-plugin

Manifest valid

Draw, inspect, and export 2D CAD drawings, with a reopened DXF check before delivery.

hasBundlePatch

CADCraft Use

Plugin marketplaces

This plugin belongs to AIGC content creation.

CategoryMarketplacePurpose
Full-stack developmentFull Stack PluginsArchitecture and UI design, code understanding, quality checks, code review, workflow governance, and server operations
AIGC content creationFull AIGC PluginsImage, video, audio, music, 3D, and multimodal content creation

CADCraft Use — precise 2D drafting

Draw, inspect, render, and save 2D CAD geometry through CADCraft's own command engine, with entity counts and a reopened DXF checked before delivery.

Version Skills MCP servers License

English | 简体中文 · Install · Quick start · Skills · MCP tools · Limits

Positioning

cadcraft lets an agent drive CADCraft's existing command registry instead of inventing a second CAD engine: start a drawing, run native commands, inspect entities, render the sheet, and save a DXF that reopens with the expected geometry. It packages twelve skills, a portable manifest, and one embedded editor server.

This is a development candidate. Production promotion is blocked, the current build is still pending public release, and GUI acceptance, desktop UI control, and external CAD compatibility remain separate open gates.

PropertyValue
Plugin IDcadcraft
Display nameCADCraft Use
Version0.1.0-dev.20261018.4
StageInstallable development candidate, production promotion blocked
Native engineCADCraft 0.3.0 command registry; editor build bundled, CLI external
Marketplacecadcraft-marketplace
LicenseApache-2.0

Installation

Prerequisites

  • Codex is the host with recorded end-to-end evidence. Other hosts are not accepted.
  • Node.js 24 or newer is required by the embedded editor. The distributed package contains the editor build; no Rust toolchain and no npm install are needed at runtime.
  • Headless file tasks and the cadcraft-cli skill need an installed cadcraft-cli on the host. The plugin does not install it. Build or install it from the upstream CADCraft project, then check cadcraft-cli --version and cadcraft-cli commands in the host environment.
  • The first Git-based launch needs network access or a verified editor cache. CRAFT_EDITOR_UPDATE=off uses bundled assets.
  • CADCRAFT_CLI selects a binary only for scripts/launch.py; it does not change the editor entry in mcp.json.

From the plugin marketplace

codex plugin marketplace add partme-ai/full-aigc-plugins
codex plugin add cadcraft@full-aigc-plugins

This candidate is still marked as pending public release, with releaseStatus: BLOCKED. To test the exact build, use the repository-local marketplace cadcraft-marketplace, pinned to v0.1.0-dev.20261018.4. Restart the host, open a new task, and ask for one small drawing before a full sheet.

Quick start

  1. Open the editor with an absolute workspace: “Open CADCraft for this folder and list the available commands.”
  2. Query the live command registry before drawing. Do not treat a skill example as the complete schema; parameters and enabled state come from the installed version.
  3. Run one bounded command, for example a circle at [10,10] with radius 4, then inspect the drawing and confirm the expected entity count.
  4. Save to a new absolute .dxf path, reopen that exact file, and inspect again. Agree on any overwrite before saving over an existing file.
Draw: Create a 120 × 80 mm plate with four 6 mm holes on a 20 mm inset.
Inspect: List circles, lines, layers, and the handle of each new entity.
Bolt circle: Place six holes on a 60 mm pitch-circle diameter starting at 0°.
Export: Save the sheet to a new DXF, reopen it, and verify entity counts.

Direct runtime checks for the external CLI and the optional launcher:

cadcraft-cli --version
cadcraft-cli commands
python3 scripts/launch.py --doctor

What you can build

WorkflowBuilt-in pathVerifiable output
Draw and inspect partscadcraft-use, cadcraft-mcpEntity types, counts, handles, layers, and key coordinates
Parametric hole patternscadcraft-bolt-circlePolar array from a real handle, hole count and pitch circle checked
Room planscadcraft-floor-planRoom outline, openings, and wall geometry at stated dimensions
Dimensions and layerscadcraft-dimension-part, cadcraft-layer-cleanupPart dimensions, cleaned layers, linetypes, duplicates
Sheet outputcadcraft-sheet-exportFrame, paper, scale, and print output
Revision comparisoncadcraft-compare-revisionsGeometry and annotation differences between two drawings
Trace a referencecadcraft-trace-referenceTwo-axis calibration and a dimensioned vector outline
Scripted scenarioscadcraft-scenario-playbooksEight recipes with real methods, parameters, and reopen checks
Visual editingcadcraft-editorSame-session UI plus a saved drawing file

Skills

Entry and runtime

SkillWhat it does
cadcraft-useChoose the CLI or MCP path and define what a verified drawing means
cadcraft-cliRun headless file tasks with the installed cadcraft-cli
cadcraft-mcpDrive interactive, JSON, query, and render tools over MCP, including failure checks

Drawing scenarios

SkillWhat it does
cadcraft-bolt-circleBuild an equal-angle bolt pattern from a real handle and polar array
cadcraft-floor-planDraw rooms, doors, and windows at given dimensions
cadcraft-dimension-partDimension a mechanical part profile, holes, and sizes
cadcraft-layer-cleanupClean layers, linetypes, and duplicate lines in a complex drawing
cadcraft-sheet-exportProduce a sheet with frame, paper, scale, and print output
cadcraft-compare-revisionsCompare geometry and annotations between two drawing versions
cadcraft-trace-referenceRebuild a dimensioned outline from confirmed reference control points

Playbooks and editor

SkillWhat it does
cadcraft-scenario-playbooksEight scenarios covering plates, flanges, door openings, grids, routing, hole rows, notches, and title frames
cadcraft-editorOpen the real editor in an MCP Apps host or host browser and share one workspace session

MCP tools

.codex-plugin/mcp.json starts one stdio server, cadcraft-editor, from ui/bootstrap.mjs. The adapter adds three stable tools and passes through the bundled engine's command catalog.

ToolPurpose
open_editorDefault native design panel, registered as a conversation-side entrypoint; pass the absolute task workspace
open_browser_editorExplicit browser fallback for the same session; normal editor opening does not require this tool
editor_statusReport whether the editor actually attached and is ready to accept commands

The bundled catalog in ui/catalog.lock.json exposes command_line, script, execute, list_commands, inspect_drawing, query_entities, render, new_drawing, open, and save, plus UI tools when a desktop session is attached. render produces an image of drawing content, not a screenshot of an application window; screenshot, ui_inspect, and ui_click require a desktop control connection.

The default entry declares a thread entrypoint and a separate design surface. Tool metadata, resource metadata, and UI initialization all request fullscreen, which desktop hosts present as a separate conversation panel. open_editor does not return a browser URL. Wait for editor_status({wait_ms:10000}) to return state: "ready"; use the browser fallback only when explicitly needed. Host rendering acceptance is recorded separately from metadata tests.

Configuration

SettingMeaning
${PLUGIN_ROOT}Expanded by the portable plugin.json and mcp.json
${CLAUDE_PLUGIN_ROOT}Expanded by the Claude Code manifest and root .mcp.json
CRAFT_EDITOR_UPDATE=offUse the bundled editor only and skip the update query
CRAFT_EDITOR_CACHE_DIRAlternate absolute cache directory; default is ~/.cache/full-aigc/editors
CRAFT_WORKSPACE_ROOTWorkspace root when the adapter is started directly
CRAFT_PANEL_METADATA_FILEHost panel metadata used by the ZCode and Claude Code entries
CADCRAFT_CLIBinary path for scripts/launch.py --doctor or its desktop mode only

Architecture and security

flowchart LR
    U[User] --> H[Agent host]
    H --> S[12 skills]
    S --> M[stdio MCP cadcraft-editor]
    M --> E[Bundled CADCraft engine]
    E --> D[DXF or export]
    S --> C[External cadcraft-cli]
    M -.->|loopback control| A[CADCraft desktop app]
ModeAvailable toolsState boundary
Bundled editor over stdio MCPDrawing commands, inspection, render, open/saveOne drawing session per MCP process
Desktop control connectionHeadless tools plus screenshot, ui_inspect, ui_clickState lives in the running CADCraft app
  • The plugin owns manifests, skill guidance, a source-commit and SHA-256 skill lock, validation scripts, and the editor bridge. The CAD command engine belongs to CADCraft.
  • MCP runs over stdio. The editor page uses a loopback HTTP server with a random token and Host/Origin checks; workspace escapes are rejected.
  • There is no plugin-side operation journal, command deduplication, transaction, or automatic rollback. A transport response is not an exactly-once guarantee.
  • After a timeout on create, delete, or save, treat the outcome as unknown and inspect the drawing or the last saved file before acting again.
  • Manual browser exports land in craft-exports/ with new file names; closing the process ends the session.

Troubleshooting

SymptomCauseWhat to do
cadcraft-cli not foundThe plugin does not install the external CLIInstall or build it upstream, then put it on the host PATH for file tasks
screenshot or ui_inspect missingA headless session has no desktop UI toolsStart CADCraft with --control PORT and connect the launcher to loopback
A desktop write times outThe upstream remote backend may replay the requestInspect the drawing or saved file first; never resend blindly
DWG export expectedWeb does not support DWGDeliver DXF, or convert in a desktop workflow that actually supports DWG
Dimension text looks wrong in the GUIGUI dimension text has not passed acceptanceCheck the rendered sheet and report the exact version; do not claim GUI text is verified
DXF opens here but not in another CAD appExternal compatibility is unverifiedRecord the target application and its exact error; round-trip here is not external proof
The embedded panel never appearsThe host does not render MCP AppsUse the open_browser_editor URL; a text result is not a rendered panel
A hole pattern is treated as production-readyThe sample is a drawing exercise, not manufacturing designRequire an engineering review before fabrication

Upgrade

codex plugin marketplace upgrade full-aigc-plugins
codex plugin add cadcraft@full-aigc-plugins

The editor update is independent of the plugin version. editor_status reports whether the runtime came from a download, the cache, or bundled assets.

Contributing and support

Open issues at https://github.com/full-aigc-plugins/cadcraft-plugin/issues. Include plugin, engine, and CLI versions, the mode (bundled editor, headless CLI, or desktop control), the command name and parameters, expected versus observed entity counts, and whether the saved file was reopened. Never attach private drawings without authorization.

License

Apache-2.0. The three pinned upstream skills come from full-aigc-skills/cadcraft-skills and are locked by commit and per-file SHA-256; the CADCraft engine and CLI remain external. See LICENSE and assets/official-icon-source.json.

Comments

Loading…

Similar plugins

wordcraft-plugin

by full-aigc-plugins

Draft, lay out, and deliver editable Word documents with a reopened-file check.

Manifest valid

★ 0

Apache-2.0

JavaScript

Oct 18, 2026

dsh plugin --profile web add wordcraft-plugin

by LAU-MARS

deepseek harness 2D and 3D CAD plugin

Tools & CapabilitiesManifest valid

★ 20

↓ 1.1k/wk

Apache-2.0

TypeScript

Oct 19, 2026

dsh plugin --profile web add dsh-cad

by full-aigc-plugins

Build and audit editable spreadsheets with live formulas, tables, and charts.

Manifest valid

★ 0

Apache-2.0

JavaScript

Oct 18, 2026

dsh plugin --profile web add gridcraft-plugin

by Mrdifferent2022

Parametric CAD tools for DeepSeek Harness (dsh) — agent-driven mechanical design: CadQuery modeling, geometry validation, preview rendering, STEP/IGES/STL/3MF export

Manifest valid

★ 0

MIT

TypeScript

Oct 9, 2026

dsh plugin --profile web add dsh-cad

by lokih1028

Adds a Canvas drawer and eight model tools to create, patch, version, and export HTML, Markdown, Mermaid, SVG, and React artifacts.

UI & ExperienceTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Sep 6, 2026

dsh plugin --profile web add dsh-plugin-canvas-pro

by hezhongtang

Headless Claude Code consultations with advisor, reviewer, and designer roles, returned as reference answers.

Tools & CapabilitiesTerminal & ClientsManifest valid

★ 0

↓ 89/wk

MIT

JavaScript

Aug 19, 2026

dsh plugin --profile web add dsh-capability-optimizer