Describe 标志

Describe

组织
partcad
describe

根据测得的边界框和体积、多个视角的渲染图,以及(如有)带尺寸标注的工程图,为现有 PartCAD 零件、装配体或草图撰写便于朗读且注重无障碍访问的文字描述。用于 /pc:describe,或用户要求描述、概述或为 PartCAD 对象撰写说明文字时。此技能重现了已停用的内置 AI 形状摘要功能。

Add to TypingMind

概览

发布者partcad
代码仓库partcad
技能名称describe
星标数
504
复刻数
47
附带文件
仅含指令
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 partcad 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Describe AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/partcad/partcad/tree/devel/ai-agents/common/skills/describe
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/partcad/partcad.git /tmp/partcad
mkdir -p .claude/skills
cp -r /tmp/partcad/ai-agents/common/skills/describe .claude/skills/describe
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Describe,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Describe。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Describe 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

pc:describe

Produce a text description of an existing PartCAD shape by rendering it and looking at the result — the replacement for PartCAD's retired built-in AI summary. The text after the command ($ARGUMENTS) names the object to describe (optionally with its kind).

One picture is not enough to describe a shape. A single projection hides everything behind it, and a description written from one is a description of a silhouette. Render three views (§3), and where a dimensioned drawing can be had, read the numbers off that rather than estimating them (§4).

Nor is any picture enough to give a size. A projection is rendered to fit its frame, so nothing in it says whether the part is 20 mm across or 200 — which is why this starts by asking PartCAD what it measured (§2) and never estimates a dimension a number was available for.

1. Resolve the object

$ARGUMENTS is the object name (a part by default; an assembly or sketch if the user says so). Read its desc:/requirements: from partcad.yaml for context. Make sure PartCAD is available as /pc:init describes.

Pass --no-ansi on every run so the output is plain text; it is a global flag, goes before the subcommand, and routes the logs to stderr.

This skill describes an object a package declares, because §6 stores the result back into that package. To describe a bare CAD file that is in no package, render it with /pc:render (pc adhoc render) and write the description for the user instead of storing it.

2. Measure it

pc info reports what PartCAD measured when it built the object, and those are the numbers this description is anchored on:

sh
pc --no-ansi info <name> 2>&1   # add -a / -s for an assembly or a sketch

Read all of it. The measurements are the first thing to look for, but the sections below are what the design says about itself, and a filter narrow enough to catch BoundingBox would cut them off.

  • BoundingBox — min, max and size in millimetres. size is the overall envelope of the design: state it, and give every other dimension in proportion to it rather than in pixels.
  • Volume — how much material is in it, in cubic millimetres, with Solids saying how many solids that is the volume of. More than one solid in a part is worth saying out loud: it is usually either deliberate (a part that is two pieces) or a mistake nobody has noticed. A negative volume means the faces are oriented inward — report that as a defect rather than dropping the sign.
  • A sketch, a shell or a wire has no volume, and pc info says so by leaving Volume out. It is flat, so its bounding box is its size.

The rest of what pc info prints is worth a look too, and for an object read from a file it is where the design's own words are: a STEP file's File, Products, Layers and Properties, a DXF sketch's Drawing, Layers and Annotations — including the angle, radius and direction of a sheet metal bend. Anything stated there is the design's own and beats a reading off a picture.

The first run builds and measures the object, so it is slow; every run after it is a cache hit. If it fails — no sandbox, a part that does not build — say so in the report and describe the shape from the views alone, without inventing a size.

3. Render three views

front, top and iso: two orthographic views to read proportion and features from, and one pictorial view that shows how they go together. A rendered file is named after the object, so give each view a directory of its own or they overwrite each other:

sh
for view in front top iso; do
  mkdir -p /tmp/pc-render/$view
  pc --no-ansi render -t png --view $view -O /tmp/pc-render/$view <name>   # add -a for an assembly
done

View all three — /tmp/pc-render/<view>/<name>.png.

Add right (or back, left, bottom) when the three leave a face unaccounted for: a part that is not symmetric about an axis has a side you have not seen, and guessing at it is exactly what this skill must not do.

A sketch is flat, so it has only one view worth rendering, and SVG suits it better than PNG:

sh
mkdir -p /tmp/pc-render
pc --no-ansi render -s -t svg -O /tmp/pc-render <name>

4. Render a dimensioned drawing (parts, when it is available)

The projections above show shape but no numbers. draftwright, a render implementation published in the public PartCAD index, draws a fully dimensioned technical drawing instead — orthographic views with dimension lines, hole callouts, radii, an ISO view, and a title block carrying the material and scale. Reading a description off that beats estimating from pixels:

sh
mkdir -p /tmp/pc-render/drawing
pc --no-ansi render -t pdf -e //pub/feature/render/draftwright \
    -O /tmp/pc-render/drawing <name>

-e names the package to read the output configuration from, so this works on any object without that object's package knowing about draftwright. Then read /tmp/pc-render/drawing/<name>.pdf — ask for pdf, whose pages can be looked at directly. Its svg draws every character as paths, so no text can be read out of that markup.

This is a best-effort extra, not a requirement. It needs the public index among the package's dependencies: (which pc init writes) and a network connection, and the first run is slow while PartCAD installs draftwright into a sandbox. It is also a part drawing — do not expect it of an assembly or a sketch.

draftwright reports what it could not do. When a part has features it cannot dimension at the chosen scale it says so and draws the rest, and the command may exit non-zero having still written a usable file — so check whether the file appeared before giving up on it. If it did not, or anything above failed, describe the object from the three views and say in your report that no dimensioned drawing was available.

5. Write the description

From the measurements, the images and the configured desc/requirements, write a description for a reader who has a mechanical-engineering / CAD background but cannot see it:

  • State every measurement §2 produced, and say so when it produced none. The overall envelope in millimetres, and for a part how much material is in it: those are measurements rather than impressions, and they are what tells a reader whether this is a bracket or a building. Where pc info gave no such number — a sketch, which has no volume; a part that would not build; a machine with no sandbox — write that the measurement was unavailable. Saying so costs a clause; the alternative is a figure you made up, which is the one thing this skill exists to prevent.
  • Describe both the overall shape and the dimensions; make no assumptions and add as much concrete detail as the renders and config support.
  • Prefer a measured or stated dimension over one you judged from a projection: pc info first, then the dimensioned drawing, then the picture. Where you are reading a proportion off a picture rather than a stated number, say it is approximate rather than inventing a figure.
  • Work through the views: overall form and bounding size first, then the features each view reveals, then how they relate.
  • Refer to it as "this design", not "the image" — and never as "the three images", which is an artifact of how you looked at it.
  • Produce prose that is ready to be narrated as-is (no markdown, no lists).

6. Persist it (so pc ide view shows it)

pc ide view reads a shape's summary: from its configuration. Write your description there so the tool and other agents can reuse it:

yaml
parts:            # or sketches: / assemblies:
  <name>:
    ...
    summary: >-
      <your description>

Report the description to the user, say which views (and whether a dimensioned drawing) it was written from and which numbers were measured rather than judged, and confirm where you stored it.

常见问题

Describe AI 技能有什么作用?

根据测得的边界框和体积、多个视角的渲染图,以及(如有)带尺寸标注的工程图,为现有 PartCAD 零件、装配体或草图撰写便于朗读且注重无障碍访问的文字描述。用于 /pc:describe,或用户要求描述、概述或为 PartCAD 对象撰写说明文字时。此技能重现了已停用的内置 AI 形状摘要功能。

为什么在 TypingMind 中使用 Describe?

因为您只需安装一次,就能搭配任何模型使用。Describe 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Describe?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/partcad/partcad/tree/devel/ai-agents/common/skills/describe。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Describe?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Describe 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Describe 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Describe AI 技能免费吗?

是的。partcad 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇