enclosure

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

A local service for creating and working with computer-aided design (CAD) models through MCP, a standard way for AI agents to call external tools. It runs from the cad-service package.

In plain words
What is it for?
It is for CAD-related tasks that need the locally configured cad-service program.
Why use it?
It gives an agent a configured connection to CAD operations without requiring those operations to be built into the agent itself.

Skill for Claude CodeCodex

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

Good fit It is for CAD-related tasks that need the locally configured cad-service program.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/halsyourpal422/battenmark/enclosure
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 enclosure
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 enclosure

README.md
[![agentmods](https://agentmods.dev/badge/skills/halsyourpal422/battenmark/enclosure.svg)](https://agentmods.dev/skills/halsyourpal422/battenmark/enclosure)
Your own site
<a href="https://agentmods.dev/skills/halsyourpal422/battenmark/enclosure"><img src="https://agentmods.dev/badge/skills/halsyourpal422/battenmark/enclosure.svg" alt="Measured on agentmods" 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 683 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.00683
Opus 5 $0.00000 $0.00342
Sonnet 5 $0.00000 $0.00137
Haiku 4.5 $0.00000 $0.00068

Measured today against content hash 3bc622dc1aef, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

enclosure 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 today.

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/enclosure/SKILL.md · 63 lines

How it starts

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

3D-Printable Enclosure

Purpose

Design a mechanically credible, FDM-friendly enclosure around measured component dimensions, with clearances, mounting features, connector openings, and verification before export.

Use when

  • Real component outer dimensions, connector locations, and mounting points are known or obtainable.
  • Part will be printed on a consumer FDM printer.

Do not use when

  • Component dimensions are unknown (do not invent numbers).
  • Pure mechanical assembly of existing parts (use assembly).

Preconditions

  • REQUIRED: Measured component dimensions; explicit clearance assumptions; units mm.
  • RECOMMENDED: inspect_backend_capabilities if unsure about boolean/hole/export.

Planning rules

  1. Collect measurements first; label unknowns.
  2. Define parameters for sizes, wall, clearances before solids.
  3. Derive the main internal cavity from measured component dimensions + clearances; keep it parametric.
  4. The main internal cavity is independent from every connector opening; create and verify it first.
  5. Preserve mounting features and connector openings.
  6. Never invent dimensions.
  1. REQUIREDproject_create / project_open; capture measurements as parameters.
  2. REQUIRED — Create the outer body with create_box (expression-driven).
  3. REQUIRED — Create and verify the main internal cavity: derive its size from component clearances and intended wall/floor thickness; create a distinct cavity tool with create_box; subtract it from the outer body with boolean operation subtract so the top is open and the intended walls and floor remain.
  4. REQUIRED — Create connector openings as separate downstream features, for example with create_sketchadd_rectanglepocket on the appropriate wall. A connector pocket is not the main cavity.
  5. RECOMMENDED — lid, ports, standoffs, light fillets.
  6. REQUIREDvalidaterender_previewrebuild → export.

Read the full file on GitHub · 63 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. today Changed · +15 lines 3bc622dc1aef
  2. 6d ago First seen · 48 lines · 0 tokens per session scan A 22a5801c5ea5

Subscribe to this mod's changes

enclosure is a skill published in the GitHub repository halsyourpal422/Battenmark (0 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 683 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.