forgecad-reconstruct-cad-file

forgecad-reconstruct-cad-file is a skill for Codex from ForgeCAD/forgecad-public-kit. It costs 40 tokens per session (827 once invoked), scanned A, original, MIT.

A tool for turning an existing CAD or mesh file—such as STL, OBJ, 3MF, STEP, or STP—into a readable, editable ForgeCAD model.

In plain words
What is it for?
Use it to rebuild parts from CAD or mesh files, inspect the source while rebuilding, and create models that can be edited and rendered in ForgeCAD.
Why use it?
It helps when you need a live parametric model instead of a fixed file import. The original file is used as a reference while the new model is checked against it.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to rebuild parts from CAD or mesh files, inspect the source while rebuilding, and create models that can be edited and rendered in ForgeCAD.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/forgecad/forgecad-public-kit/forgecad-reconstruct-cad-file
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ForgeCAD/forgecad-public-kit --skill forgecad-reconstruct-cad-file
Clone the repo
git clone --depth 1 https://github.com/ForgeCAD/forgecad-public-kit

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for forgecad-reconstruct-cad-file

README.md
[![agentmods](https://agentmods.dev/badge/skills/forgecad/forgecad-public-kit/forgecad-reconstruct-cad-file/github.svg)](https://agentmods.dev/skills/forgecad/forgecad-public-kit/forgecad-reconstruct-cad-file)
Your own site
<a href="https://agentmods.dev/skills/forgecad/forgecad-public-kit/forgecad-reconstruct-cad-file"><img src="https://agentmods.dev/badge/skills/forgecad/forgecad-public-kit/forgecad-reconstruct-cad-file/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for forgecad-reconstruct-cad-file

Your own site · 80×15
<a href="https://agentmods.dev/skills/forgecad/forgecad-public-kit/forgecad-reconstruct-cad-file"><img src="https://agentmods.dev/badge/skills/forgecad/forgecad-public-kit/forgecad-reconstruct-cad-file.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 827 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.00827
Opus 5 $0.00020 $0.00413
Sonnet 5 $0.00008 $0.00165
Haiku 4.5 $0.00004 $0.00083

Measured 10d ago against content hash 735affb12dc9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

forgecad-reconstruct-cad-file scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/forgecad-reconstruct-cad-file/SKILL.md · 47 lines

How it starts

The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Reconstruct CAD File

The reference asset is evidence, not the deliverable. The deliverable is a readable, parametric .forge.js model that runs, renders, and scores well against the source. Never return Import.mesh()/Import.step() of the source as the final model unless the user explicitly asks for an import wrapper — imports are for measurement, rendering, and scoring only.

Routing: user wants to KEEP the file as a live component and design around it (bracket, enclosure, mating assembly) → forgecad-build-model (Imported Parts section), not this skill; prepared benchmark/RL episodes → use the task-local benchmark instructions, not the public skill library; inspection-bundle interpretation → forgecad-inspect-model; independent grading after reconstruction → forgecad-grade-model; API and command reference → forgecad skill + CLI.md.

Workflow

  1. Inspect the source directly — the CLI reads CAD/mesh files as inputs, no wrapper script. Gather four evidence types: ls --long stats, an iso render, per-object views, sampled sections (invocations in CLI.md; when sharing a renderer server via --port, run renders sequentially).

  2. 3MF: enumerate every build item before scoring — hidden multi-part structure is a common miss. Item ref syntax: Import.mesh docs.

  3. Reconstruction Brief before modeling: what must be exact vs. approximate vs. parametric; symmetry, origin, key reference planes; likely manufacturing process; scoring tolerance and alignment policy.

  4. Blockout first. Match bbox and main masses, then add features. Model real geometry with blueprint-first APIs — never vertex-chase a faceted copy.

  5. Compare numerically — the core loop:

    forgecad compare 3d path/to/source.stl path/to/candidate.forge.js \
      --samples 3000 --json --output /tmp/<slug>-score.json
    
  6. Iterate coarse to fine: bbox/placement → main volumes/silhouette → holes/bosses/ribs/shells → edge treatments → small details.

Reading the Score

Read the full file on GitHub · 47 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 47 lines · 40 tokens per session scan A 735affb12dc9

Subscribe to this mod's changes

forgecad-reconstruct-cad-file is a skill published in the GitHub repository ForgeCAD/forgecad-public-kit (931 stars, last pushed 2mo ago), licensed MIT. It adds 40 tokens to every session and 827 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

subagent-driven-development

Use when executing implementation plans with independent tasks in the current session.

DollarDill/beads-superpowers · 17 tokens

write-documentation

Use when writing or substantially rewriting human-facing prose: documentation, README, guides, blog posts, emails, Slack messages, PR descriptions, release notes, or any text a human will read. Not for code comments, commit messages, or agent-to-agent communication.

DollarDill/beads-superpowers · 56 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

DollarDill/beads-superpowers · 37 tokens

research-driven-development

Use when the user asks a question about a topic, requests research, or when understanding something is needed before planning. Triggers on "research this", "what is X", "how does Y work", "compare A vs B", "investigate", "deep dive", "look into".

DollarDill/beads-superpowers · 63 tokens

document-release

Use when implementation on a branch is complete and it is about to be merged or PR'd — or when finishing-a-development-branch reaches its docs-audit gate — and after code changes are committed, to ensure all project documentation accurately reflects shipped code. Covers README, ARCHITECTURE, CONTRIBUTING, CHANGELOG…

DollarDill/beads-superpowers · 103 tokens

finishing-a-development-branch

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup.

DollarDill/beads-superpowers · 44 tokens