Borrowing it
Nothing to install: this file belongs to mattackerman1/freecad-tool-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/mattackerman1/freecad-tool-server/main/AGENTS.mdgit clone --depth 1 https://github.com/mattackerman1/freecad-tool-serverWrote 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.
[](https://agentmods.dev/instructions/mattackerman1/freecad-tool-server/agents-md)<a href="https://agentmods.dev/instructions/mattackerman1/freecad-tool-server/agents-md"><img src="https://agentmods.dev/badge/instructions/mattackerman1/freecad-tool-server/agents-md/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.
<a href="https://agentmods.dev/instructions/mattackerman1/freecad-tool-server/agents-md"><img src="https://agentmods.dev/badge/instructions/mattackerman1/freecad-tool-server/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.02147 | $0.02147 |
| Opus 5.5 | $0.00859 | $0.00859 |
| Sonnet 5.5 | $0.00429 | $0.00429 |
| Haiku 4.5 | $0.00215 | $0.00215 |
Grade A, and why
freecad-tool-server AGENTS.md scanned grade A with 1 finding 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 2mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
import urllib.request, json Copies of this mod
1 near-identical copy found in the catalogue:
- freecad-tool-server CLAUDE.md — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 224 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — FreeCAD Tool Server: Agent Quickstart
This file is the operating manual for any AI agent driving the FreeCAD tool server. It is intentionally named
AGENTS.md(agent-agnostic). A copy is provided asCLAUDE.mdso Claude Code picks it up automatically. Replace<PROJECT_DIR>with the absolute path where you cloned this repo.
This is an HTTP tool server that lets AI agents build 3D CAD geometry by calling REST endpoints. The server runs inside FreeCAD's bundled Python — not system Python.
Setup
Install dependencies (once)
"C:\Program Files\FreeCAD 1.1\bin\python.exe" -m pip install fastapi "uvicorn[standard]" "pydantic>=2.7"
Start the server
cd <PROJECT_DIR>
start.bat
Server runs at http://localhost:8000 · Swagger UI at http://localhost:8000/docs
Health check
GET http://localhost:8000/health
Returns {"success": true, "data": {"freecad_available": true, ...}}.
Every response has this envelope
{
"success": true,
"message": "Human-readable summary",
"data": { ... },
"warnings": [],
"errors": []
}
Always check success before using data. On failure, errors[0] contains the reason.
Required first call
POST /document/create
{"name": "MyModel"}
Every geometry tool requires an active document. Call this before anything else.
Core modeling loop
create_document
→ add primitives (add_box / add_cylinder / add_cone / add_wing)
→ boolean ops (boolean_union / boolean_cut / make_hole)
→ inspect (get_shape_info / bounding_box)
→ finish (fillet_edges / chamfer_edges)
→ export (export_step)
→ validate (validate_step)
Most important endpoints
| Path | What it does |
|---|---|
POST /document/create |
Open a document (required first) |
POST /shapes/add_box |
Box primitive |
POST /shapes/add_cylinder |
Cylinder (axis: x/y/z) |
POST /shapes/add_wing |
NACA 4-digit airfoil loft |
POST /operations/boolean_union |
Fuse two shapes |
POST /operations/boolean_cut |
Subtract one shape from another |
POST /operations/make_hole |
Drill a cylindrical hole |
POST /operations/mirror |
Mirror across xy/xz/yz plane (case-insensitive) |
POST /operations/fillet_edges |
Round edges (all, top, bottom, all_vertical) |
POST /model/get_shape_info |
Volume, faces, edge count for a named shape |
POST /model/check_interference |
Intersection volume of two shapes — detects unwanted collisions or missing engagement |
POST /model/check_min_distance |
Minimum surface-to-surface gap — verifies clearances |
POST /model/screenshot |
PNG render of a shape or the whole document (base64 or file) |
GET /model/bounding_box |
Axis-aligned bounding box of all shapes |
POST /model/export_step |
Export named shape as STEP file |
POST /model/validate_step |
Import STEP, verify solid count + watertight |
POST /model/export_assembly |
Combine multiple STEP files into one assembly |
GET /document/status |
List all shapes in session |
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.
- 2mo ago First seen · 224 lines · 2,147 tokens per session scan A 866ad4d7900a
freecad-tool-server AGENTS.md is an instructions file published in the GitHub repository mattackerman1/freecad-tool-server (0 stars, last pushed 3mo ago), licensed MIT. It adds 2,147 tokens to every session, about $0.0086 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
freecad-tool-server AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| freecad-tool-server AGENTS.mdmattackerman1/freecad-tool-server | Instructions file | 0 | 3mo ago | MIT | A | 2,147 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |