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.
npx agentmods add skills/halsyourpal422/battenmark/basic-partnpx skills add halsyourpal422/Battenmark --skill basic-partgit clone --depth 1 https://github.com/halsyourpal422/BattenmarkWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.00479 |
| Opus 5 | $0.00000 | $0.00239 |
| Sonnet 5 | $0.00000 | $0.00096 |
| Haiku 4.5 | $0.00000 | $0.00048 |
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 yesterday.
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.
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_capabilitiesif unsure about holes/fillets/export.
Planning rules
- Capture design intent in named parameters before geometry.
- Prefer expressions over duplicated constants.
- Prefer semantic selectors over raw topology indices.
- Inspect and preview before exporting.
- Discover live tool surface; do not invent tool names.
Recommended operation sequence
- REQUIRED —
project_create/project_open. - REQUIRED —
define_parameterfor changeable dimensions. - REQUIRED —
create_box/create_cylinder(box origin = min corner). - RECOMMENDED — features:
create_hole,fillet,chamfer,boolean. - 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.
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.
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.
- yesterday First seen · 49 lines · 0 tokens per session scan A e709fc8a08b4
basic-part is a skill published in the GitHub repository halsyourpal422/Battenmark (0 stars, last pushed yesterday), 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.
Other skills, from other repositories
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.
simplecadapi
Thin SimpleCAD SDK reference skill focused on the public API surface, core types, and current modeling workflows.
cadquery
Use when scripting parametric 3D CAD models in Python — programmatic part generation, parametric design optimization, STEP export. CadQuery: Python-based parametric CAD built on OCCT kernel with a fluent API.
skill-creator
Create new FreeCAD AI skills, modify existing skills, and iteratively improve them. Use when users want to create a skill from scratch, update or optimize an existing skill, capture a workflow as a reusable skill, or improve an existing skill's instructions. Also trigger when the user says "turn this into a skill"…
enclosure
Generate a parametric electronics enclosure with a base and lid.
create-validation
Generate a draft VALIDATION.md for a skill by analyzing its SKILL.md construction steps.