Logo de Describe

Describe

Organização
partcad
describe

Escreva uma descrição narrável e voltada à acessibilidade de uma peça, montagem ou esboço PartCAD existente, usando sua caixa delimitadora e seu volume medidos, renderizações de vários ângulos de visão e, quando disponível, um desenho técnico cotado. Use para /pc:describe ou quando o usuário pedir para descrever, resumir ou criar uma legenda para um objeto PartCAD. Reproduz o resumo de formas por IA integrado, que foi descontinuado.

Add to TypingMind

Visão geral

Publicado porpartcad
Repositóriopartcad
Nome da habilidadedescribe
Estrelas
504
Forks
47
Arquivos incluídos
Somente instruções
LicençaApache-2.0
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por partcad no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Describe no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/partcad/partcad/tree/devel/ai-agents/common/skills/describe
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Describe em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Describe automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Describe não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Perguntas frequentes

O que a habilidade de IA Describe faz?

Escreva uma descrição narrável e voltada à acessibilidade de uma peça, montagem ou esboço PartCAD existente, usando sua caixa delimitadora e seu volume medidos, renderizações de vários ângulos de visão e, quando disponível, um desenho técnico cotado. Use para /pc:describe ou quando o usuário pedir para descrever, resumir ou criar uma legenda para um objeto PartCAD. Reproduz o resumo de formas por IA integrado, que foi descontinuado.

Por que usar Describe no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Describe é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Describe no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/partcad/partcad/tree/devel/ai-agents/common/skills/describe. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Describe?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Describe?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Describe com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Describe é gratuita?

Sim. A habilidade é publicada no GitHub por partcad sob a licença Apache-2.0. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇