basic-part

basic-part is a skill for Claude Code, Codex from halsyourpal422/Battenmark. It costs 0 tokens per session (479 once invoked), scanned A, original, Apache-2.0.

A guide for creating one dimensioned CAD solid, such as a plate, bracket, spacer, or simple housing half. The model is driven by named parameters so dimensions can be changed later.

In plain words
What is it for?
It is for starting a CAD project, defining dimensions, building common solid features, inspecting and previewing the result, and exporting the finished part.
Why use it?
It reduces errors from scattered measurements and encourages inspection before the final CAD file is exported.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for starting a CAD project, defining dimensions, building common solid features, inspecting and previewing the result, and exporting the finished part.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/halsyourpal422/battenmark/basic-part
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 halsyourpal422/Battenmark --skill basic-part
Clone the repo
git clone --depth 1 https://github.com/halsyourpal422/Battenmark

Made for: Claude Code, 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 basic-part

README.md
[![agentmods](https://agentmods.dev/badge/skills/halsyourpal422/battenmark/basic-part/github.svg)](https://agentmods.dev/skills/halsyourpal422/battenmark/basic-part)
Your own site
<a href="https://agentmods.dev/skills/halsyourpal422/battenmark/basic-part"><img src="https://agentmods.dev/badge/skills/halsyourpal422/battenmark/basic-part/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 basic-part

Your own site · 80×15
<a href="https://agentmods.dev/skills/halsyourpal422/battenmark/basic-part"><img src="https://agentmods.dev/badge/skills/halsyourpal422/battenmark/basic-part.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 479 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.
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.00000 $0.00479
Opus 5.5 $0.00000 $0.00192
Sonnet 5.5 $0.00000 $0.00096
Haiku 4.5 $0.00000 $0.00048

Measured 1mo ago against content hash e709fc8a08b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

basic-part 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 1mo 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/basic-part/SKILL.md · 49 lines

How it starts

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

Basic Parametric Part

Purpose

Create a simple, fully dimensioned solid part using parameters, common features, inspect, preview, and export an authoritative CAD artefact.

Use when

  • Single parametric body (bracket, plate, spacer, simple housing half).
  • Dimensions may change later and should be driven by named parameters.

Do not use when

  • Assembling multiple parts (use assembly).
  • FDM manufacturability review only (use fdm-dfm).

Preconditions

  • REQUIRED: Live Battenmark project; units millimetres; X-right, Y-depth, Z-up.
  • RECOMMENDED: inspect_backend_capabilities if unsure about holes/fillets/export.

Planning rules

  1. Capture design intent in named parameters before geometry.
  2. Prefer expressions over duplicated constants.
  3. Prefer semantic selectors over raw topology indices.
  4. Inspect and preview before exporting.
  5. Discover live tool surface; do not invent tool names.
  1. REQUIRED — project_create / project_open.
  2. REQUIRED — define_parameter for changeable dimensions.
  3. REQUIRED — create_box / create_cylinder (box origin = min corner).
  4. RECOMMENDED — features: create_hole, fillet, chamfer, boolean.
  5. REQUIRED — validate → render_preview → rebuild → export_step / export_fcstd.

Geometry / mechanical rules

Units mm. Box origin = min corner. Keep hole diameter inside face. Fillet radius < half smallest adjacent dimension.

Verification gates

validate clean; preview matches intent; export returns artifact_id.

Failure recovery

Read structured error; refine selectors via inspect_*; backend issues → backend-diagnostics. Never private FreeCAD Python or shell.

Outputs

Parametric model, validation result, preview, export artefact IDs.

Platform notes

Provider-neutral; backend-neutral intent. Discover capabilities when optional features needed.

Examples

Parametric plate with four mounting holes: parameters → create_box → four create_hole → validate → render_preview → export_step. Replace example numbers with real values.

Read the full file on GitHub · 49 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. 1mo ago First seen · 49 lines · 0 tokens per session scan A e709fc8a08b4

Subscribe to this mod's changes

basic-part is a skill published in the GitHub repository halsyourpal422/Battenmark (1 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 479 tokens. 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-31.

Related

Other skills, from other repositories

simplecadapi

Build, assemble, inspect, reconstruct, and export parametric CAD models with the SimpleCADAPI Python SDK. Use for SimpleCAD geometry modeling, constrained sketches, parts and assemblies, standard gears and bearings, STEP/BREP inspection and reconstruction, vector-PDF drawing reconstruction, durable product packages…

NiJingzhe/SimpleCADAPI · 71 tokens

freecad

Use when doing parametric 3D CAD modeling, BIM/architectural design, FEM simulation, CAM toolpath generation, or robot simulation with Python scripting. FreeCAD: the leading open-source parametric 3D CAD with Sketcher, Part, PartDesign, Arch, CAM, and FEM workbenches.

znlgis/opengis-skills · 67 tokens

sketch-from-image

Extract 2D geometry from an attached image and create a FreeCAD sketch from it.

ghbalf/freecad-ai · 23 tokens

techdrawai-cad

Turn drawings and photos into CAD files and 3D models with TechDraw AI. Use when the user wants a DXF or DWG for CAD, CNC, laser cutting or plasma cutting; wants to import geometry into Fusion 360, SolidWorks, Onshape, FreeCAD, AutoCAD, Rhino, Blender or LightBurn; wants a 3D model or STL reconstructed from a…

MeltFlexDevs/techdrawai-skills · 110 tokens

kompas-mcp-operator

Operate KOMPAS-3D MCP for 2D drawings, 3D parts, CAD-as-Code scripts, screenshots, exports, runtime memory, remote/local recovery, and Graph Brain diagnostics. Use when Codex needs to create, edit, inspect, validate, or debug geometry through mcpkompas3d, especially for sketch-feature chains, reusable scenarios…

dwnmf/KOMPAS-3D-MCP-bin · 95 tokens

furniture-fit

Assess whether furniture fits in a measured Pascal room or layout. Use this skill for sofa, table, bed, cabinet, appliance, staging, placement, collision, clearance, or rotated-footprint questions. Produce a tool-backed spatial report that distinguishes footprint fit from unsupported height, door-swing, assembly, and…

pascalorg/editor · 80 tokens