Logo Cadcraft

Cadcraft

Tổ chức
hermes-pro
cadcraft

Technical drawing and drafting with CADCraft (AutoCAD-style): floor plans, site plans, mechanical part drawings, brackets, layouts with title blocks, dimensioned 2D drawings to scale. Draw lines, polylines, circles and arcs at exact coordinates, offset / trim / fillet, layers, dimensions, hatches, blocks, tables, then save DXF / DWG or export PDF, SVG, PNG.

Tổng quan

Nhà phát hànhhermes-pro
Kho mãstorytold-skills
Tên kỹ năngcadcraft
Sao
36
Bản fork
10
Tệp đi kèm
1
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được hermes-pro công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Cadcraft trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/hermes-pro/storytold-skills/tree/main/cadcraft
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hermes-pro/storytold-skills.git /tmp/storytold-skills
mkdir -p .claude/skills
cp -r /tmp/storytold-skills/cadcraft .claude/skills/cadcraft
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Cadcraft trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Cadcraft ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Cadcraft với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

CADCraft

CADCraft is a free, open-source clean-room take on AutoCAD (storytold Crafting Apps). An agent drives it through an MCP server (cadcraft-cli mcp) or one-shot CLI commands. It reads DXF (R12–2018), DWG (R13–2018) and SVG, writes DXF / DWG (versions 2000–2018, DXF also binary), and plots PDF; SVG and PNG are exports. This skill is tested against CADCraft 0.17.1.

When to Use

Use it for drawings where exact dimensions and scale matter:

  • floor plans, room layouts, site plans, furniture layouts, wall/door/window plans
  • mechanical part drawings: plates, brackets, flanges, hole patterns, section hatches, GD&T frames
  • dimensioned sketches for fabrication, laser/CNC outlines (DXF), title-blocked sheets (PDF)
  • opening, inspecting, measuring, comparing or converting DXF / DWG files
  • checking cut outlines: closed shapes with area and self-intersections, loose line/arc chains that should close

Pick a different Crafting App when:

The job is…Use
A logo, icon, poster or illustration (looks matter, not measurements)vectorcraft
Marking up or editing pages of an existing PDFpdfcraft
A bill of materials or cost sheetgridcraft
Photo editingphotocraft
3D solid partssolidcraft

Setup

  1. If tools named mcp_cadcraft_* are available, use them. This is the preferred way.
  2. Otherwise check for the CLI with cadcraft-cli --version. If it's missing, load the storytold-install skill and run its setup cadcraft. Then ask the user to start a new session or run /reload-mcp.
  3. Until the MCP tools appear, use the CLI one-shots (see CLI).

Without a running desktop app the server is headless (in-process session with a CPU renderer). For the user to watch live, they run cadcraft --control 7979 and the server is cadcraft-cli mcp --connect 127.0.0.1:7979. Plain --connect exits at startup if the app isn't answering (cannot connect to 127.0.0.1:7979: Connection refused (os error 61) on macOS); add --lazy to start anyway: each call then fails with CADCraft is not answering at 127.0.0.1:7979 (…). Open CADCraft with its control port (\--control PORT` or CADCRAFT_CONTROL_PORT), then try againuntil the app is up.--launch(implies lazy) also opens the app, on macOS only; elsewhere calls fail withCADCraft is not running; start it with `cadcraft --control 7979`. Only the bridged mode adds screenshot, ui_inspectandui_click(15 tools).screenshotsaves the app window to a PNG and returns itspath(not an image); read that file to look.--connectwithoutHOST:PORTis an error, never a headless session. Settings flags work in both modes (and onrun, convert, sample): --config-dir DIR(plotter configurations; envCADCRAFT_CONFIG_DIR), --fontalt FONT, --fontfallback FONTS`.

Mental Model

  • Drawing units, y up. One unit is whatever you decide: new_drawing {metric: true} = millimetres (ISO-25 dim style, A-size limits); the default is inches (decimal display). Draw full size (an 8 m wall is 8000 in a metric drawing); scale happens at annotation (DIMSCALE, text height) and plot time.
  • Model space holds the geometry. Layouts (paper space, mm) hold sheets with viewports onto model space at a scale (1:50) plus title-block text. layout.set {name: "Model"|"<layout>"} switches.
  • Entities have a handle (hex string such as "10A"), a layer, and geometry. Every create command returns the handle(s); modify commands take handle/handles. Keep the handles.
  • Layers carry colour, linetype and lineweight (ByLayer). Set the current layer before drawing.
  • Two ways to run commands (457 commands):
    • command_line {text} types AutoCAD syntax: line 0,0 @100,0 @0,50 c, circle 50,25 10, rectang 0,0 @80,40. Coordinates: absolute x,y, relative @dx,dy, polar @dist<angle. Spaces act as Enter, and a trailing space ends an open-ended command.
    • execute {command, params} runs the same command with JSON and no prompts. Best for agents: exact, returns handles, errors name the missing param. It takes command ids only, not aliases (rec → unknown command \rec`). Grep references/commands.md` for ids/params.

Tools (Hermes names them mcp_cadcraft_<tool>)

ToolUse it for
execute {command, params}Any command with JSON params (line, circle, offset, dimlinear, layer.new, …)
command_line {text}Type at the prompt; returns prompt, keywords, running, output (and error)
script {text}Several command lines at once (like a .scr file); a blank line = Enter
inspect_drawing {entities?, limit?}Counts by type, extents, layers, styles, blocks, layouts, undo history, entities
query_entities {type?, layer?, selected?, window?, crossing?, limit?, offset?}Entities with handles and geometry, e.g. {type:"Circle"}, {window:[[0,0],[100,100]], crossing:false}, {selected:true} (the current selection). count = all matches; pages of 500
render {width?, height?, fit?, path?, window?}PNG of the active space, fitted to extents (path also writes it). window:[[x0,y0],[x1,y1]] shows just that area (1600 px wide, the window's shape, if no size). Look at it
find_text {contains?, layer?, window?, limit?, offset?}TEXT, MTEXT (plain), attributes and multileaders with text, at, height, style, layer, handle. contains ignores case. Finds room names and titles without reading geometry
new_drawing {metric?} / open {path} / save {path?}open takes .dxf/.dwg/.svg; save writes .dxf/.dwg by extension, or exports .svg/.png/.pdf
list_commands {filter?}The catalog with aliases and params
cancelEscape: abort a running prompt

Resources: cadcraft://drawing (inspect JSON) and cadcraft://commands. There are no prompts. Bad tool arguments (missing text, wrong type, render {width:10} below the 16 px minimum) are JSON-RPC errors -32602; a command that fails returns isError.

Drafting essentials (JSON params)

  • Draw: line {points:[[x,y],…], closed?} · pline {vertices, closed?, width?} (bulge for arcs) · rectang {p1, p2, fillet?, chamfer?} · circle {center, radius} · arc {center, radius, start, end} (degrees, CCW) · polygon {sides, center, radius} · ellipse · spline {fit} · point · table {at, rows, cols, cells}.
  • Modify: offset {handle, distance, side:[x,y]} · trim {handle, pick, edges?} · extend · fillet {h1, p1, h2, p2, radius} · chamfer {h1, p1, h2, p2, d1, d2} · break {handle, p1, p2} · move {handles, delta} · copy {handles, delta, count?} · rotate {handles, base, angle} · mirror · scale · arrayrect {handles, rows, cols, rowSpacing, colSpacing} · arraypolar {handles, center, count, rotate?} · erase {handles} · join · explode. p1/pick are points on the object, near the end to keep/cut. Arrays are associative by default (one block reference); associative:false gives loose copies.
  • Layers: layer.new {name, color, linetype?, lineweight? (mm), current?} · layer.current {name} · layer.set {name, on?, frozen?, locked?, color?, lineweight?} · linetype {load:"*"} for DASHED/CENTER.
  • Text: text {at, text, height, justify?: "MC"|"BL"…, rotation?} · mtext {at, text, height, width} (\P = new line; also columns, list, align). For TrueType: style {name:"Notes", font:"Arial", current:true}.
  • Dimensions: dimlinear {p1, p2, at} · dimaligned · dimradius {handle, at} · dimdiameter · dimangular · dimcontinue {points} / dimbaseline (chain from the last linear dim) · qdim · tolerance (GD&T). Size them for the drawing: dimstyle {name:"ISO-25", DIMSCALE: 50, DIMDEC: 0} (any DIM* variable works; it also resizes the dimensions already drawn). setvar {name:"DIMSCALE", value:50} is only an override for new dimensions.
  • Hatch: hatch {handles:[outer, inner], pattern:"ANSI31", scale} or {points:[[x,y]], style:"outer"}; pattern:"SOLID".
  • Blocks: block {name, base, handles, keep:"delete"} → insert {name, at, rotation?, scale?, attribs?}; attributes via attdef {tag, prompt, default, at, height} inside the block, filled with attribs:{TAG: value}. block's default keep is "convert" (the originals become an insert).
  • Measure: dist {p1, p2}, area {handle} (numeric area, perimeter), list, properties {handles}, massprop, count / countlist (blocks), compare {path} (diff against another drawing), texts (= find_text).
  • Check outlines (read-only): shapes {layer?, type?, window?} → each closed polyline / circle / ellipse / spline with area, perimeter, centroid, winding, selfIntersection, duplicateVertices (open ones are counted under skipped). loops {tolerance?} → closed loops found in loose LINE/ARC chains (members, area) and openChains with the gap and where it is. usage {type?} → which layers, blocks, text styles and linetypes are used where, and what PURGE would remove (unused).

Procedure

  1. Plan units (mm vs inches), sheet size and plot scale (e.g. A3 at 1:50), and layers (WALLS, DOORS, FURN, DIMS, TEXT, HATCH, CENTER).
  2. new_drawing {metric:true}, set DIMSCALE (= plot scale denominator, e.g. 50) and a TrueType text style.
  3. Geometry first, layer by layer, with execute and exact coordinates; chain the returned handles into offset/trim/fillet. Use command_line for quick AutoCAD-style input.
  4. Annotate: dimensions on DIMS, text (height = paper mm × scale, e.g. 2.5 mm × 50 = 125), hatches.
  5. Check: inspect_drawing counts and extents, query_entities geometry, find_text labels, then render and look (render {window} to zoom into a room or detail).
  6. Save save {path:"/abs/x.dxf"} or .dwg; export .pdf (exportpdf or save to .pdf), .svg, .png.

Recipe: dimensioned floor plan (tested)

text
new_drawing {metric:true}
execute dimstyle {name:"ISO-25", DIMSCALE:50, DIMDEC:0}
execute style {name:"Notes", font:"Arial", current:true}
execute layer.new {name:"WALLS", color:"7", lineweight:0.5}   (+ DIMS blue, TEXT 7, FURN green, HATCH 8)
execute layer.current {name:"WALLS"}
execute rectang {p1:[0,0], p2:[8000,6000]}                 → {handle:"100"}
execute offset {handle:"100", distance:200, side:[4000,3000]} → {handle:"101"}   (inner wall face)
execute line {points:[[5000,200],[5000,5800]]}             → {handles:["102"]}  (partition)
execute offset {handle:"102", distance:100, side:[5100,3000]} → {handle:"103"}
execute break {handle:"102", p1:[5000,1000], p2:[5000,1900]}  → {handles:["104","105"]}  (900 door opening;
        same for "103")
execute layer.current {name:"HATCH"}
execute hatch {handles:["100","101"], pattern:"ANSI31", scale:40}   (walls only)
execute layer.current {name:"FURN"}
execute line {points:[[0,0],[0,900]]} · execute arc {center:[0,0], radius:900, start:0, end:90}
execute block {name:"DOOR900", base:[0,0], handles:[line, arc], keep:"delete"}
execute insert {name:"DOOR900", at:[5100,1000]}
execute circle {center:[2500,3000], radius:600}  · rectang chair · arraypolar {handles:[chair], center:[2500,3000], count:4, rotate:true}
execute layer.current {name:"TEXT"} · text {at:[2500,5000], text:"LIVING ROOM", height:250, justify:"MC"}
execute mtext {at:[5400,5500], text:"Floor plan\\Pscale 1:50", height:200, width:2400}
execute layer.current {name:"DIMS"}
execute dimlinear {p1:[0,0], p2:[8000,0], at:[4000,-500]} · dimlinear {p1:[0,0], p2:[0,6000], at:[-500,3000]}
execute dimradius {handle:<table>, at:[3000,2500]}
render {width:1000, height:800}                             → look
render {window:[[0,0],[5000,3000]]}                         → one room, 1600×960
find_text {contains:"room"}                                 → [{text:"LIVING ROOM", at:[2500,5000], …}]
save {path:"/abs/plan.dxf"} · save {path:"/abs/plan.dwg"}
execute exportpdf {path:"/abs/plan.pdf", fit:true}          (A4 landscape, real text in Arial)

Recipe: plotted A3 sheet from a layout (tested)

layout.new sizes its viewport for A4 (284×197 mm), so a later pagesetup to A3 leaves it in one corner. Make the layout without a viewport, set the page, then draw the viewport:

text
execute layout.new {name:"Sheet", viewport:false}
execute pagesetup {layout:"Sheet", paper:"A3", landscape:true, plotStyleTable:"monochrome.ctb"}
execute layout.set {name:"Sheet"}
execute mview {p1:[15,40], p2:[405,282]}                     → {viewports:["1182"]}   (paper mm)
execute viewport.set {handle:"1182", scale:"1:50", center:[4000,3000]}
execute rectang {p1:[10,10], p2:[410,287]} · line {points:[[10,35],[410,35]]}   (border, title strip)
execute text {at:[20,20], text:"Ground floor plan   1:50", height:5}
execute exportpdf {path:"/abs/sheet.pdf", layout:"Sheet"}
execute layout.set {name:"Model"}

Recipe: one PDF per sheet (tested)

text
execute publish {path:"/abs/set.pdf", layouts:["Model","Sheet"]}   → set-Model.pdf, set-Sheet.pdf

Without layouts it publishes Model plus every layout, including the empty Layout1/Layout2.

Recipe: check a laser/CNC outline before export (tested)

text
execute line {points:[[0,0],[100,0],[100,50]]} · arc {center:[100,60], radius:10, start:270, end:90}
execute line {points:[[100,70],[0,70],[0,0]]}
execute line {points:[[200,0],[300,0],[300,50],[200,49.5]]}          (does not close)
execute loops {}   → loops:[{members:["100",…,"104"], area:7157.08, perimeter:351.42, winding:"ccw"}],
                     openChains:{chains:[{gap:49.5, at:[200,24.75], ends:[[200,0],[200,49.5]], members:[…]}]}
execute pline {vertices:[[0,100],[50,100],[50,150],[0,150]], closed:true} · circle {center:[25,125], radius:5}
execute shapes {}  → [{handle:"108", area:2500, perimeter:200, selfIntersection:null}, {type:"Circle", area:78.54}]

Close the gaps (fillet radius 0, extend, or redraw), join the chain into a polyline, and check again.

Also tested: trim (→ {handles}), fillet (→ {arc}), script with pline … c / circle / polar line 300,0 @50<30, command_line rectang 0,300 @80,40, circle 2p …, offset 5 <pick> <side>, attribute blocks (attdef + block + insert {attribs}, found by find_text), open of a DWG, info of an SVG, import of a DXF into the current drawing, compare, pdfbook (two A3 frames → one 2-page PDF), usage, query_entities {selected:true}.

Formats

  • Open: .dxf (ASCII/binary R12–2018), .dwg (R13–2018), .svg/.svgz (1 px = 0.2646 mm; SVG y-down becomes negative y). open returns {index, entities, warnings}: warnings lists what a damaged file lost; inspect_drawing/info report unread DXF records in skipped. import {path, at?, scale?} merges a DXF/DWG/SVG into the current drawing.
  • Save: save {path} → .dxf/.dwg by extension (2018 by default); CLI convert/--save also write .dwt templates. saveas {path, version?: 2000…2018, binary?} for an older version or binary DXF; the format comes from the extension. save {} with no path fails on a new drawing (invalid parameters for `qsave`: drawing has no file name yet; use saveas {path}).
  • Export: save or export {path} to .svg/.png/.pdf exports without renaming the drawing.
  • PDF: exportpdf {path, layout?, paper?, landscape?, fit?, scale?, plotArea?, window?} or plot {…}; uses the layout's page setup. Layers become PDF layers; TrueType text stays real text. plotStyleTable:"monochrome.ctb" (or grayscale.ctb) prints all colours black/grey.
  • Sheet books: pdfbook {path} finds closed frames of paper height (frameHeight, default 297) drawn in model space and plots each row of frames as one PDF, one page per frame (ISO A size matched). 1 unit = 1 mm by default (unit).
  • PNG exports and render use the dark model-space background; SVG and PDF are on white.

CLI (no MCP needed)

bash
cadcraft-cli info plan.dwg [--compact]                   # JSON: counts, extents, layers, blocks, layouts
cadcraft-cli convert plan.dxf plan.svg                   # also .png, .pdf, .dxf, .dwg, .dwt
cadcraft-cli convert plan.dxf room.png --window 0,0,5000,3000   # frame a rectangle (drawing units)
cadcraft-cli run --metric --script 'rectang 0,0 100,50
circle 50,25 10
' --cmd 'dimlinear {"p1":[0,0],"p2":[100,0],"at":[50,-10]}' \
  --cmd 'move {"handles":["{last}"],"delta":[0,-5]}' --save part.dxf --export part.png
cadcraft-cli run plan.dxf --script-file edits.scr --save plan2.dxf   # --in-place to overwrite an input
cadcraft-cli sample bracket|floorplan out.dxf            # reference drawings to study (.dxf/.dwg/.svg/.png)
cadcraft-cli commands dimlin [--compact]                 # catalog as JSON, filtered by id or label
cadcraft-cli roundtrip FILE|FOLDER [--out DIR]           # save as DXF and DWG, reopen, compare (report/report.md)

Each --cmd prints its JSON result on one line. A parameter value of exactly "{last}" (at any depth) is the last handle an earlier --cmd returned; with none, the run fails (--cmd move: `{last}` needs an earlier --cmd in this run to have returned a handle). Image exports are 2400×1600 and always model space. --view extents|current picks the framing; run --export uses the current view if the commands zoomed or panned. run exits 1 on the first failing step (error: unknown command `bogus` ) and 2 on an unknown option (error: unexpected argument '--bogusflag' found).

Pitfalls

  • Dimensions vanish at real-world scale. A new metric drawing has DIMSCALE 1: ISO-25 text and arrows are 2.5 units, invisible on an 8000 mm plan. Set dimstyle {name:"ISO-25", DIMSCALE:<plot scale>}; it also fixes dimensions already drawn. setvar DIMSCALE only affects new dimensions, and dimstyle.update does not carry that override to old ones ({updated: 0}; they stay invisible).
  • Modify commands replace handles. trim and break return new handles and the old one is gone. break, trim on it fail with no such object, offset with invalid parameters for \offset`: no such object, but erase, move, list, properties quietly do nothing ({erased: 0}, {moved: 0}`). Always continue with the handles from the latest reply.
  • Return shapes differ: line/break/trim → {handles:[…]}, most single creates → {handle}, hatch → both, fillet → {arc}, mview → {viewports:[…]}, layer.* → null. "LAST" is not a handle ("LAST" is not an object handle (a hex string such as "1A2")).
  • Hatch by internal point uses the normal island style: an island inside an island is hatched again (a table inside a room gets hatched when you hatch the walls). Pass style:"outer", or hatch with explicit boundary handles.
  • command_line leaves open-ended commands running (line …, pline …) unless the text ends with a space or you send command_line {text:""}. The next line is then fed to the old prompt: circle 10,10 5 becomes Point or option keyword required. plus an extra line segment. Check running is null.
  • In script, a blank line repeats the last command if it already finished (circle x,y r + blank → a new CIRCLE prompt eats the next line: Point or option keyword required.). Only put a blank line after open-ended commands (and to end MTEXT).
  • Command-line picks must land on the object (on a circle's edge, not its centre); a miss selects nothing, silently.
  • PDF plots keep layer colours: yellow/cyan on white are unreadable. Use dark colours or monochrome.ctb.
  • Layout1/Layout2 in a new drawing are empty (no viewport). publish without layouts still prints them.
  • Use absolute paths for open/save/exportpdf: relative paths resolve against the server's working directory, not yours.
  • open reads only drawings: an image is refused (invalid parameters for `open`: unsupported file type `png` ).

Verification

  • inspect_drawing: expected counts per type, layers, blocks, and sensible extents.
  • query_entities {type:"Dimension"} / {layer:"WALLS"} to confirm geometry and layer assignment; find_text to confirm labels and titles.
  • render, then look: walls closed, openings where planned, dims readable, nothing hatched by mistake.
  • For the deliverable, render the PDF to PNG (e.g. pdftoppm -png -r 60 plan.pdf page, or vectorcraft-cli convert plan.svg page.png --artboard 0) and check it; cadcraft-cli info out.dwg confirms the file reopens.

References

  • references/commands.md: all 457 commands with aliases and JSON params, grouped by menu. Grep it rather than reading it whole (e.g. grep -n "^- \dim" ${HERMES_SKILL_DIR}/references/commands.md`).
  • Upstream docs: https://github.com/storytold/cadcraft/tree/main/docs (mcp.md, cli.md, control-protocol.md, autolisp.md, plot-styles.md, plotters.md). They track main and may list features newer than 0.17.1.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Cadcraft làm được gì?

Technical drawing and drafting with CADCraft (AutoCAD-style): floor plans, site plans, mechanical part drawings, brackets, layouts with title blocks, dimensioned 2D drawings to scale. Draw lines, polylines, circles and arcs at exact coordinates, offset / trim / fillet, layers, dimensions, hatches, blocks, tables, then save DXF / DWG or export PDF, SVG, PNG.

Vì sao nên dùng Cadcraft trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Cadcraft là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Cadcraft trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/hermes-pro/storytold-skills/tree/main/cadcraft. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Cadcraft?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Cadcraft với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Cadcraft với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Cadcraft có miễn phí không?

Có. Kỹ năng này được hermes-pro phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇