gen-sketch SKILL.md skillA
gen-sketch from partcad/partcad is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add partcad/partcad/gen-sketch@git:20261107.261a936Pins git:20261107.261a936 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- partcad/partcad
- Path
ai-agents/common/skills/gen-sketch/SKILL.md- Versions recorded
- 7
- Latest version
- git:20261107.261a936, committed Nov 7, 2026
- First version recorded
- Aug 5, 2026
- Size
- 27,379 bytes
- Repository stars
- 528
- License
- Apache-2.0
Generate a PartCAD 2D sketch (build123d / cadquery / basic / dxf / svg) whose dimensions are measured to match the request rather than estimated - normalize the input to 2D (a description, a drawing, a photo, a projection, or a 3D model projected with `pc adhoc render`), measure the target dimensions, author a candidate, render it with both of PartCAD's projections (`--reproducible` and `--no-reproducible`, which draw the same geometry as different shapes), measure the same dimensions on both…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# pc:gen-sketch Generate one PartCAD **sketch** — a 2D profile — whose dimensions are the ones that were asked for. *You* author the sketch; there is no built-in `ai-*` sketch type. Two hard requirements: - the sketch **renders without errors**, and - **every target dimension, measured on the rendering, is within its tolerance** — or the sketch is reported as not meeting it, with the numbers. A sketch that looks right is not the goal. A dimension is right only once it has been measured on the result and compared, as a number, with the number it was meant to be. So this skill works in a loop that never estimates where it can measure: write the targets down (§3), get them out of the input by normalizing it to 2D and measuring it (§4, §5), draw a candidate (§6), render it and measure the *same* dimensions on the rendering (§7), and compare (§8) — iterating with the error in hand until there is none worth the name. The same loop is what `/pc:gen-part` and `/pc:gen-assembly` run first, on **temporary sketches**, to settle a part's dimensions and an assembly's placements before modelling anything (§9). Sketches are not manufacturable, so unlike parts they need no …
Read the whole file at its exact version.
How to install
mdr add partcad/partcad/gen-sketch@sha256:b6742ea738abb4edThe line at the top of this page pins the label git:20261107.261a936, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_tln6dkl6hjoqkvxp)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 7 versions of this file, between Aug 5, 2026 and Nov 7, 2026, about one every 16 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261107.261a936 latest | 2026-11-07 | 261a936 | 27,379 B | A | view · diff |
| git:20261107.797cc42 | 2026-11-07 | 797cc42 | 27,346 B | A | view · diff |
| git:20261102.ef2be30 | 2026-11-02 | ef2be30 | 26,757 B | A | view · diff |
| git:20261024.6286b60 | 2026-10-24 | 6286b60 | 2,695 B | A | view · diff |
| git:20261008.9f2d5f9 | 2026-10-08 | 9f2d5f9 | 2,698 B | A | view · diff |
| git:20260901.0372b3a | 2026-09-01 | 0372b3a | 2,697 B | A | view · diff |
| git:20260805.ef943a6 | 2026-08-05 | ef943a6 | 2,699 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (27379 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
partcad/partcad · 528 stars · license Apache-2.0 · pushed 2026-11-08 · branch devel
API
GET https://markdownregistry.com/api/v1/artifacts/art_tln6dkl6hjoqkvxp GET https://markdownregistry.com/api/v1/resolve?ref=partcad/partcad/gen-sketch GET https://markdownregistry.com/api/v1/blob/b6742ea738abb4edf2554583c95b19c50bd6b41fa2d9b82274d400799346eb71
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.